diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index 115b7ea10..357c8bcf1 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -7,17 +7,21 @@ README.md
docs/AcceptRelationRequest200Response.md
docs/Account.md
docs/Account1.md
+docs/Account1Metadata.md
docs/Account1Proxy.md
docs/AccountInitialSync.md
docs/AccountList.md
docs/AccountListDataInner.md
docs/AccountListDataInnerRecommendedLead.md
+docs/AccountMetadata.md
docs/AccountProxy.md
docs/AccountsApi.md
docs/AddMessageReaction200Response.md
docs/AddMessageReactionRequest.md
docs/AddParticipant200Response.md
docs/AddParticipantRequest.md
+docs/AddPostComment201Response.md
+docs/AddPostComment201ResponseAuthor.md
docs/AddPostCommentReaction200Response.md
docs/AddPostCommentReactionRequest.md
docs/AddPostCommentReactionRequestReaction.md
@@ -28,6 +32,7 @@ docs/AddPostReactionRequestReaction.md
docs/ApplicantsSearch.md
docs/ApplicantsSearchDataInner.md
docs/ApplicantsSearchDataInnerProfile.md
+docs/ApplicantsSearchDataInnerScreeningQuestionsInner.md
docs/ApplicantsSourced.md
docs/ApplyOnExternalWebsite.md
docs/ApplyOnLinkedin.md
@@ -45,6 +50,8 @@ docs/CallRejected.md
docs/CallStarted.md
docs/CancelRelationRequest200Response.md
docs/Captcha.md
+docs/ChallengeSelection.md
+docs/ChallengeSelectionChallengesInner.md
docs/ChatDescriptionUpdated.md
docs/ChatNameUpdated.md
docs/ChatSubjectUpdated.md
@@ -57,6 +64,8 @@ docs/CompaniesSearch1DataInner.md
docs/CompaniesSearchDataInner.md
docs/CompaniesSearchResults.md
docs/CompaniesSearchResultsDataInner.md
+docs/ContractSelection.md
+docs/ContractSelectionContractsInner.md
docs/CookieAuthentication.md
docs/CookieAuthentication1.md
docs/CreateAuthLink200Response.md
@@ -101,10 +110,12 @@ docs/CreateRecruiterHiringProjectRequestCompany.md
docs/CreateRecruiterHiringProjectRequestJobTitle.md
docs/CreateRecruiterJobPostingDraftInExistingProject200Response.md
docs/CreateRecruiterJobPostingDraftInExistingProjectRequest.md
+docs/CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.md
docs/CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod.md
docs/CreateRecruiterJobPostingDraftInExistingProjectRequestCompany.md
docs/CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle.md
docs/CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings.md
+docs/CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.md
docs/CreateRecruiterJobPostingDraftInNewProjectRequest.md
docs/CreateRelationRequestRequest.md
docs/CreateWebhookEndpoint200Response.md
@@ -113,6 +124,7 @@ docs/CustomAuthApi.md
docs/CustomProxy.md
docs/CustomProxy1.md
docs/DaysBased.md
+docs/DefaultApi.md
docs/EditClassicJobPosting200Response.md
docs/EditClassicJobPostingRequest.md
docs/EditClassicJobPostingRequestScreeningQuestionsInner.md
@@ -158,14 +170,27 @@ docs/GetCalendarEventList200ResponseDataInnerStartAnyOf1.md
docs/GetCalendarsList200Response.md
docs/GetCalendarsList200ResponseDataInner.md
docs/GetChat200Response.md
+docs/GetChat200ResponseLastMessage.md
+docs/GetChat200ResponseLastMessageAnyOf.md
docs/GetChat200ResponseMutedUntil.md
docs/GetChatsList200Response.md
docs/GetChatsList200ResponseDataInner.md
docs/GetChatsList200ResponseDataInnerLastMessage.md
+docs/GetChatsList200ResponseDataInnerLastMessageAnyOf.md
+docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1.md
+docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner.md
+docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.md
+docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.md
+docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.md
+docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.md
+docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md
+docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md
+docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.md
docs/GetChatsList200ResponseDataInnerMutedUntil.md
docs/GetChatsList200ResponseDataInnerParticipantsInner.md
docs/GetChatsList200ResponseDataInnerParticipantsInnerUser.md
docs/GetChatsList200ResponseDataInnerUser.md
+docs/GetChatsList200ResponseDataInnerUserSpecifics.md
docs/GetClassicApplicantById200Response.md
docs/GetClassicApplicantById200ResponseProfile.md
docs/GetClassicApplicantById200ResponseScreeningQuestionsInner.md
@@ -206,17 +231,17 @@ docs/GetClassicJobPostingBudget200ResponseFree.md
docs/GetClassicJobPostingBudget200ResponsePromoted.md
docs/GetClassicJobPostingBudget200ResponsePromotedDaily.md
docs/GetClassicJobPostingBudget200ResponsePromotedTotal.md
-docs/GetClassicSearchParameters200Response.md
-docs/GetClassicSearchParameters200ResponseDataInner.md
-docs/GetClassicSearchParameters200ResponseDataInnerMetadata.md
+docs/GetContactsList200Response.md
+docs/GetContactsList200ResponseDataInner.md
+docs/GetContactsList200ResponseDataInnerAddressesInner.md
+docs/GetContactsList200ResponseDataInnerGroupsInner.md
+docs/GetContactsList200ResponseDataInnerSocialHandles.md
+docs/GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md
+docs/GetContactsList200ResponseDataInnerUser.md
docs/GetDraftsList200Response.md
docs/GetDraftsList200ResponseDataInner.md
-docs/GetEmailContactsList200Response.md
-docs/GetEmailContactsList200ResponseDataInner.md
-docs/GetEmailContactsList200ResponseDataInnerAddressesInner.md
-docs/GetEmailContactsList200ResponseDataInnerGroupsInner.md
-docs/GetEmailContactsList200ResponseDataInnerSocialHandles.md
-docs/GetEmailContactsList200ResponseDataInnerSocialHandlesLinkedin.md
+docs/GetEmailSenders200Response.md
+docs/GetEmailSenders200ResponseDataInner.md
docs/GetEmailsList200Response.md
docs/GetEmailsList200ResponseDataInner.md
docs/GetEmailsList200ResponseDataInnerFromInner.md
@@ -227,22 +252,20 @@ docs/GetInboxesList200Response.md
docs/GetInboxesList200ResponseDataInner.md
docs/GetInmailCredits200Response.md
docs/GetInmailCredits200ResponseCredits.md
+docs/GetManagedCompanyPages200Response.md
+docs/GetManagedCompanyPages200ResponseDataInner.md
docs/GetMessage200Response.md
docs/GetMessageReactionsList200Response.md
docs/GetMessageReactionsList200ResponseDataInner.md
-docs/GetMessageReactionsList200ResponseDataInnerSender.md
docs/GetMessagesList200Response.md
docs/GetMessagesList200ResponseDataInner.md
-docs/GetMessagesList200ResponseDataInnerAttachmentsInner.md
-docs/GetMessagesList200ResponseDataInnerEventMetadata.md
docs/GetMessagesList200ResponseDataInnerForwarded.md
docs/GetMessagesList200ResponseDataInnerQuoted.md
-docs/GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md
-docs/GetMessagesList200ResponseDataInnerReactionsCounterInner.md
docs/GetMessagesList200ResponseDataInnerSender.md
docs/GetMessagesList200ResponseDataInnerSpecifics.md
docs/GetParticipantsList200Response.md
docs/GetPost200Response.md
+docs/GetPost200ResponseQuotedPost.md
docs/GetPostCommentsList200Response.md
docs/GetPostCommentsList200ResponseDataInner.md
docs/GetPostCommentsList200ResponseDataInnerAuthor.md
@@ -255,8 +278,17 @@ docs/GetPostsList200ResponseDataInnerPermissions.md
docs/GetPostsList200ResponseDataInnerPoll.md
docs/GetPostsList200ResponseDataInnerPollOptionsInner.md
docs/GetPostsList200ResponseDataInnerQuotedPost.md
+docs/GetPostsList200ResponseDataInnerQuotedPostSpecifics.md
+docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle.md
+docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting.md
+docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany.md
+docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner.md
docs/GetPostsList200ResponseDataInnerQuotedPostUserReacted.md
docs/GetPostsList200ResponseDataInnerRepostedBy.md
+docs/GetPostsList200ResponseDataInnerSpecifics.md
+docs/GetPostsList200ResponseDataInnerSpecificsArticle.md
+docs/GetPostsList200ResponseDataInnerSpecificsJobPosting.md
+docs/GetPostsList200ResponseDataInnerSpecificsJobPostingCompany.md
docs/GetPostsList200ResponseDataInnerUserReacted.md
docs/GetRecruiterHiringProject200Response.md
docs/GetRecruiterHiringProject200ResponseMetadata.md
@@ -298,6 +330,8 @@ docs/GetRecruiterTalentPoolApplicantsRequestYearsInCurrentCompany.md
docs/GetRecruiterTalentPoolApplicantsRequestYearsInCurrentPosition.md
docs/GetRecruiterTalentPoolApplicantsRequestYearsOfExperience.md
docs/GetRelationRequestsList200Response.md
+docs/GetRelationRequestsList200ResponseDataInner.md
+docs/GetRelationRequestsList200ResponseDataInnerUser.md
docs/GetSalesAccountLists200Response.md
docs/GetSalesAccountLists200ResponseDataInner.md
docs/GetSalesLeadLists200Response.md
@@ -338,6 +372,8 @@ docs/Instagram1Config.md
docs/Instagram1Credentials.md
docs/InstagramApi.md
docs/JobsSearchResults.md
+docs/JobsSearchResults1.md
+docs/JobsSearchResults1DataInner.md
docs/JobsSearchResultsDataInner.md
docs/JobsSearchResultsDataInnerCompany.md
docs/JobsSourced.md
@@ -351,42 +387,49 @@ docs/Link1.md
docs/LinkNewAccount.md
docs/LinkNewAccountConfig.md
docs/LinkNewAccountConfigGlobal.md
-docs/LinkNewAccountConfigGoogle.md
docs/LinkNewAccountConfigImap.md
docs/LinkNewAccountConfigLinkedin.md
docs/LinkNewAccountProviders.md
docs/LinkedIn.md
docs/LinkedIn1.md
-docs/LinkedIn1Config.md
-docs/LinkedIn1Credentials.md
+docs/LinkedIn1CertificationsInner.md
+docs/LinkedIn1CertificationsInnerOrganization.md
+docs/LinkedIn1EducationInner.md
+docs/LinkedIn1EducationInnerSchool.md
+docs/LinkedIn1ExperienceInner.md
+docs/LinkedIn1ExperienceInnerCompany.md
+docs/LinkedIn1Interests.md
+docs/LinkedIn1InterestsCompaniesInner.md
+docs/LinkedIn1InterestsGroupsInner.md
+docs/LinkedIn1InterestsNewslettersInner.md
+docs/LinkedIn1InterestsSchoolsInner.md
+docs/LinkedIn1InterestsTopVoicesInner.md
+docs/LinkedIn1LanguagesInner.md
+docs/LinkedIn1ProjectsInner.md
+docs/LinkedIn1ProjectsInnerContributorsInner.md
+docs/LinkedIn1Recommendations.md
+docs/LinkedIn1RecommendationsReceivedInner.md
+docs/LinkedIn1RecommendationsReceivedInnerUser.md
+docs/LinkedIn1RecruitingProfile.md
+docs/LinkedIn1RecruitingProfileEventsInner.md
+docs/LinkedIn1RecruitingProfileNotesInner.md
+docs/LinkedIn1RecruitingProfileNotesInnerCommentsInner.md
+docs/LinkedIn1RecruitingProfileTagsInner.md
+docs/LinkedIn1RelationRequest.md
+docs/LinkedIn1RelationRequestUser.md
+docs/LinkedIn1SkillsInner.md
+docs/LinkedIn1VolunteerExperienceInner.md
+docs/LinkedIn2.md
+docs/LinkedIn2Config.md
+docs/LinkedIn2ConfigProducts.md
+docs/LinkedIn2Credentials.md
docs/LinkedInApi.md
-docs/LinkedInCertificationsInner.md
-docs/LinkedInCertificationsInnerOrganization.md
docs/LinkedInClassic.md
docs/LinkedInClassicApplicant.md
-docs/LinkedInEducationInner.md
-docs/LinkedInEducationInnerSchool.md
-docs/LinkedInExperienceInner.md
-docs/LinkedInExperienceInnerCompany.md
-docs/LinkedInLanguagesInner.md
-docs/LinkedInProjectsInner.md
-docs/LinkedInProjectsInnerContributorsInner.md
-docs/LinkedInRecommendations.md
-docs/LinkedInRecommendationsReceivedInner.md
-docs/LinkedInRecommendationsReceivedInnerUser.md
docs/LinkedInRecruiter.md
docs/LinkedInRecruiterFollowUp.md
docs/LinkedInRecruiterFollowUpScheduledFor.md
-docs/LinkedInRecruitingProfile.md
-docs/LinkedInRecruitingProfileEventsInner.md
-docs/LinkedInRecruitingProfileNotesInner.md
-docs/LinkedInRecruitingProfileNotesInnerCommentsInner.md
-docs/LinkedInRecruitingProfileTagsInner.md
-docs/LinkedInRelationRequest.md
-docs/LinkedInRelationRequestUser.md
docs/LinkedInSalesNavigator.md
-docs/LinkedInSkillsInner.md
-docs/LinkedInVolunteerExperienceInner.md
docs/ListAccounts200Response.md
docs/ListClassicUserJobPostings200Response.md
docs/ListClassicUserJobPostings200ResponseDataInner.md
@@ -396,6 +439,7 @@ docs/ListWebhookConversations200ResponseDataInner.md
docs/ListWebhookEndpoints200Response.md
docs/ListWebhookEndpoints200ResponseDataInner.md
docs/ListWebhookEndpoints200ResponseDataInnerAccountTargetsInner.md
+docs/Loading.md
docs/MediaShare.md
docs/Message.md
docs/MessageFile.md
@@ -436,17 +480,12 @@ docs/PeopleSearch2DataInner.md
docs/PeopleSearchDataInner.md
docs/PeopleSearchResults.md
docs/PeopleSearchResultsDataInner.md
-docs/PerformClassicCompaniesSearch200Response.md
docs/PerformClassicCompaniesSearchRequest.md
docs/PerformClassicCompaniesSearchRequestHeadcountInner.md
-docs/PerformClassicJobsSearch200Response.md
-docs/PerformClassicJobsSearch200ResponseDataInner.md
docs/PerformClassicJobsSearchRequest.md
docs/PerformClassicJobsSearchRequestSalary.md
-docs/PerformClassicPeopleSearch200Response.md
docs/PerformClassicPeopleSearchRequest.md
docs/PerformClassicPeopleSearchRequestAdvancedKeywords.md
-docs/PerformClassicPostsSearch200Response.md
docs/PerformClassicPostsSearchRequest.md
docs/PerformClassicPostsSearchRequestAuthor.md
docs/PerformClassicPostsSearchRequestMentioning.md
@@ -554,6 +593,9 @@ docs/RemovePostCommentReactionRequestReaction.md
docs/RemovePostReaction200Response.md
docs/RemovePostReactionRequest.md
docs/RemovePostReactionRequestReaction.md
+docs/RequestCheckpoint200Response.md
+docs/RequestCheckpointRequest.md
+docs/ResendCheckpointRequest.md
docs/SMTPConnectionsParameters.md
docs/SalesNavigatorSavedSearch.md
docs/SaveRecruiterCandidateToPipeline200Response.md
@@ -567,6 +609,9 @@ docs/ScheduledCallCreated.md
docs/ScheduledCallStarted.md
docs/SearchLocations200ResponseInner.md
docs/SearchOrJobPostingSourced.md
+docs/SearchParametersList.md
+docs/SearchParametersListDataInner.md
+docs/SearchParametersListDataInnerMetadata.md
docs/SelectContract200Response.md
docs/SendEmail200Response.md
docs/SendEmailRequest.md
@@ -584,8 +629,6 @@ docs/SolveCheckpointRequest.md
docs/StartAuthIntentRequest.md
docs/StartChat200Response.md
docs/StartChat200ResponseMessageId.md
-docs/StartChatFromInboxRequest.md
-docs/StartChatFromInboxRequestUsersIds.md
docs/StartChatRequest.md
docs/StartChatRequestSpecifics.md
docs/StartChatRequestSpecificsLinkedin.md
@@ -603,12 +646,20 @@ docs/UnreadEmail200Response.md
docs/UpdateAccountRequest.md
docs/UpdateCalendarEventRequest.md
docs/UpdateCalendarRequest.md
+docs/UpdateChat200Response.md
+docs/UpdateChat200ResponseParticipantsInner.md
+docs/UpdateChat200ResponseParticipantsInnerUser.md
+docs/UpdateChat200ResponseUser.md
docs/UpdateChatRequest.md
docs/UpdateChatRequestMutedUntil.md
docs/UpdateDraftRequest.md
docs/UpdateDraftRequestSpecifics.md
docs/UpdateDraftRequestSpecificsAllOfOutlook.md
docs/UpdateFolderRequest.md
+docs/UpdatePost200Response.md
+docs/UpdatePost200ResponseAuthor.md
+docs/UpdatePost200ResponseQuotedPost.md
+docs/UpdatePost200ResponseRepostedBy.md
docs/UpdatePostCommentRequest.md
docs/UpdatePostRequest.md
docs/UpdateUserProfile200Response.md
@@ -637,8 +688,10 @@ docs/VisitUserProfile200Response.md
docs/WebhooksApi.md
docs/WeeksBased.md
docs/WhatsApp.md
-docs/WhatsAppConfig.md
-docs/WhatsAppCredentials.md
+docs/WhatsApp1.md
+docs/WhatsApp2.md
+docs/WhatsApp2Config.md
+docs/WhatsApp2Credentials.md
git_push.sh
pyproject.toml
requirements.txt
@@ -649,17 +702,21 @@ test/__init__.py
test/test_accept_relation_request200_response.py
test/test_account.py
test/test_account1.py
+test/test_account1_metadata.py
test/test_account1_proxy.py
test/test_account_initial_sync.py
test/test_account_list.py
test/test_account_list_data_inner.py
test/test_account_list_data_inner_recommended_lead.py
+test/test_account_metadata.py
test/test_account_proxy.py
test/test_accounts_api.py
test/test_add_message_reaction200_response.py
test/test_add_message_reaction_request.py
test/test_add_participant200_response.py
test/test_add_participant_request.py
+test/test_add_post_comment201_response.py
+test/test_add_post_comment201_response_author.py
test/test_add_post_comment_reaction200_response.py
test/test_add_post_comment_reaction_request.py
test/test_add_post_comment_reaction_request_reaction.py
@@ -670,6 +727,7 @@ test/test_add_post_reaction_request_reaction.py
test/test_applicants_search.py
test/test_applicants_search_data_inner.py
test/test_applicants_search_data_inner_profile.py
+test/test_applicants_search_data_inner_screening_questions_inner.py
test/test_applicants_sourced.py
test/test_apply_on_external_website.py
test/test_apply_on_linkedin.py
@@ -687,6 +745,8 @@ test/test_call_rejected.py
test/test_call_started.py
test/test_cancel_relation_request200_response.py
test/test_captcha.py
+test/test_challenge_selection.py
+test/test_challenge_selection_challenges_inner.py
test/test_chat_description_updated.py
test/test_chat_name_updated.py
test/test_chat_subject_updated.py
@@ -699,6 +759,8 @@ test/test_companies_search1_data_inner.py
test/test_companies_search_data_inner.py
test/test_companies_search_results.py
test/test_companies_search_results_data_inner.py
+test/test_contract_selection.py
+test/test_contract_selection_contracts_inner.py
test/test_cookie_authentication.py
test/test_cookie_authentication1.py
test/test_create_auth_link200_response.py
@@ -743,10 +805,12 @@ test/test_create_recruiter_hiring_project_request_company.py
test/test_create_recruiter_hiring_project_request_job_title.py
test/test_create_recruiter_job_posting_draft_in_existing_project200_response.py
test/test_create_recruiter_job_posting_draft_in_existing_project_request.py
+test/test_create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation.py
test/test_create_recruiter_job_posting_draft_in_existing_project_request_apply_method.py
test/test_create_recruiter_job_posting_draft_in_existing_project_request_company.py
test/test_create_recruiter_job_posting_draft_in_existing_project_request_job_title.py
test/test_create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.py
+test/test_create_recruiter_job_posting_draft_in_existing_project_request_salary.py
test/test_create_recruiter_job_posting_draft_in_new_project_request.py
test/test_create_relation_request_request.py
test/test_create_webhook_endpoint200_response.py
@@ -755,6 +819,7 @@ test/test_custom_auth_api.py
test/test_custom_proxy.py
test/test_custom_proxy1.py
test/test_days_based.py
+test/test_default_api.py
test/test_edit_classic_job_posting200_response.py
test/test_edit_classic_job_posting_request.py
test/test_edit_classic_job_posting_request_screening_questions_inner.py
@@ -800,14 +865,27 @@ test/test_get_calendar_event_list200_response_data_inner_start_any_of1.py
test/test_get_calendars_list200_response.py
test/test_get_calendars_list200_response_data_inner.py
test/test_get_chat200_response.py
+test/test_get_chat200_response_last_message.py
+test/test_get_chat200_response_last_message_any_of.py
test/test_get_chat200_response_muted_until.py
test/test_get_chats_list200_response.py
test/test_get_chats_list200_response_data_inner.py
test/test_get_chats_list200_response_data_inner_last_message.py
+test/test_get_chats_list200_response_data_inner_last_message_any_of.py
+test/test_get_chats_list200_response_data_inner_last_message_any_of1.py
+test/test_get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner.py
+test/test_get_chats_list200_response_data_inner_last_message_any_of1_event_metadata.py
+test/test_get_chats_list200_response_data_inner_last_message_any_of1_forwarded.py
+test/test_get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner.py
+test/test_get_chats_list200_response_data_inner_last_message_any_of1_quoted.py
+test/test_get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner.py
+test/test_get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner.py
+test/test_get_chats_list200_response_data_inner_last_message_any_of1_sender.py
test/test_get_chats_list200_response_data_inner_muted_until.py
test/test_get_chats_list200_response_data_inner_participants_inner.py
test/test_get_chats_list200_response_data_inner_participants_inner_user.py
test/test_get_chats_list200_response_data_inner_user.py
+test/test_get_chats_list200_response_data_inner_user_specifics.py
test/test_get_classic_applicant_by_id200_response.py
test/test_get_classic_applicant_by_id200_response_profile.py
test/test_get_classic_applicant_by_id200_response_screening_questions_inner.py
@@ -848,17 +926,17 @@ test/test_get_classic_job_posting_budget200_response_free.py
test/test_get_classic_job_posting_budget200_response_promoted.py
test/test_get_classic_job_posting_budget200_response_promoted_daily.py
test/test_get_classic_job_posting_budget200_response_promoted_total.py
-test/test_get_classic_search_parameters200_response.py
-test/test_get_classic_search_parameters200_response_data_inner.py
-test/test_get_classic_search_parameters200_response_data_inner_metadata.py
+test/test_get_contacts_list200_response.py
+test/test_get_contacts_list200_response_data_inner.py
+test/test_get_contacts_list200_response_data_inner_addresses_inner.py
+test/test_get_contacts_list200_response_data_inner_groups_inner.py
+test/test_get_contacts_list200_response_data_inner_social_handles.py
+test/test_get_contacts_list200_response_data_inner_social_handles_linkedin.py
+test/test_get_contacts_list200_response_data_inner_user.py
test/test_get_drafts_list200_response.py
test/test_get_drafts_list200_response_data_inner.py
-test/test_get_email_contacts_list200_response.py
-test/test_get_email_contacts_list200_response_data_inner.py
-test/test_get_email_contacts_list200_response_data_inner_addresses_inner.py
-test/test_get_email_contacts_list200_response_data_inner_groups_inner.py
-test/test_get_email_contacts_list200_response_data_inner_social_handles.py
-test/test_get_email_contacts_list200_response_data_inner_social_handles_linkedin.py
+test/test_get_email_senders200_response.py
+test/test_get_email_senders200_response_data_inner.py
test/test_get_emails_list200_response.py
test/test_get_emails_list200_response_data_inner.py
test/test_get_emails_list200_response_data_inner_from_inner.py
@@ -869,22 +947,20 @@ test/test_get_inboxes_list200_response.py
test/test_get_inboxes_list200_response_data_inner.py
test/test_get_inmail_credits200_response.py
test/test_get_inmail_credits200_response_credits.py
+test/test_get_managed_company_pages200_response.py
+test/test_get_managed_company_pages200_response_data_inner.py
test/test_get_message200_response.py
test/test_get_message_reactions_list200_response.py
test/test_get_message_reactions_list200_response_data_inner.py
-test/test_get_message_reactions_list200_response_data_inner_sender.py
test/test_get_messages_list200_response.py
test/test_get_messages_list200_response_data_inner.py
-test/test_get_messages_list200_response_data_inner_attachments_inner.py
-test/test_get_messages_list200_response_data_inner_event_metadata.py
test/test_get_messages_list200_response_data_inner_forwarded.py
test/test_get_messages_list200_response_data_inner_quoted.py
-test/test_get_messages_list200_response_data_inner_quoted_attachments_inner.py
-test/test_get_messages_list200_response_data_inner_reactions_counter_inner.py
test/test_get_messages_list200_response_data_inner_sender.py
test/test_get_messages_list200_response_data_inner_specifics.py
test/test_get_participants_list200_response.py
test/test_get_post200_response.py
+test/test_get_post200_response_quoted_post.py
test/test_get_post_comments_list200_response.py
test/test_get_post_comments_list200_response_data_inner.py
test/test_get_post_comments_list200_response_data_inner_author.py
@@ -897,8 +973,17 @@ test/test_get_posts_list200_response_data_inner_permissions.py
test/test_get_posts_list200_response_data_inner_poll.py
test/test_get_posts_list200_response_data_inner_poll_options_inner.py
test/test_get_posts_list200_response_data_inner_quoted_post.py
+test/test_get_posts_list200_response_data_inner_quoted_post_specifics.py
+test/test_get_posts_list200_response_data_inner_quoted_post_specifics_article.py
+test/test_get_posts_list200_response_data_inner_quoted_post_specifics_job_posting.py
+test/test_get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company.py
+test/test_get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner.py
test/test_get_posts_list200_response_data_inner_quoted_post_user_reacted.py
test/test_get_posts_list200_response_data_inner_reposted_by.py
+test/test_get_posts_list200_response_data_inner_specifics.py
+test/test_get_posts_list200_response_data_inner_specifics_article.py
+test/test_get_posts_list200_response_data_inner_specifics_job_posting.py
+test/test_get_posts_list200_response_data_inner_specifics_job_posting_company.py
test/test_get_posts_list200_response_data_inner_user_reacted.py
test/test_get_recruiter_hiring_project200_response.py
test/test_get_recruiter_hiring_project200_response_metadata.py
@@ -940,6 +1025,8 @@ test/test_get_recruiter_talent_pool_applicants_request_years_in_current_company.
test/test_get_recruiter_talent_pool_applicants_request_years_in_current_position.py
test/test_get_recruiter_talent_pool_applicants_request_years_of_experience.py
test/test_get_relation_requests_list200_response.py
+test/test_get_relation_requests_list200_response_data_inner.py
+test/test_get_relation_requests_list200_response_data_inner_user.py
test/test_get_sales_account_lists200_response.py
test/test_get_sales_account_lists200_response_data_inner.py
test/test_get_sales_lead_lists200_response.py
@@ -980,6 +1067,8 @@ test/test_instagram1_config.py
test/test_instagram1_credentials.py
test/test_instagram_api.py
test/test_jobs_search_results.py
+test/test_jobs_search_results1.py
+test/test_jobs_search_results1_data_inner.py
test/test_jobs_search_results_data_inner.py
test/test_jobs_search_results_data_inner_company.py
test/test_jobs_sourced.py
@@ -993,42 +1082,49 @@ test/test_link1.py
test/test_link_new_account.py
test/test_link_new_account_config.py
test/test_link_new_account_config_global.py
-test/test_link_new_account_config_google.py
test/test_link_new_account_config_imap.py
test/test_link_new_account_config_linkedin.py
test/test_link_new_account_providers.py
test/test_linked_in.py
test/test_linked_in1.py
-test/test_linked_in1_config.py
-test/test_linked_in1_credentials.py
+test/test_linked_in1_certifications_inner.py
+test/test_linked_in1_certifications_inner_organization.py
+test/test_linked_in1_education_inner.py
+test/test_linked_in1_education_inner_school.py
+test/test_linked_in1_experience_inner.py
+test/test_linked_in1_experience_inner_company.py
+test/test_linked_in1_interests.py
+test/test_linked_in1_interests_companies_inner.py
+test/test_linked_in1_interests_groups_inner.py
+test/test_linked_in1_interests_newsletters_inner.py
+test/test_linked_in1_interests_schools_inner.py
+test/test_linked_in1_interests_top_voices_inner.py
+test/test_linked_in1_languages_inner.py
+test/test_linked_in1_projects_inner.py
+test/test_linked_in1_projects_inner_contributors_inner.py
+test/test_linked_in1_recommendations.py
+test/test_linked_in1_recommendations_received_inner.py
+test/test_linked_in1_recommendations_received_inner_user.py
+test/test_linked_in1_recruiting_profile.py
+test/test_linked_in1_recruiting_profile_events_inner.py
+test/test_linked_in1_recruiting_profile_notes_inner.py
+test/test_linked_in1_recruiting_profile_notes_inner_comments_inner.py
+test/test_linked_in1_recruiting_profile_tags_inner.py
+test/test_linked_in1_relation_request.py
+test/test_linked_in1_relation_request_user.py
+test/test_linked_in1_skills_inner.py
+test/test_linked_in1_volunteer_experience_inner.py
+test/test_linked_in2.py
+test/test_linked_in2_config.py
+test/test_linked_in2_config_products.py
+test/test_linked_in2_credentials.py
test/test_linked_in_api.py
-test/test_linked_in_certifications_inner.py
-test/test_linked_in_certifications_inner_organization.py
test/test_linked_in_classic.py
test/test_linked_in_classic_applicant.py
-test/test_linked_in_education_inner.py
-test/test_linked_in_education_inner_school.py
-test/test_linked_in_experience_inner.py
-test/test_linked_in_experience_inner_company.py
-test/test_linked_in_languages_inner.py
-test/test_linked_in_projects_inner.py
-test/test_linked_in_projects_inner_contributors_inner.py
-test/test_linked_in_recommendations.py
-test/test_linked_in_recommendations_received_inner.py
-test/test_linked_in_recommendations_received_inner_user.py
test/test_linked_in_recruiter.py
test/test_linked_in_recruiter_follow_up.py
test/test_linked_in_recruiter_follow_up_scheduled_for.py
-test/test_linked_in_recruiting_profile.py
-test/test_linked_in_recruiting_profile_events_inner.py
-test/test_linked_in_recruiting_profile_notes_inner.py
-test/test_linked_in_recruiting_profile_notes_inner_comments_inner.py
-test/test_linked_in_recruiting_profile_tags_inner.py
-test/test_linked_in_relation_request.py
-test/test_linked_in_relation_request_user.py
test/test_linked_in_sales_navigator.py
-test/test_linked_in_skills_inner.py
-test/test_linked_in_volunteer_experience_inner.py
test/test_list_accounts200_response.py
test/test_list_classic_user_job_postings200_response.py
test/test_list_classic_user_job_postings200_response_data_inner.py
@@ -1038,6 +1134,7 @@ test/test_list_webhook_conversations200_response_data_inner.py
test/test_list_webhook_endpoints200_response.py
test/test_list_webhook_endpoints200_response_data_inner.py
test/test_list_webhook_endpoints200_response_data_inner_account_targets_inner.py
+test/test_loading.py
test/test_media_share.py
test/test_message.py
test/test_message_file.py
@@ -1078,17 +1175,12 @@ test/test_people_search2_data_inner.py
test/test_people_search_data_inner.py
test/test_people_search_results.py
test/test_people_search_results_data_inner.py
-test/test_perform_classic_companies_search200_response.py
test/test_perform_classic_companies_search_request.py
test/test_perform_classic_companies_search_request_headcount_inner.py
-test/test_perform_classic_jobs_search200_response.py
-test/test_perform_classic_jobs_search200_response_data_inner.py
test/test_perform_classic_jobs_search_request.py
test/test_perform_classic_jobs_search_request_salary.py
-test/test_perform_classic_people_search200_response.py
test/test_perform_classic_people_search_request.py
test/test_perform_classic_people_search_request_advanced_keywords.py
-test/test_perform_classic_posts_search200_response.py
test/test_perform_classic_posts_search_request.py
test/test_perform_classic_posts_search_request_author.py
test/test_perform_classic_posts_search_request_mentioning.py
@@ -1196,6 +1288,9 @@ test/test_remove_post_comment_reaction_request_reaction.py
test/test_remove_post_reaction200_response.py
test/test_remove_post_reaction_request.py
test/test_remove_post_reaction_request_reaction.py
+test/test_request_checkpoint200_response.py
+test/test_request_checkpoint_request.py
+test/test_resend_checkpoint_request.py
test/test_sales_navigator_saved_search.py
test/test_save_recruiter_candidate_to_pipeline200_response.py
test/test_save_recruiter_candidate_to_pipeline_request.py
@@ -1208,6 +1303,9 @@ test/test_scheduled_call_created.py
test/test_scheduled_call_started.py
test/test_search_locations200_response_inner.py
test/test_search_or_job_posting_sourced.py
+test/test_search_parameters_list.py
+test/test_search_parameters_list_data_inner.py
+test/test_search_parameters_list_data_inner_metadata.py
test/test_select_contract200_response.py
test/test_send_email200_response.py
test/test_send_email_request.py
@@ -1226,8 +1324,6 @@ test/test_solve_checkpoint_request.py
test/test_start_auth_intent_request.py
test/test_start_chat200_response.py
test/test_start_chat200_response_message_id.py
-test/test_start_chat_from_inbox_request.py
-test/test_start_chat_from_inbox_request_users_ids.py
test/test_start_chat_request.py
test/test_start_chat_request_specifics.py
test/test_start_chat_request_specifics_linkedin.py
@@ -1245,12 +1341,20 @@ test/test_unread_email200_response.py
test/test_update_account_request.py
test/test_update_calendar_event_request.py
test/test_update_calendar_request.py
+test/test_update_chat200_response.py
+test/test_update_chat200_response_participants_inner.py
+test/test_update_chat200_response_participants_inner_user.py
+test/test_update_chat200_response_user.py
test/test_update_chat_request.py
test/test_update_chat_request_muted_until.py
test/test_update_draft_request.py
test/test_update_draft_request_specifics.py
test/test_update_draft_request_specifics_all_of_outlook.py
test/test_update_folder_request.py
+test/test_update_post200_response.py
+test/test_update_post200_response_author.py
+test/test_update_post200_response_quoted_post.py
+test/test_update_post200_response_reposted_by.py
test/test_update_post_comment_request.py
test/test_update_post_request.py
test/test_update_user_profile200_response.py
@@ -1279,14 +1383,17 @@ test/test_visit_user_profile200_response.py
test/test_webhooks_api.py
test/test_weeks_based.py
test/test_whats_app.py
-test/test_whats_app_config.py
-test/test_whats_app_credentials.py
+test/test_whats_app1.py
+test/test_whats_app2.py
+test/test_whats_app2_config.py
+test/test_whats_app2_credentials.py
tox.ini
unipile/__init__.py
unipile/api/__init__.py
unipile/api/accounts_api.py
unipile/api/calendar_api.py
unipile/api/custom_auth_api.py
+unipile/api/default_api.py
unipile/api/emails_api.py
unipile/api/hosted_auth_api.py
unipile/api/instagram_api.py
@@ -1303,16 +1410,20 @@ unipile/models/__init__.py
unipile/models/accept_relation_request200_response.py
unipile/models/account.py
unipile/models/account1.py
+unipile/models/account1_metadata.py
unipile/models/account1_proxy.py
unipile/models/account_initial_sync.py
unipile/models/account_list.py
unipile/models/account_list_data_inner.py
unipile/models/account_list_data_inner_recommended_lead.py
+unipile/models/account_metadata.py
unipile/models/account_proxy.py
unipile/models/add_message_reaction200_response.py
unipile/models/add_message_reaction_request.py
unipile/models/add_participant200_response.py
unipile/models/add_participant_request.py
+unipile/models/add_post_comment201_response.py
+unipile/models/add_post_comment201_response_author.py
unipile/models/add_post_comment_reaction200_response.py
unipile/models/add_post_comment_reaction_request.py
unipile/models/add_post_comment_reaction_request_reaction.py
@@ -1323,6 +1434,7 @@ unipile/models/add_post_reaction_request_reaction.py
unipile/models/applicants_search.py
unipile/models/applicants_search_data_inner.py
unipile/models/applicants_search_data_inner_profile.py
+unipile/models/applicants_search_data_inner_screening_questions_inner.py
unipile/models/applicants_sourced.py
unipile/models/apply_on_external_website.py
unipile/models/apply_on_linkedin.py
@@ -1339,6 +1451,8 @@ unipile/models/call_rejected.py
unipile/models/call_started.py
unipile/models/cancel_relation_request200_response.py
unipile/models/captcha.py
+unipile/models/challenge_selection.py
+unipile/models/challenge_selection_challenges_inner.py
unipile/models/chat_description_updated.py
unipile/models/chat_name_updated.py
unipile/models/chat_subject_updated.py
@@ -1351,6 +1465,8 @@ unipile/models/companies_search1_data_inner.py
unipile/models/companies_search_data_inner.py
unipile/models/companies_search_results.py
unipile/models/companies_search_results_data_inner.py
+unipile/models/contract_selection.py
+unipile/models/contract_selection_contracts_inner.py
unipile/models/cookie_authentication.py
unipile/models/cookie_authentication1.py
unipile/models/create_auth_link200_response.py
@@ -1395,10 +1511,12 @@ unipile/models/create_recruiter_hiring_project_request_company.py
unipile/models/create_recruiter_hiring_project_request_job_title.py
unipile/models/create_recruiter_job_posting_draft_in_existing_project200_response.py
unipile/models/create_recruiter_job_posting_draft_in_existing_project_request.py
+unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation.py
unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_apply_method.py
unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_company.py
unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_job_title.py
unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.py
+unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_salary.py
unipile/models/create_recruiter_job_posting_draft_in_new_project_request.py
unipile/models/create_relation_request_request.py
unipile/models/create_webhook_endpoint200_response.py
@@ -1450,14 +1568,27 @@ unipile/models/get_calendar_event_list200_response_data_inner_start_any_of1.py
unipile/models/get_calendars_list200_response.py
unipile/models/get_calendars_list200_response_data_inner.py
unipile/models/get_chat200_response.py
+unipile/models/get_chat200_response_last_message.py
+unipile/models/get_chat200_response_last_message_any_of.py
unipile/models/get_chat200_response_muted_until.py
unipile/models/get_chats_list200_response.py
unipile/models/get_chats_list200_response_data_inner.py
unipile/models/get_chats_list200_response_data_inner_last_message.py
+unipile/models/get_chats_list200_response_data_inner_last_message_any_of.py
+unipile/models/get_chats_list200_response_data_inner_last_message_any_of1.py
+unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner.py
+unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_event_metadata.py
+unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_forwarded.py
+unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner.py
+unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_quoted.py
+unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner.py
+unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner.py
+unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_sender.py
unipile/models/get_chats_list200_response_data_inner_muted_until.py
unipile/models/get_chats_list200_response_data_inner_participants_inner.py
unipile/models/get_chats_list200_response_data_inner_participants_inner_user.py
unipile/models/get_chats_list200_response_data_inner_user.py
+unipile/models/get_chats_list200_response_data_inner_user_specifics.py
unipile/models/get_classic_applicant_by_id200_response.py
unipile/models/get_classic_applicant_by_id200_response_profile.py
unipile/models/get_classic_applicant_by_id200_response_screening_questions_inner.py
@@ -1498,17 +1629,17 @@ unipile/models/get_classic_job_posting_budget200_response_free.py
unipile/models/get_classic_job_posting_budget200_response_promoted.py
unipile/models/get_classic_job_posting_budget200_response_promoted_daily.py
unipile/models/get_classic_job_posting_budget200_response_promoted_total.py
-unipile/models/get_classic_search_parameters200_response.py
-unipile/models/get_classic_search_parameters200_response_data_inner.py
-unipile/models/get_classic_search_parameters200_response_data_inner_metadata.py
+unipile/models/get_contacts_list200_response.py
+unipile/models/get_contacts_list200_response_data_inner.py
+unipile/models/get_contacts_list200_response_data_inner_addresses_inner.py
+unipile/models/get_contacts_list200_response_data_inner_groups_inner.py
+unipile/models/get_contacts_list200_response_data_inner_social_handles.py
+unipile/models/get_contacts_list200_response_data_inner_social_handles_linkedin.py
+unipile/models/get_contacts_list200_response_data_inner_user.py
unipile/models/get_drafts_list200_response.py
unipile/models/get_drafts_list200_response_data_inner.py
-unipile/models/get_email_contacts_list200_response.py
-unipile/models/get_email_contacts_list200_response_data_inner.py
-unipile/models/get_email_contacts_list200_response_data_inner_addresses_inner.py
-unipile/models/get_email_contacts_list200_response_data_inner_groups_inner.py
-unipile/models/get_email_contacts_list200_response_data_inner_social_handles.py
-unipile/models/get_email_contacts_list200_response_data_inner_social_handles_linkedin.py
+unipile/models/get_email_senders200_response.py
+unipile/models/get_email_senders200_response_data_inner.py
unipile/models/get_emails_list200_response.py
unipile/models/get_emails_list200_response_data_inner.py
unipile/models/get_emails_list200_response_data_inner_from_inner.py
@@ -1519,22 +1650,20 @@ unipile/models/get_inboxes_list200_response.py
unipile/models/get_inboxes_list200_response_data_inner.py
unipile/models/get_inmail_credits200_response.py
unipile/models/get_inmail_credits200_response_credits.py
+unipile/models/get_managed_company_pages200_response.py
+unipile/models/get_managed_company_pages200_response_data_inner.py
unipile/models/get_message200_response.py
unipile/models/get_message_reactions_list200_response.py
unipile/models/get_message_reactions_list200_response_data_inner.py
-unipile/models/get_message_reactions_list200_response_data_inner_sender.py
unipile/models/get_messages_list200_response.py
unipile/models/get_messages_list200_response_data_inner.py
-unipile/models/get_messages_list200_response_data_inner_attachments_inner.py
-unipile/models/get_messages_list200_response_data_inner_event_metadata.py
unipile/models/get_messages_list200_response_data_inner_forwarded.py
unipile/models/get_messages_list200_response_data_inner_quoted.py
-unipile/models/get_messages_list200_response_data_inner_quoted_attachments_inner.py
-unipile/models/get_messages_list200_response_data_inner_reactions_counter_inner.py
unipile/models/get_messages_list200_response_data_inner_sender.py
unipile/models/get_messages_list200_response_data_inner_specifics.py
unipile/models/get_participants_list200_response.py
unipile/models/get_post200_response.py
+unipile/models/get_post200_response_quoted_post.py
unipile/models/get_post_comments_list200_response.py
unipile/models/get_post_comments_list200_response_data_inner.py
unipile/models/get_post_comments_list200_response_data_inner_author.py
@@ -1547,8 +1676,17 @@ unipile/models/get_posts_list200_response_data_inner_permissions.py
unipile/models/get_posts_list200_response_data_inner_poll.py
unipile/models/get_posts_list200_response_data_inner_poll_options_inner.py
unipile/models/get_posts_list200_response_data_inner_quoted_post.py
+unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics.py
+unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_article.py
+unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_job_posting.py
+unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company.py
+unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner.py
unipile/models/get_posts_list200_response_data_inner_quoted_post_user_reacted.py
unipile/models/get_posts_list200_response_data_inner_reposted_by.py
+unipile/models/get_posts_list200_response_data_inner_specifics.py
+unipile/models/get_posts_list200_response_data_inner_specifics_article.py
+unipile/models/get_posts_list200_response_data_inner_specifics_job_posting.py
+unipile/models/get_posts_list200_response_data_inner_specifics_job_posting_company.py
unipile/models/get_posts_list200_response_data_inner_user_reacted.py
unipile/models/get_recruiter_hiring_project200_response.py
unipile/models/get_recruiter_hiring_project200_response_metadata.py
@@ -1590,6 +1728,8 @@ unipile/models/get_recruiter_talent_pool_applicants_request_years_in_current_com
unipile/models/get_recruiter_talent_pool_applicants_request_years_in_current_position.py
unipile/models/get_recruiter_talent_pool_applicants_request_years_of_experience.py
unipile/models/get_relation_requests_list200_response.py
+unipile/models/get_relation_requests_list200_response_data_inner.py
+unipile/models/get_relation_requests_list200_response_data_inner_user.py
unipile/models/get_sales_account_lists200_response.py
unipile/models/get_sales_account_lists200_response_data_inner.py
unipile/models/get_sales_lead_lists200_response.py
@@ -1628,6 +1768,8 @@ unipile/models/instagram1.py
unipile/models/instagram1_config.py
unipile/models/instagram1_credentials.py
unipile/models/jobs_search_results.py
+unipile/models/jobs_search_results1.py
+unipile/models/jobs_search_results1_data_inner.py
unipile/models/jobs_search_results_data_inner.py
unipile/models/jobs_search_results_data_inner_company.py
unipile/models/jobs_sourced.py
@@ -1641,41 +1783,48 @@ unipile/models/link1.py
unipile/models/link_new_account.py
unipile/models/link_new_account_config.py
unipile/models/link_new_account_config_global.py
-unipile/models/link_new_account_config_google.py
unipile/models/link_new_account_config_imap.py
unipile/models/link_new_account_config_linkedin.py
unipile/models/link_new_account_providers.py
unipile/models/linked_in.py
unipile/models/linked_in1.py
-unipile/models/linked_in1_config.py
-unipile/models/linked_in1_credentials.py
-unipile/models/linked_in_certifications_inner.py
-unipile/models/linked_in_certifications_inner_organization.py
+unipile/models/linked_in1_certifications_inner.py
+unipile/models/linked_in1_certifications_inner_organization.py
+unipile/models/linked_in1_education_inner.py
+unipile/models/linked_in1_education_inner_school.py
+unipile/models/linked_in1_experience_inner.py
+unipile/models/linked_in1_experience_inner_company.py
+unipile/models/linked_in1_interests.py
+unipile/models/linked_in1_interests_companies_inner.py
+unipile/models/linked_in1_interests_groups_inner.py
+unipile/models/linked_in1_interests_newsletters_inner.py
+unipile/models/linked_in1_interests_schools_inner.py
+unipile/models/linked_in1_interests_top_voices_inner.py
+unipile/models/linked_in1_languages_inner.py
+unipile/models/linked_in1_projects_inner.py
+unipile/models/linked_in1_projects_inner_contributors_inner.py
+unipile/models/linked_in1_recommendations.py
+unipile/models/linked_in1_recommendations_received_inner.py
+unipile/models/linked_in1_recommendations_received_inner_user.py
+unipile/models/linked_in1_recruiting_profile.py
+unipile/models/linked_in1_recruiting_profile_events_inner.py
+unipile/models/linked_in1_recruiting_profile_notes_inner.py
+unipile/models/linked_in1_recruiting_profile_notes_inner_comments_inner.py
+unipile/models/linked_in1_recruiting_profile_tags_inner.py
+unipile/models/linked_in1_relation_request.py
+unipile/models/linked_in1_relation_request_user.py
+unipile/models/linked_in1_skills_inner.py
+unipile/models/linked_in1_volunteer_experience_inner.py
+unipile/models/linked_in2.py
+unipile/models/linked_in2_config.py
+unipile/models/linked_in2_config_products.py
+unipile/models/linked_in2_credentials.py
unipile/models/linked_in_classic.py
unipile/models/linked_in_classic_applicant.py
-unipile/models/linked_in_education_inner.py
-unipile/models/linked_in_education_inner_school.py
-unipile/models/linked_in_experience_inner.py
-unipile/models/linked_in_experience_inner_company.py
-unipile/models/linked_in_languages_inner.py
-unipile/models/linked_in_projects_inner.py
-unipile/models/linked_in_projects_inner_contributors_inner.py
-unipile/models/linked_in_recommendations.py
-unipile/models/linked_in_recommendations_received_inner.py
-unipile/models/linked_in_recommendations_received_inner_user.py
unipile/models/linked_in_recruiter.py
unipile/models/linked_in_recruiter_follow_up.py
unipile/models/linked_in_recruiter_follow_up_scheduled_for.py
-unipile/models/linked_in_recruiting_profile.py
-unipile/models/linked_in_recruiting_profile_events_inner.py
-unipile/models/linked_in_recruiting_profile_notes_inner.py
-unipile/models/linked_in_recruiting_profile_notes_inner_comments_inner.py
-unipile/models/linked_in_recruiting_profile_tags_inner.py
-unipile/models/linked_in_relation_request.py
-unipile/models/linked_in_relation_request_user.py
unipile/models/linked_in_sales_navigator.py
-unipile/models/linked_in_skills_inner.py
-unipile/models/linked_in_volunteer_experience_inner.py
unipile/models/list_accounts200_response.py
unipile/models/list_classic_user_job_postings200_response.py
unipile/models/list_classic_user_job_postings200_response_data_inner.py
@@ -1685,6 +1834,7 @@ unipile/models/list_webhook_conversations200_response_data_inner.py
unipile/models/list_webhook_endpoints200_response.py
unipile/models/list_webhook_endpoints200_response_data_inner.py
unipile/models/list_webhook_endpoints200_response_data_inner_account_targets_inner.py
+unipile/models/loading.py
unipile/models/media_share.py
unipile/models/message.py
unipile/models/message_file.py
@@ -1724,17 +1874,12 @@ unipile/models/people_search2_data_inner.py
unipile/models/people_search_data_inner.py
unipile/models/people_search_results.py
unipile/models/people_search_results_data_inner.py
-unipile/models/perform_classic_companies_search200_response.py
unipile/models/perform_classic_companies_search_request.py
unipile/models/perform_classic_companies_search_request_headcount_inner.py
-unipile/models/perform_classic_jobs_search200_response.py
-unipile/models/perform_classic_jobs_search200_response_data_inner.py
unipile/models/perform_classic_jobs_search_request.py
unipile/models/perform_classic_jobs_search_request_salary.py
-unipile/models/perform_classic_people_search200_response.py
unipile/models/perform_classic_people_search_request.py
unipile/models/perform_classic_people_search_request_advanced_keywords.py
-unipile/models/perform_classic_posts_search200_response.py
unipile/models/perform_classic_posts_search_request.py
unipile/models/perform_classic_posts_search_request_author.py
unipile/models/perform_classic_posts_search_request_mentioning.py
@@ -1841,6 +1986,9 @@ unipile/models/remove_post_comment_reaction_request_reaction.py
unipile/models/remove_post_reaction200_response.py
unipile/models/remove_post_reaction_request.py
unipile/models/remove_post_reaction_request_reaction.py
+unipile/models/request_checkpoint200_response.py
+unipile/models/request_checkpoint_request.py
+unipile/models/resend_checkpoint_request.py
unipile/models/sales_navigator_saved_search.py
unipile/models/save_recruiter_candidate_to_pipeline200_response.py
unipile/models/save_recruiter_candidate_to_pipeline_request.py
@@ -1853,6 +2001,9 @@ unipile/models/scheduled_call_created.py
unipile/models/scheduled_call_started.py
unipile/models/search_locations200_response_inner.py
unipile/models/search_or_job_posting_sourced.py
+unipile/models/search_parameters_list.py
+unipile/models/search_parameters_list_data_inner.py
+unipile/models/search_parameters_list_data_inner_metadata.py
unipile/models/select_contract200_response.py
unipile/models/send_email200_response.py
unipile/models/send_email_request.py
@@ -1871,8 +2022,6 @@ unipile/models/solve_checkpoint_request.py
unipile/models/start_auth_intent_request.py
unipile/models/start_chat200_response.py
unipile/models/start_chat200_response_message_id.py
-unipile/models/start_chat_from_inbox_request.py
-unipile/models/start_chat_from_inbox_request_users_ids.py
unipile/models/start_chat_request.py
unipile/models/start_chat_request_specifics.py
unipile/models/start_chat_request_specifics_linkedin.py
@@ -1890,12 +2039,20 @@ unipile/models/unread_email200_response.py
unipile/models/update_account_request.py
unipile/models/update_calendar_event_request.py
unipile/models/update_calendar_request.py
+unipile/models/update_chat200_response.py
+unipile/models/update_chat200_response_participants_inner.py
+unipile/models/update_chat200_response_participants_inner_user.py
+unipile/models/update_chat200_response_user.py
unipile/models/update_chat_request.py
unipile/models/update_chat_request_muted_until.py
unipile/models/update_draft_request.py
unipile/models/update_draft_request_specifics.py
unipile/models/update_draft_request_specifics_all_of_outlook.py
unipile/models/update_folder_request.py
+unipile/models/update_post200_response.py
+unipile/models/update_post200_response_author.py
+unipile/models/update_post200_response_quoted_post.py
+unipile/models/update_post200_response_reposted_by.py
unipile/models/update_post_comment_request.py
unipile/models/update_post_request.py
unipile/models/update_user_profile200_response.py
@@ -1922,7 +2079,9 @@ unipile/models/video_size.py
unipile/models/visit_user_profile200_response.py
unipile/models/weeks_based.py
unipile/models/whats_app.py
-unipile/models/whats_app_config.py
-unipile/models/whats_app_credentials.py
+unipile/models/whats_app1.py
+unipile/models/whats_app2.py
+unipile/models/whats_app2_config.py
+unipile/models/whats_app2_credentials.py
unipile/py.typed
unipile/rest.py
diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION
index ca7bf6e46..8fc8df610 100644
--- a/.openapi-generator/VERSION
+++ b/.openapi-generator/VERSION
@@ -1 +1 @@
-7.23.0-SNAPSHOT
+7.25.0-SNAPSHOT
diff --git a/docs/Account.md b/docs/Account.md
index 79e99d0c5..547854047 100644
--- a/docs/Account.md
+++ b/docs/Account.md
@@ -11,10 +11,11 @@ Name | Type | Description | Notes
**created_at** | **str** | The date and time the account was linked with Unipile. |
**id** | **str** | ID of the account. |
**application_id** | **str** | ID of the parent application. |
-**status** | **str** | The current status of the account. - `running` is Operational. - `error` is Service Interuption. - `disconnected` is Require Authentication.. - `paused` is Paused. Learn more about [Status & Lifecycle](https://developer.unipile.com/v2.0/docs/status-lifecycle). |
+**status** | **str** | The current status of the account. - `running` is Operational. - `errored` is Service Interuption. - `disconnected` requires authentication. - `degraded` means at least one product is running while another is errored; inspect `metadata.products_connection_status`. - `partial` means at least one product is running while another requires authentication; inspect `metadata.products_connection_status`. Learn more about [Status & Lifecycle](https://developer.unipile.com/v2.0/docs/status-lifecycle). |
+**is_locked** | **bool** | Whether API access to the account is locked. |
**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
**oauth_scope** | **str** | If the provider is OAuth, this is the scope of comma-separated permissions granted to the account. | [optional]
-**metadata** | **Dict[str, Optional[str]]** | Metadata of the account. | [optional]
+**metadata** | [**AccountMetadata**](AccountMetadata.md) | |
**initial_sync** | [**AccountInitialSync**](AccountInitialSync.md) | | [optional]
**proxy** | [**AccountProxy**](AccountProxy.md) | | [optional]
diff --git a/docs/Account1.md b/docs/Account1.md
index 67debac1b..6f9b9758b 100644
--- a/docs/Account1.md
+++ b/docs/Account1.md
@@ -11,10 +11,11 @@ Name | Type | Description | Notes
**created_at** | **str** | The date and time the account was linked with Unipile. |
**id** | **str** | ID of the account. |
**application_id** | **str** | ID of the parent application. |
-**status** | **str** | The current status of the account. - `running` is Operational. - `error` is Service Interuption. - `disconnected` is Require Authentication.. - `paused` is Paused. Learn more about [Status & Lifecycle](https://developer.unipile.com/v2.0/docs/status-lifecycle). |
+**status** | **str** | The current status of the account. - `running` is Operational. - `errored` is Service Interuption. - `disconnected` requires authentication. - `degraded` means at least one product is running while another is errored; inspect `metadata.products_connection_status`. - `partial` means at least one product is running while another requires authentication; inspect `metadata.products_connection_status`. Learn more about [Status & Lifecycle](https://developer.unipile.com/v2.0/docs/status-lifecycle). |
+**is_locked** | **bool** | Whether API access to the account is locked. |
**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
**oauth_scope** | **str** | If the provider is OAuth, this is the scope of comma-separated permissions granted to the account. | [optional]
-**metadata** | **Dict[str, str]** | Metadata of the account. | [optional]
+**metadata** | [**Account1Metadata**](Account1Metadata.md) | |
**initial_sync** | [**AccountInitialSync**](AccountInitialSync.md) | | [optional]
**proxy** | [**Account1Proxy**](Account1Proxy.md) | | [optional]
diff --git a/docs/Account1Metadata.md b/docs/Account1Metadata.md
new file mode 100644
index 000000000..88b1543d6
--- /dev/null
+++ b/docs/Account1Metadata.md
@@ -0,0 +1,32 @@
+# Account1Metadata
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**auto_proxy_country** | **str** | The chosen country for the automatic proxy selection. | [optional]
+**v1_account_id** | **str** | The ID of the account in the v1 if the account is migrated from v1. | [optional]
+**products_connection_status** | **Dict[str, str]** | The status of the connection to a product, if the account is connected to multiple products. | [optional]
+**custom_data** | **Dict[str, str]** | Custom data of the account. This is where you can store custom data using \"Update an account\" method. | [optional]
+
+## Example
+
+```python
+from unipile.models.account1_metadata import Account1Metadata
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of Account1Metadata from a JSON string
+account1_metadata_instance = Account1Metadata.from_json(json)
+# print the JSON string representation of the object
+print(Account1Metadata.to_json())
+
+# convert the object into a dict
+account1_metadata_dict = account1_metadata_instance.to_dict()
+# create an instance of Account1Metadata from a dict
+account1_metadata_from_dict = Account1Metadata.from_dict(account1_metadata_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/Account1Proxy.md b/docs/Account1Proxy.md
index bc3f679ac..cb01f504c 100644
--- a/docs/Account1Proxy.md
+++ b/docs/Account1Proxy.md
@@ -8,6 +8,10 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**country** | **str** | The country of the proxy. If null, the proxy has no defined country. |
**auto_proxy** | **bool** | Whether the proxy was set automatically by Unipile. |
+**host** | **str** | The host of the custom proxy. | [optional]
+**port** | **float** | The port of the custom proxy. | [optional]
+**username** | **str** | The username used to authenticate to the custom proxy. | [optional]
+**protocol** | **str** | The protocol of the custom proxy. | [optional]
## Example
diff --git a/docs/AccountList.md b/docs/AccountList.md
index 21d5f5ed7..33050631b 100644
--- a/docs/AccountList.md
+++ b/docs/AccountList.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[AccountListDataInner]**](AccountListDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/AccountListDataInnerRecommendedLead.md b/docs/AccountListDataInnerRecommendedLead.md
index b4c6530b5..e8999410c 100644
--- a/docs/AccountListDataInnerRecommendedLead.md
+++ b/docs/AccountListDataInnerRecommendedLead.md
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
**public_picture_url_large** | **str** | The public picture URL of the User in large size. | [optional]
**relations_count** | **float** | The number of relations of the User. | [optional]
**location** | **str** | The location of the User. | [optional]
-**headline** | **str** | The headline of the User. |
+**headline** | **str** | The headline of the User. | [optional]
**network_distance** | [**PeopleSearch1DataInnerNetworkDistance**](PeopleSearch1DataInnerNetworkDistance.md) | |
**can_send_inmail** | **bool** | Whether it is possible to send an inMail to this User. | [optional]
**shared_relations_count** | **float** | The number of relations that you share with the User. | [optional]
@@ -38,8 +38,8 @@ Name | Type | Description | Notes
**education** | [**List[FullProfileEducationInner]**](FullProfileEducationInner.md) | |
**skills** | [**List[FullProfileSkillsInner]**](FullProfileSkillsInner.md) | |
**work_experience** | [**List[PartialProfileWorkExperienceInner]**](PartialProfileWorkExperienceInner.md) | |
-**languages** | [**List[LinkedInLanguagesInner]**](LinkedInLanguagesInner.md) | |
-**volunteering** | [**List[LinkedInVolunteerExperienceInner]**](LinkedInVolunteerExperienceInner.md) | |
+**languages** | [**List[LinkedIn1LanguagesInner]**](LinkedIn1LanguagesInner.md) | |
+**volunteering** | [**List[LinkedIn1VolunteerExperienceInner]**](LinkedIn1VolunteerExperienceInner.md) | |
**object** | **str** | |
## Example
diff --git a/docs/AccountMetadata.md b/docs/AccountMetadata.md
new file mode 100644
index 000000000..7c1dbb0bc
--- /dev/null
+++ b/docs/AccountMetadata.md
@@ -0,0 +1,32 @@
+# AccountMetadata
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**auto_proxy_country** | **str** | The chosen country for the automatic proxy selection. | [optional]
+**v1_account_id** | **str** | The ID of the account in the v1 if the account is migrated from v1. | [optional]
+**products_connection_status** | **Dict[str, str]** | The status of the connection to a product, if the account is connected to multiple products. | [optional]
+**custom_data** | **Dict[str, Optional[str]]** | Custom data of the account. This is where you can store custom data using \"Update an account\" method. | [optional]
+
+## Example
+
+```python
+from unipile.models.account_metadata import AccountMetadata
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of AccountMetadata from a JSON string
+account_metadata_instance = AccountMetadata.from_json(json)
+# print the JSON string representation of the object
+print(AccountMetadata.to_json())
+
+# convert the object into a dict
+account_metadata_dict = account_metadata_instance.to_dict()
+# create an instance of AccountMetadata from a dict
+account_metadata_from_dict = AccountMetadata.from_dict(account_metadata_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/AccountProxy.md b/docs/AccountProxy.md
index e138a4f0f..1e9cefc5f 100644
--- a/docs/AccountProxy.md
+++ b/docs/AccountProxy.md
@@ -6,8 +6,12 @@ The proxy used for the account.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**country** | **str** | The ID of the Company. |
+**country** | **str** | The text content of the message, when available. |
**auto_proxy** | **bool** | Whether the proxy was set automatically by Unipile. |
+**host** | **str** | The host of the custom proxy. | [optional]
+**port** | **float** | The port of the custom proxy. | [optional]
+**username** | **str** | The username used to authenticate to the custom proxy. | [optional]
+**protocol** | **str** | The protocol of the custom proxy. | [optional]
## Example
diff --git a/docs/AccountsApi.md b/docs/AccountsApi.md
index 942a31af7..8a00062f5 100644
--- a/docs/AccountsApi.md
+++ b/docs/AccountsApi.md
@@ -256,7 +256,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **update_account**
-> Account1 update_account(account_id, update_account_request)
+> Account1 update_account(account_id, update_account_request=update_account_request)
Update an Account
@@ -295,11 +295,11 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.AccountsApi(api_client)
account_id = 'account_id_example' # str | The ID of the Account to update.
- update_account_request = unipile.UpdateAccountRequest() # UpdateAccountRequest |
+ update_account_request = unipile.UpdateAccountRequest() # UpdateAccountRequest | (optional)
try:
# Update an Account
- api_response = api_instance.update_account(account_id, update_account_request)
+ api_response = api_instance.update_account(account_id, update_account_request=update_account_request)
print("The response of AccountsApi->update_account:\n")
pprint(api_response)
except Exception as e:
@@ -314,7 +314,7 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| The ID of the Account to update. |
- **update_account_request** | [**UpdateAccountRequest**](UpdateAccountRequest.md)| |
+ **update_account_request** | [**UpdateAccountRequest**](UpdateAccountRequest.md)| | [optional]
### Return type
diff --git a/docs/AddPostComment201Response.md b/docs/AddPostComment201Response.md
new file mode 100644
index 000000000..ec00d6844
--- /dev/null
+++ b/docs/AddPostComment201Response.md
@@ -0,0 +1,41 @@
+# AddPostComment201Response
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The ID of the comment. |
+**thread_id** | **str** | The ID of the thread if this is a reply to another comment. | [optional]
+**author** | [**AddPostComment201ResponseAuthor**](AddPostComment201ResponseAuthor.md) | |
+**created_at** | **str** | The creation date of the comment. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
+**text** | **str** | The text content of the comment. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of comment attachments. |
+**is_sender** | **bool** | Is the current user the sender of the comment. |
+**can_reply** | **bool** | Whether the current user can reply to the comment or not. |
+**can_react** | **bool** | Whether the current user can react to the comment or not. |
+**reply_counter** | **float** | The number of replies to the comment. |
+**impressions_counter** | **float** | The number of impressions of the comment. | [optional]
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
+
+## Example
+
+```python
+from unipile.models.add_post_comment201_response import AddPostComment201Response
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of AddPostComment201Response from a JSON string
+add_post_comment201_response_instance = AddPostComment201Response.from_json(json)
+# print the JSON string representation of the object
+print(AddPostComment201Response.to_json())
+
+# convert the object into a dict
+add_post_comment201_response_dict = add_post_comment201_response_instance.to_dict()
+# create an instance of AddPostComment201Response from a dict
+add_post_comment201_response_from_dict = AddPostComment201Response.from_dict(add_post_comment201_response_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/AddPostComment201ResponseAuthor.md b/docs/AddPostComment201ResponseAuthor.md
new file mode 100644
index 000000000..9b91896d9
--- /dev/null
+++ b/docs/AddPostComment201ResponseAuthor.md
@@ -0,0 +1,41 @@
+# AddPostComment201ResponseAuthor
+
+The author of the comment.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | **object** | Provider-specific user data. | [optional]
+
+## Example
+
+```python
+from unipile.models.add_post_comment201_response_author import AddPostComment201ResponseAuthor
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of AddPostComment201ResponseAuthor from a JSON string
+add_post_comment201_response_author_instance = AddPostComment201ResponseAuthor.from_json(json)
+# print the JSON string representation of the object
+print(AddPostComment201ResponseAuthor.to_json())
+
+# convert the object into a dict
+add_post_comment201_response_author_dict = add_post_comment201_response_author_instance.to_dict()
+# create an instance of AddPostComment201ResponseAuthor from a dict
+add_post_comment201_response_author_from_dict = AddPostComment201ResponseAuthor.from_dict(add_post_comment201_response_author_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ApplicantsSearch.md b/docs/ApplicantsSearch.md
index 570f43a85..b1cf907a8 100644
--- a/docs/ApplicantsSearch.md
+++ b/docs/ApplicantsSearch.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[ApplicantsSearchDataInner]**](ApplicantsSearchDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/ApplicantsSearchDataInner.md b/docs/ApplicantsSearchDataInner.md
index 42e8d8a76..2215ec0b4 100644
--- a/docs/ApplicantsSearchDataInner.md
+++ b/docs/ApplicantsSearchDataInner.md
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
**id** | **str** | The ID of the Applicant. |
**applied_at** | **str** | The date on which the Application was submitted. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
**has_resume** | **bool** | Whether the Applicant has a downloadable resume available. | [optional]
-**screening_questions** | [**List[GetClassicApplicantById200ResponseScreeningQuestionsInner]**](GetClassicApplicantById200ResponseScreeningQuestionsInner.md) | The responses to the job posting screening questions. | [optional]
+**screening_questions** | [**List[ApplicantsSearchDataInnerScreeningQuestionsInner]**](ApplicantsSearchDataInnerScreeningQuestionsInner.md) | The responses to the job posting screening questions. | [optional]
**profile** | [**ApplicantsSearchDataInnerProfile**](ApplicantsSearchDataInnerProfile.md) | |
## Example
diff --git a/docs/ApplicantsSearchDataInnerProfile.md b/docs/ApplicantsSearchDataInnerProfile.md
index df4671df0..b4e67ce9c 100644
--- a/docs/ApplicantsSearchDataInnerProfile.md
+++ b/docs/ApplicantsSearchDataInnerProfile.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | The ID of the user. |
-**headline** | **str** | The headline of the User. |
+**headline** | **str** | The headline of the User. | [optional]
**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' |
**location** | **str** | The location of the User. | [optional]
**can_send_inmail** | **bool** | Whether it is possible to send an inMail to this User. | [optional]
@@ -22,18 +22,18 @@ Name | Type | Description | Notes
**public_picture_url** | **str** | The public picture URL of the User. | [optional]
**public_picture_url_large** | **str** | The public picture URL of the User in large size. | [optional]
**relations_count** | **float** | The number of relations of the User. | [optional]
-**industry** | **str** | The industry to which the User belongs. |
+**industry** | **str** | The industry to which the User belongs. | [optional]
**followers_count** | **float** | The number of the followers of the User. | [optional]
**skills** | [**List[FullProfileSkillsInner]**](FullProfileSkillsInner.md) | A list of skills. |
**summary** | **str** | The summary of the User. | [optional]
**emails** | **List[str]** | | [optional]
**phone_numbers** | **List[str]** | | [optional]
**education** | [**List[FullProfileEducationInner]**](FullProfileEducationInner.md) | |
-**languages** | [**List[LinkedInLanguagesInner]**](LinkedInLanguagesInner.md) | |
+**languages** | [**List[LinkedIn1LanguagesInner]**](LinkedIn1LanguagesInner.md) | |
**certifications** | [**List[FullProfileCertificationsInner]**](FullProfileCertificationsInner.md) | |
**projects** | [**List[FullProfileProjectsInner]**](FullProfileProjectsInner.md) | |
-**volunteering** | [**List[LinkedInVolunteerExperienceInner]**](LinkedInVolunteerExperienceInner.md) | |
-**recommendations** | [**List[LinkedInRecommendationsReceivedInner]**](LinkedInRecommendationsReceivedInner.md) | |
+**volunteering** | [**List[LinkedIn1VolunteerExperienceInner]**](LinkedIn1VolunteerExperienceInner.md) | |
+**recommendations** | [**List[LinkedIn1RecommendationsReceivedInner]**](LinkedIn1RecommendationsReceivedInner.md) | |
## Example
diff --git a/docs/ApplicantsSearchDataInnerScreeningQuestionsInner.md b/docs/ApplicantsSearchDataInnerScreeningQuestionsInner.md
new file mode 100644
index 000000000..039533347
--- /dev/null
+++ b/docs/ApplicantsSearchDataInnerScreeningQuestionsInner.md
@@ -0,0 +1,32 @@
+# ApplicantsSearchDataInnerScreeningQuestionsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**question** | **str** | The text of the question. |
+**has_succedeed** | **bool** | Whether the Applicant successfully answered the question. | [optional]
+**is_eliminatory** | **bool** | Whether an unexpected answer is considered a disqualifying factor. | [optional]
+**answers** | **List[str]** | A list of answers given by the Applicant. |
+
+## Example
+
+```python
+from unipile.models.applicants_search_data_inner_screening_questions_inner import ApplicantsSearchDataInnerScreeningQuestionsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of ApplicantsSearchDataInnerScreeningQuestionsInner from a JSON string
+applicants_search_data_inner_screening_questions_inner_instance = ApplicantsSearchDataInnerScreeningQuestionsInner.from_json(json)
+# print the JSON string representation of the object
+print(ApplicantsSearchDataInnerScreeningQuestionsInner.to_json())
+
+# convert the object into a dict
+applicants_search_data_inner_screening_questions_inner_dict = applicants_search_data_inner_screening_questions_inner_instance.to_dict()
+# create an instance of ApplicantsSearchDataInnerScreeningQuestionsInner from a dict
+applicants_search_data_inner_screening_questions_inner_from_dict = ApplicantsSearchDataInnerScreeningQuestionsInner.from_dict(applicants_search_data_inner_screening_questions_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ApplicantsSourced.md b/docs/ApplicantsSourced.md
index 44a070a00..fa3bae7f6 100644
--- a/docs/ApplicantsSourced.md
+++ b/docs/ApplicantsSourced.md
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**source** | **str** | |
**project_id** | **str** | The ID of the Project associated with the Talent pool. |
-**channel_id** | **str** | In Talent Pool context, the ID of the JOB_POSTING Channel to get parameters from. |
**keywords** | **str** | A keyword or group of keywords to filter results. Applicable to TAG only. | [optional]
**type** | **str** | The type of search parameter. |
diff --git a/docs/Audio.md b/docs/Audio.md
index 3ab06b4ce..5a10d5840 100644
--- a/docs/Audio.md
+++ b/docs/Audio.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**object** | **str** | |
**id** | **str** | The unique identifier of the attachment for the provider. |
**file_size** | **float** | The size of the attachment in bytes. | [optional]
+**is_inline** | **bool** | Is the attachment inline in the content. |
**is_unavailable** | **bool** | The attachment is not available for download because it was removed from provider servers. | [optional]
**mimetype** | **str** | The MIME type of the attachment. |
**url** | **str** | The URL to download the attachment. |
diff --git a/docs/BasicAuthentication1.md b/docs/BasicAuthentication1.md
index 2124f981d..375d60dcc 100644
--- a/docs/BasicAuthentication1.md
+++ b/docs/BasicAuthentication1.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**username** | **str** | Email or phone of the LinkedIn account. |
**password** | **str** | Password of the LinkedIn account. |
+**user_agent** | **str** | A custom user agent if you need the session to be started from a specific browser. You can easily get it in the browser's console with this command : `console.log(navigator.userAgent)` | [optional]
## Example
diff --git a/docs/BrowseSalesAccountListRequest.md b/docs/BrowseSalesAccountListRequest.md
index 1f6753078..b27759f75 100644
--- a/docs/BrowseSalesAccountListRequest.md
+++ b/docs/BrowseSalesAccountListRequest.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**persona** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `PERSONA` type to find out the possible values. Native filter : Persona | [optional]
+**persona** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `PERSONA` type to find out the possible values. Native filter : Persona | [optional]
**filter** | **str** | Native filter : Filter companies | [optional]
**sort_by** | **str** | The sort method. | [optional] [default to 'NAME']
**sort_order** | **str** | The sort order. | [optional] [default to 'ASCENDING']
diff --git a/docs/CalendarApi.md b/docs/CalendarApi.md
index 105eb0f4a..52079ae20 100644
--- a/docs/CalendarApi.md
+++ b/docs/CalendarApi.md
@@ -505,7 +505,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_calendar_event_list**
-> GetCalendarEventList200Response get_calendar_event_list(calendar_id, account_id, is_cancelled=is_cancelled, title=title, description=description, ical_uid=ical_uid, location=location, start=start, end=end, busy=busy, updated_before=updated_before, updated_after=updated_after, attendees=attendees, event_type=event_type, expand_recurring=expand_recurring, offset=offset, limit=limit, cursor=cursor)
+> GetCalendarEventList200Response get_calendar_event_list(calendar_id, account_id, is_cancelled=is_cancelled, title=title, description=description, ical_uid=ical_uid, location=location, start=start, end=end, busy=busy, updated_before=updated_before, updated_after=updated_after, attendees=attendees, event_type=event_type, expand_recurring=expand_recurring, offset=offset, cursor=cursor, limit=limit)
List all calendar events
@@ -558,12 +558,12 @@ with unipile.ApiClient(configuration) as api_client:
event_type = 'event_type_example' # str | Filter events by event type. This parameter accepts a comma-delimited list of event type. (optional)
expand_recurring = True # bool | Filter events by type (single or occurence). (optional)
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all calendar events
- api_response = api_instance.get_calendar_event_list(calendar_id, account_id, is_cancelled=is_cancelled, title=title, description=description, ical_uid=ical_uid, location=location, start=start, end=end, busy=busy, updated_before=updated_before, updated_after=updated_after, attendees=attendees, event_type=event_type, expand_recurring=expand_recurring, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_calendar_event_list(calendar_id, account_id, is_cancelled=is_cancelled, title=title, description=description, ical_uid=ical_uid, location=location, start=start, end=end, busy=busy, updated_before=updated_before, updated_after=updated_after, attendees=attendees, event_type=event_type, expand_recurring=expand_recurring, offset=offset, cursor=cursor, limit=limit)
print("The response of CalendarApi->get_calendar_event_list:\n")
pprint(api_response)
except Exception as e:
@@ -593,8 +593,8 @@ Name | Type | Description | Notes
**event_type** | **str**| Filter events by event type. This parameter accepts a comma-delimited list of event type. | [optional]
**expand_recurring** | **bool**| Filter events by type (single or occurence). | [optional]
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -618,7 +618,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_calendars_list**
-> GetCalendarsList200Response get_calendars_list(account_id, offset=offset, limit=limit, cursor=cursor)
+> GetCalendarsList200Response get_calendars_list(account_id, offset=offset, cursor=cursor, limit=limit)
List all Calendars
@@ -657,12 +657,12 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.CalendarApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all Calendars
- api_response = api_instance.get_calendars_list(account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_calendars_list(account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of CalendarApi->get_calendars_list:\n")
pprint(api_response)
except Exception as e:
@@ -678,8 +678,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
diff --git a/docs/Captcha.md b/docs/Captcha.md
index c52903168..87a739168 100644
--- a/docs/Captcha.md
+++ b/docs/Captcha.md
@@ -7,8 +7,8 @@ The user needs to solve a captcha checkpoint.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | |
-**public_key** | **str** | The ID of the Company. |
-**data** | **str** | The ID of the Company. |
+**public_key** | **str** | The text content of the message, when available. |
+**data** | **str** | The text content of the message, when available. |
## Example
diff --git a/docs/ChallengeSelection.md b/docs/ChallengeSelection.md
new file mode 100644
index 000000000..0979689fe
--- /dev/null
+++ b/docs/ChallengeSelection.md
@@ -0,0 +1,31 @@
+# ChallengeSelection
+
+The user must pick which alternative verification method to use to receive their code.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**type** | **str** | |
+**challenges** | [**List[ChallengeSelectionChallengesInner]**](ChallengeSelectionChallengesInner.md) | A list of alternative verification methods to choose from. |
+
+## Example
+
+```python
+from unipile.models.challenge_selection import ChallengeSelection
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of ChallengeSelection from a JSON string
+challenge_selection_instance = ChallengeSelection.from_json(json)
+# print the JSON string representation of the object
+print(ChallengeSelection.to_json())
+
+# convert the object into a dict
+challenge_selection_dict = challenge_selection_instance.to_dict()
+# create an instance of ChallengeSelection from a dict
+challenge_selection_from_dict = ChallengeSelection.from_dict(challenge_selection_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ChallengeSelectionChallengesInner.md b/docs/ChallengeSelectionChallengesInner.md
new file mode 100644
index 000000000..68501d0ea
--- /dev/null
+++ b/docs/ChallengeSelectionChallengesInner.md
@@ -0,0 +1,31 @@
+# ChallengeSelectionChallengesInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Identifier of the method (EMAIL, SMS or WHATSAPP). Send it back as the `challenge` field of Request Checkpoint to switch to this method. |
+**label** | **str** | Human-readable name of the method (e.g. \"WhatsApp\", \"Text message\", \"Email\"). |
+**description** | **str** | Extra detail about the method, e.g. the masked destination the code will be sent to. | [optional]
+
+## Example
+
+```python
+from unipile.models.challenge_selection_challenges_inner import ChallengeSelectionChallengesInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of ChallengeSelectionChallengesInner from a JSON string
+challenge_selection_challenges_inner_instance = ChallengeSelectionChallengesInner.from_json(json)
+# print the JSON string representation of the object
+print(ChallengeSelectionChallengesInner.to_json())
+
+# convert the object into a dict
+challenge_selection_challenges_inner_dict = challenge_selection_challenges_inner_instance.to_dict()
+# create an instance of ChallengeSelectionChallengesInner from a dict
+challenge_selection_challenges_inner_from_dict = ChallengeSelectionChallengesInner.from_dict(challenge_selection_challenges_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/CheckpointCheckpoint.md b/docs/CheckpointCheckpoint.md
index f6fada4d0..96cdac762 100644
--- a/docs/CheckpointCheckpoint.md
+++ b/docs/CheckpointCheckpoint.md
@@ -7,9 +7,12 @@ The details of the checkpoint that user needs to solve.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | |
+**channel** | **str** | The channel the one-time password was sent through, when known. | [optional]
**platform** | **str** | The platform of the 2FA. - `SMS` means the code was sent in a SMS. - `APP` means the user must enter the code generated by the Authenticator App used to setup 2FA. - `WHATSAPP` means the code was sent via WhatsApp. |
-**public_key** | **str** | The ID of the Company. |
-**data** | **str** | The ID of the Company. |
+**public_key** | **str** | The text content of the message, when available. |
+**data** | **str** | The text content of the message, when available. |
+**contracts** | [**List[ContractSelectionContractsInner]**](ContractSelectionContractsInner.md) | A list of contracts to choose from. |
+**challenges** | [**List[ChallengeSelectionChallengesInner]**](ChallengeSelectionChallengesInner.md) | A list of alternative verification methods to choose from. |
## Example
diff --git a/docs/CompaniesSearch.md b/docs/CompaniesSearch.md
index b17a783a5..0b51ca3ec 100644
--- a/docs/CompaniesSearch.md
+++ b/docs/CompaniesSearch.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[CompaniesSearchDataInner]**](CompaniesSearchDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/CompaniesSearch1.md b/docs/CompaniesSearch1.md
index 48f99ce05..3cab76377 100644
--- a/docs/CompaniesSearch1.md
+++ b/docs/CompaniesSearch1.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[CompaniesSearch1DataInner]**](CompaniesSearch1DataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/CompaniesSearchResults.md b/docs/CompaniesSearchResults.md
index df0a4f5e8..7fb1459bb 100644
--- a/docs/CompaniesSearchResults.md
+++ b/docs/CompaniesSearchResults.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[CompaniesSearchResultsDataInner]**](CompaniesSearchResultsDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/ContractSelection.md b/docs/ContractSelection.md
new file mode 100644
index 000000000..2a7d52733
--- /dev/null
+++ b/docs/ContractSelection.md
@@ -0,0 +1,31 @@
+# ContractSelection
+
+The user must pick a contract from a list to activate the correct features and complete authentication.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**type** | **str** | |
+**contracts** | [**List[ContractSelectionContractsInner]**](ContractSelectionContractsInner.md) | A list of contracts to choose from. |
+
+## Example
+
+```python
+from unipile.models.contract_selection import ContractSelection
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of ContractSelection from a JSON string
+contract_selection_instance = ContractSelection.from_json(json)
+# print the JSON string representation of the object
+print(ContractSelection.to_json())
+
+# convert the object into a dict
+contract_selection_dict = contract_selection_instance.to_dict()
+# create an instance of ContractSelection from a dict
+contract_selection_from_dict = ContractSelection.from_dict(contract_selection_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ContractSelectionContractsInner.md b/docs/ContractSelectionContractsInner.md
new file mode 100644
index 000000000..87f2aa159
--- /dev/null
+++ b/docs/ContractSelectionContractsInner.md
@@ -0,0 +1,30 @@
+# ContractSelectionContractsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | The ID of the contract. |
+**name** | **str** | The name of the contract. |
+
+## Example
+
+```python
+from unipile.models.contract_selection_contracts_inner import ContractSelectionContractsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of ContractSelectionContractsInner from a JSON string
+contract_selection_contracts_inner_instance = ContractSelectionContractsInner.from_json(json)
+# print the JSON string representation of the object
+print(ContractSelectionContractsInner.to_json())
+
+# convert the object into a dict
+contract_selection_contracts_inner_dict = contract_selection_contracts_inner_instance.to_dict()
+# create an instance of ContractSelectionContractsInner from a dict
+contract_selection_contracts_inner_from_dict = ContractSelectionContractsInner.from_dict(contract_selection_contracts_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/CookieAuthentication.md b/docs/CookieAuthentication.md
index 697de1171..fa893fc50 100644
--- a/docs/CookieAuthentication.md
+++ b/docs/CookieAuthentication.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**access_token** | **str** | The access token to authenticate with. This is the `li_at` cookie value. |
**premium_access_token** | **str** | The access token to authenticate Recruiter or Sales Navigator with. This is the `li_a` cookie value. | [optional]
+**user_agent** | **str** | The exact user agent of the browser on which the session has been started. You can easily get it in the browser's console with this command : `console.log(navigator.userAgent)` |
## Example
diff --git a/docs/CreateAuthLinkRequest.md b/docs/CreateAuthLinkRequest.md
index 95ff191fd..22144c9ba 100644
--- a/docs/CreateAuthLinkRequest.md
+++ b/docs/CreateAuthLinkRequest.md
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
**state** | **str** | State data sent as query parameter in the redirect_uri and in the `account.add` / `account.reconnect` webhook payload after the authentication process. | [optional]
**config** | [**LinkNewAccountConfig**](LinkNewAccountConfig.md) | | [optional]
**providers** | [**LinkNewAccountProviders**](LinkNewAccountProviders.md) | |
-**account_id** | **str** | Required to re-authenticate an existing account. The ID of the Account to re-authenticate. |
+**account_id** | **str** | Required to re-authenticate or reconfigure an existing account. The entire account is refreshed and all configured products are restarted. |
## Example
diff --git a/docs/CreateCalendarEvent201Response.md b/docs/CreateCalendarEvent201Response.md
index ab354e3f1..022bab7c1 100644
--- a/docs/CreateCalendarEvent201Response.md
+++ b/docs/CreateCalendarEvent201Response.md
@@ -26,8 +26,10 @@ Name | Type | Description | Notes
**visibility** | **str** | The visibility of the event. - `public` is visible to all. - `private` is visible only to the calendar owner. |
**transparency** | **str** | The transparency of the event. - `opaque` does block time on the calendar and is equivalent to setting Show me as to Busy in the Calendar UI. - `transparent` does not block time on the calendar and is equivalent to setting Show me as to Available in the Calendar UI. |
**event_type** | **str** | The type of the event (`birthday`, `fromGmail`, `outOfOffice`...) | [default to 'default']
+**timezone** | **str** | The IANA timezone when start and end share the same timezone (e.g. `Europe/Paris`). Omitted when they differ; use `start.timezone` and `end.timezone` instead. | [optional]
**background_color** | **str** | Background color of the calendar in hexadecimal format. | [optional]
**text_color** | **str** | Foreground color of the event in hexadecimal format. | [optional]
+**specifics** | **object** | Object containing provider-specific calendar event data. | [optional]
## Example
diff --git a/docs/CreateCalendarEventRequest.md b/docs/CreateCalendarEventRequest.md
index 293f70ef7..f605f7654 100644
--- a/docs/CreateCalendarEventRequest.md
+++ b/docs/CreateCalendarEventRequest.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**body** | **str** | The body of the event. | [optional]
**location** | **str** | The location of the event. | [optional]
**background_color** | **str** | Background color of the calendar in hexadecimal format. For Google we match the closest palette available | [optional]
-**transparency** | **str** | The transparency of the event. - `opaque` does block time on the calendar and is equivalent to setting Show me as to Busy in the Calendar UI. - `transparent` does not block time on the calendar and is equivalent to setting Show me as to Available in the Calendar UI. | [optional] [default to 'opaque']
+**transparency** | **str** | The transparency of the event. - `opaque` does block time on the calendar and is equivalent to setting Show me as to Busy in the Calendar UI. - `transparent` does not block time on the calendar and is equivalent to setting Show me as to Available in the Calendar UI. | [optional] [default to 'transparent']
**visibility** | **str** | The visibility of the event. - `public` is visible to all. - `private` is visible only to the calendar owner. | [optional] [default to 'public']
**conference** | [**GetCalendarEventList200ResponseDataInnerConference**](GetCalendarEventList200ResponseDataInnerConference.md) | | [optional]
**is_attendees_list_hidden** | **bool** | Is the attendees list hidden for attendees. | [optional]
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
**recurrence** | **List[str]** | List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. | [optional]
**start** | [**CreateCalendarEventRequestStart**](CreateCalendarEventRequestStart.md) | |
**end** | [**CreateCalendarEventRequestEnd**](CreateCalendarEventRequestEnd.md) | |
+**timezone** | **str** | The IANA timezone the event is expressed in (e.g. `Europe/Paris`). Defaults to UTC when omitted. | [optional]
## Example
diff --git a/docs/CreateCalendarEventRequestEnd.md b/docs/CreateCalendarEventRequestEnd.md
index bd8fedc9b..f47e445c0 100644
--- a/docs/CreateCalendarEventRequestEnd.md
+++ b/docs/CreateCalendarEventRequestEnd.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | Indicates a date-time value. |
**date_time** | **str** | The date and time. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SSZ). |
+**timezone** | **str** | The IANA timezone in which the date is expressed (e.g. `Europe/Paris`). | [optional]
**var_date** | **str** | The date. Uses ISO 8601 date format (YYYY-MM-DD). |
## Example
diff --git a/docs/CreateCalendarEventRequestStart.md b/docs/CreateCalendarEventRequestStart.md
index d2308f041..d91c7e43d 100644
--- a/docs/CreateCalendarEventRequestStart.md
+++ b/docs/CreateCalendarEventRequestStart.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | Indicates a date-time value. |
**date_time** | **str** | The date and time. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SSZ). |
+**timezone** | **str** | The IANA timezone in which the date is expressed (e.g. `Europe/Paris`). | [optional]
**var_date** | **str** | The date. Uses ISO 8601 date format (YYYY-MM-DD). |
## Example
diff --git a/docs/CreateCalendarRequest.md b/docs/CreateCalendarRequest.md
index fbbdd0ffe..b0d68eb0c 100644
--- a/docs/CreateCalendarRequest.md
+++ b/docs/CreateCalendarRequest.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**name** | **str** | Name of the new calendar |
**description** | **str** | Description of the calendar | [optional]
**background_color** | **str** | Background color of the calendar in hexadecimal format. | [optional]
+**timezone** | **str** | Timezone used in this calendar (IANA, e.g. `Europe/Paris`). | [optional]
## Example
diff --git a/docs/CreateClassicJobPostingDraftRequest.md b/docs/CreateClassicJobPostingDraftRequest.md
index a295f11cf..c86409874 100644
--- a/docs/CreateClassicJobPostingDraftRequest.md
+++ b/docs/CreateClassicJobPostingDraftRequest.md
@@ -8,10 +8,10 @@ Name | Type | Description | Notes
**job_title** | [**CreateClassicJobPostingDraftRequestJobTitle**](CreateClassicJobPostingDraftRequestJobTitle.md) | |
**company** | [**CreateClassicJobPostingDraftRequestCompany**](CreateClassicJobPostingDraftRequestCompany.md) | |
**workplace_type** | **str** | The workplace type of the job. |
-**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `JOB_LOCATION` type to find out the possible values. |
+**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. |
**employment_status** | **str** | The employment status of the job. |
**description** | **str** | The job description. You can use HTML tags to structure your content. |
-**skills** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. The skills related to the job posting. | [optional]
+**skills** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. The skills related to the job posting. | [optional]
**apply_method** | [**CreateClassicJobPostingDraftRequestApplyMethod**](CreateClassicJobPostingDraftRequestApplyMethod.md) | |
**screening_questions** | [**List[CreateClassicJobPostingDraftRequestScreeningQuestionsInner]**](CreateClassicJobPostingDraftRequestScreeningQuestionsInner.md) | The questions to be asked to the applicants. | [optional]
**rejection_settings** | [**CreateClassicJobPostingDraftRequestRejectionSettings**](CreateClassicJobPostingDraftRequestRejectionSettings.md) | | [optional]
diff --git a/docs/CreateClassicJobPostingDraftRequestCompany.md b/docs/CreateClassicJobPostingDraftRequestCompany.md
index 6f27627e2..8c18e7fab 100644
--- a/docs/CreateClassicJobPostingDraftRequestCompany.md
+++ b/docs/CreateClassicJobPostingDraftRequestCompany.md
@@ -6,7 +6,7 @@ The company on whose behalf the job is created.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
**name** | **str** | The name of the company. | [optional]
## Example
diff --git a/docs/CreateClassicJobPostingDraftRequestJobTitle.md b/docs/CreateClassicJobPostingDraftRequestJobTitle.md
index 873e48a06..7e5ac768a 100644
--- a/docs/CreateClassicJobPostingDraftRequestJobTitle.md
+++ b/docs/CreateClassicJobPostingDraftRequestJobTitle.md
@@ -6,7 +6,7 @@ The title of the job.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
**name** | **str** | The name of the job. | [optional]
## Example
diff --git a/docs/CreateDraft201Response.md b/docs/CreateDraft201Response.md
index d6ae23be2..8bd73c296 100644
--- a/docs/CreateDraft201Response.md
+++ b/docs/CreateDraft201Response.md
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
**cc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | The list of attendees that the email should be CC'd to. | [optional]
**bcc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | The list of attendees that the email should be BCC'd to. | [optional]
**reply_to** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | The list of attendees that the replies should be sent to. | [optional]
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | The attachments of the draft. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | The attachments of the draft. |
**folders** | **List[str]** | The folder the draft is in. For Gmail, the labels assigned to the draft. |
**categories** | **List[str]** | List of categories assigned to the draft. | [optional]
diff --git a/docs/CreateDraftRequest.md b/docs/CreateDraftRequest.md
index 430a9c5cb..e44d8e610 100644
--- a/docs/CreateDraftRequest.md
+++ b/docs/CreateDraftRequest.md
@@ -12,6 +12,8 @@ Name | Type | Description | Notes
**to** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in `to` header. |
**cc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in `cc` header. | [optional]
**bcc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in `bcc` header. | [optional]
+**reply_to** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in the standard `Reply-To` header. Recipients answering the email will reply to these addresses instead of `from`. To reply inside an existing conversation, use `reply_to_message_id` instead. | [optional]
+**reply_to_message_id** | **str** | The ID of the email message that you're replying to. For Gmail, this is the provider ID for the email message that you're replying to. For IMAP, this is the RFC822 Message-ID header of the email message that you're replying to. Outlook draft replies are not supported. | [optional]
**attachments** | [**List[SendEmailRequestAttachmentsInner]**](SendEmailRequestAttachmentsInner.md) | The list of file attachments to the draft. | [optional]
**tracking_options** | [**SendEmailRequestTrackingOptions**](SendEmailRequestTrackingOptions.md) | | [optional]
diff --git a/docs/CreateNewEducationDegree.md b/docs/CreateNewEducationDegree.md
index 78b6af8d1..1c2a1c1cb 100644
--- a/docs/CreateNewEducationDegree.md
+++ b/docs/CreateNewEducationDegree.md
@@ -6,8 +6,8 @@ Degree of the education.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**name** | **str** | The ID of the Company. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
+**name** | **str** | The text content of the message, when available. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
## Example
diff --git a/docs/CreateNewEducationFieldOfStudy.md b/docs/CreateNewEducationFieldOfStudy.md
index 499f7f4f8..6c893fe50 100644
--- a/docs/CreateNewEducationFieldOfStudy.md
+++ b/docs/CreateNewEducationFieldOfStudy.md
@@ -6,8 +6,8 @@ Field of study of the education.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**name** | **str** | The ID of the Company. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `FIELD_OF_STUDY` type to find out the possible values. | [optional]
+**name** | **str** | The text content of the message, when available. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `FIELD_OF_STUDY` type to find out the possible values. | [optional]
## Example
diff --git a/docs/CreateNewEducationSchool.md b/docs/CreateNewEducationSchool.md
index 722a2083e..43a1ae78b 100644
--- a/docs/CreateNewEducationSchool.md
+++ b/docs/CreateNewEducationSchool.md
@@ -6,8 +6,8 @@ School of the education.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**name** | **str** | The ID of the Company. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
+**name** | **str** | The text content of the message, when available. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
## Example
diff --git a/docs/CreateNewExperience.md b/docs/CreateNewExperience.md
index fdc38f3ba..7c67c1631 100644
--- a/docs/CreateNewExperience.md
+++ b/docs/CreateNewExperience.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**notify_network** | **bool** | Notify the network about the experience. Turn on to notify your network of key profile changes (such as new job) and work anniversaries. Updates can take up to 2 hours. | [optional] [default to False]
**job_title** | [**CreateNewExperienceJobTitle**](CreateNewExperienceJobTitle.md) | |
-**employment_type** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `EMPLOYMENT_TYPE` type to find out the possible values. Employment type of the experience. | [optional]
+**employment_type** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `EMPLOYMENT_TYPE` type to find out the possible values. Employment type of the experience. | [optional]
**company** | [**CreateNewExperienceCompany**](CreateNewExperienceCompany.md) | |
**location** | [**CreateNewExperienceLocation**](CreateNewExperienceLocation.md) | | [optional]
**workplace_type** | **str** | The workplace type. Ex: Remote, Hybrid, On-site | [optional]
diff --git a/docs/CreateNewExperienceCompany.md b/docs/CreateNewExperienceCompany.md
index 0b658149f..0418e58c0 100644
--- a/docs/CreateNewExperienceCompany.md
+++ b/docs/CreateNewExperienceCompany.md
@@ -6,8 +6,8 @@ Company of the experience.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**name** | **str** | The ID of the Company. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
+**name** | **str** | The text content of the message, when available. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
## Example
diff --git a/docs/CreateNewExperienceJobTitle.md b/docs/CreateNewExperienceJobTitle.md
index efc7c6501..241449650 100644
--- a/docs/CreateNewExperienceJobTitle.md
+++ b/docs/CreateNewExperienceJobTitle.md
@@ -6,8 +6,8 @@ Job title of the experience.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**name** | **str** | The ID of the Company. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
+**name** | **str** | The text content of the message, when available. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
## Example
diff --git a/docs/CreateNewExperienceLocation.md b/docs/CreateNewExperienceLocation.md
index be86776a2..c267685f2 100644
--- a/docs/CreateNewExperienceLocation.md
+++ b/docs/CreateNewExperienceLocation.md
@@ -6,8 +6,8 @@ Location of the experience.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**name** | **str** | The ID of the Company. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
+**name** | **str** | The text content of the message, when available. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
## Example
diff --git a/docs/CreateNewExperienceSkillsInner.md b/docs/CreateNewExperienceSkillsInner.md
index 2e3a8f5b8..6307e6b5c 100644
--- a/docs/CreateNewExperienceSkillsInner.md
+++ b/docs/CreateNewExperienceSkillsInner.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. | [optional]
## Example
diff --git a/docs/CreateRecruiterHiringProjectRequest.md b/docs/CreateRecruiterHiringProjectRequest.md
index b0f7cee2a..2d8191eff 100644
--- a/docs/CreateRecruiterHiringProjectRequest.md
+++ b/docs/CreateRecruiterHiringProjectRequest.md
@@ -10,8 +10,11 @@ Name | Type | Description | Notes
**description** | **str** | The description of the project. | [optional]
**company** | [**CreateRecruiterHiringProjectRequestCompany**](CreateRecruiterHiringProjectRequestCompany.md) | | [optional]
**job_title** | [**CreateRecruiterHiringProjectRequestJobTitle**](CreateRecruiterHiringProjectRequestJobTitle.md) | | [optional]
-**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_LOCATION` type to find out the possible values. | [optional]
-**seniority_level** | **str** | The level of experience. | [optional]
+**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
+**seniority_level** | **str** | The level of experience of the project. | [optional]
+**employment_status** | **str** | The employment status of the project. | [optional]
+**industry** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. The company industries related to the project. | [optional]
+**job_function** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. The job functions of the project. | [optional]
## Example
diff --git a/docs/CreateRecruiterHiringProjectRequestCompany.md b/docs/CreateRecruiterHiringProjectRequestCompany.md
index d771edf29..091fcefb4 100644
--- a/docs/CreateRecruiterHiringProjectRequestCompany.md
+++ b/docs/CreateRecruiterHiringProjectRequestCompany.md
@@ -6,7 +6,7 @@ The company on whose behalf the project is created.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
**name** | **str** | The name of the company. | [optional]
## Example
diff --git a/docs/CreateRecruiterHiringProjectRequestJobTitle.md b/docs/CreateRecruiterHiringProjectRequestJobTitle.md
index c48f86e77..d3fb63cb7 100644
--- a/docs/CreateRecruiterHiringProjectRequestJobTitle.md
+++ b/docs/CreateRecruiterHiringProjectRequestJobTitle.md
@@ -6,7 +6,7 @@ The job title of the project.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. |
**name** | **str** | The name of the job. |
## Example
diff --git a/docs/CreateRecruiterJobPostingDraftInExistingProjectRequest.md b/docs/CreateRecruiterJobPostingDraftInExistingProjectRequest.md
index d9b89c2ea..1f03f426e 100644
--- a/docs/CreateRecruiterJobPostingDraftInExistingProjectRequest.md
+++ b/docs/CreateRecruiterJobPostingDraftInExistingProjectRequest.md
@@ -8,18 +8,20 @@ Name | Type | Description | Notes
**job_title** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle**](CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle.md) | |
**company** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestCompany**](CreateRecruiterJobPostingDraftInExistingProjectRequestCompany.md) | |
**workplace_type** | **str** | The working method of the job. |
-**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_LOCATION` type to find out the possible values. |
+**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. |
**employment_status** | **str** | The employment status of the job. |
**seniority_level** | **str** | The level of experience of the job. |
**description** | **str** | The job description. You can use HTML tags to structure your content. |
-**industry** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. The company industries related to the job posting. |
-**job_function** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting. |
-**skills** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. The skills related to the job posting. | [optional]
+**industry** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. The company industries related to the job posting. |
+**job_function** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting. |
+**skills** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. The skills related to the job posting. | [optional]
**include_poster_info** | **bool** | Whether basic information about you should be available on the job posting. | [optional] [default to True]
**tracking_pixel_url** | **str** | The tracking pixel URL of the company. | [optional]
**company_job_id** | **str** | The ID of the job in the company's system. | [optional]
**apply_method** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod**](CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod.md) | |
**screening_questions** | [**List[EditClassicJobPostingRequestScreeningQuestionsInner]**](EditClassicJobPostingRequestScreeningQuestionsInner.md) | The questions to be asked to the applicants. | [optional]
+**salary** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestSalary**](CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.md) | | [optional]
+**additional_compensation** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation**](CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.md) | | [optional]
**rejection_settings** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings**](CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings.md) | | [optional]
## Example
diff --git a/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.md b/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.md
new file mode 100644
index 000000000..103587d92
--- /dev/null
+++ b/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.md
@@ -0,0 +1,33 @@
+# CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation
+
+Any additional compensation for the job.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**currency** | **str** | |
+**pay_frequency** | **str** | The frequency at which the compensation is paid. |
+**min** | **float** | The minimum in the compensation range. |
+**max** | **float** | The maximum in the compensation range. |
+
+## Example
+
+```python
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation import CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation from a JSON string
+create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation_instance = CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.from_json(json)
+# print the JSON string representation of the object
+print(CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.to_json())
+
+# convert the object into a dict
+create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation_dict = create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation_instance.to_dict()
+# create an instance of CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation from a dict
+create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation_from_dict = CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.from_dict(create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestCompany.md b/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestCompany.md
index e3d45f009..2012ca685 100644
--- a/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestCompany.md
+++ b/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestCompany.md
@@ -6,7 +6,7 @@ The company on whose behalf the job is created.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
**name** | **str** | The name of the company. | [optional]
## Example
diff --git a/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle.md b/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle.md
index 7f1c3508e..6ff93ac4e 100644
--- a/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle.md
+++ b/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle.md
@@ -6,7 +6,7 @@ The title of the job.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. |
**name** | **str** | The name of the job. |
## Example
diff --git a/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.md b/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.md
new file mode 100644
index 000000000..5d9b3a351
--- /dev/null
+++ b/docs/CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.md
@@ -0,0 +1,33 @@
+# CreateRecruiterJobPostingDraftInExistingProjectRequestSalary
+
+The base salary for the job.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**currency** | **str** | |
+**pay_frequency** | **str** | The frequency at which the compensation is paid. |
+**min** | **float** | The minimum in the compensation range. |
+**max** | **float** | The maximum in the compensation range. |
+
+## Example
+
+```python
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_salary import CreateRecruiterJobPostingDraftInExistingProjectRequestSalary
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of CreateRecruiterJobPostingDraftInExistingProjectRequestSalary from a JSON string
+create_recruiter_job_posting_draft_in_existing_project_request_salary_instance = CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.from_json(json)
+# print the JSON string representation of the object
+print(CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.to_json())
+
+# convert the object into a dict
+create_recruiter_job_posting_draft_in_existing_project_request_salary_dict = create_recruiter_job_posting_draft_in_existing_project_request_salary_instance.to_dict()
+# create an instance of CreateRecruiterJobPostingDraftInExistingProjectRequestSalary from a dict
+create_recruiter_job_posting_draft_in_existing_project_request_salary_from_dict = CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.from_dict(create_recruiter_job_posting_draft_in_existing_project_request_salary_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/CreateRecruiterJobPostingDraftInNewProjectRequest.md b/docs/CreateRecruiterJobPostingDraftInNewProjectRequest.md
index 99651e94a..f3df72cb6 100644
--- a/docs/CreateRecruiterJobPostingDraftInNewProjectRequest.md
+++ b/docs/CreateRecruiterJobPostingDraftInNewProjectRequest.md
@@ -8,18 +8,20 @@ Name | Type | Description | Notes
**job_title** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle**](CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle.md) | |
**company** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestCompany**](CreateRecruiterJobPostingDraftInExistingProjectRequestCompany.md) | |
**workplace_type** | **str** | The working method of the job. |
-**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_LOCATION` type to find out the possible values. |
+**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. |
**employment_status** | **str** | The employment status of the job. |
**seniority_level** | **str** | The level of experience of the job. |
**description** | **str** | The job description. You can use HTML tags to structure your content. |
-**industry** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. The company industries related to the job posting. |
-**job_function** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting. |
-**skills** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. The skills related to the job posting. | [optional]
+**industry** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. The company industries related to the job posting. |
+**job_function** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting. |
+**skills** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. The skills related to the job posting. | [optional]
**include_poster_info** | **bool** | Whether basic information about you should be available on the job posting. | [optional] [default to True]
**tracking_pixel_url** | **str** | The tracking pixel URL of the company. | [optional]
**company_job_id** | **str** | The ID of the job in the company's system. | [optional]
**apply_method** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod**](CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod.md) | |
**screening_questions** | [**List[EditClassicJobPostingRequestScreeningQuestionsInner]**](EditClassicJobPostingRequestScreeningQuestionsInner.md) | The questions to be asked to the applicants. | [optional]
+**salary** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestSalary**](CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.md) | | [optional]
+**additional_compensation** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation**](CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.md) | | [optional]
**rejection_settings** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings**](CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings.md) | | [optional]
**project_name** | **str** | The name you want to give to the new project. |
diff --git a/docs/CreateWebhookEndpointRequest.md b/docs/CreateWebhookEndpointRequest.md
index 329860534..9d50b7001 100644
--- a/docs/CreateWebhookEndpointRequest.md
+++ b/docs/CreateWebhookEndpointRequest.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**trigger_events** | **List[str]** | The events that will trigger the webhook endpoint. Refer to [Events Types](https://developer.unipile.com/v2.0/reference/event-types-1) to see the list of available values. |
**account_ids** | **List[str]** | Restrict the webhook to specific accounts. Leave empty or omit the field to listen to events from every account in the application. | [optional]
-**url** | **str** | The URL to send the webhook payload to. |
+**url** | **str** | The HTTP or HTTPS URL to send the webhook payload to. |
**description** | **str** | A description of the webhook endpoint. | [optional]
## Example
diff --git a/docs/CustomAuthApi.md b/docs/CustomAuthApi.md
index 60e4b22e7..37aca6dbc 100644
--- a/docs/CustomAuthApi.md
+++ b/docs/CustomAuthApi.md
@@ -4,10 +4,169 @@ All URIs are relative to *https://api.unipile.com*
Method | HTTP request | Description
------------- | ------------- | -------------
+[**request_checkpoint**](CustomAuthApi.md#request_checkpoint) | **POST** /v2/auth/checkpoint/request | Request Checkpoint
+[**resend_checkpoint**](CustomAuthApi.md#resend_checkpoint) | **POST** /v2/auth/checkpoint/resend | Resend Checkpoint Notification or Code
[**solve_checkpoint**](CustomAuthApi.md#solve_checkpoint) | **POST** /v2/auth/checkpoint | Solve a Checkpoint
[**start_auth_intent**](CustomAuthApi.md#start_auth_intent) | **POST** /v2/auth/intent | Start Auth Intent
+# **request_checkpoint**
+> RequestCheckpoint200Response request_checkpoint(request_checkpoint_request)
+
+Request Checkpoint
+
+Request a checkpoint for the given authentication intent. This can be used to request a different type of checkpoint if the first one was not successful.
+
+### Example
+
+* Api Key Authentication (apiKey):
+
+```python
+import unipile
+from unipile.models.request_checkpoint200_response import RequestCheckpoint200Response
+from unipile.models.request_checkpoint_request import RequestCheckpointRequest
+from unipile.rest import ApiException
+from pprint import pprint
+
+# Defining the host is optional and defaults to https://api.unipile.com
+# See configuration.py for a list of all supported configuration parameters.
+configuration = unipile.Configuration(
+ host = "https://api.unipile.com"
+)
+
+# The client must configure the authentication and authorization parameters
+# in accordance with the API server security policy.
+# Examples for each auth method are provided below, use the example that
+# satisfies your auth use case.
+
+# Configure API key authorization: apiKey
+configuration.api_key['apiKey'] = os.environ["API_KEY"]
+
+# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+# configuration.api_key_prefix['apiKey'] = 'Bearer'
+
+# Enter a context with an instance of the API client
+with unipile.ApiClient(configuration) as api_client:
+ # Create an instance of the API class
+ api_instance = unipile.CustomAuthApi(api_client)
+ request_checkpoint_request = unipile.RequestCheckpointRequest() # RequestCheckpointRequest |
+
+ try:
+ # Request Checkpoint
+ api_response = api_instance.request_checkpoint(request_checkpoint_request)
+ print("The response of CustomAuthApi->request_checkpoint:\n")
+ pprint(api_response)
+ except Exception as e:
+ print("Exception when calling CustomAuthApi->request_checkpoint: %s\n" % e)
+```
+
+
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **request_checkpoint_request** | [**RequestCheckpointRequest**](RequestCheckpointRequest.md)| |
+
+### Return type
+
+[**RequestCheckpoint200Response**](RequestCheckpoint200Response.md)
+
+### Authorization
+
+[apiKey](../README.md#apiKey)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | Default Response | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+# **resend_checkpoint**
+> resend_checkpoint(resend_checkpoint_request)
+
+Resend Checkpoint Notification or Code
+
+Resend the notification or code for the current checkpoint of the given authentication intent. Use Request Checkpoint to request a different checkpoint.
+
+### Example
+
+* Api Key Authentication (apiKey):
+
+```python
+import unipile
+from unipile.models.resend_checkpoint_request import ResendCheckpointRequest
+from unipile.rest import ApiException
+from pprint import pprint
+
+# Defining the host is optional and defaults to https://api.unipile.com
+# See configuration.py for a list of all supported configuration parameters.
+configuration = unipile.Configuration(
+ host = "https://api.unipile.com"
+)
+
+# The client must configure the authentication and authorization parameters
+# in accordance with the API server security policy.
+# Examples for each auth method are provided below, use the example that
+# satisfies your auth use case.
+
+# Configure API key authorization: apiKey
+configuration.api_key['apiKey'] = os.environ["API_KEY"]
+
+# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+# configuration.api_key_prefix['apiKey'] = 'Bearer'
+
+# Enter a context with an instance of the API client
+with unipile.ApiClient(configuration) as api_client:
+ # Create an instance of the API class
+ api_instance = unipile.CustomAuthApi(api_client)
+ resend_checkpoint_request = unipile.ResendCheckpointRequest() # ResendCheckpointRequest |
+
+ try:
+ # Resend Checkpoint Notification or Code
+ api_instance.resend_checkpoint(resend_checkpoint_request)
+ except Exception as e:
+ print("Exception when calling CustomAuthApi->resend_checkpoint: %s\n" % e)
+```
+
+
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **resend_checkpoint_request** | [**ResendCheckpointRequest**](ResendCheckpointRequest.md)| |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[apiKey](../README.md#apiKey)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: Not defined
+
+### HTTP response details
+
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**204** | Default Response | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **solve_checkpoint**
> SolveCheckpoint200Response solve_checkpoint(solve_checkpoint_request)
@@ -93,7 +252,7 @@ Name | Type | Description | Notes
Start Auth Intent
-Start an auth intent for a provider. This might require handling of checkpoints and oauth flows depending on the provider. Use Create Auth Link to let Unipile handle everything for you.
+Start an auth intent for a provider. This might require handling of checkpoints and oauth flows depending on the provider. Use Create Auth Link to let Unipile handle everything for you.
### Example
diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md
new file mode 100644
index 000000000..dd60ed274
--- /dev/null
+++ b/docs/DefaultApi.md
@@ -0,0 +1,76 @@
+# unipile.DefaultApi
+
+All URIs are relative to *https://api.unipile.com*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**v2_get**](DefaultApi.md#v2_get) | **GET** /v2/ |
+
+
+# **v2_get**
+> v2_get()
+
+### Example
+
+* Api Key Authentication (apiKey):
+
+```python
+import unipile
+from unipile.rest import ApiException
+from pprint import pprint
+
+# Defining the host is optional and defaults to https://api.unipile.com
+# See configuration.py for a list of all supported configuration parameters.
+configuration = unipile.Configuration(
+ host = "https://api.unipile.com"
+)
+
+# The client must configure the authentication and authorization parameters
+# in accordance with the API server security policy.
+# Examples for each auth method are provided below, use the example that
+# satisfies your auth use case.
+
+# Configure API key authorization: apiKey
+configuration.api_key['apiKey'] = os.environ["API_KEY"]
+
+# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+# configuration.api_key_prefix['apiKey'] = 'Bearer'
+
+# Enter a context with an instance of the API client
+with unipile.ApiClient(configuration) as api_client:
+ # Create an instance of the API class
+ api_instance = unipile.DefaultApi(api_client)
+
+ try:
+ api_instance.v2_get()
+ except Exception as e:
+ print("Exception when calling DefaultApi->v2_get: %s\n" % e)
+```
+
+
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[apiKey](../README.md#apiKey)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: Not defined
+
+### HTTP response details
+
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | Default Response | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
diff --git a/docs/EditClassicJobPostingRequest.md b/docs/EditClassicJobPostingRequest.md
index ed5c5c473..47962a937 100644
--- a/docs/EditClassicJobPostingRequest.md
+++ b/docs/EditClassicJobPostingRequest.md
@@ -8,10 +8,10 @@ Name | Type | Description | Notes
**job_title** | [**CreateClassicJobPostingDraftRequestJobTitle**](CreateClassicJobPostingDraftRequestJobTitle.md) | | [optional]
**company** | [**CreateClassicJobPostingDraftRequestCompany**](CreateClassicJobPostingDraftRequestCompany.md) | | [optional]
**workplace_type** | **str** | The workplace type of the job. | [optional]
-**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `JOB_LOCATION` type to find out the possible values. | [optional]
+**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
**employment_status** | **str** | The employment status of the job. | [optional]
**description** | **str** | The job description. You can use HTML tags to structure your content. | [optional]
-**skills** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. The skills related to the job posting. | [optional]
+**skills** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. The skills related to the job posting. | [optional]
**apply_method** | [**CreateClassicJobPostingDraftRequestApplyMethod**](CreateClassicJobPostingDraftRequestApplyMethod.md) | | [optional]
**screening_questions** | [**List[EditClassicJobPostingRequestScreeningQuestionsInner]**](EditClassicJobPostingRequestScreeningQuestionsInner.md) | The questions to be asked to the applicants. | [optional]
**rejection_settings** | [**CreateClassicJobPostingDraftRequestRejectionSettings**](CreateClassicJobPostingDraftRequestRejectionSettings.md) | | [optional]
diff --git a/docs/EditExistingEducationDegree.md b/docs/EditExistingEducationDegree.md
index 12468d714..896907f6c 100644
--- a/docs/EditExistingEducationDegree.md
+++ b/docs/EditExistingEducationDegree.md
@@ -7,7 +7,7 @@ Degree of the education.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
## Example
diff --git a/docs/EditExistingEducationFieldOfStudy.md b/docs/EditExistingEducationFieldOfStudy.md
index 5272ed0e1..d0febe4a5 100644
--- a/docs/EditExistingEducationFieldOfStudy.md
+++ b/docs/EditExistingEducationFieldOfStudy.md
@@ -7,7 +7,7 @@ Field of study of the education.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `FIELD_OF_STUDY` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `FIELD_OF_STUDY` type to find out the possible values. | [optional]
## Example
diff --git a/docs/EditExistingEducationSchool.md b/docs/EditExistingEducationSchool.md
index 6edf6791d..2cc12392b 100644
--- a/docs/EditExistingEducationSchool.md
+++ b/docs/EditExistingEducationSchool.md
@@ -7,7 +7,7 @@ School of the education.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
## Example
diff --git a/docs/EditExistingExperience.md b/docs/EditExistingExperience.md
index 580f4661f..44c9a24bf 100644
--- a/docs/EditExistingExperience.md
+++ b/docs/EditExistingExperience.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**notify_network** | **bool** | Notify the network about the experience. Turn on to notify your network of key profile changes (such as new job) and work anniversaries. Updates can take up to 2 hours. | [optional] [default to False]
**job_title** | [**EditExistingExperienceJobTitle**](EditExistingExperienceJobTitle.md) | | [optional]
-**employment_type** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `EMPLOYMENT_TYPE` type to find out the possible values. Employment type of the experience. | [optional]
+**employment_type** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `EMPLOYMENT_TYPE` type to find out the possible values. Employment type of the experience. | [optional]
**company** | [**EditExistingExperienceCompany**](EditExistingExperienceCompany.md) | | [optional]
**location** | [**EditExistingExperienceLocation**](EditExistingExperienceLocation.md) | | [optional]
**workplace_type** | **str** | The workplace type. Ex: Remote, Hybrid, On-site | [optional]
diff --git a/docs/EditExistingExperienceCompany.md b/docs/EditExistingExperienceCompany.md
index 0e8ce76d8..55605f068 100644
--- a/docs/EditExistingExperienceCompany.md
+++ b/docs/EditExistingExperienceCompany.md
@@ -7,7 +7,7 @@ Company of the experience.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
## Example
diff --git a/docs/EditExistingExperienceJobTitle.md b/docs/EditExistingExperienceJobTitle.md
index 2fe630811..4ad7251d1 100644
--- a/docs/EditExistingExperienceJobTitle.md
+++ b/docs/EditExistingExperienceJobTitle.md
@@ -7,7 +7,7 @@ Job title of the experience.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
## Example
diff --git a/docs/EditExistingExperienceLocation.md b/docs/EditExistingExperienceLocation.md
index 579cc3f54..010dea7e5 100644
--- a/docs/EditExistingExperienceLocation.md
+++ b/docs/EditExistingExperienceLocation.md
@@ -7,7 +7,7 @@ Location of the experience.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
## Example
diff --git a/docs/EditRecruiterHiringProjectRequest.md b/docs/EditRecruiterHiringProjectRequest.md
index 1ba5d2f85..d7b7ac281 100644
--- a/docs/EditRecruiterHiringProjectRequest.md
+++ b/docs/EditRecruiterHiringProjectRequest.md
@@ -10,8 +10,11 @@ Name | Type | Description | Notes
**description** | **str** | The description of the project. | [optional]
**company** | [**CreateRecruiterHiringProjectRequestCompany**](CreateRecruiterHiringProjectRequestCompany.md) | | [optional]
**job_title** | [**CreateRecruiterHiringProjectRequestJobTitle**](CreateRecruiterHiringProjectRequestJobTitle.md) | | [optional]
-**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_LOCATION` type to find out the possible values. | [optional]
-**seniority_level** | **str** | The level of experience. | [optional]
+**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
+**seniority_level** | **str** | The level of experience of the project. | [optional]
+**employment_status** | **str** | The employment status of the project. | [optional]
+**industry** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. The company industries related to the project. | [optional]
+**job_function** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. The job functions of the project. | [optional]
## Example
diff --git a/docs/EditRecruiterJobPostingRequest.md b/docs/EditRecruiterJobPostingRequest.md
index f69082544..e5d9a3a90 100644
--- a/docs/EditRecruiterJobPostingRequest.md
+++ b/docs/EditRecruiterJobPostingRequest.md
@@ -8,18 +8,20 @@ Name | Type | Description | Notes
**job_title** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle**](CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle.md) | | [optional]
**company** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestCompany**](CreateRecruiterJobPostingDraftInExistingProjectRequestCompany.md) | | [optional]
**workplace_type** | **str** | The working method of the job. | [optional]
-**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_LOCATION` type to find out the possible values. | [optional]
+**location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
**employment_status** | **str** | The employment status of the job. | [optional]
**seniority_level** | **str** | The level of experience of the job. | [optional]
**description** | **str** | The job description. You can use HTML tags to structure your content. | [optional]
-**industry** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. The company industries related to the job posting. | [optional]
-**job_function** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting. | [optional]
-**skills** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. The skills related to the job posting. | [optional]
+**industry** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. The company industries related to the job posting. | [optional]
+**job_function** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting. | [optional]
+**skills** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. The skills related to the job posting. | [optional]
**include_poster_info** | **bool** | Whether basic information about you should be available on the job posting. | [optional] [default to True]
**tracking_pixel_url** | **str** | The tracking pixel URL of the company. | [optional]
**company_job_id** | **str** | The ID of the job in the company's system. | [optional]
**apply_method** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod**](CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod.md) | | [optional]
**screening_questions** | [**List[EditClassicJobPostingRequestScreeningQuestionsInner]**](EditClassicJobPostingRequestScreeningQuestionsInner.md) | The questions to be asked to the applicants. | [optional]
+**salary** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestSalary**](CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.md) | | [optional]
+**additional_compensation** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation**](CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.md) | | [optional]
**rejection_settings** | [**CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings**](CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings.md) | | [optional]
## Example
diff --git a/docs/EmailsApi.md b/docs/EmailsApi.md
index 65405d00c..415ebbfb6 100644
--- a/docs/EmailsApi.md
+++ b/docs/EmailsApi.md
@@ -9,10 +9,11 @@ Method | HTTP request | Description
[**delete_draft**](EmailsApi.md#delete_draft) | **DELETE** /v2/{account_id}/drafts/{draft_id} | Delete a Draft
[**delete_folder**](EmailsApi.md#delete_folder) | **DELETE** /v2/{account_id}/folders/{folder_id} | Delete a Folder
[**get_attachment1**](EmailsApi.md#get_attachment1) | **GET** /v2/{account_id}/emails/{email_id}/attachments/{attachment_id} | Get an Email Attachment
+[**get_contacts_list**](EmailsApi.md#get_contacts_list) | **GET** /v2/{account_id}/contacts | List contacts
[**get_draft**](EmailsApi.md#get_draft) | **GET** /v2/{account_id}/drafts/{draft_id} | Get a Draft
[**get_drafts_list**](EmailsApi.md#get_drafts_list) | **GET** /v2/{account_id}/drafts | List all Drafts
[**get_email**](EmailsApi.md#get_email) | **GET** /v2/{account_id}/emails/{email_id} | Get an Email
-[**get_email_contacts_list**](EmailsApi.md#get_email_contacts_list) | **GET** /v2/{account_id}/contacts | List email contacts
+[**get_email_senders**](EmailsApi.md#get_email_senders) | **GET** /v2/{account_id}/email-senders | List email senders
[**get_emails_list**](EmailsApi.md#get_emails_list) | **GET** /v2/{account_id}/emails | List all Emails
[**get_folder**](EmailsApi.md#get_folder) | **GET** /v2/{account_id}/folders/{folder_id} | Get a Folder
[**get_folder_emails_list**](EmailsApi.md#get_folder_emails_list) | **GET** /v2/{account_id}/folders/{folder_id}/emails | List folder Emails
@@ -33,9 +34,7 @@ Method | HTTP request | Description
Create a Draft
-Creates a new Draft in the draft folder of the provider. Use Send a Draft to send the Email later.
-
- Multipart supported, refer to Sending Files.
+Creates a new Draft in the draft folder of the provider. Use Send a Draft to send the Email later.
Multipart supported, refer to Sending Files.
### Example
@@ -430,6 +429,91 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+# **get_contacts_list**
+> GetContactsList200Response get_contacts_list(account_id, offset=offset, cursor=cursor, limit=limit)
+
+List contacts
+
+Returns a list of contacts for the connected account. Served by the email provider for email accounts and by the messaging provider for messaging accounts (e.g. WhatsApp). On providers where a contact is an overlay over a user, the contact carries the account owner's chosen name while the nested `user` object carries the user's own identity.
+
+### Example
+
+* Api Key Authentication (apiKey):
+
+```python
+import unipile
+from unipile.models.get_contacts_list200_response import GetContactsList200Response
+from unipile.rest import ApiException
+from pprint import pprint
+
+# Defining the host is optional and defaults to https://api.unipile.com
+# See configuration.py for a list of all supported configuration parameters.
+configuration = unipile.Configuration(
+ host = "https://api.unipile.com"
+)
+
+# The client must configure the authentication and authorization parameters
+# in accordance with the API server security policy.
+# Examples for each auth method are provided below, use the example that
+# satisfies your auth use case.
+
+# Configure API key authorization: apiKey
+configuration.api_key['apiKey'] = os.environ["API_KEY"]
+
+# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+# configuration.api_key_prefix['apiKey'] = 'Bearer'
+
+# Enter a context with an instance of the API client
+with unipile.ApiClient(configuration) as api_client:
+ # Create an instance of the API class
+ api_instance = unipile.EmailsApi(api_client)
+ account_id = 'account_id_example' # str |
+ offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
+ cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
+
+ try:
+ # List contacts
+ api_response = api_instance.get_contacts_list(account_id, offset=offset, cursor=cursor, limit=limit)
+ print("The response of EmailsApi->get_contacts_list:\n")
+ pprint(api_response)
+ except Exception as e:
+ print("Exception when calling EmailsApi->get_contacts_list: %s\n" % e)
+```
+
+
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **account_id** | **str**| |
+ **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
+ **cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
+
+### Return type
+
+[**GetContactsList200Response**](GetContactsList200Response.md)
+
+### Authorization
+
+[apiKey](../README.md#apiKey)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | Default Response | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **get_draft**
> CreateDraft201Response get_draft(draft_id, account_id)
@@ -512,7 +596,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_drafts_list**
-> GetDraftsList200Response get_drafts_list(account_id, to=to, var_from=var_from, any_email=any_email, offset=offset, limit=limit, cursor=cursor)
+> GetDraftsList200Response get_drafts_list(account_id, to=to, var_from=var_from, any_email=any_email, offset=offset, cursor=cursor, limit=limit)
List all Drafts
@@ -554,12 +638,12 @@ with unipile.ApiClient(configuration) as api_client:
var_from = 'var_from_example' # str | Filter to only return drafts with the given email address in from. (optional)
any_email = 'any_email_example' # str | Filter to only return drafts related to a comma-separated list of email addresses. (optional)
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all Drafts
- api_response = api_instance.get_drafts_list(account_id, to=to, var_from=var_from, any_email=any_email, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_drafts_list(account_id, to=to, var_from=var_from, any_email=any_email, offset=offset, cursor=cursor, limit=limit)
print("The response of EmailsApi->get_drafts_list:\n")
pprint(api_response)
except Exception as e:
@@ -578,8 +662,8 @@ Name | Type | Description | Notes
**var_from** | **str**| Filter to only return drafts with the given email address in from. | [optional]
**any_email** | **str**| Filter to only return drafts related to a comma-separated list of email addresses. | [optional]
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -685,12 +769,12 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-# **get_email_contacts_list**
-> GetEmailContactsList200Response get_email_contacts_list(account_id, cursor=cursor, limit=limit)
+# **get_email_senders**
+> GetEmailSenders200Response get_email_senders(account_id)
-List email contacts
+List email senders
-Returns a list of contacts from the email provider.
+Returns the email senders available for the connected account, so you can discover the valid values to pass as `from` when sending emails or creating drafts. The list includes the primary address as well as any configured additional addresses. Supported for Google and Outlook accounts. For Outlook, additional addresses are only available on Microsoft 365 / Exchange accounts; personal Microsoft accounts return the primary address only.
### Example
@@ -698,7 +782,7 @@ Returns a list of contacts from the email provider.
```python
import unipile
-from unipile.models.get_email_contacts_list200_response import GetEmailContactsList200Response
+from unipile.models.get_email_senders200_response import GetEmailSenders200Response
from unipile.rest import ApiException
from pprint import pprint
@@ -723,17 +807,15 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.EmailsApi(api_client)
- account_id = 'account_id_example' # str |
- cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
try:
- # List email contacts
- api_response = api_instance.get_email_contacts_list(account_id, cursor=cursor, limit=limit)
- print("The response of EmailsApi->get_email_contacts_list:\n")
+ # List email senders
+ api_response = api_instance.get_email_senders(account_id)
+ print("The response of EmailsApi->get_email_senders:\n")
pprint(api_response)
except Exception as e:
- print("Exception when calling EmailsApi->get_email_contacts_list: %s\n" % e)
+ print("Exception when calling EmailsApi->get_email_senders: %s\n" % e)
```
@@ -743,13 +825,11 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **account_id** | **str**| |
- **cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
### Return type
-[**GetEmailContactsList200Response**](GetEmailContactsList200Response.md)
+[**GetEmailSenders200Response**](GetEmailSenders200Response.md)
### Authorization
@@ -769,11 +849,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_emails_list**
-> GetEmailsList200Response get_emails_list(account_id, to=to, subject=subject, var_from=var_from, any_email=any_email, before=before, exclude_folder=exclude_folder, after=after, meta_only=meta_only, offset=offset, limit=limit, cursor=cursor)
+> GetEmailsList200Response get_emails_list(account_id, q=q, meta_only=meta_only, to=to, var_from=var_from, any_email=any_email, has_attachment=has_attachment, is_starred=is_starred, is_unread=is_unread, before=before, exclude_folder=exclude_folder, after=after, offset=offset, cursor=cursor, limit=limit)
List all Emails
-Returns a list of emails in the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first.
+Returns a list of emails in the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first. Search mode applies when `q`, `from`, `to`, or `any_email` is set. Filter mode applies for browse-only queries (dates, folder scope, read/starred/attachment status).
### Example
@@ -807,21 +887,24 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.EmailsApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- to = 'to_example' # str | Filter to only return emails sent to the given email address, either in the to, cc or bcc field. (optional)
- subject = 'subject_example' # str | Filter to only return emails with the given string in the subject. (optional)
- var_from = 'var_from_example' # str | Filter to only return emails sent from the given email address. (optional)
- any_email = 'any_email_example' # str | Filter to only return emails related to a comma-separated list of email addresses. (optional)
+ q = 'q_example' # str | Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address. (optional)
+ meta_only = False # bool | Speed up the response by only returning the email metadata, excluding the body and attachments metadata. (optional) (default to False)
+ to = 'to_example' # str | Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). (optional)
+ var_from = 'var_from_example' # str | Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). (optional)
+ any_email = 'any_email_example' # str | Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). (optional)
+ has_attachment = True # bool | Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments. (optional)
+ is_starred = True # bool | Filter to only return starred or unstarred emails. (optional)
+ is_unread = True # bool | Filter to only return unread or read emails. (optional)
before = 'before_example' # str | Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored. (optional)
exclude_folder = 'exclude_folder_example' # str | Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs. (optional)
after = 'after_example' # str | Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored. (optional)
- meta_only = False # bool | Speed up the response by only returning the email metadata, excluding the body and attachments metadata. (optional) (default to False)
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all Emails
- api_response = api_instance.get_emails_list(account_id, to=to, subject=subject, var_from=var_from, any_email=any_email, before=before, exclude_folder=exclude_folder, after=after, meta_only=meta_only, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_emails_list(account_id, q=q, meta_only=meta_only, to=to, var_from=var_from, any_email=any_email, has_attachment=has_attachment, is_starred=is_starred, is_unread=is_unread, before=before, exclude_folder=exclude_folder, after=after, offset=offset, cursor=cursor, limit=limit)
print("The response of EmailsApi->get_emails_list:\n")
pprint(api_response)
except Exception as e:
@@ -836,17 +919,20 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **to** | **str**| Filter to only return emails sent to the given email address, either in the to, cc or bcc field. | [optional]
- **subject** | **str**| Filter to only return emails with the given string in the subject. | [optional]
- **var_from** | **str**| Filter to only return emails sent from the given email address. | [optional]
- **any_email** | **str**| Filter to only return emails related to a comma-separated list of email addresses. | [optional]
+ **q** | **str**| Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address. | [optional]
+ **meta_only** | **bool**| Speed up the response by only returning the email metadata, excluding the body and attachments metadata. | [optional] [default to False]
+ **to** | **str**| Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). | [optional]
+ **var_from** | **str**| Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). | [optional]
+ **any_email** | **str**| Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). | [optional]
+ **has_attachment** | **bool**| Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments. | [optional]
+ **is_starred** | **bool**| Filter to only return starred or unstarred emails. | [optional]
+ **is_unread** | **bool**| Filter to only return unread or read emails. | [optional]
**before** | **str**| Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored. | [optional]
**exclude_folder** | **str**| Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs. | [optional]
**after** | **str**| Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored. | [optional]
- **meta_only** | **bool**| Speed up the response by only returning the email metadata, excluding the body and attachments metadata. | [optional] [default to False]
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -951,11 +1037,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_folder_emails_list**
-> GetEmailsList200Response get_folder_emails_list(folder_id, account_id, to=to, subject=subject, var_from=var_from, any_email=any_email, before=before, exclude_folder=exclude_folder, after=after, meta_only=meta_only, offset=offset, limit=limit, cursor=cursor)
+> GetEmailsList200Response get_folder_emails_list(folder_id, account_id, q=q, meta_only=meta_only, to=to, var_from=var_from, any_email=any_email, has_attachment=has_attachment, is_starred=is_starred, is_unread=is_unread, before=before, exclude_folder=exclude_folder, after=after, offset=offset, cursor=cursor, limit=limit)
List folder Emails
-Returns a list of emails in the specific folder of the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first.
+Returns a list of emails in the specific folder of the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first. Search mode applies when `q`, `from`, `to`, or `any_email` is set. Filter mode applies for browse-only queries (dates, read/starred/attachment status).
### Example
@@ -990,21 +1076,24 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.EmailsApi(api_client)
folder_id = 'folder_id_example' # str | ID of the Folder to retrieve emails from.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- to = 'to_example' # str | Filter to only return emails sent to the given email address, either in the to, cc or bcc field. (optional)
- subject = 'subject_example' # str | Filter to only return emails with the given string in the subject. (optional)
- var_from = 'var_from_example' # str | Filter to only return emails sent from the given email address. (optional)
- any_email = 'any_email_example' # str | Filter to only return emails related to a comma-separated list of email addresses. (optional)
+ q = 'q_example' # str | Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address. (optional)
+ meta_only = False # bool | Speed up the response by only returning the email metadata, excluding the body and attachments metadata. (optional) (default to False)
+ to = 'to_example' # str | Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). (optional)
+ var_from = 'var_from_example' # str | Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). (optional)
+ any_email = 'any_email_example' # str | Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). (optional)
+ has_attachment = True # bool | Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments. (optional)
+ is_starred = True # bool | Filter to only return starred or unstarred emails. (optional)
+ is_unread = True # bool | Filter to only return unread or read emails. (optional)
before = 'before_example' # str | Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored. (optional)
exclude_folder = 'exclude_folder_example' # str | Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs. (optional)
after = 'after_example' # str | Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored. (optional)
- meta_only = False # bool | Speed up the response by only returning the email metadata, excluding the body and attachments metadata. (optional) (default to False)
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List folder Emails
- api_response = api_instance.get_folder_emails_list(folder_id, account_id, to=to, subject=subject, var_from=var_from, any_email=any_email, before=before, exclude_folder=exclude_folder, after=after, meta_only=meta_only, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_folder_emails_list(folder_id, account_id, q=q, meta_only=meta_only, to=to, var_from=var_from, any_email=any_email, has_attachment=has_attachment, is_starred=is_starred, is_unread=is_unread, before=before, exclude_folder=exclude_folder, after=after, offset=offset, cursor=cursor, limit=limit)
print("The response of EmailsApi->get_folder_emails_list:\n")
pprint(api_response)
except Exception as e:
@@ -1020,17 +1109,20 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**folder_id** | **str**| ID of the Folder to retrieve emails from. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **to** | **str**| Filter to only return emails sent to the given email address, either in the to, cc or bcc field. | [optional]
- **subject** | **str**| Filter to only return emails with the given string in the subject. | [optional]
- **var_from** | **str**| Filter to only return emails sent from the given email address. | [optional]
- **any_email** | **str**| Filter to only return emails related to a comma-separated list of email addresses. | [optional]
+ **q** | **str**| Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address. | [optional]
+ **meta_only** | **bool**| Speed up the response by only returning the email metadata, excluding the body and attachments metadata. | [optional] [default to False]
+ **to** | **str**| Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). | [optional]
+ **var_from** | **str**| Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). | [optional]
+ **any_email** | **str**| Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). | [optional]
+ **has_attachment** | **bool**| Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments. | [optional]
+ **is_starred** | **bool**| Filter to only return starred or unstarred emails. | [optional]
+ **is_unread** | **bool**| Filter to only return unread or read emails. | [optional]
**before** | **str**| Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored. | [optional]
**exclude_folder** | **str**| Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs. | [optional]
**after** | **str**| Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored. | [optional]
- **meta_only** | **bool**| Speed up the response by only returning the email metadata, excluding the body and attachments metadata. | [optional] [default to False]
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -1054,7 +1146,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_folders_list**
-> GetFoldersList200Response get_folders_list(account_id, offset=offset, limit=limit, cursor=cursor)
+> GetFoldersList200Response get_folders_list(account_id, offset=offset, cursor=cursor, limit=limit)
List all Folders
@@ -1093,12 +1185,12 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.EmailsApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all Folders
- api_response = api_instance.get_folders_list(account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_folders_list(account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of EmailsApi->get_folders_list:\n")
pprint(api_response)
except Exception as e:
@@ -1114,8 +1206,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -1472,9 +1564,7 @@ Name | Type | Description | Notes
Send an Email
-Sends an Email to the recipients in the `to`, `cc`, and `bcc`.
-
- Multipart supported, refer to Sending Files.
+Sends an Email to the recipients in the `to`, `cc`, and `bcc`.
Multipart supported, refer to Sending Files.
### Example
@@ -1718,9 +1808,7 @@ Name | Type | Description | Notes
Update a Draft
-Updates the specified Draft by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
-
- Multipart supported, refer to Sending Files.
+Updates the specified Draft by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Multipart supported, refer to Sending Files.
### Example
diff --git a/docs/FileDocument.md b/docs/FileDocument.md
index 2d2be35df..8e999f736 100644
--- a/docs/FileDocument.md
+++ b/docs/FileDocument.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**object** | **str** | |
**id** | **str** | The unique identifier of the attachment for the provider. |
**file_size** | **float** | The size of the attachment in bytes. | [optional]
+**is_inline** | **bool** | Is the attachment inline in the content. |
**is_unavailable** | **bool** | The attachment is not available for download because it was removed from provider servers. | [optional]
**mimetype** | **str** | The MIME type of the attachment. |
**url** | **str** | The URL to download the attachment. |
diff --git a/docs/FollowUser200Response.md b/docs/FollowUser200Response.md
index dfe1810c6..cdbfb745a 100644
--- a/docs/FollowUser200Response.md
+++ b/docs/FollowUser200Response.md
@@ -6,11 +6,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object** | **str** | |
-**user** | [**LinkedInRelationRequestUser**](LinkedInRelationRequestUser.md) | | [optional]
**type** | **str** | Type of the relation / follow request. - `sent` if the current user has asked another one to be in his relations. - `received` if another user has asked the current one to be in his relations. |
**id** | **str** | The unique identifier of the invitation for the provider. |
**created_at** | **str** | Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
**message** | **str** | Any message that comes with the invitation. | [optional]
+**user** | [**GetRelationRequestsList200ResponseDataInnerUser**](GetRelationRequestsList200ResponseDataInnerUser.md) | | [optional]
## Example
diff --git a/docs/FullProfile.md b/docs/FullProfile.md
index 78d6ffdff..432c3a1e6 100644
--- a/docs/FullProfile.md
+++ b/docs/FullProfile.md
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
**public_picture_url_large** | **str** | The public picture URL of the User in large size. | [optional]
**relations_count** | **float** | The number of relations of the User. | [optional]
**location** | **str** | The location of the User. | [optional]
-**headline** | **str** | The headline of the User. |
+**headline** | **str** | The headline of the User. | [optional]
**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' |
**can_send_inmail** | **bool** | Whether it is possible to send an inMail to this User. | [optional]
**visibility** | **str** | Indidates that you have access to the full profile of this User. |
@@ -22,18 +22,18 @@ Name | Type | Description | Notes
**is_hidden_candidate** | **bool** | Whether the User has been set as hidden candidate. |
**hiring_project** | [**PartialProfileHiringProject**](PartialProfileHiringProject.md) | | [optional]
**work_experience** | [**List[PartialProfileWorkExperienceInner]**](PartialProfileWorkExperienceInner.md) | A list of the User's work experiences. |
-**industry** | **str** | The industry to which the User belongs. |
+**industry** | **str** | The industry to which the User belongs. | [optional]
**followers_count** | **float** | The number of the followers of the User. | [optional]
**skills** | [**List[FullProfileSkillsInner]**](FullProfileSkillsInner.md) | A list of skills. |
**summary** | **str** | The summary of the User. | [optional]
**emails** | **List[str]** | | [optional]
**phone_numbers** | **List[str]** | | [optional]
**education** | [**List[FullProfileEducationInner]**](FullProfileEducationInner.md) | |
-**languages** | [**List[LinkedInLanguagesInner]**](LinkedInLanguagesInner.md) | |
+**languages** | [**List[LinkedIn1LanguagesInner]**](LinkedIn1LanguagesInner.md) | |
**certifications** | [**List[FullProfileCertificationsInner]**](FullProfileCertificationsInner.md) | |
**projects** | [**List[FullProfileProjectsInner]**](FullProfileProjectsInner.md) | |
-**volunteering** | [**List[LinkedInVolunteerExperienceInner]**](LinkedInVolunteerExperienceInner.md) | |
-**recommendations** | [**List[LinkedInRecommendationsReceivedInner]**](LinkedInRecommendationsReceivedInner.md) | |
+**volunteering** | [**List[LinkedIn1VolunteerExperienceInner]**](LinkedIn1VolunteerExperienceInner.md) | |
+**recommendations** | [**List[LinkedIn1RecommendationsReceivedInner]**](LinkedIn1RecommendationsReceivedInner.md) | |
## Example
diff --git a/docs/FullProfile1.md b/docs/FullProfile1.md
index 7a74ffbe6..b5512c0e4 100644
--- a/docs/FullProfile1.md
+++ b/docs/FullProfile1.md
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
**public_picture_url_large** | **str** | The public picture URL of the User in large size. | [optional]
**relations_count** | **float** | The number of relations of the User. | [optional]
**location** | **str** | The location of the User. | [optional]
-**headline** | **str** | The headline of the User. |
+**headline** | **str** | The headline of the User. | [optional]
**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' |
**can_send_inmail** | **bool** | Whether it is possible to send an inMail to this User. | [optional]
**product** | **str** | |
@@ -24,18 +24,18 @@ Name | Type | Description | Notes
**is_hidden_candidate** | **bool** | Whether the User has been set as hidden candidate. |
**hiring_project** | [**PartialProfileHiringProject**](PartialProfileHiringProject.md) | | [optional]
**work_experience** | [**List[PartialProfileWorkExperienceInner]**](PartialProfileWorkExperienceInner.md) | A list of the User's work experiences. |
-**industry** | **str** | The industry to which the User belongs. |
+**industry** | **str** | The industry to which the User belongs. | [optional]
**followers_count** | **float** | The number of the followers of the User. | [optional]
**skills** | [**List[FullProfileSkillsInner]**](FullProfileSkillsInner.md) | A list of skills. |
**summary** | **str** | The summary of the User. | [optional]
**emails** | **List[str]** | | [optional]
**phone_numbers** | **List[str]** | | [optional]
**education** | [**List[FullProfileEducationInner]**](FullProfileEducationInner.md) | |
-**languages** | [**List[LinkedInLanguagesInner]**](LinkedInLanguagesInner.md) | |
+**languages** | [**List[LinkedIn1LanguagesInner]**](LinkedIn1LanguagesInner.md) | |
**certifications** | [**List[FullProfileCertificationsInner]**](FullProfileCertificationsInner.md) | |
**projects** | [**List[FullProfileProjectsInner]**](FullProfileProjectsInner.md) | |
-**volunteering** | [**List[LinkedInVolunteerExperienceInner]**](LinkedInVolunteerExperienceInner.md) | |
-**recommendations** | [**List[LinkedInRecommendationsReceivedInner]**](LinkedInRecommendationsReceivedInner.md) | |
+**volunteering** | [**List[LinkedIn1VolunteerExperienceInner]**](LinkedIn1VolunteerExperienceInner.md) | |
+**recommendations** | [**List[LinkedIn1RecommendationsReceivedInner]**](LinkedIn1RecommendationsReceivedInner.md) | |
## Example
diff --git a/docs/FullProfileCertificationsInner.md b/docs/FullProfileCertificationsInner.md
index 78b9c6fff..dfa950f8e 100644
--- a/docs/FullProfileCertificationsInner.md
+++ b/docs/FullProfileCertificationsInner.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**title** | **str** | Name of the certification. |
-**organization** | [**LinkedInCertificationsInnerOrganization**](LinkedInCertificationsInnerOrganization.md) | |
+**organization** | [**LinkedIn1CertificationsInnerOrganization**](LinkedIn1CertificationsInnerOrganization.md) | |
**issued_on** | **str** | Date the certification was issued in MM/DD/YYYY format. | [optional]
**expires_on** | **str** | Expiration date of the certification in MM/DD/YYYY format. | [optional]
**license** | **str** | License identifier. | [optional]
diff --git a/docs/FullProfileEducationInner.md b/docs/FullProfileEducationInner.md
index dad11c7c6..7dc99efb9 100644
--- a/docs/FullProfileEducationInner.md
+++ b/docs/FullProfileEducationInner.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | Id of the education entry. | [optional]
-**school** | [**LinkedInEducationInnerSchool**](LinkedInEducationInnerSchool.md) | |
+**school** | [**LinkedIn1EducationInnerSchool**](LinkedIn1EducationInnerSchool.md) | |
**degree** | **str** | Name of the degree. | [optional]
**description** | **str** | Description of the education. | [optional]
**activities** | **str** | Activities carried out during education. | [optional]
diff --git a/docs/FullProfileProjectsInner.md b/docs/FullProfileProjectsInner.md
index 014fb6133..dc822b7c9 100644
--- a/docs/FullProfileProjectsInner.md
+++ b/docs/FullProfileProjectsInner.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | Name of the project. |
**description** | **str** | Description of the project. | [optional]
-**contributors** | [**List[LinkedInProjectsInnerContributorsInner]**](LinkedInProjectsInnerContributorsInner.md) | Contributors to the project. |
+**contributors** | [**List[LinkedIn1ProjectsInnerContributorsInner]**](LinkedIn1ProjectsInnerContributorsInner.md) | Contributors to the project. |
**skills** | **List[str]** | Skills related to the project. | [optional]
**skills_preview** | **str** | Insight of the skills related to the project. | [optional]
**started_on** | **str** | Start date of the project in MM/DD/YYYY format. | [optional]
diff --git a/docs/GetCalendarEventList200Response.md b/docs/GetCalendarEventList200Response.md
index 2f7795714..c2b284f14 100644
--- a/docs/GetCalendarEventList200Response.md
+++ b/docs/GetCalendarEventList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetCalendarEventList200ResponseDataInner]**](GetCalendarEventList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetCalendarEventList200ResponseDataInner.md b/docs/GetCalendarEventList200ResponseDataInner.md
index 41f88fff5..650a4e8d4 100644
--- a/docs/GetCalendarEventList200ResponseDataInner.md
+++ b/docs/GetCalendarEventList200ResponseDataInner.md
@@ -26,8 +26,10 @@ Name | Type | Description | Notes
**visibility** | **str** | The visibility of the event. - `public` is visible to all. - `private` is visible only to the calendar owner. |
**transparency** | **str** | The transparency of the event. - `opaque` does block time on the calendar and is equivalent to setting Show me as to Busy in the Calendar UI. - `transparent` does not block time on the calendar and is equivalent to setting Show me as to Available in the Calendar UI. |
**event_type** | **str** | The type of the event (`birthday`, `fromGmail`, `outOfOffice`...) | [default to 'default']
+**timezone** | **str** | The IANA timezone when start and end share the same timezone (e.g. `Europe/Paris`). Omitted when they differ; use `start.timezone` and `end.timezone` instead. | [optional]
**background_color** | **str** | Background color of the calendar in hexadecimal format. | [optional]
**text_color** | **str** | Foreground color of the event in hexadecimal format. | [optional]
+**specifics** | **object** | Object containing provider-specific calendar event data. | [optional]
## Example
diff --git a/docs/GetCalendarEventList200ResponseDataInnerEnd.md b/docs/GetCalendarEventList200ResponseDataInnerEnd.md
index 03f9d8199..ea8f8fa4a 100644
--- a/docs/GetCalendarEventList200ResponseDataInnerEnd.md
+++ b/docs/GetCalendarEventList200ResponseDataInnerEnd.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | Indicates a date-time value. |
**date_time** | **str** | The date and time. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SSZ). |
+**timezone** | **str** | The IANA timezone in which the date is expressed (e.g. `Europe/Paris`). | [optional]
**var_date** | **str** | The date. Uses ISO 8601 date format (YYYY-MM-DD). |
## Example
diff --git a/docs/GetCalendarEventList200ResponseDataInnerStart.md b/docs/GetCalendarEventList200ResponseDataInnerStart.md
index b630e265a..d290e2dc9 100644
--- a/docs/GetCalendarEventList200ResponseDataInnerStart.md
+++ b/docs/GetCalendarEventList200ResponseDataInnerStart.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | Indicates a date-time value. |
**date_time** | **str** | The date and time. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SSZ). |
+**timezone** | **str** | The IANA timezone in which the date is expressed (e.g. `Europe/Paris`). | [optional]
**var_date** | **str** | The date. Uses ISO 8601 date format (YYYY-MM-DD). |
## Example
diff --git a/docs/GetCalendarEventList200ResponseDataInnerStartAnyOf.md b/docs/GetCalendarEventList200ResponseDataInnerStartAnyOf.md
index 2ef4929a2..e112f0121 100644
--- a/docs/GetCalendarEventList200ResponseDataInnerStartAnyOf.md
+++ b/docs/GetCalendarEventList200ResponseDataInnerStartAnyOf.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | Indicates a date-time value. |
**date_time** | **str** | The date and time. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SSZ). |
+**timezone** | **str** | The IANA timezone in which the date and time is expressed (e.g. `Europe/Paris`). Defaults to UTC when omitted. | [optional]
## Example
diff --git a/docs/GetCalendarEventList200ResponseDataInnerStartAnyOf1.md b/docs/GetCalendarEventList200ResponseDataInnerStartAnyOf1.md
index be01239b8..53975e5a9 100644
--- a/docs/GetCalendarEventList200ResponseDataInnerStartAnyOf1.md
+++ b/docs/GetCalendarEventList200ResponseDataInnerStartAnyOf1.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | Indicates a date-only value (for all-day events). |
**var_date** | **str** | The date. Uses ISO 8601 date format (YYYY-MM-DD). |
+**timezone** | **str** | The IANA timezone in which the date is expressed (e.g. `Europe/Paris`). | [optional]
## Example
diff --git a/docs/GetCalendarsList200Response.md b/docs/GetCalendarsList200Response.md
index b296da286..836c4d7e6 100644
--- a/docs/GetCalendarsList200Response.md
+++ b/docs/GetCalendarsList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetCalendarsList200ResponseDataInner]**](GetCalendarsList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetCalendarsList200ResponseDataInner.md b/docs/GetCalendarsList200ResponseDataInner.md
index 09b0fcdb7..b110b84c4 100644
--- a/docs/GetCalendarsList200ResponseDataInner.md
+++ b/docs/GetCalendarsList200ResponseDataInner.md
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
**background_color** | **str** | Background color of the calendar in hexadecimal format. |
**text_color** | **str** | Foreground color of the calendar in hexadecimal format. | [optional]
**timezone** | **str** | Timezone used in this calendar. | [optional]
+**specifics** | **object** | Object containing provider-specific calendar data. | [optional]
## Example
diff --git a/docs/GetChat200Response.md b/docs/GetChat200Response.md
index accfe1c82..42862a18e 100644
--- a/docs/GetChat200Response.md
+++ b/docs/GetChat200Response.md
@@ -28,11 +28,11 @@ Name | Type | Description | Notes
**participants_count** | **float** | The number of participants in the chat if the chat is a group. | [optional]
**unread_count** | **float** | The number of unread messages in the chat. `0` if the chat is read, `-1` if the chat was manually marked as unread by the user and does not have any unread messages. |
**restrictions** | **List[str]** | List of action restrictions of the chat. - `send_message` is the permission to send messages. | [optional]
-**participants** | [**List[GetChatsList200ResponseDataInnerParticipantsInner]**](GetChatsList200ResponseDataInnerParticipantsInner.md) | List of participants in the chat if group chat. | [optional]
-**last_message** | [**GetChatsList200ResponseDataInnerLastMessage**](GetChatsList200ResponseDataInnerLastMessage.md) | | [optional]
-**user** | [**GetChatsList200ResponseDataInnerUser**](GetChatsList200ResponseDataInnerUser.md) | | [optional]
+**last_message** | [**GetChat200ResponseLastMessage**](GetChat200ResponseLastMessage.md) | | [optional]
**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
**specifics** | **object** | | [optional]
+**user** | [**GetChatsList200ResponseDataInnerUser**](GetChatsList200ResponseDataInnerUser.md) | | [optional]
+**participants** | [**List[GetChatsList200ResponseDataInnerParticipantsInner]**](GetChatsList200ResponseDataInnerParticipantsInner.md) | List of participants in the chat if group chat. | [optional]
## Example
diff --git a/docs/GetChat200ResponseLastMessage.md b/docs/GetChat200ResponseLastMessage.md
new file mode 100644
index 000000000..c21930497
--- /dev/null
+++ b/docs/GetChat200ResponseLastMessage.md
@@ -0,0 +1,55 @@
+# GetChat200ResponseLastMessage
+
+The last message in the chat.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The unique identifier of the message for the provider. |
+**text** | **str** | The text content of the message. |
+**sender_display_name** | **str** | The display name of the sender of the message. | [optional]
+**is_sender** | **bool** | Is the current user the sender of the message. |
+**sender_id** | **str** | The ID of the user who sent the message. |
+**chat_id** | **str** | The ID of the chat where the message was sent. |
+**timestamp** | **str** | The timestamp of the message. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
+**is_hidden** | **bool** | Is the message hidden. Hidden messages are usually not displayed in the chat but can be as last message is chats list. |
+**is_seen** | **bool** | Is the message seen by other participants. |
+**is_delivered** | **bool** | Is the message delivered to the other participants. |
+**is_deleted** | **bool** | Is the message deleted. Some providers show the message as deleted in the chat. |
+**is_edited** | **bool** | Is the message edited. Some providers adds an \"edited\" mark on the message in the chat. |
+**is_pinned** | **bool** | Is the message pinned. Pinned messages are usually displayed at the top of the chat. |
+**is_event** | **bool** | Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions. |
+**is_mentionned** | **bool** | Is the message mentionning the current user. Usually to notify. |
+**event_type** | **float** | The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement | [optional]
+**event_metadata** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata**](GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.md) | | [optional]
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
+**sender** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.md) | | [optional]
+**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of message attachments. |
+**hyperlinks** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.md) | List of message hyperlinks. |
+**quoted** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.md) | | [optional]
+**forwarded** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.md) | | [optional]
+**specifics** | **object** | | [optional]
+
+## Example
+
+```python
+from unipile.models.get_chat200_response_last_message import GetChat200ResponseLastMessage
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChat200ResponseLastMessage from a JSON string
+get_chat200_response_last_message_instance = GetChat200ResponseLastMessage.from_json(json)
+# print the JSON string representation of the object
+print(GetChat200ResponseLastMessage.to_json())
+
+# convert the object into a dict
+get_chat200_response_last_message_dict = get_chat200_response_last_message_instance.to_dict()
+# create an instance of GetChat200ResponseLastMessage from a dict
+get_chat200_response_last_message_from_dict = GetChat200ResponseLastMessage.from_dict(get_chat200_response_last_message_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChat200ResponseLastMessageAnyOf.md b/docs/GetChat200ResponseLastMessageAnyOf.md
new file mode 100644
index 000000000..fcd614c0b
--- /dev/null
+++ b/docs/GetChat200ResponseLastMessageAnyOf.md
@@ -0,0 +1,53 @@
+# GetChat200ResponseLastMessageAnyOf
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The unique identifier of the message for the provider. |
+**text** | **str** | The text content of the message. | [optional]
+**sender_id** | **str** | The ID of the user who sent the message. |
+**chat_id** | **str** | The ID of the chat where the message was sent. |
+**timestamp** | **str** | The timestamp of the message. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
+**is_sender** | **bool** | Is the current user the sender of the message. |
+**is_hidden** | **bool** | Is the message hidden. Hidden messages are usually not displayed in the chat but can be as last message is chats list. |
+**is_seen** | **bool** | Is the message seen by other participants. |
+**is_delivered** | **bool** | Is the message delivered to the other participants. |
+**is_deleted** | **bool** | Is the message deleted. Some providers show the message as deleted in the chat. |
+**is_edited** | **bool** | Is the message edited. Some providers adds an \"edited\" mark on the message in the chat. |
+**is_pinned** | **bool** | Is the message pinned. Pinned messages are usually displayed at the top of the chat. |
+**is_event** | **bool** | Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions. |
+**is_mentionned** | **bool** | Is the message mentionning the current user. Usually to notify. |
+**event_type** | **float** | The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement | [optional]
+**event_metadata** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata**](GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.md) | | [optional]
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
+**sender** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.md) | | [optional]
+**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of message attachments. |
+**hyperlinks** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.md) | List of message hyperlinks. |
+**quoted** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.md) | | [optional]
+**forwarded** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.md) | | [optional]
+**specifics** | **object** | | [optional]
+
+## Example
+
+```python
+from unipile.models.get_chat200_response_last_message_any_of import GetChat200ResponseLastMessageAnyOf
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChat200ResponseLastMessageAnyOf from a JSON string
+get_chat200_response_last_message_any_of_instance = GetChat200ResponseLastMessageAnyOf.from_json(json)
+# print the JSON string representation of the object
+print(GetChat200ResponseLastMessageAnyOf.to_json())
+
+# convert the object into a dict
+get_chat200_response_last_message_any_of_dict = get_chat200_response_last_message_any_of_instance.to_dict()
+# create an instance of GetChat200ResponseLastMessageAnyOf from a dict
+get_chat200_response_last_message_any_of_from_dict = GetChat200ResponseLastMessageAnyOf.from_dict(get_chat200_response_last_message_any_of_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChatsList200Response.md b/docs/GetChatsList200Response.md
index b464603a0..461ae77ce 100644
--- a/docs/GetChatsList200Response.md
+++ b/docs/GetChatsList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetChatsList200ResponseDataInner]**](GetChatsList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetChatsList200ResponseDataInner.md b/docs/GetChatsList200ResponseDataInner.md
index 8e3522343..452cd01d7 100644
--- a/docs/GetChatsList200ResponseDataInner.md
+++ b/docs/GetChatsList200ResponseDataInner.md
@@ -28,11 +28,11 @@ Name | Type | Description | Notes
**participants_count** | **float** | The number of participants in the chat if the chat is a group. | [optional]
**unread_count** | **float** | The number of unread messages in the chat. `0` if the chat is read, `-1` if the chat was manually marked as unread by the user and does not have any unread messages. |
**restrictions** | **List[str]** | List of action restrictions of the chat. - `send_message` is the permission to send messages. | [optional]
-**participants** | [**List[GetChatsList200ResponseDataInnerParticipantsInner]**](GetChatsList200ResponseDataInnerParticipantsInner.md) | List of participants in the chat if group chat. | [optional]
**last_message** | [**GetChatsList200ResponseDataInnerLastMessage**](GetChatsList200ResponseDataInnerLastMessage.md) | | [optional]
-**user** | [**GetChatsList200ResponseDataInnerUser**](GetChatsList200ResponseDataInnerUser.md) | | [optional]
**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
**specifics** | **object** | | [optional]
+**user** | [**GetChatsList200ResponseDataInnerUser**](GetChatsList200ResponseDataInnerUser.md) | | [optional]
+**participants** | [**List[GetChatsList200ResponseDataInnerParticipantsInner]**](GetChatsList200ResponseDataInnerParticipantsInner.md) | List of participants in the chat if group chat. | [optional]
## Example
diff --git a/docs/GetChatsList200ResponseDataInnerLastMessage.md b/docs/GetChatsList200ResponseDataInnerLastMessage.md
index 37903b38b..f4d9f5ea4 100644
--- a/docs/GetChatsList200ResponseDataInnerLastMessage.md
+++ b/docs/GetChatsList200ResponseDataInnerLastMessage.md
@@ -6,9 +6,32 @@ The last message in the chat.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**text** | **str** | The text content of the last message in the chat. |
-**sender_display_name** | **str** | The display name of the sender of the last message in the chat in group chats. | [optional]
-**is_sender** | **bool** | Is the last message sent by the current user. |
+**object** | **str** | |
+**id** | **str** | The unique identifier of the message for the provider. |
+**text** | **str** | The text content of the message. |
+**sender_display_name** | **str** | The display name of the sender of the message. | [optional]
+**is_sender** | **bool** | Is the current user the sender of the message. |
+**sender_id** | **str** | The ID of the user who sent the message. |
+**chat_id** | **str** | The ID of the chat where the message was sent. |
+**timestamp** | **str** | The timestamp of the message. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
+**is_hidden** | **bool** | Is the message hidden. Hidden messages are usually not displayed in the chat but can be as last message is chats list. |
+**is_seen** | **bool** | Is the message seen by other participants. |
+**is_delivered** | **bool** | Is the message delivered to the other participants. |
+**is_deleted** | **bool** | Is the message deleted. Some providers show the message as deleted in the chat. |
+**is_edited** | **bool** | Is the message edited. Some providers adds an \"edited\" mark on the message in the chat. |
+**is_pinned** | **bool** | Is the message pinned. Pinned messages are usually displayed at the top of the chat. |
+**is_event** | **bool** | Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions. |
+**is_mentionned** | **bool** | Is the message mentionning the current user. Usually to notify. |
+**event_type** | **float** | The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement | [optional]
+**event_metadata** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata**](GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.md) | | [optional]
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
+**sender** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.md) | | [optional]
+**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner.md) | List of message attachments. |
+**hyperlinks** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.md) | List of message hyperlinks. |
+**quoted** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.md) | | [optional]
+**forwarded** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.md) | | [optional]
+**specifics** | **object** | | [optional]
## Example
diff --git a/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf.md b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf.md
new file mode 100644
index 000000000..d70188b54
--- /dev/null
+++ b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf.md
@@ -0,0 +1,33 @@
+# GetChatsList200ResponseDataInnerLastMessageAnyOf
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The ID of the message. | [optional]
+**text** | **str** | The text content of the message. |
+**sender_display_name** | **str** | The display name of the sender of the message. | [optional]
+**is_sender** | **bool** | Is the message sent by the current user. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of import GetChatsList200ResponseDataInnerLastMessageAnyOf
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf from a JSON string
+get_chats_list200_response_data_inner_last_message_any_of_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf.from_json(json)
+# print the JSON string representation of the object
+print(GetChatsList200ResponseDataInnerLastMessageAnyOf.to_json())
+
+# convert the object into a dict
+get_chats_list200_response_data_inner_last_message_any_of_dict = get_chats_list200_response_data_inner_last_message_any_of_instance.to_dict()
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf from a dict
+get_chats_list200_response_data_inner_last_message_any_of_from_dict = GetChatsList200ResponseDataInnerLastMessageAnyOf.from_dict(get_chats_list200_response_data_inner_last_message_any_of_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1.md b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1.md
new file mode 100644
index 000000000..e4730f3dc
--- /dev/null
+++ b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1.md
@@ -0,0 +1,53 @@
+# GetChatsList200ResponseDataInnerLastMessageAnyOf1
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The unique identifier of the message for the provider. |
+**text** | **str** | The text content of the message. | [optional]
+**sender_id** | **str** | The ID of the user who sent the message. |
+**chat_id** | **str** | The ID of the chat where the message was sent. |
+**timestamp** | **str** | The timestamp of the message. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
+**is_sender** | **bool** | Is the current user the sender of the message. |
+**is_hidden** | **bool** | Is the message hidden. Hidden messages are usually not displayed in the chat but can be as last message is chats list. |
+**is_seen** | **bool** | Is the message seen by other participants. |
+**is_delivered** | **bool** | Is the message delivered to the other participants. |
+**is_deleted** | **bool** | Is the message deleted. Some providers show the message as deleted in the chat. |
+**is_edited** | **bool** | Is the message edited. Some providers adds an \"edited\" mark on the message in the chat. |
+**is_pinned** | **bool** | Is the message pinned. Pinned messages are usually displayed at the top of the chat. |
+**is_event** | **bool** | Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions. |
+**is_mentionned** | **bool** | Is the message mentionning the current user. Usually to notify. |
+**event_type** | **float** | The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement | [optional]
+**event_metadata** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata**](GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.md) | | [optional]
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
+**sender** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.md) | | [optional]
+**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner.md) | List of message attachments. |
+**hyperlinks** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.md) | List of message hyperlinks. |
+**quoted** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.md) | | [optional]
+**forwarded** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.md) | | [optional]
+**specifics** | **object** | | [optional]
+
+## Example
+
+```python
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1 import GetChatsList200ResponseDataInnerLastMessageAnyOf1
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1 from a JSON string
+get_chats_list200_response_data_inner_last_message_any_of1_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1.from_json(json)
+# print the JSON string representation of the object
+print(GetChatsList200ResponseDataInnerLastMessageAnyOf1.to_json())
+
+# convert the object into a dict
+get_chats_list200_response_data_inner_last_message_any_of1_dict = get_chats_list200_response_data_inner_last_message_any_of1_instance.to_dict()
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1 from a dict
+get_chats_list200_response_data_inner_last_message_any_of1_from_dict = GetChatsList200ResponseDataInnerLastMessageAnyOf1.from_dict(get_chats_list200_response_data_inner_last_message_any_of1_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner.md b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner.md
new file mode 100644
index 000000000..833f73e0c
--- /dev/null
+++ b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner.md
@@ -0,0 +1,47 @@
+# GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The unique identifier of the attachment for the provider. |
+**file_size** | **float** | The size of the attachment in bytes. | [optional]
+**is_inline** | **bool** | Is the attachment inline in the content. |
+**is_unavailable** | **bool** | The attachment is not available for download because it was removed from provider servers. | [optional]
+**mimetype** | **str** | The MIME type of the attachment. |
+**url** | **str** | The URL of the shared content. |
+**url_expires_at** | **str** | The URL expiration timestamp. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
+**content** | **str** | Content of the attachement | [optional]
+**type** | **str** | |
+**duration** | **float** | The duration of the video in seconds. | [optional]
+**voice_note** | **bool** | The audio is a voice note (should be displayed differently) |
+**size** | [**VideoSize**](VideoSize.md) | |
+**sticker** | **bool** | The image is a sticker (should be displayed differently) |
+**gif** | **bool** | The video is a GIF (should be displayed differently) |
+**filename** | **str** | The name of the file, including the extension. |
+**media_type** | **str** | The type of content being shared. |
+**author** | **str** | The author of the shared content, if applicable. | [optional]
+**description** | **str** | A brief description of the shared content. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner from a JSON string
+get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner.from_json(json)
+# print the JSON string representation of the object
+print(GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner.to_json())
+
+# convert the object into a dict
+get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner_dict = get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner_instance.to_dict()
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner from a dict
+get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner_from_dict = GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner.from_dict(get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.md b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.md
new file mode 100644
index 000000000..38066199b
--- /dev/null
+++ b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.md
@@ -0,0 +1,43 @@
+# GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**title** | **str** | The updated title. |
+**description** | **str** | The updated description. | [optional]
+**call_id** | **str** | Unique identifier of the call. | [optional]
+**is_video** | **bool** | Indicates whether the call is a video call. |
+**link** | **str** | The invitation link used to join the group. | [optional]
+**start** | **str** | Start date and time of the call in ISO format. |
+**end** | **str** | Expected end date and time of the call in ISO format. | [optional]
+**duration** | **float** | Duration for which the message remains pinned, if applicable. | [optional]
+**message_id** | **str** | ID of the message to which the reaction was added or removed. |
+**is_pin** | **bool** | Indicates whether the message is pinned (true) or unpinned (false). |
+**user_id** | **str** | ID of the participant whose role was updated. |
+**user_name** | **str** | Name of the participant who left or was removed from the group. | [optional]
+**reason** | **str** | Specifies whether the reaction was added or removed. |
+**subject** | **str** | The updated subject. | [optional]
+**reaction** | **str** | The reaction added or removed. |
+
+## Example
+
+```python
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_event_metadata import GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata from a JSON string
+get_chats_list200_response_data_inner_last_message_any_of1_event_metadata_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.from_json(json)
+# print the JSON string representation of the object
+print(GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.to_json())
+
+# convert the object into a dict
+get_chats_list200_response_data_inner_last_message_any_of1_event_metadata_dict = get_chats_list200_response_data_inner_last_message_any_of1_event_metadata_instance.to_dict()
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata from a dict
+get_chats_list200_response_data_inner_last_message_any_of1_event_metadata_from_dict = GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.from_dict(get_chats_list200_response_data_inner_last_message_any_of1_event_metadata_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.md b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.md
new file mode 100644
index 000000000..14488aa34
--- /dev/null
+++ b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.md
@@ -0,0 +1,33 @@
+# GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded
+
+Contains the original message if this message was forwarded from another chat, depending on provider support. Some providers preserve the original sender and content, treating it as if it were sent by the account owner. Others wrap the forwarded message within a new message (similar to a quote or attachment), in which case the original message appears here.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**text** | **str** | The text content of the message. | [optional]
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of message attachments. |
+**sender** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.md) | | [optional]
+**object** | **str** | |
+
+## Example
+
+```python
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_forwarded import GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded from a JSON string
+get_chats_list200_response_data_inner_last_message_any_of1_forwarded_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.from_json(json)
+# print the JSON string representation of the object
+print(GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.to_json())
+
+# convert the object into a dict
+get_chats_list200_response_data_inner_last_message_any_of1_forwarded_dict = get_chats_list200_response_data_inner_last_message_any_of1_forwarded_instance.to_dict()
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded from a dict
+get_chats_list200_response_data_inner_last_message_any_of1_forwarded_from_dict = GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.from_dict(get_chats_list200_response_data_inner_last_message_any_of1_forwarded_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.md b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.md
new file mode 100644
index 000000000..d5083980a
--- /dev/null
+++ b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.md
@@ -0,0 +1,32 @@
+# GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner
+
+The parameters of an external hyperlink contained in the body.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**url** | **str** | The URL the link points to. |
+**starts_at** | **float** | The index in the body where the link starts. |
+**length** | **float** | The number of characters in the body that make up the link, starting at the `starts_at` index. |
+
+## Example
+
+```python
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner from a JSON string
+get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.from_json(json)
+# print the JSON string representation of the object
+print(GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.to_json())
+
+# convert the object into a dict
+get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner_dict = get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner_instance.to_dict()
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner from a dict
+get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner_from_dict = GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.from_dict(get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.md b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.md
new file mode 100644
index 000000000..1bebf46b3
--- /dev/null
+++ b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.md
@@ -0,0 +1,34 @@
+# GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted
+
+The quoted message.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The unique identifier of the message for the provider. |
+**text** | **str** | The text content of the message. | [optional]
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of message attachments. |
+**sender** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted import GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted from a JSON string
+get_chats_list200_response_data_inner_last_message_any_of1_quoted_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.from_json(json)
+# print the JSON string representation of the object
+print(GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.to_json())
+
+# convert the object into a dict
+get_chats_list200_response_data_inner_last_message_any_of1_quoted_dict = get_chats_list200_response_data_inner_last_message_any_of1_quoted_instance.to_dict()
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted from a dict
+get_chats_list200_response_data_inner_last_message_any_of1_quoted_from_dict = GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.from_dict(get_chats_list200_response_data_inner_last_message_any_of1_quoted_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md
new file mode 100644
index 000000000..bbdf5e2e0
--- /dev/null
+++ b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md
@@ -0,0 +1,47 @@
+# GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The unique identifier of the attachment for the provider. |
+**file_size** | **float** | The size of the attachment in bytes. | [optional]
+**is_inline** | **bool** | Is the attachment inline in the content. |
+**is_unavailable** | **bool** | The attachment is not available for download because it was removed from provider servers. | [optional]
+**mimetype** | **str** | The MIME type of the attachment. |
+**url** | **str** | The URL of the shared content. |
+**url_expires_at** | **str** | The URL expiration timestamp. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
+**content** | **str** | Content of the attachement | [optional]
+**type** | **str** | |
+**duration** | **float** | The duration of the video in seconds. | [optional]
+**voice_note** | **bool** | The audio is a voice note (should be displayed differently) |
+**size** | [**Video1Size**](Video1Size.md) | |
+**sticker** | **bool** | The image is a sticker (should be displayed differently) |
+**gif** | **bool** | The video is a GIF (should be displayed differently) |
+**filename** | **str** | The name of the file, including the extension. |
+**media_type** | **str** | The type of content being shared. |
+**author** | **str** | The author of the shared content, if applicable. | [optional]
+**description** | **str** | A brief description of the shared content. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner from a JSON string
+get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_json(json)
+# print the JSON string representation of the object
+print(GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.to_json())
+
+# convert the object into a dict
+get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner_dict = get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner_instance.to_dict()
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner from a dict
+get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner_from_dict = GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md
new file mode 100644
index 000000000..4a122b1ed
--- /dev/null
+++ b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md
@@ -0,0 +1,30 @@
+# GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**reaction** | **str** | Value of the reaction. Usually an emoji unicode. |
+**count** | **float** | The total count of this reaction. |
+
+## Example
+
+```python
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner from a JSON string
+get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_json(json)
+# print the JSON string representation of the object
+print(GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.to_json())
+
+# convert the object into a dict
+get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner_dict = get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner_instance.to_dict()
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner from a dict
+get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner_from_dict = GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.md b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.md
new file mode 100644
index 000000000..1f36ef625
--- /dev/null
+++ b/docs/GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.md
@@ -0,0 +1,41 @@
+# GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender
+
+The user who sent the message.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | **object** | Provider-specific user data. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_sender import GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender from a JSON string
+get_chats_list200_response_data_inner_last_message_any_of1_sender_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.from_json(json)
+# print the JSON string representation of the object
+print(GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.to_json())
+
+# convert the object into a dict
+get_chats_list200_response_data_inner_last_message_any_of1_sender_dict = get_chats_list200_response_data_inner_last_message_any_of1_sender_instance.to_dict()
+# create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender from a dict
+get_chats_list200_response_data_inner_last_message_any_of1_sender_from_dict = GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.from_dict(get_chats_list200_response_data_inner_last_message_any_of1_sender_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetChatsList200ResponseDataInnerParticipantsInner.md b/docs/GetChatsList200ResponseDataInnerParticipantsInner.md
index 9ce5b76e1..477b62fb9 100644
--- a/docs/GetChatsList200ResponseDataInnerParticipantsInner.md
+++ b/docs/GetChatsList200ResponseDataInnerParticipantsInner.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object** | **str** | |
-**user** | [**GetChatsList200ResponseDataInnerParticipantsInnerUser**](GetChatsList200ResponseDataInnerParticipantsInnerUser.md) | |
**is_self** | **bool** | Is the current user the participant. |
**is_admin** | **bool** | Is the participant an admin of the group. |
+**user** | [**GetChatsList200ResponseDataInnerParticipantsInnerUser**](GetChatsList200ResponseDataInnerParticipantsInnerUser.md) | |
## Example
diff --git a/docs/GetChatsList200ResponseDataInnerParticipantsInnerUser.md b/docs/GetChatsList200ResponseDataInnerParticipantsInnerUser.md
index 53b61d4ec..eae18d9fd 100644
--- a/docs/GetChatsList200ResponseDataInnerParticipantsInnerUser.md
+++ b/docs/GetChatsList200ResponseDataInnerParticipantsInnerUser.md
@@ -1,6 +1,5 @@
# GetChatsList200ResponseDataInnerParticipantsInnerUser
-The user who is a participant of the group.
## Properties
@@ -10,11 +9,14 @@ Name | Type | Description | Notes
**object** | **str** | |
**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
-**display_name** | **str** | Display name of the user. |
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
**profile_url** | **str** | Public url to the profile of the user. | [optional]
**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
**description** | **str** | Description of the user. | [optional]
+**specifics** | [**GetChatsList200ResponseDataInnerUserSpecifics**](GetChatsList200ResponseDataInnerUserSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetChatsList200ResponseDataInnerUser.md b/docs/GetChatsList200ResponseDataInnerUser.md
index 04a37125b..ee68515ff 100644
--- a/docs/GetChatsList200ResponseDataInnerUser.md
+++ b/docs/GetChatsList200ResponseDataInnerUser.md
@@ -10,11 +10,14 @@ Name | Type | Description | Notes
**object** | **str** | |
**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
-**display_name** | **str** | Display name of the user. |
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
**profile_url** | **str** | Public url to the profile of the user. | [optional]
**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
**description** | **str** | Description of the user. | [optional]
+**specifics** | [**GetChatsList200ResponseDataInnerUserSpecifics**](GetChatsList200ResponseDataInnerUserSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetChatsList200ResponseDataInnerUserSpecifics.md b/docs/GetChatsList200ResponseDataInnerUserSpecifics.md
new file mode 100644
index 000000000..3e22ab8e7
--- /dev/null
+++ b/docs/GetChatsList200ResponseDataInnerUserSpecifics.md
@@ -0,0 +1,42 @@
+# GetChatsList200ResponseDataInnerUserSpecifics
+
+Object containing provider-specific user profile data.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**contact_name** | **str** | Name saved by the connected account owner in their WhatsApp address book. |
+**location** | **str** | The geographical location of the user. | [optional]
+**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' | [optional]
+**industry** | **str** | The user's industry. | [optional]
+**is_following** | **bool** | Whether the current user follows the user. | [optional]
+**followers_count** | **float** | The number of followers of the user. | [optional]
+**relations_count** | **float** | The number of relations of the user. | [optional]
+**shared_relations_count** | **float** | The number of relations that you share with the user. | [optional]
+**website_url** | **str** | The URL of the website provided by the user. | [optional]
+**portfolio_url** | **str** | The URL of the portfolio provided by the user. | [optional]
+**services_page_url** | **str** | The LinkedIn internal URL of the user's services page. | [optional]
+**is_premium** | **bool** | Whether the User has a premium account. | [optional]
+**is_verified** | **bool** | Whether the User has a verified account. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetChatsList200ResponseDataInnerUserSpecifics from a JSON string
+get_chats_list200_response_data_inner_user_specifics_instance = GetChatsList200ResponseDataInnerUserSpecifics.from_json(json)
+# print the JSON string representation of the object
+print(GetChatsList200ResponseDataInnerUserSpecifics.to_json())
+
+# convert the object into a dict
+get_chats_list200_response_data_inner_user_specifics_dict = get_chats_list200_response_data_inner_user_specifics_instance.to_dict()
+# create an instance of GetChatsList200ResponseDataInnerUserSpecifics from a dict
+get_chats_list200_response_data_inner_user_specifics_from_dict = GetChatsList200ResponseDataInnerUserSpecifics.from_dict(get_chats_list200_response_data_inner_user_specifics_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetClassicApplicants200Response.md b/docs/GetClassicApplicants200Response.md
index ded1890be..33aba971c 100644
--- a/docs/GetClassicApplicants200Response.md
+++ b/docs/GetClassicApplicants200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetClassicApplicants200ResponseDataInner]**](GetClassicApplicants200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetClassicApplicants200ResponseDataInnerProfileWorkExperienceInner.md b/docs/GetClassicApplicants200ResponseDataInnerProfileWorkExperienceInner.md
index 4c4434ba5..ab76dc0ec 100644
--- a/docs/GetClassicApplicants200ResponseDataInnerProfileWorkExperienceInner.md
+++ b/docs/GetClassicApplicants200ResponseDataInnerProfileWorkExperienceInner.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**company** | [**LinkedInCertificationsInnerOrganization**](LinkedInCertificationsInnerOrganization.md) | |
+**company** | [**LinkedIn1CertificationsInnerOrganization**](LinkedIn1CertificationsInnerOrganization.md) | |
**title** | **str** | The position name in the experience. |
**started_on** | **str** | The start date of the experience in MM/DD/YYYY format. | [optional]
**ended_on** | **str** | The end date of the experience in MM/DD/YYYY format. | [optional]
diff --git a/docs/GetClassicApplicantsRequest.md b/docs/GetClassicApplicantsRequest.md
index f9fefec0b..d98630e14 100644
--- a/docs/GetClassicApplicantsRequest.md
+++ b/docs/GetClassicApplicantsRequest.md
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
**ratings** | **List[str]** | A list of ratings to filter applicants. | [optional] [default to ["UNRATED","MAYBE","GOOD_FIT"]]
**keywords** | **str** | A keyword or group of keywords. | [optional]
**sort_by** | **str** | The sort method. | [optional] [default to 'APPLIED_DATE']
-**location** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Location | [optional]
+**location** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Location | [optional]
**years_of_experience** | [**List[GetClassicApplicantsRequestYearsOfExperienceInner]**](GetClassicApplicantsRequestYearsOfExperienceInner.md) | A list of years ranges. | [optional]
-**skills** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. Native filter : Skilled in | [optional]
+**skills** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. Native filter : Skilled in | [optional]
## Example
diff --git a/docs/GetClassicCompanyProfile200Response.md b/docs/GetClassicCompanyProfile200Response.md
index 6746f1b9f..9234b2407 100644
--- a/docs/GetClassicCompanyProfile200Response.md
+++ b/docs/GetClassicCompanyProfile200Response.md
@@ -7,17 +7,17 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | The ID of the Company for the provider. |
**name** | **str** | The name of the Company. |
-**public_identifier** | **str** | The public identifier of the Company. |
-**profile_url** | **str** | The public profile URL of the Company. |
+**profile_url** | **str** | The public profile URL of the Company. | [optional]
+**public_picture_url** | **str** | The public picture URL of the Company. | [optional]
+**public_identifier** | **str** | The public identifier of the Company. | [optional]
+**followers_count** | **float** | The number of followers of the Company. | [optional]
+**is_following** | **bool** | Whether the current user is following the Company. | [optional]
**object** | **str** | |
**description** | **str** | The description of the Company. | [optional]
-**public_picture_url** | **str** | The public picture URL of the Company. | [optional]
**tagline** | **str** | The tagline of the Company. | [optional]
-**followers_count** | **float** | The number of followers of the Company. |
**is_school** | **bool** | Whether the Company is a school. |
**is_active** | **bool** | Whether the Company is currently in activity. |
**is_archived** | **bool** | Whether the Company has been archived. |
-**is_following** | **bool** | Whether the current user is following the Company. |
**is_employee** | **bool** | Whether the current user is an employee of the Company. |
**is_verified** | **bool** | Whether the Company has been verified. |
**is_claimable** | **bool** | Whether the Company can be claimed. |
diff --git a/docs/GetClassicCompanyProfile200ResponseAcquiredBy.md b/docs/GetClassicCompanyProfile200ResponseAcquiredBy.md
index d08949d75..3117b5065 100644
--- a/docs/GetClassicCompanyProfile200ResponseAcquiredBy.md
+++ b/docs/GetClassicCompanyProfile200ResponseAcquiredBy.md
@@ -9,8 +9,11 @@ Name | Type | Description | Notes
**object** | **str** | |
**id** | **str** | The ID of the Company for the provider. |
**name** | **str** | The name of the Company. |
-**public_identifier** | **str** | The public identifier of the Company. |
-**profile_url** | **str** | The public profile URL of the Company. |
+**profile_url** | **str** | The public profile URL of the Company. | [optional]
+**public_picture_url** | **str** | The public picture URL of the Company. | [optional]
+**public_identifier** | **str** | The public identifier of the Company. | [optional]
+**followers_count** | **float** | The number of followers of the Company. | [optional]
+**is_following** | **bool** | Whether the current user is following the Company. | [optional]
## Example
diff --git a/docs/GetClassicCompanyProfile200ResponseFundingCrunchbaseLastRoundMoneyRaised.md b/docs/GetClassicCompanyProfile200ResponseFundingCrunchbaseLastRoundMoneyRaised.md
index c868dff4c..a8c3c7d55 100644
--- a/docs/GetClassicCompanyProfile200ResponseFundingCrunchbaseLastRoundMoneyRaised.md
+++ b/docs/GetClassicCompanyProfile200ResponseFundingCrunchbaseLastRoundMoneyRaised.md
@@ -7,7 +7,7 @@ The amount of money that has been raised during the funding round.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**amount** | **float** | The number of comments to the post. `null` if counter is hidden. |
-**currency** | **str** | The ID of the Company. |
+**currency** | **str** | The text content of the message, when available. |
## Example
diff --git a/docs/GetClassicCompanyProfile200ResponseInsights.md b/docs/GetClassicCompanyProfile200ResponseInsights.md
index a3493295a..5c7651752 100644
--- a/docs/GetClassicCompanyProfile200ResponseInsights.md
+++ b/docs/GetClassicCompanyProfile200ResponseInsights.md
@@ -6,7 +6,7 @@ Insights about the company.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**headcount** | **float** | The number of employees of the Company. |
+**headcount** | **float** | The number of employees of the Company. | [optional]
**headcount_range** | [**GetClassicCompanyProfile200ResponseInsightsHeadcountRange**](GetClassicCompanyProfile200ResponseInsightsHeadcountRange.md) | | [optional]
**heacount_growth** | [**List[GetClassicCompanyProfile200ResponseInsightsHeacountGrowthInner]**](GetClassicCompanyProfile200ResponseInsightsHeacountGrowthInner.md) | A list of time markers to create a chart showing the evolution of the number of employees. | [optional]
**growth_periods** | [**List[GetClassicCompanyProfile200ResponseInsightsGrowthPeriodsInner]**](GetClassicCompanyProfile200ResponseInsightsGrowthPeriodsInner.md) | A list of time markers to create a chart showing the evolution of the number of employees. | [optional]
diff --git a/docs/GetClassicCompanyProfile200ResponseLocationsInner.md b/docs/GetClassicCompanyProfile200ResponseLocationsInner.md
index c4a99e03c..31e69c966 100644
--- a/docs/GetClassicCompanyProfile200ResponseLocationsInner.md
+++ b/docs/GetClassicCompanyProfile200ResponseLocationsInner.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**is_headquarter** | **bool** | Whether the location is the headquarters of the Company. |
**country_code** | **str** | The country code of the location. |
-**city** | **str** | The city of the location. |
+**city** | **str** | The city of the location. | [optional]
**area** | **str** | The area of the location. | [optional]
**postal_code** | **str** | The postal code of the location. | [optional]
**street** | **str** | The street of the location. | [optional]
diff --git a/docs/GetClassicJobPosting200ResponseCompany.md b/docs/GetClassicJobPosting200ResponseCompany.md
index 7c107682c..29cff9c4c 100644
--- a/docs/GetClassicJobPosting200ResponseCompany.md
+++ b/docs/GetClassicJobPosting200ResponseCompany.md
@@ -6,7 +6,7 @@ The company that published the Job posting.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | The ID of the Company. |
+**id** | **str** | The text content of the message, when available. |
**name** | **str** | The name of the Company. |
**public_picture_url** | **str** | The public picture URL of the Company. | [optional]
**profile_url** | **str** | The profile URL of the Company. | [optional]
diff --git a/docs/GetContactsList200Response.md b/docs/GetContactsList200Response.md
new file mode 100644
index 000000000..f174fa1fe
--- /dev/null
+++ b/docs/GetContactsList200Response.md
@@ -0,0 +1,31 @@
+# GetContactsList200Response
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**List[GetContactsList200ResponseDataInner]**](GetContactsList200ResponseDataInner.md) | |
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
+**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_contacts_list200_response import GetContactsList200Response
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetContactsList200Response from a JSON string
+get_contacts_list200_response_instance = GetContactsList200Response.from_json(json)
+# print the JSON string representation of the object
+print(GetContactsList200Response.to_json())
+
+# convert the object into a dict
+get_contacts_list200_response_dict = get_contacts_list200_response_instance.to_dict()
+# create an instance of GetContactsList200Response from a dict
+get_contacts_list200_response_from_dict = GetContactsList200Response.from_dict(get_contacts_list200_response_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetContactsList200ResponseDataInner.md b/docs/GetContactsList200ResponseDataInner.md
new file mode 100644
index 000000000..23d69c176
--- /dev/null
+++ b/docs/GetContactsList200ResponseDataInner.md
@@ -0,0 +1,49 @@
+# GetContactsList200ResponseDataInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | Object type identifier, always \"Contact\". |
+**id** | **str** | Unique identifier of the contact. |
+**user** | [**GetContactsList200ResponseDataInnerUser**](GetContactsList200ResponseDataInnerUser.md) | | [optional]
+**picture_url** | **str** | URL of the profile picture of the contact. | [optional]
+**first_name** | **str** | First name of the contact. | [optional]
+**middle_name** | **str** | Middle name of the contact. | [optional]
+**last_name** | **str** | Last name of the contact. | [optional]
+**display_name** | **str** | Display name of the contact. This is used if first/middle/last name cannot be determined. | [optional]
+**suffix** | **str** | Name suffix (e.g. Jr., Sr., PhD). | [optional]
+**birth_date** | **str** | Birth date of the user. | [optional]
+**company_name** | **str** | Name of the company the contact works for. | [optional]
+**job_title** | **str** | Job title or position of the contact. | [optional]
+**manager_name** | **str** | Name of the contact's manager. | [optional]
+**office_location** | **str** | Office location or building of the contact. | [optional]
+**notes** | **str** | Free-text notes associated with the contact. | [optional]
+**emails** | **List[Optional[str]]** | List of user email addresses. | [optional]
+**phone_numbers** | **List[Optional[str]]** | List of user phone numbers. | [optional]
+**social_handles** | [**GetContactsList200ResponseDataInnerSocialHandles**](GetContactsList200ResponseDataInnerSocialHandles.md) | | [optional]
+**addresses** | [**List[GetContactsList200ResponseDataInnerAddressesInner]**](GetContactsList200ResponseDataInnerAddressesInner.md) | List of physical addresses associated with the contact. | [optional]
+**websites** | **List[Optional[str]]** | List of user websites. | [optional]
+**groups** | [**List[GetContactsList200ResponseDataInnerGroupsInner]**](GetContactsList200ResponseDataInnerGroupsInner.md) | List of groups the contact belongs to. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_contacts_list200_response_data_inner import GetContactsList200ResponseDataInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetContactsList200ResponseDataInner from a JSON string
+get_contacts_list200_response_data_inner_instance = GetContactsList200ResponseDataInner.from_json(json)
+# print the JSON string representation of the object
+print(GetContactsList200ResponseDataInner.to_json())
+
+# convert the object into a dict
+get_contacts_list200_response_data_inner_dict = get_contacts_list200_response_data_inner_instance.to_dict()
+# create an instance of GetContactsList200ResponseDataInner from a dict
+get_contacts_list200_response_data_inner_from_dict = GetContactsList200ResponseDataInner.from_dict(get_contacts_list200_response_data_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetContactsList200ResponseDataInnerAddressesInner.md b/docs/GetContactsList200ResponseDataInnerAddressesInner.md
new file mode 100644
index 000000000..96e8713fd
--- /dev/null
+++ b/docs/GetContactsList200ResponseDataInnerAddressesInner.md
@@ -0,0 +1,34 @@
+# GetContactsList200ResponseDataInnerAddressesInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**city** | **str** | City of the physical address. |
+**country** | **str** | Country of the physical address. |
+**postal_code** | **str** | Postal or ZIP code of the physical address. |
+**state** | **str** | State or province of the physical address. |
+**street_address** | **str** | Street address line. |
+**type** | **str** | Type of address (e.g. personal, business, other). |
+
+## Example
+
+```python
+from unipile.models.get_contacts_list200_response_data_inner_addresses_inner import GetContactsList200ResponseDataInnerAddressesInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetContactsList200ResponseDataInnerAddressesInner from a JSON string
+get_contacts_list200_response_data_inner_addresses_inner_instance = GetContactsList200ResponseDataInnerAddressesInner.from_json(json)
+# print the JSON string representation of the object
+print(GetContactsList200ResponseDataInnerAddressesInner.to_json())
+
+# convert the object into a dict
+get_contacts_list200_response_data_inner_addresses_inner_dict = get_contacts_list200_response_data_inner_addresses_inner_instance.to_dict()
+# create an instance of GetContactsList200ResponseDataInnerAddressesInner from a dict
+get_contacts_list200_response_data_inner_addresses_inner_from_dict = GetContactsList200ResponseDataInnerAddressesInner.from_dict(get_contacts_list200_response_data_inner_addresses_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetContactsList200ResponseDataInnerGroupsInner.md b/docs/GetContactsList200ResponseDataInnerGroupsInner.md
new file mode 100644
index 000000000..cf60f9df7
--- /dev/null
+++ b/docs/GetContactsList200ResponseDataInnerGroupsInner.md
@@ -0,0 +1,29 @@
+# GetContactsList200ResponseDataInnerGroupsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Identifier of a group the contact belongs to. |
+
+## Example
+
+```python
+from unipile.models.get_contacts_list200_response_data_inner_groups_inner import GetContactsList200ResponseDataInnerGroupsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetContactsList200ResponseDataInnerGroupsInner from a JSON string
+get_contacts_list200_response_data_inner_groups_inner_instance = GetContactsList200ResponseDataInnerGroupsInner.from_json(json)
+# print the JSON string representation of the object
+print(GetContactsList200ResponseDataInnerGroupsInner.to_json())
+
+# convert the object into a dict
+get_contacts_list200_response_data_inner_groups_inner_dict = get_contacts_list200_response_data_inner_groups_inner_instance.to_dict()
+# create an instance of GetContactsList200ResponseDataInnerGroupsInner from a dict
+get_contacts_list200_response_data_inner_groups_inner_from_dict = GetContactsList200ResponseDataInnerGroupsInner.from_dict(get_contacts_list200_response_data_inner_groups_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetContactsList200ResponseDataInnerSocialHandles.md b/docs/GetContactsList200ResponseDataInnerSocialHandles.md
new file mode 100644
index 000000000..35e6f144c
--- /dev/null
+++ b/docs/GetContactsList200ResponseDataInnerSocialHandles.md
@@ -0,0 +1,49 @@
+# GetContactsList200ResponseDataInnerSocialHandles
+
+List of user social handles.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**linkedin** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**instagram** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**github** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**facebook** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**x** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**threads** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**tiktok** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**wechat** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**gtalk** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**qq** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**skype** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**icq** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**xmpp** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**sip** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**yahoo** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**aim** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**jabber** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**msn** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**netmeeting** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+**googletalk** | [**GetContactsList200ResponseDataInnerSocialHandlesLinkedin**](GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.get_contacts_list200_response_data_inner_social_handles import GetContactsList200ResponseDataInnerSocialHandles
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetContactsList200ResponseDataInnerSocialHandles from a JSON string
+get_contacts_list200_response_data_inner_social_handles_instance = GetContactsList200ResponseDataInnerSocialHandles.from_json(json)
+# print the JSON string representation of the object
+print(GetContactsList200ResponseDataInnerSocialHandles.to_json())
+
+# convert the object into a dict
+get_contacts_list200_response_data_inner_social_handles_dict = get_contacts_list200_response_data_inner_social_handles_instance.to_dict()
+# create an instance of GetContactsList200ResponseDataInnerSocialHandles from a dict
+get_contacts_list200_response_data_inner_social_handles_from_dict = GetContactsList200ResponseDataInnerSocialHandles.from_dict(get_contacts_list200_response_data_inner_social_handles_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md b/docs/GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md
new file mode 100644
index 000000000..3b1efa39a
--- /dev/null
+++ b/docs/GetContactsList200ResponseDataInnerSocialHandlesLinkedin.md
@@ -0,0 +1,30 @@
+# GetContactsList200ResponseDataInnerSocialHandlesLinkedin
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**url** | **str** | The url of the user profile | [optional]
+**name** | **str** | The name of the user on the social media | [optional]
+
+## Example
+
+```python
+from unipile.models.get_contacts_list200_response_data_inner_social_handles_linkedin import GetContactsList200ResponseDataInnerSocialHandlesLinkedin
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetContactsList200ResponseDataInnerSocialHandlesLinkedin from a JSON string
+get_contacts_list200_response_data_inner_social_handles_linkedin_instance = GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_json(json)
+# print the JSON string representation of the object
+print(GetContactsList200ResponseDataInnerSocialHandlesLinkedin.to_json())
+
+# convert the object into a dict
+get_contacts_list200_response_data_inner_social_handles_linkedin_dict = get_contacts_list200_response_data_inner_social_handles_linkedin_instance.to_dict()
+# create an instance of GetContactsList200ResponseDataInnerSocialHandlesLinkedin from a dict
+get_contacts_list200_response_data_inner_social_handles_linkedin_from_dict = GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(get_contacts_list200_response_data_inner_social_handles_linkedin_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetContactsList200ResponseDataInnerUser.md b/docs/GetContactsList200ResponseDataInnerUser.md
new file mode 100644
index 000000000..7fdc1bd01
--- /dev/null
+++ b/docs/GetContactsList200ResponseDataInnerUser.md
@@ -0,0 +1,41 @@
+# GetContactsList200ResponseDataInnerUser
+
+For Messaging/Social Providers, the underlying provider user represented by this contact.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | **object** | Provider-specific user data. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_contacts_list200_response_data_inner_user import GetContactsList200ResponseDataInnerUser
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetContactsList200ResponseDataInnerUser from a JSON string
+get_contacts_list200_response_data_inner_user_instance = GetContactsList200ResponseDataInnerUser.from_json(json)
+# print the JSON string representation of the object
+print(GetContactsList200ResponseDataInnerUser.to_json())
+
+# convert the object into a dict
+get_contacts_list200_response_data_inner_user_dict = get_contacts_list200_response_data_inner_user_instance.to_dict()
+# create an instance of GetContactsList200ResponseDataInnerUser from a dict
+get_contacts_list200_response_data_inner_user_from_dict = GetContactsList200ResponseDataInnerUser.from_dict(get_contacts_list200_response_data_inner_user_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetDraftsList200Response.md b/docs/GetDraftsList200Response.md
index ffccf5243..0b6748a30 100644
--- a/docs/GetDraftsList200Response.md
+++ b/docs/GetDraftsList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetDraftsList200ResponseDataInner]**](GetDraftsList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetDraftsList200ResponseDataInner.md b/docs/GetDraftsList200ResponseDataInner.md
index 4d6bdca36..d45faf744 100644
--- a/docs/GetDraftsList200ResponseDataInner.md
+++ b/docs/GetDraftsList200ResponseDataInner.md
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
**cc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | The list of attendees that the email should be CC'd to. | [optional]
**bcc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | The list of attendees that the email should be BCC'd to. | [optional]
**reply_to** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | The list of attendees that the replies should be sent to. | [optional]
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | The attachments of the draft. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | The attachments of the draft. |
**folders** | **List[Optional[str]]** | The folder the draft is in. For Gmail, the labels assigned to the draft. |
**categories** | **List[str]** | List of categories assigned to the draft. | [optional]
diff --git a/docs/GetEmailSenders200Response.md b/docs/GetEmailSenders200Response.md
new file mode 100644
index 000000000..03082e102
--- /dev/null
+++ b/docs/GetEmailSenders200Response.md
@@ -0,0 +1,31 @@
+# GetEmailSenders200Response
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**List[GetEmailSenders200ResponseDataInner]**](GetEmailSenders200ResponseDataInner.md) | |
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
+**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_email_senders200_response import GetEmailSenders200Response
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetEmailSenders200Response from a JSON string
+get_email_senders200_response_instance = GetEmailSenders200Response.from_json(json)
+# print the JSON string representation of the object
+print(GetEmailSenders200Response.to_json())
+
+# convert the object into a dict
+get_email_senders200_response_dict = get_email_senders200_response_instance.to_dict()
+# create an instance of GetEmailSenders200Response from a dict
+get_email_senders200_response_from_dict = GetEmailSenders200Response.from_dict(get_email_senders200_response_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetEmailSenders200ResponseDataInner.md b/docs/GetEmailSenders200ResponseDataInner.md
new file mode 100644
index 000000000..137c802ea
--- /dev/null
+++ b/docs/GetEmailSenders200ResponseDataInner.md
@@ -0,0 +1,35 @@
+# GetEmailSenders200ResponseDataInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | Object type identifier, always \"EmailSender\". |
+**email** | **str** | Email address that can be placed in the `from` header when sending emails. |
+**display_name** | **str** | Display name associated with the address, when the provider exposes one. | [optional]
+**is_primary** | **bool** | Whether this is the primary address of the mailbox (the address used to authenticate the account). |
+**is_default** | **bool** | Whether this is the default \"From:\" address used when composing a new message. Only exposed by providers that have a distinct default sender (Gmail). | [optional]
+**verification_status** | **str** | Readiness of the address for sending. `verified`: the address is confirmed and can be used in the `from` field. `pending`: the email sender exists but has not completed verification and is not ready to send (Gmail custom addresses). `unknown`: the provider does not expose per-address readiness (e.g. Outlook proxy addresses, whose usability depends on the tenant `SendFromAliasEnabled` setting). |
+**signature** | **str** | HTML signature configured for this address, when the provider exposes one (Gmail). It is not appended automatically when sending: include it yourself at the end of the `body`/`html` of the email. Absent when the address has no signature, and not supported by Outlook. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_email_senders200_response_data_inner import GetEmailSenders200ResponseDataInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetEmailSenders200ResponseDataInner from a JSON string
+get_email_senders200_response_data_inner_instance = GetEmailSenders200ResponseDataInner.from_json(json)
+# print the JSON string representation of the object
+print(GetEmailSenders200ResponseDataInner.to_json())
+
+# convert the object into a dict
+get_email_senders200_response_data_inner_dict = get_email_senders200_response_data_inner_instance.to_dict()
+# create an instance of GetEmailSenders200ResponseDataInner from a dict
+get_email_senders200_response_data_inner_from_dict = GetEmailSenders200ResponseDataInner.from_dict(get_email_senders200_response_data_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetEmailsList200Response.md b/docs/GetEmailsList200Response.md
index 65036f9df..f95252eab 100644
--- a/docs/GetEmailsList200Response.md
+++ b/docs/GetEmailsList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetEmailsList200ResponseDataInner]**](GetEmailsList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetEmailsList200ResponseDataInner.md b/docs/GetEmailsList200ResponseDataInner.md
index 1c5ad3c0e..e16197cb9 100644
--- a/docs/GetEmailsList200ResponseDataInner.md
+++ b/docs/GetEmailsList200ResponseDataInner.md
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
**bcc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | The list of attendees that the email was BCC'd to. | [optional]
**reply_to** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | The list of attendees that the replies should be sent to. | [optional]
**var_date** | **str** | The date the email was sent. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | The attachments of the email. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | The attachments of the email. |
**folders** | **List[Optional[str]]** | The IDs of folders the email is in. For Gmail, the IDs of labels assigned to the email. |
**categories** | **List[str]** | List of categories assigned to the email. | [optional]
**is_unread** | **bool** | Is the email unread. |
diff --git a/docs/GetFoldersList200Response.md b/docs/GetFoldersList200Response.md
index 3580c0f85..3228ac066 100644
--- a/docs/GetFoldersList200Response.md
+++ b/docs/GetFoldersList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetFoldersList200ResponseDataInner]**](GetFoldersList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetInboxesList200Response.md b/docs/GetInboxesList200Response.md
index 81113d783..e42c24f0b 100644
--- a/docs/GetInboxesList200Response.md
+++ b/docs/GetInboxesList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetInboxesList200ResponseDataInner]**](GetInboxesList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetManagedCompanyPages200Response.md b/docs/GetManagedCompanyPages200Response.md
new file mode 100644
index 000000000..3b503e93b
--- /dev/null
+++ b/docs/GetManagedCompanyPages200Response.md
@@ -0,0 +1,31 @@
+# GetManagedCompanyPages200Response
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**List[GetManagedCompanyPages200ResponseDataInner]**](GetManagedCompanyPages200ResponseDataInner.md) | |
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
+**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_managed_company_pages200_response import GetManagedCompanyPages200Response
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetManagedCompanyPages200Response from a JSON string
+get_managed_company_pages200_response_instance = GetManagedCompanyPages200Response.from_json(json)
+# print the JSON string representation of the object
+print(GetManagedCompanyPages200Response.to_json())
+
+# convert the object into a dict
+get_managed_company_pages200_response_dict = get_managed_company_pages200_response_instance.to_dict()
+# create an instance of GetManagedCompanyPages200Response from a dict
+get_managed_company_pages200_response_from_dict = GetManagedCompanyPages200Response.from_dict(get_managed_company_pages200_response_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetManagedCompanyPages200ResponseDataInner.md b/docs/GetManagedCompanyPages200ResponseDataInner.md
new file mode 100644
index 000000000..06f560137
--- /dev/null
+++ b/docs/GetManagedCompanyPages200ResponseDataInner.md
@@ -0,0 +1,33 @@
+# GetManagedCompanyPages200ResponseDataInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The ID of the company. |
+**mailbox_id** | **str** | The messaging ID of the company. |
+**name** | **str** | The name of the company. |
+**messaging_enabled** | **bool** | Whether messaging features are enabled for this company. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_managed_company_pages200_response_data_inner import GetManagedCompanyPages200ResponseDataInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetManagedCompanyPages200ResponseDataInner from a JSON string
+get_managed_company_pages200_response_data_inner_instance = GetManagedCompanyPages200ResponseDataInner.from_json(json)
+# print the JSON string representation of the object
+print(GetManagedCompanyPages200ResponseDataInner.to_json())
+
+# convert the object into a dict
+get_managed_company_pages200_response_data_inner_dict = get_managed_company_pages200_response_data_inner_instance.to_dict()
+# create an instance of GetManagedCompanyPages200ResponseDataInner from a dict
+get_managed_company_pages200_response_data_inner_from_dict = GetManagedCompanyPages200ResponseDataInner.from_dict(get_managed_company_pages200_response_data_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetMessage200Response.md b/docs/GetMessage200Response.md
index e683b743d..30f51c2a9 100644
--- a/docs/GetMessage200Response.md
+++ b/docs/GetMessage200Response.md
@@ -21,14 +21,15 @@ Name | Type | Description | Notes
**is_event** | **bool** | Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions. |
**is_mentionned** | **bool** | Is the message mentionning the current user. Usually to notify. |
**event_type** | **float** | The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement | [optional]
-**event_metadata** | [**GetMessagesList200ResponseDataInnerEventMetadata**](GetMessagesList200ResponseDataInnerEventMetadata.md) | | [optional]
-**reactions_counter** | [**List[GetMessagesList200ResponseDataInnerReactionsCounterInner]**](GetMessagesList200ResponseDataInnerReactionsCounterInner.md) | A list of reactions to the element. |
-**sender** | [**GetMessagesList200ResponseDataInnerSender**](GetMessagesList200ResponseDataInnerSender.md) | | [optional]
+**event_metadata** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata**](GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.md) | | [optional]
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | List of message attachments. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of message attachments. |
+**hyperlinks** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.md) | List of message hyperlinks. |
+**specifics** | [**GetMessagesList200ResponseDataInnerSpecifics**](GetMessagesList200ResponseDataInnerSpecifics.md) | | [optional]
+**sender** | [**GetMessagesList200ResponseDataInnerSender**](GetMessagesList200ResponseDataInnerSender.md) | | [optional]
**quoted** | [**GetMessagesList200ResponseDataInnerQuoted**](GetMessagesList200ResponseDataInnerQuoted.md) | | [optional]
**forwarded** | [**GetMessagesList200ResponseDataInnerForwarded**](GetMessagesList200ResponseDataInnerForwarded.md) | | [optional]
-**specifics** | [**GetMessagesList200ResponseDataInnerSpecifics**](GetMessagesList200ResponseDataInnerSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetMessageReactionsList200Response.md b/docs/GetMessageReactionsList200Response.md
index a140e67d5..81d754b36 100644
--- a/docs/GetMessageReactionsList200Response.md
+++ b/docs/GetMessageReactionsList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetMessageReactionsList200ResponseDataInner]**](GetMessageReactionsList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetMessageReactionsList200ResponseDataInner.md b/docs/GetMessageReactionsList200ResponseDataInner.md
index c100dc90d..118d809bf 100644
--- a/docs/GetMessageReactionsList200ResponseDataInner.md
+++ b/docs/GetMessageReactionsList200ResponseDataInner.md
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object** | **str** | |
**value** | **str** | Value of the reaction. Usually an emoji unicode. |
-**sender** | [**GetMessageReactionsList200ResponseDataInnerSender**](GetMessageReactionsList200ResponseDataInnerSender.md) | |
**is_sender** | **bool** | Is the current user the sender of the reaction. |
+**sender** | [**GetChatsList200ResponseDataInnerParticipantsInnerUser**](GetChatsList200ResponseDataInnerParticipantsInnerUser.md) | |
## Example
diff --git a/docs/GetMessagesList200Response.md b/docs/GetMessagesList200Response.md
index 755f85242..1070afe27 100644
--- a/docs/GetMessagesList200Response.md
+++ b/docs/GetMessagesList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetMessagesList200ResponseDataInner]**](GetMessagesList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetMessagesList200ResponseDataInner.md b/docs/GetMessagesList200ResponseDataInner.md
index bcd63f6c7..4ad8de652 100644
--- a/docs/GetMessagesList200ResponseDataInner.md
+++ b/docs/GetMessagesList200ResponseDataInner.md
@@ -21,14 +21,15 @@ Name | Type | Description | Notes
**is_event** | **bool** | Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions. |
**is_mentionned** | **bool** | Is the message mentionning the current user. Usually to notify. |
**event_type** | **float** | The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement | [optional]
-**event_metadata** | [**GetMessagesList200ResponseDataInnerEventMetadata**](GetMessagesList200ResponseDataInnerEventMetadata.md) | | [optional]
-**reactions_counter** | [**List[GetMessagesList200ResponseDataInnerReactionsCounterInner]**](GetMessagesList200ResponseDataInnerReactionsCounterInner.md) | A list of reactions to the element. |
-**sender** | [**GetMessagesList200ResponseDataInnerSender**](GetMessagesList200ResponseDataInnerSender.md) | | [optional]
+**event_metadata** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata**](GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.md) | | [optional]
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
-**attachments** | [**List[GetMessagesList200ResponseDataInnerAttachmentsInner]**](GetMessagesList200ResponseDataInnerAttachmentsInner.md) | List of message attachments. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of message attachments. |
+**hyperlinks** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.md) | List of message hyperlinks. |
+**specifics** | [**GetMessagesList200ResponseDataInnerSpecifics**](GetMessagesList200ResponseDataInnerSpecifics.md) | | [optional]
+**sender** | [**GetMessagesList200ResponseDataInnerSender**](GetMessagesList200ResponseDataInnerSender.md) | | [optional]
**quoted** | [**GetMessagesList200ResponseDataInnerQuoted**](GetMessagesList200ResponseDataInnerQuoted.md) | | [optional]
**forwarded** | [**GetMessagesList200ResponseDataInnerForwarded**](GetMessagesList200ResponseDataInnerForwarded.md) | | [optional]
-**specifics** | [**GetMessagesList200ResponseDataInnerSpecifics**](GetMessagesList200ResponseDataInnerSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetMessagesList200ResponseDataInnerForwarded.md b/docs/GetMessagesList200ResponseDataInnerForwarded.md
index 35cc3880c..3d3c8d40e 100644
--- a/docs/GetMessagesList200ResponseDataInnerForwarded.md
+++ b/docs/GetMessagesList200ResponseDataInnerForwarded.md
@@ -7,9 +7,9 @@ Contains the original message if this message was forwarded from another chat, d
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**text** | **str** | The text content of the message. | [optional]
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | List of message attachments. |
-**sender** | [**GetMessagesList200ResponseDataInnerSender**](GetMessagesList200ResponseDataInnerSender.md) | | [optional]
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of message attachments. |
**object** | **str** | |
+**sender** | [**GetMessagesList200ResponseDataInnerSender**](GetMessagesList200ResponseDataInnerSender.md) | | [optional]
## Example
diff --git a/docs/GetMessagesList200ResponseDataInnerQuoted.md b/docs/GetMessagesList200ResponseDataInnerQuoted.md
index 28fbbd58d..8bf168bb0 100644
--- a/docs/GetMessagesList200ResponseDataInnerQuoted.md
+++ b/docs/GetMessagesList200ResponseDataInnerQuoted.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**object** | **str** | |
**id** | **str** | The unique identifier of the message for the provider. |
**text** | **str** | The text content of the message. | [optional]
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | List of message attachments. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of message attachments. |
**sender** | [**GetMessagesList200ResponseDataInnerSender**](GetMessagesList200ResponseDataInnerSender.md) | | [optional]
## Example
diff --git a/docs/GetMessagesList200ResponseDataInnerSender.md b/docs/GetMessagesList200ResponseDataInnerSender.md
index 180ed3d7b..76033fe88 100644
--- a/docs/GetMessagesList200ResponseDataInnerSender.md
+++ b/docs/GetMessagesList200ResponseDataInnerSender.md
@@ -10,11 +10,14 @@ Name | Type | Description | Notes
**object** | **str** | |
**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
-**display_name** | **str** | Display name of the user. |
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
**profile_url** | **str** | Public url to the profile of the user. | [optional]
**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
**description** | **str** | Description of the user. | [optional]
+**specifics** | [**GetChatsList200ResponseDataInnerUserSpecifics**](GetChatsList200ResponseDataInnerUserSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetParticipantsList200Response.md b/docs/GetParticipantsList200Response.md
index 50ebc9767..704cc6001 100644
--- a/docs/GetParticipantsList200Response.md
+++ b/docs/GetParticipantsList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetChatsList200ResponseDataInnerParticipantsInner]**](GetChatsList200ResponseDataInnerParticipantsInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetPost200Response.md b/docs/GetPost200Response.md
index dc64e616f..a14f467f4 100644
--- a/docs/GetPost200Response.md
+++ b/docs/GetPost200Response.md
@@ -11,19 +11,20 @@ Name | Type | Description | Notes
**created_at** | **str** | The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
**title** | **str** | The title of the post. | [optional]
**text** | **str** | The text content of the post. |
-**author** | [**GetPostsList200ResponseDataInnerAuthor**](GetPostsList200ResponseDataInnerAuthor.md) | |
**user_reacted** | [**GetPostsList200ResponseDataInnerQuotedPostUserReacted**](GetPostsList200ResponseDataInnerQuotedPostUserReacted.md) | |
**permissions** | [**GetPostsList200ResponseDataInnerPermissions**](GetPostsList200ResponseDataInnerPermissions.md) | |
-**reactions_counter** | [**List[GetMessagesList200ResponseDataInnerReactionsCounterInner]**](GetMessagesList200ResponseDataInnerReactionsCounterInner.md) | A list of reactions to the element. |
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
**comments_counter** | **float** | The number of comments to the post. `null` if counter is hidden. |
**reposts_counter** | **float** | The number of reposts of the post. `null` if counter is hidden. |
**poll** | [**GetPostsList200ResponseDataInnerPoll**](GetPostsList200ResponseDataInnerPoll.md) | | [optional]
**event** | [**GetPostsList200ResponseDataInnerEvent**](GetPostsList200ResponseDataInnerEvent.md) | | [optional]
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | List of post attachments. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of post attachments. |
**analytics** | [**GetPostsList200ResponseDataInnerAnalytics**](GetPostsList200ResponseDataInnerAnalytics.md) | | [optional]
**is_repost** | **bool** | `true` if this post is reposted by someone without quote. Quoted post does not qualify as a repost. |
+**author** | [**GetPostsList200ResponseDataInnerAuthor**](GetPostsList200ResponseDataInnerAuthor.md) | |
**reposted_by** | [**GetPostsList200ResponseDataInnerRepostedBy**](GetPostsList200ResponseDataInnerRepostedBy.md) | | [optional]
-**quoted_post** | [**GetPostsList200ResponseDataInnerQuotedPost**](GetPostsList200ResponseDataInnerQuotedPost.md) | | [optional]
+**quoted_post** | [**GetPost200ResponseQuotedPost**](GetPost200ResponseQuotedPost.md) | | [optional]
+**specifics** | [**GetPostsList200ResponseDataInnerSpecifics**](GetPostsList200ResponseDataInnerSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetPost200ResponseQuotedPost.md b/docs/GetPost200ResponseQuotedPost.md
new file mode 100644
index 000000000..9ac324f9e
--- /dev/null
+++ b/docs/GetPost200ResponseQuotedPost.md
@@ -0,0 +1,46 @@
+# GetPost200ResponseQuotedPost
+
+The post that is quoted in this post.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The ID of the post for the provider. |
+**share_url** | **str** | The URL to share the post. |
+**created_at** | **str** | The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
+**title** | **str** | The title of the post. | [optional]
+**text** | **str** | The text content of the post. |
+**user_reacted** | [**GetPostsList200ResponseDataInnerQuotedPostUserReacted**](GetPostsList200ResponseDataInnerQuotedPostUserReacted.md) | |
+**permissions** | [**GetPostsList200ResponseDataInnerPermissions**](GetPostsList200ResponseDataInnerPermissions.md) | |
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
+**comments_counter** | **float** | The number of comments to the post. `null` if counter is hidden. |
+**reposts_counter** | **float** | The number of reposts of the post. `null` if counter is hidden. |
+**poll** | [**GetPostsList200ResponseDataInnerPoll**](GetPostsList200ResponseDataInnerPoll.md) | | [optional]
+**event** | [**GetPostsList200ResponseDataInnerEvent**](GetPostsList200ResponseDataInnerEvent.md) | | [optional]
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of post attachments. |
+**analytics** | [**GetPostsList200ResponseDataInnerAnalytics**](GetPostsList200ResponseDataInnerAnalytics.md) | | [optional]
+**author** | [**GetPostsList200ResponseDataInnerAuthor**](GetPostsList200ResponseDataInnerAuthor.md) | |
+**specifics** | [**GetPostsList200ResponseDataInnerSpecifics**](GetPostsList200ResponseDataInnerSpecifics.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.get_post200_response_quoted_post import GetPost200ResponseQuotedPost
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetPost200ResponseQuotedPost from a JSON string
+get_post200_response_quoted_post_instance = GetPost200ResponseQuotedPost.from_json(json)
+# print the JSON string representation of the object
+print(GetPost200ResponseQuotedPost.to_json())
+
+# convert the object into a dict
+get_post200_response_quoted_post_dict = get_post200_response_quoted_post_instance.to_dict()
+# create an instance of GetPost200ResponseQuotedPost from a dict
+get_post200_response_quoted_post_from_dict = GetPost200ResponseQuotedPost.from_dict(get_post200_response_quoted_post_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetPostCommentsList200Response.md b/docs/GetPostCommentsList200Response.md
index 47a9edf32..7622f89f0 100644
--- a/docs/GetPostCommentsList200Response.md
+++ b/docs/GetPostCommentsList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetPostCommentsList200ResponseDataInner]**](GetPostCommentsList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetPostCommentsList200ResponseDataInner.md b/docs/GetPostCommentsList200ResponseDataInner.md
index 684b8cb53..dfff0408d 100644
--- a/docs/GetPostCommentsList200ResponseDataInner.md
+++ b/docs/GetPostCommentsList200ResponseDataInner.md
@@ -8,14 +8,16 @@ Name | Type | Description | Notes
**object** | **str** | |
**id** | **str** | The ID of the comment. |
**thread_id** | **str** | The ID of the thread if this is a reply to another comment. | [optional]
-**author** | [**GetPostCommentsList200ResponseDataInnerAuthor**](GetPostCommentsList200ResponseDataInnerAuthor.md) | |
**created_at** | **str** | The creation date of the comment. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
**text** | **str** | The text content of the comment. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of comment attachments. |
**is_sender** | **bool** | Is the current user the sender of the comment. |
**can_reply** | **bool** | Whether the current user can reply to the comment or not. |
**can_react** | **bool** | Whether the current user can react to the comment or not. |
**reply_counter** | **float** | The number of replies to the comment. |
-**reactions_counter** | [**List[GetMessagesList200ResponseDataInnerReactionsCounterInner]**](GetMessagesList200ResponseDataInnerReactionsCounterInner.md) | A list of reactions to the element. |
+**impressions_counter** | **float** | The number of impressions of the comment. | [optional]
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
+**author** | [**GetPostCommentsList200ResponseDataInnerAuthor**](GetPostCommentsList200ResponseDataInnerAuthor.md) | |
## Example
diff --git a/docs/GetPostCommentsList200ResponseDataInnerAuthor.md b/docs/GetPostCommentsList200ResponseDataInnerAuthor.md
index 628a3a713..3d18b715e 100644
--- a/docs/GetPostCommentsList200ResponseDataInnerAuthor.md
+++ b/docs/GetPostCommentsList200ResponseDataInnerAuthor.md
@@ -10,11 +10,14 @@ Name | Type | Description | Notes
**object** | **str** | |
**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
-**display_name** | **str** | Display name of the user. |
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
**profile_url** | **str** | Public url to the profile of the user. | [optional]
**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
**description** | **str** | Description of the user. | [optional]
+**specifics** | [**GetChatsList200ResponseDataInnerUserSpecifics**](GetChatsList200ResponseDataInnerUserSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetPostsList200Response.md b/docs/GetPostsList200Response.md
index c3c730fd8..b46666754 100644
--- a/docs/GetPostsList200Response.md
+++ b/docs/GetPostsList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetPostsList200ResponseDataInner]**](GetPostsList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetPostsList200ResponseDataInner.md b/docs/GetPostsList200ResponseDataInner.md
index 844a554af..95177596e 100644
--- a/docs/GetPostsList200ResponseDataInner.md
+++ b/docs/GetPostsList200ResponseDataInner.md
@@ -11,19 +11,20 @@ Name | Type | Description | Notes
**created_at** | **str** | The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
**title** | **str** | The title of the post. | [optional]
**text** | **str** | The text content of the post. |
-**author** | [**GetPostsList200ResponseDataInnerAuthor**](GetPostsList200ResponseDataInnerAuthor.md) | |
**user_reacted** | [**GetPostsList200ResponseDataInnerUserReacted**](GetPostsList200ResponseDataInnerUserReacted.md) | |
**permissions** | [**GetPostsList200ResponseDataInnerPermissions**](GetPostsList200ResponseDataInnerPermissions.md) | |
-**reactions_counter** | [**List[GetMessagesList200ResponseDataInnerReactionsCounterInner]**](GetMessagesList200ResponseDataInnerReactionsCounterInner.md) | A list of reactions to the element. |
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
**comments_counter** | **float** | The number of comments to the post. `null` if counter is hidden. |
**reposts_counter** | **float** | The number of comments to the post. `null` if counter is hidden. |
**poll** | [**GetPostsList200ResponseDataInnerPoll**](GetPostsList200ResponseDataInnerPoll.md) | | [optional]
**event** | [**GetPostsList200ResponseDataInnerEvent**](GetPostsList200ResponseDataInnerEvent.md) | | [optional]
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | List of post attachments. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of post attachments. |
**analytics** | [**GetPostsList200ResponseDataInnerAnalytics**](GetPostsList200ResponseDataInnerAnalytics.md) | | [optional]
**is_repost** | **bool** | `true` if this post is reposted by someone without quote. Quoted post does not qualify as a repost. |
+**author** | [**GetPostsList200ResponseDataInnerAuthor**](GetPostsList200ResponseDataInnerAuthor.md) | |
**reposted_by** | [**GetPostsList200ResponseDataInnerRepostedBy**](GetPostsList200ResponseDataInnerRepostedBy.md) | | [optional]
**quoted_post** | [**GetPostsList200ResponseDataInnerQuotedPost**](GetPostsList200ResponseDataInnerQuotedPost.md) | | [optional]
+**specifics** | [**GetPostsList200ResponseDataInnerSpecifics**](GetPostsList200ResponseDataInnerSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetPostsList200ResponseDataInnerAuthor.md b/docs/GetPostsList200ResponseDataInnerAuthor.md
index 94293cb4c..76af6b746 100644
--- a/docs/GetPostsList200ResponseDataInnerAuthor.md
+++ b/docs/GetPostsList200ResponseDataInnerAuthor.md
@@ -10,11 +10,14 @@ Name | Type | Description | Notes
**object** | **str** | |
**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
-**display_name** | **str** | Display name of the user. |
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
**profile_url** | **str** | Public url to the profile of the user. | [optional]
**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
**description** | **str** | Description of the user. | [optional]
+**specifics** | [**GetChatsList200ResponseDataInnerUserSpecifics**](GetChatsList200ResponseDataInnerUserSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetPostsList200ResponseDataInnerQuotedPost.md b/docs/GetPostsList200ResponseDataInnerQuotedPost.md
index f528e2e75..731e639de 100644
--- a/docs/GetPostsList200ResponseDataInnerQuotedPost.md
+++ b/docs/GetPostsList200ResponseDataInnerQuotedPost.md
@@ -12,16 +12,17 @@ Name | Type | Description | Notes
**created_at** | **str** | The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
**title** | **str** | The title of the post. | [optional]
**text** | **str** | The text content of the post. |
-**author** | [**GetPostsList200ResponseDataInnerAuthor**](GetPostsList200ResponseDataInnerAuthor.md) | |
**user_reacted** | [**GetPostsList200ResponseDataInnerQuotedPostUserReacted**](GetPostsList200ResponseDataInnerQuotedPostUserReacted.md) | |
**permissions** | [**GetPostsList200ResponseDataInnerPermissions**](GetPostsList200ResponseDataInnerPermissions.md) | |
-**reactions_counter** | [**List[GetMessagesList200ResponseDataInnerReactionsCounterInner]**](GetMessagesList200ResponseDataInnerReactionsCounterInner.md) | A list of reactions to the element. |
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
**comments_counter** | **float** | The number of comments to the post. `null` if counter is hidden. |
**reposts_counter** | **float** | The number of reposts of the post. `null` if counter is hidden. |
**poll** | [**GetPostsList200ResponseDataInnerPoll**](GetPostsList200ResponseDataInnerPoll.md) | | [optional]
**event** | [**GetPostsList200ResponseDataInnerEvent**](GetPostsList200ResponseDataInnerEvent.md) | | [optional]
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | List of post attachments. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of post attachments. |
**analytics** | [**GetPostsList200ResponseDataInnerAnalytics**](GetPostsList200ResponseDataInnerAnalytics.md) | | [optional]
+**author** | [**GetPostsList200ResponseDataInnerAuthor**](GetPostsList200ResponseDataInnerAuthor.md) | |
+**specifics** | [**GetPostsList200ResponseDataInnerQuotedPostSpecifics**](GetPostsList200ResponseDataInnerQuotedPostSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetPostsList200ResponseDataInnerQuotedPostSpecifics.md b/docs/GetPostsList200ResponseDataInnerQuotedPostSpecifics.md
new file mode 100644
index 000000000..0f745e2cd
--- /dev/null
+++ b/docs/GetPostsList200ResponseDataInnerQuotedPostSpecifics.md
@@ -0,0 +1,32 @@
+# GetPostsList200ResponseDataInnerQuotedPostSpecifics
+
+Object containing provider-specific post data.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**mentions** | [**List[GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner]**](GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner.md) | | [optional]
+**job_posting** | [**GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting**](GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting.md) | | [optional]
+**article** | [**GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle**](GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics import GetPostsList200ResponseDataInnerQuotedPostSpecifics
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecifics from a JSON string
+get_posts_list200_response_data_inner_quoted_post_specifics_instance = GetPostsList200ResponseDataInnerQuotedPostSpecifics.from_json(json)
+# print the JSON string representation of the object
+print(GetPostsList200ResponseDataInnerQuotedPostSpecifics.to_json())
+
+# convert the object into a dict
+get_posts_list200_response_data_inner_quoted_post_specifics_dict = get_posts_list200_response_data_inner_quoted_post_specifics_instance.to_dict()
+# create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecifics from a dict
+get_posts_list200_response_data_inner_quoted_post_specifics_from_dict = GetPostsList200ResponseDataInnerQuotedPostSpecifics.from_dict(get_posts_list200_response_data_inner_quoted_post_specifics_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle.md b/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle.md
new file mode 100644
index 000000000..5424d07bd
--- /dev/null
+++ b/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle.md
@@ -0,0 +1,36 @@
+# GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle
+
+An article that can be included as an insert in the post.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | The text content of the message, when available. |
+**title** | **str** | Title of the article. |
+**author** | **str** | Author of the article. | [optional]
+**url** | **str** | Public url to the article. | [optional]
+**published_at** | **str** | The publication date of the article. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
+**excerpt** | **str** | A short excerpt of the article content. | [optional]
+**picture_url** | **str** | Public url to the cover picture of the article. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_article import GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle from a JSON string
+get_posts_list200_response_data_inner_quoted_post_specifics_article_instance = GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle.from_json(json)
+# print the JSON string representation of the object
+print(GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle.to_json())
+
+# convert the object into a dict
+get_posts_list200_response_data_inner_quoted_post_specifics_article_dict = get_posts_list200_response_data_inner_quoted_post_specifics_article_instance.to_dict()
+# create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle from a dict
+get_posts_list200_response_data_inner_quoted_post_specifics_article_from_dict = GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle.from_dict(get_posts_list200_response_data_inner_quoted_post_specifics_article_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting.md b/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting.md
new file mode 100644
index 000000000..96c097985
--- /dev/null
+++ b/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting.md
@@ -0,0 +1,33 @@
+# GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting
+
+A job posting that can be included as an insert in the post.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | The text content of the message, when available. |
+**title** | **str** | Title of the job posting. |
+**location** | **str** | Location of the job posting. |
+**company** | [**GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany**](GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany.md) | |
+
+## Example
+
+```python
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_job_posting import GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting from a JSON string
+get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_instance = GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting.from_json(json)
+# print the JSON string representation of the object
+print(GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting.to_json())
+
+# convert the object into a dict
+get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_dict = get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_instance.to_dict()
+# create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting from a dict
+get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_from_dict = GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting.from_dict(get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany.md b/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany.md
new file mode 100644
index 000000000..28ff637f5
--- /dev/null
+++ b/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany.md
@@ -0,0 +1,32 @@
+# GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany
+
+The company that published the job posting.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | The text content of the message, when available. |
+**name** | **str** | The text content of the message, when available. |
+**picture_url** | **str** | Public url to the profile picture of the company. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company import GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany from a JSON string
+get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company_instance = GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany.from_json(json)
+# print the JSON string representation of the object
+print(GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany.to_json())
+
+# convert the object into a dict
+get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company_dict = get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company_instance.to_dict()
+# create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany from a dict
+get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company_from_dict = GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany.from_dict(get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner.md b/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner.md
new file mode 100644
index 000000000..c4f77f451
--- /dev/null
+++ b/docs/GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner.md
@@ -0,0 +1,31 @@
+# GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**url** | **str** | Public URL targeted by the mention. |
+**start** | **float** | Start index of the mention in the post text. |
+**length** | **float** | Length of the mention in the post text. |
+
+## Example
+
+```python
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner import GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner from a JSON string
+get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner_instance = GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner.from_json(json)
+# print the JSON string representation of the object
+print(GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner.to_json())
+
+# convert the object into a dict
+get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner_dict = get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner_instance.to_dict()
+# create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner from a dict
+get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner_from_dict = GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner.from_dict(get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetPostsList200ResponseDataInnerRepostedBy.md b/docs/GetPostsList200ResponseDataInnerRepostedBy.md
index ed9107394..f715fa0da 100644
--- a/docs/GetPostsList200ResponseDataInnerRepostedBy.md
+++ b/docs/GetPostsList200ResponseDataInnerRepostedBy.md
@@ -10,11 +10,14 @@ Name | Type | Description | Notes
**object** | **str** | |
**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
-**display_name** | **str** | Display name of the user. |
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
**profile_url** | **str** | Public url to the profile of the user. | [optional]
**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
**description** | **str** | Description of the user. | [optional]
+**specifics** | [**GetChatsList200ResponseDataInnerUserSpecifics**](GetChatsList200ResponseDataInnerUserSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetPostsList200ResponseDataInnerSpecifics.md b/docs/GetPostsList200ResponseDataInnerSpecifics.md
new file mode 100644
index 000000000..5c2c62085
--- /dev/null
+++ b/docs/GetPostsList200ResponseDataInnerSpecifics.md
@@ -0,0 +1,32 @@
+# GetPostsList200ResponseDataInnerSpecifics
+
+Object containing provider-specific post data.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**mentions** | [**List[GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner]**](GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner.md) | | [optional]
+**job_posting** | [**GetPostsList200ResponseDataInnerSpecificsJobPosting**](GetPostsList200ResponseDataInnerSpecificsJobPosting.md) | | [optional]
+**article** | [**GetPostsList200ResponseDataInnerSpecificsArticle**](GetPostsList200ResponseDataInnerSpecificsArticle.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.get_posts_list200_response_data_inner_specifics import GetPostsList200ResponseDataInnerSpecifics
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetPostsList200ResponseDataInnerSpecifics from a JSON string
+get_posts_list200_response_data_inner_specifics_instance = GetPostsList200ResponseDataInnerSpecifics.from_json(json)
+# print the JSON string representation of the object
+print(GetPostsList200ResponseDataInnerSpecifics.to_json())
+
+# convert the object into a dict
+get_posts_list200_response_data_inner_specifics_dict = get_posts_list200_response_data_inner_specifics_instance.to_dict()
+# create an instance of GetPostsList200ResponseDataInnerSpecifics from a dict
+get_posts_list200_response_data_inner_specifics_from_dict = GetPostsList200ResponseDataInnerSpecifics.from_dict(get_posts_list200_response_data_inner_specifics_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetPostsList200ResponseDataInnerSpecificsArticle.md b/docs/GetPostsList200ResponseDataInnerSpecificsArticle.md
new file mode 100644
index 000000000..e65264dc1
--- /dev/null
+++ b/docs/GetPostsList200ResponseDataInnerSpecificsArticle.md
@@ -0,0 +1,36 @@
+# GetPostsList200ResponseDataInnerSpecificsArticle
+
+An article that can be included as an insert in the post.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the article. |
+**title** | **str** | Title of the article. |
+**author** | **str** | Author of the article. | [optional]
+**url** | **str** | Public url to the article. | [optional]
+**published_at** | **str** | The publication date of the article. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
+**excerpt** | **str** | A short excerpt of the article content. | [optional]
+**picture_url** | **str** | Public url to the cover picture of the article. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_posts_list200_response_data_inner_specifics_article import GetPostsList200ResponseDataInnerSpecificsArticle
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetPostsList200ResponseDataInnerSpecificsArticle from a JSON string
+get_posts_list200_response_data_inner_specifics_article_instance = GetPostsList200ResponseDataInnerSpecificsArticle.from_json(json)
+# print the JSON string representation of the object
+print(GetPostsList200ResponseDataInnerSpecificsArticle.to_json())
+
+# convert the object into a dict
+get_posts_list200_response_data_inner_specifics_article_dict = get_posts_list200_response_data_inner_specifics_article_instance.to_dict()
+# create an instance of GetPostsList200ResponseDataInnerSpecificsArticle from a dict
+get_posts_list200_response_data_inner_specifics_article_from_dict = GetPostsList200ResponseDataInnerSpecificsArticle.from_dict(get_posts_list200_response_data_inner_specifics_article_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetPostsList200ResponseDataInnerSpecificsJobPosting.md b/docs/GetPostsList200ResponseDataInnerSpecificsJobPosting.md
new file mode 100644
index 000000000..9bda05d3a
--- /dev/null
+++ b/docs/GetPostsList200ResponseDataInnerSpecificsJobPosting.md
@@ -0,0 +1,33 @@
+# GetPostsList200ResponseDataInnerSpecificsJobPosting
+
+A job posting that can be included as an insert in the post.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the job posting. |
+**title** | **str** | Title of the job posting. |
+**location** | **str** | Location of the job posting. |
+**company** | [**GetPostsList200ResponseDataInnerSpecificsJobPostingCompany**](GetPostsList200ResponseDataInnerSpecificsJobPostingCompany.md) | |
+
+## Example
+
+```python
+from unipile.models.get_posts_list200_response_data_inner_specifics_job_posting import GetPostsList200ResponseDataInnerSpecificsJobPosting
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetPostsList200ResponseDataInnerSpecificsJobPosting from a JSON string
+get_posts_list200_response_data_inner_specifics_job_posting_instance = GetPostsList200ResponseDataInnerSpecificsJobPosting.from_json(json)
+# print the JSON string representation of the object
+print(GetPostsList200ResponseDataInnerSpecificsJobPosting.to_json())
+
+# convert the object into a dict
+get_posts_list200_response_data_inner_specifics_job_posting_dict = get_posts_list200_response_data_inner_specifics_job_posting_instance.to_dict()
+# create an instance of GetPostsList200ResponseDataInnerSpecificsJobPosting from a dict
+get_posts_list200_response_data_inner_specifics_job_posting_from_dict = GetPostsList200ResponseDataInnerSpecificsJobPosting.from_dict(get_posts_list200_response_data_inner_specifics_job_posting_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetPostsList200ResponseDataInnerSpecificsJobPostingCompany.md b/docs/GetPostsList200ResponseDataInnerSpecificsJobPostingCompany.md
new file mode 100644
index 000000000..e1aa1efd1
--- /dev/null
+++ b/docs/GetPostsList200ResponseDataInnerSpecificsJobPostingCompany.md
@@ -0,0 +1,32 @@
+# GetPostsList200ResponseDataInnerSpecificsJobPostingCompany
+
+The company that published the job posting.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the company. |
+**name** | **str** | Name of the company. |
+**picture_url** | **str** | Public url to the profile picture of the company. | [optional]
+
+## Example
+
+```python
+from unipile.models.get_posts_list200_response_data_inner_specifics_job_posting_company import GetPostsList200ResponseDataInnerSpecificsJobPostingCompany
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetPostsList200ResponseDataInnerSpecificsJobPostingCompany from a JSON string
+get_posts_list200_response_data_inner_specifics_job_posting_company_instance = GetPostsList200ResponseDataInnerSpecificsJobPostingCompany.from_json(json)
+# print the JSON string representation of the object
+print(GetPostsList200ResponseDataInnerSpecificsJobPostingCompany.to_json())
+
+# convert the object into a dict
+get_posts_list200_response_data_inner_specifics_job_posting_company_dict = get_posts_list200_response_data_inner_specifics_job_posting_company_instance.to_dict()
+# create an instance of GetPostsList200ResponseDataInnerSpecificsJobPostingCompany from a dict
+get_posts_list200_response_data_inner_specifics_job_posting_company_from_dict = GetPostsList200ResponseDataInnerSpecificsJobPostingCompany.from_dict(get_posts_list200_response_data_inner_specifics_job_posting_company_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetRecruiterHiringProject200Response.md b/docs/GetRecruiterHiringProject200Response.md
index 8b7a556f6..4f01d116b 100644
--- a/docs/GetRecruiterHiringProject200Response.md
+++ b/docs/GetRecruiterHiringProject200Response.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
**id** | **str** | The ID of the Project. |
**name** | **str** | The name of the Project. |
**readonly** | **bool** | Whether the Project is read only. |
+**archived** | **bool** | Whether the Project has been archived. |
**created_at** | **str** | The date on which the Project was created. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
**last_accessed_at** | **str** | The date on which the Project was last accessed. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
**last_modified_at** | **str** | The date on which the Project was last modified. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
diff --git a/docs/GetRecruiterHiringProjectList200Response.md b/docs/GetRecruiterHiringProjectList200Response.md
index c7322496f..1f8012b86 100644
--- a/docs/GetRecruiterHiringProjectList200Response.md
+++ b/docs/GetRecruiterHiringProjectList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetRecruiterHiringProjectList200ResponseDataInner]**](GetRecruiterHiringProjectList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetRecruiterHiringProjectList200ResponseDataInner.md b/docs/GetRecruiterHiringProjectList200ResponseDataInner.md
index 4fc3caf24..84ee6f2c0 100644
--- a/docs/GetRecruiterHiringProjectList200ResponseDataInner.md
+++ b/docs/GetRecruiterHiringProjectList200ResponseDataInner.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
**id** | **str** | The ID of the Project. |
**name** | **str** | The name of the Project. |
**readonly** | **bool** | Whether the Project is read only. |
+**archived** | **bool** | Whether the Project has been archived. |
**created_at** | **str** | The date on which the Project was created. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
**last_accessed_at** | **str** | The date on which the Project was last accessed. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
**last_modified_at** | **str** | The date on which the Project was last modified. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
diff --git a/docs/GetRecruiterHiringProjectList200ResponseDataInnerMetadataLocationsInner.md b/docs/GetRecruiterHiringProjectList200ResponseDataInnerMetadataLocationsInner.md
index c87d334a0..cfc92773d 100644
--- a/docs/GetRecruiterHiringProjectList200ResponseDataInnerMetadataLocationsInner.md
+++ b/docs/GetRecruiterHiringProjectList200ResponseDataInnerMetadataLocationsInner.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | The name of the Location. |
-**timezone** | **str** | The time zone of the Location. |
+**timezone** | **str** | The time zone of the Location. | [optional]
## Example
diff --git a/docs/GetRecruiterHiringProjectList200ResponseDataInnerOwner.md b/docs/GetRecruiterHiringProjectList200ResponseDataInnerOwner.md
index 47749748d..314153c68 100644
--- a/docs/GetRecruiterHiringProjectList200ResponseDataInnerOwner.md
+++ b/docs/GetRecruiterHiringProjectList200ResponseDataInnerOwner.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**id** | **str** | The ID of the Project owner. |
**seat_id** | **str** | The seat ID of the Project owner. |
**name** | **str** | The name of the Project owner. |
-**email** | **str** | The email address of the Project owner. |
+**email** | **str** | The email address of the Project owner. | [optional]
**profile_url** | **str** | The profile URL of the Project owner. |
**profile_headline** | **str** | The profile headline of the Project owner. |
**public_picture_url** | **str** | The profile picture URL of the Project owner. | [optional]
diff --git a/docs/GetRecruiterJobPostingByProjectId200ResponseCompany.md b/docs/GetRecruiterJobPostingByProjectId200ResponseCompany.md
index 71e9a1ca9..00a6315a2 100644
--- a/docs/GetRecruiterJobPostingByProjectId200ResponseCompany.md
+++ b/docs/GetRecruiterJobPostingByProjectId200ResponseCompany.md
@@ -6,7 +6,7 @@ The budget allocated to the Job posting.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | The ID of the Company. |
+**id** | **str** | The text content of the message, when available. |
**name** | **str** | The budget allocated to the Job posting. |
**public_picture_url** | **str** | The budget allocated to the Job posting. | [optional]
**profile_url** | **str** | The budget allocated to the Job posting. | [optional]
diff --git a/docs/GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInner.md b/docs/GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInner.md
index 4cf1c6dec..2d35f1168 100644
--- a/docs/GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInner.md
+++ b/docs/GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInner.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**question** | **str** | The text of the question. |
**is_eliminatory** | **bool** | Whether an unexpected answer is considered a disqualifying factor. |
-**choices** | [**List[GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInnerChoicesInner]**](GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInnerChoicesInner.md) | A list of choices. |
+**choices** | [**List[GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInnerChoicesInner]**](GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInnerChoicesInner.md) | A list of choices. | [optional]
## Example
diff --git a/docs/GetRecruiterJobPostingList200Response.md b/docs/GetRecruiterJobPostingList200Response.md
index 349b0d7b2..4ac4cf87a 100644
--- a/docs/GetRecruiterJobPostingList200Response.md
+++ b/docs/GetRecruiterJobPostingList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetRecruiterJobPostingList200ResponseDataInner]**](GetRecruiterJobPostingList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetRecruiterPipelineCandidatesRequest.md b/docs/GetRecruiterPipelineCandidatesRequest.md
index 67d2146c9..d5dcf7cb5 100644
--- a/docs/GetRecruiterPipelineCandidatesRequest.md
+++ b/docs/GetRecruiterPipelineCandidatesRequest.md
@@ -10,12 +10,12 @@ Name | Type | Description | Notes
**sort_by** | **str** | The sort method. Native filter : Sort by | [optional]
**spotlights** | **List[str]** | A list of spotlights. | [optional]
**recruiting_activity** | [**GetRecruiterPipelineCandidatesRequestRecruitingActivity**](GetRecruiterPipelineCandidatesRequestRecruitingActivity.md) | | [optional]
-**added_by** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SEAT` type to find out the possible values. Native filter : Added by | [optional]
-**skills** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. Native filter : Skills | [optional]
+**added_by** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SEAT` type to find out the possible values. Native filter : Added by | [optional]
+**skills** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. Native filter : Skills | [optional]
**years_of_experience** | [**List[GetClassicApplicantsRequestYearsOfExperienceInner]**](GetClassicApplicantsRequestYearsOfExperienceInner.md) | A list of years ranges Native filter : Years of experience | [optional]
-**job_title** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. Native filter : Job titles | [optional]
-**current_company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `CURRENT_COMPANY` type to find out the possible values. Native filter : Current companies | [optional]
-**current_location** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Current locations | [optional]
+**job_title** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. Native filter : Job titles | [optional]
+**current_company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `CURRENT_COMPANY` type to find out the possible values. Native filter : Current companies | [optional]
+**current_location** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Current locations | [optional]
## Example
diff --git a/docs/GetRecruiterSearchParametersRequest.md b/docs/GetRecruiterSearchParametersRequest.md
index dad0ade9e..6af343b53 100644
--- a/docs/GetRecruiterSearchParametersRequest.md
+++ b/docs/GetRecruiterSearchParametersRequest.md
@@ -7,12 +7,9 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**source** | **str** | |
**project_id** | **str** | The ID of the Project the Pipeline belongs to. |
-**channel_id** | **str** | In Talent Pool context, the ID of the JOB_POSTING Channel to get parameters from. |
**keywords** | **str** | A keyword or group of keywords to filter results. | [optional]
**type** | **str** | The type of search parameter. |
**stage_id** | **str** | In Pipeline context, the ID of the Stage to get parameters from. Leave undefined to get results from all stages. | [optional]
-**offset** | **float** | An offset used for pagination. | [optional]
-**limit** | **float** | The limit of items to be returned. | [optional] [default to 10]
## Example
diff --git a/docs/GetRecruiterTalentPoolApplicantsRequest.md b/docs/GetRecruiterTalentPoolApplicantsRequest.md
index 465ad941b..86fd99e52 100644
--- a/docs/GetRecruiterTalentPoolApplicantsRequest.md
+++ b/docs/GetRecruiterTalentPoolApplicantsRequest.md
@@ -5,17 +5,16 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**channel_id** | **str** | The ID of the JOB_POSTING channel from the Talent Pool. |
**keywords** | **str** | A keyword or group of keywords. | [optional]
**sort_by** | **str** | The sort method. Native filter : Sort by | [optional]
**spotlights** | **List[str]** | A list of spotlights. | [optional]
-**location** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Current locations | [optional]
+**location** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Current locations | [optional]
**company** | [**GetRecruiterTalentPoolApplicantsRequestCompany**](GetRecruiterTalentPoolApplicantsRequestCompany.md) | | [optional]
-**skills** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. Native filter : Skills | [optional]
+**skills** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. Native filter : Skills | [optional]
**school** | [**GetRecruiterTalentPoolApplicantsRequestSchool**](GetRecruiterTalentPoolApplicantsRequestSchool.md) | | [optional]
-**industry** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. Native filter : Industries | [optional]
-**job_title** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. Native filter : Job titles | [optional]
-**spoken_language** | [**List[GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner]**](GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner.md) | A list of languages. | [optional]
+**industry** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. Native filter : Industries | [optional]
+**job_title** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. Native filter : Job titles | [optional]
+**spoken_language** | [**List[GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner]**](GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner.md) | A list of languages. Only available to Recruiter PRO contracts. Native filter : Spoken languages | [optional]
**spoken_language_proficiency** | **str** | The level of proficiency for the spoken languages. Native filter : Spoken languages proficiency | [optional]
**network_distance** | [**List[GetRecruiterTalentPoolApplicantsRequestNetworkDistanceInner]**](GetRecruiterTalentPoolApplicantsRequestNetworkDistanceInner.md) | A list of connection degrees (1 for First, 2 for Second, 3 for Third+ and GROUP for Common group members). Native filter : Network relationships | [optional]
**years_of_experience** | [**GetRecruiterTalentPoolApplicantsRequestYearsOfExperience**](GetRecruiterTalentPoolApplicantsRequestYearsOfExperience.md) | | [optional]
@@ -24,7 +23,7 @@ Name | Type | Description | Notes
**degree** | [**GetRecruiterTalentPoolApplicantsRequestDegree**](GetRecruiterTalentPoolApplicantsRequestDegree.md) | | [optional]
**field_of_study** | [**GetRecruiterTalentPoolApplicantsRequestFieldOfStudy**](GetRecruiterTalentPoolApplicantsRequestFieldOfStudy.md) | | [optional]
**seniority** | **List[str]** | A list of experience levels. | [optional]
-**job_function** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions | [optional]
+**job_function** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions | [optional]
**current_company** | [**GetRecruiterTalentPoolApplicantsRequestCurrentCompany**](GetRecruiterTalentPoolApplicantsRequestCurrentCompany.md) | | [optional]
**company_size** | [**List[GetRecruiterTalentPoolApplicantsRequestCompanySizeInner]**](GetRecruiterTalentPoolApplicantsRequestCompanySizeInner.md) | A list of company size ranges. | [optional]
**tags** | [**GetRecruiterTalentPoolApplicantsRequestTags**](GetRecruiterTalentPoolApplicantsRequestTags.md) | | [optional]
diff --git a/docs/GetRecruiterTalentPoolApplicantsRequestCompany.md b/docs/GetRecruiterTalentPoolApplicantsRequestCompany.md
index ce6c8736c..8b80cff09 100644
--- a/docs/GetRecruiterTalentPoolApplicantsRequestCompany.md
+++ b/docs/GetRecruiterTalentPoolApplicantsRequestCompany.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
## Example
diff --git a/docs/GetRecruiterTalentPoolApplicantsRequestCurrentCompany.md b/docs/GetRecruiterTalentPoolApplicantsRequestCurrentCompany.md
index 25c39a14b..c9f7753a8 100644
--- a/docs/GetRecruiterTalentPoolApplicantsRequestCurrentCompany.md
+++ b/docs/GetRecruiterTalentPoolApplicantsRequestCurrentCompany.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `CURRENT_COMPANY` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `CURRENT_COMPANY` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `CURRENT_COMPANY` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `CURRENT_COMPANY` type to find out the possible values. | [optional]
## Example
diff --git a/docs/GetRecruiterTalentPoolApplicantsRequestDegree.md b/docs/GetRecruiterTalentPoolApplicantsRequestDegree.md
index 2d32f9a41..2afcab026 100644
--- a/docs/GetRecruiterTalentPoolApplicantsRequestDegree.md
+++ b/docs/GetRecruiterTalentPoolApplicantsRequestDegree.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
## Example
diff --git a/docs/GetRecruiterTalentPoolApplicantsRequestFieldOfStudy.md b/docs/GetRecruiterTalentPoolApplicantsRequestFieldOfStudy.md
index d1ea6777b..4e521e7a6 100644
--- a/docs/GetRecruiterTalentPoolApplicantsRequestFieldOfStudy.md
+++ b/docs/GetRecruiterTalentPoolApplicantsRequestFieldOfStudy.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `FIELD_OF_STUDY` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `FIELD_OF_STUDY` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `FIELD_OF_STUDY` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `FIELD_OF_STUDY` type to find out the possible values. | [optional]
## Example
diff --git a/docs/GetRecruiterTalentPoolApplicantsRequestSchool.md b/docs/GetRecruiterTalentPoolApplicantsRequestSchool.md
index 9ffef73e7..b423e83e8 100644
--- a/docs/GetRecruiterTalentPoolApplicantsRequestSchool.md
+++ b/docs/GetRecruiterTalentPoolApplicantsRequestSchool.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
## Example
diff --git a/docs/GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner.md b/docs/GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner.md
index 7d4072d88..32197ec81 100644
--- a/docs/GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner.md
+++ b/docs/GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner.md
@@ -1,12 +1,11 @@
# GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner
- Native filter : Spoken languages
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SPOKEN_LANGUAGE` type to find out the possible values. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SPOKEN_LANGUAGE` type to find out the possible values. |
**priority** | **str** | Whether the user can, must or shouldn't have the value. Native filter : Priority | [optional] [default to 'CAN_HAVE']
## Example
diff --git a/docs/GetRecruiterTalentPoolApplicantsRequestTags.md b/docs/GetRecruiterTalentPoolApplicantsRequestTags.md
index 4b2cc0fa8..50f35d9bd 100644
--- a/docs/GetRecruiterTalentPoolApplicantsRequestTags.md
+++ b/docs/GetRecruiterTalentPoolApplicantsRequestTags.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `TAG` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `TAG` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `TAG` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `TAG` type to find out the possible values. | [optional]
## Example
diff --git a/docs/GetRelationRequestsList200Response.md b/docs/GetRelationRequestsList200Response.md
index 310314060..9e08d05d7 100644
--- a/docs/GetRelationRequestsList200Response.md
+++ b/docs/GetRelationRequestsList200Response.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**data** | [**List[LinkedInRelationRequest]**](LinkedInRelationRequest.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**data** | [**List[GetRelationRequestsList200ResponseDataInner]**](GetRelationRequestsList200ResponseDataInner.md) | |
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetRelationRequestsList200ResponseDataInner.md b/docs/GetRelationRequestsList200ResponseDataInner.md
new file mode 100644
index 000000000..4b8876701
--- /dev/null
+++ b/docs/GetRelationRequestsList200ResponseDataInner.md
@@ -0,0 +1,34 @@
+# GetRelationRequestsList200ResponseDataInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**type** | **str** | Type of the relation / follow request. - `sent` if the current user has asked another one to be in his relations. - `received` if another user has asked the current one to be in his relations. |
+**id** | **str** | The unique identifier of the invitation for the provider. |
+**created_at** | **str** | Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
+**message** | **str** | Any message that comes with the invitation. | [optional]
+**user** | [**GetRelationRequestsList200ResponseDataInnerUser**](GetRelationRequestsList200ResponseDataInnerUser.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.get_relation_requests_list200_response_data_inner import GetRelationRequestsList200ResponseDataInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetRelationRequestsList200ResponseDataInner from a JSON string
+get_relation_requests_list200_response_data_inner_instance = GetRelationRequestsList200ResponseDataInner.from_json(json)
+# print the JSON string representation of the object
+print(GetRelationRequestsList200ResponseDataInner.to_json())
+
+# convert the object into a dict
+get_relation_requests_list200_response_data_inner_dict = get_relation_requests_list200_response_data_inner_instance.to_dict()
+# create an instance of GetRelationRequestsList200ResponseDataInner from a dict
+get_relation_requests_list200_response_data_inner_from_dict = GetRelationRequestsList200ResponseDataInner.from_dict(get_relation_requests_list200_response_data_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetRelationRequestsList200ResponseDataInnerUser.md b/docs/GetRelationRequestsList200ResponseDataInnerUser.md
new file mode 100644
index 000000000..207391a97
--- /dev/null
+++ b/docs/GetRelationRequestsList200ResponseDataInnerUser.md
@@ -0,0 +1,41 @@
+# GetRelationRequestsList200ResponseDataInnerUser
+
+The user who is the target of the relation / follow request.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | [**GetChatsList200ResponseDataInnerUserSpecifics**](GetChatsList200ResponseDataInnerUserSpecifics.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.get_relation_requests_list200_response_data_inner_user import GetRelationRequestsList200ResponseDataInnerUser
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of GetRelationRequestsList200ResponseDataInnerUser from a JSON string
+get_relation_requests_list200_response_data_inner_user_instance = GetRelationRequestsList200ResponseDataInnerUser.from_json(json)
+# print the JSON string representation of the object
+print(GetRelationRequestsList200ResponseDataInnerUser.to_json())
+
+# convert the object into a dict
+get_relation_requests_list200_response_data_inner_user_dict = get_relation_requests_list200_response_data_inner_user_instance.to_dict()
+# create an instance of GetRelationRequestsList200ResponseDataInnerUser from a dict
+get_relation_requests_list200_response_data_inner_user_from_dict = GetRelationRequestsList200ResponseDataInnerUser.from_dict(get_relation_requests_list200_response_data_inner_user_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GetSalesAccountLists200Response.md b/docs/GetSalesAccountLists200Response.md
index 87615ffcf..a6cda6059 100644
--- a/docs/GetSalesAccountLists200Response.md
+++ b/docs/GetSalesAccountLists200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetSalesAccountLists200ResponseDataInner]**](GetSalesAccountLists200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetSalesLeadLists200Response.md b/docs/GetSalesLeadLists200Response.md
index c4fddd414..00ed8202e 100644
--- a/docs/GetSalesLeadLists200Response.md
+++ b/docs/GetSalesLeadLists200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetSalesLeadLists200ResponseDataInner]**](GetSalesLeadLists200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetThread200ResponseEmailsInner.md b/docs/GetThread200ResponseEmailsInner.md
index ffaa27aa9..daf9cd6d8 100644
--- a/docs/GetThread200ResponseEmailsInner.md
+++ b/docs/GetThread200ResponseEmailsInner.md
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
**bcc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | The list of attendees that the email was BCC'd to. | [optional]
**reply_to** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | The list of attendees that the replies should be sent to. | [optional]
**var_date** | **str** | The date the email was sent. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | The attachments of the email. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | The attachments of the email. |
**folders** | **List[str]** | The IDs of folders the email is in. For Gmail, the IDs of labels assigned to the email. |
**categories** | **List[str]** | List of categories assigned to the email. | [optional]
**is_unread** | **bool** | Is the email unread. |
diff --git a/docs/GetUserCommentsList200Response.md b/docs/GetUserCommentsList200Response.md
index 0e4edc3c8..4d96faf1f 100644
--- a/docs/GetUserCommentsList200Response.md
+++ b/docs/GetUserCommentsList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetUserCommentsList200ResponseDataInner]**](GetUserCommentsList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetUserCommentsList200ResponseDataInner.md b/docs/GetUserCommentsList200ResponseDataInner.md
index 877c84fcb..7ea7500c1 100644
--- a/docs/GetUserCommentsList200ResponseDataInner.md
+++ b/docs/GetUserCommentsList200ResponseDataInner.md
@@ -8,14 +8,16 @@ Name | Type | Description | Notes
**object** | **str** | |
**id** | **str** | The ID of the comment. |
**thread_id** | **str** | The ID of the thread if this is a reply to another comment. | [optional]
-**author** | [**GetPostCommentsList200ResponseDataInnerAuthor**](GetPostCommentsList200ResponseDataInnerAuthor.md) | |
**created_at** | **str** | The creation date of the comment. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
**text** | **str** | The text content of the comment. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of comment attachments. |
**is_sender** | **bool** | Is the current user the sender of the comment. |
**can_reply** | **bool** | Whether the current user can reply to the comment or not. |
**can_react** | **bool** | Whether the current user can react to the comment or not. |
**reply_counter** | **float** | The number of replies to the comment. |
-**reactions_counter** | [**List[GetMessagesList200ResponseDataInnerReactionsCounterInner]**](GetMessagesList200ResponseDataInnerReactionsCounterInner.md) | A list of reactions to the element. |
+**impressions_counter** | **float** | The number of impressions of the comment. | [optional]
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
+**author** | [**GetPostCommentsList200ResponseDataInnerAuthor**](GetPostCommentsList200ResponseDataInnerAuthor.md) | |
**parent_post** | [**GetUserCommentsList200ResponseDataInnerParentPost**](GetUserCommentsList200ResponseDataInnerParentPost.md) | |
## Example
diff --git a/docs/GetUserCommentsList200ResponseDataInnerParentPost.md b/docs/GetUserCommentsList200ResponseDataInnerParentPost.md
index 4b51f73d7..029e3b784 100644
--- a/docs/GetUserCommentsList200ResponseDataInnerParentPost.md
+++ b/docs/GetUserCommentsList200ResponseDataInnerParentPost.md
@@ -9,13 +9,13 @@ Name | Type | Description | Notes
**id** | **str** | The ID of the post for the provider. |
**share_url** | **str** | The URL to share the post. |
**text** | **str** | The text content of the post. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of post attachments. |
**author** | [**GetPostsList200ResponseDataInnerAuthor**](GetPostsList200ResponseDataInnerAuthor.md) | |
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | List of post attachments. |
**created_at** | **str** | The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
**title** | **str** | The title of the post. | [optional]
**user_reacted** | [**GetPostsList200ResponseDataInnerQuotedPostUserReacted**](GetPostsList200ResponseDataInnerQuotedPostUserReacted.md) | |
**permissions** | [**GetPostsList200ResponseDataInnerPermissions**](GetPostsList200ResponseDataInnerPermissions.md) | |
-**reactions_counter** | [**List[GetMessagesList200ResponseDataInnerReactionsCounterInner]**](GetMessagesList200ResponseDataInnerReactionsCounterInner.md) | A list of reactions to the element. |
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
**comments_counter** | **float** | The number of comments to the post. `null` if counter is hidden. |
**reposts_counter** | **float** | The number of reposts of the post. `null` if counter is hidden. |
**poll** | [**GetPostsList200ResponseDataInnerPoll**](GetPostsList200ResponseDataInnerPoll.md) | | [optional]
@@ -23,7 +23,8 @@ Name | Type | Description | Notes
**analytics** | [**GetPostsList200ResponseDataInnerAnalytics**](GetPostsList200ResponseDataInnerAnalytics.md) | | [optional]
**is_repost** | **bool** | `true` if this post is reposted by someone without quote. Quoted post does not qualify as a repost. |
**reposted_by** | [**GetPostsList200ResponseDataInnerRepostedBy**](GetPostsList200ResponseDataInnerRepostedBy.md) | | [optional]
-**quoted_post** | [**GetPostsList200ResponseDataInnerQuotedPost**](GetPostsList200ResponseDataInnerQuotedPost.md) | | [optional]
+**quoted_post** | [**GetPost200ResponseQuotedPost**](GetPost200ResponseQuotedPost.md) | | [optional]
+**specifics** | [**GetPostsList200ResponseDataInnerSpecifics**](GetPostsList200ResponseDataInnerSpecifics.md) | | [optional]
## Example
diff --git a/docs/GetUserCommentsList200ResponseDataInnerParentPostAnyOf.md b/docs/GetUserCommentsList200ResponseDataInnerParentPostAnyOf.md
index d8f6b5ee7..a352ec401 100644
--- a/docs/GetUserCommentsList200ResponseDataInnerParentPostAnyOf.md
+++ b/docs/GetUserCommentsList200ResponseDataInnerParentPostAnyOf.md
@@ -1,6 +1,5 @@
# GetUserCommentsList200ResponseDataInnerParentPostAnyOf
-The amount of available data may vary depending on the provider.
## Properties
@@ -10,8 +9,8 @@ Name | Type | Description | Notes
**id** | **str** | The ID of the post for the provider. |
**share_url** | **str** | The URL to share the post. | [optional]
**text** | **str** | The text content of the post. | [optional]
-**author** | [**GetPostsList200ResponseDataInnerAuthor**](GetPostsList200ResponseDataInnerAuthor.md) | | [optional]
**attachments** | [**List[GetUserCommentsList200ResponseDataInnerParentPostAnyOfAttachmentsInner]**](GetUserCommentsList200ResponseDataInnerParentPostAnyOfAttachmentsInner.md) | Attachments of the parent post (e.g. post image). | [optional]
+**author** | [**GetPostsList200ResponseDataInnerAuthor**](GetPostsList200ResponseDataInnerAuthor.md) | | [optional]
## Example
diff --git a/docs/GetUserProfile200Response.md b/docs/GetUserProfile200Response.md
index 087bae865..28a6f2f8a 100644
--- a/docs/GetUserProfile200Response.md
+++ b/docs/GetUserProfile200Response.md
@@ -9,15 +9,16 @@ Name | Type | Description | Notes
**object** | **str** | |
**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
-**display_name** | **str** | Display name of the user. |
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
**profile_url** | **str** | Public url to the profile of the user. | [optional]
**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
**description** | **str** | Description of the user. | [optional]
+**specifics** | [**GetUserProfile200ResponseSpecifics**](GetUserProfile200ResponseSpecifics.md) | |
**background_picture_url** | **str** | URL of the user's background / banner picture. | [optional]
**public_picture_url_large** | **str** | URL of the user's public picture in large size. | [optional]
-**first_name** | **str** | First name of the user. | [optional]
-**last_name** | **str** | Last name of the user. | [optional]
**birth_date** | **str** | Birth date of the user. | [optional]
**addresses** | **List[Optional[str]]** | List of user addresses. | [optional]
**emails** | **List[str]** | List of user email addresses. | [optional]
@@ -26,7 +27,7 @@ Name | Type | Description | Notes
**bio** | **str** | Biography of the user. | [optional]
**location** | **str** | Location of the user. | [optional]
**muted_until** | **str** | Date and time until when the user is muted. | [optional]
-**following** | **bool** | Whether the user is followed by the current user. | [optional]
+**is_following** | **bool** | Whether the user is followed by the current user. | [optional]
**followers_count** | **float** | Number of followers of the user. | [optional]
**following_count** | **float** | Number of users followed by the user. | [optional]
**relations_count** | **float** | Number of relations of the user. | [optional]
@@ -34,8 +35,7 @@ Name | Type | Description | Notes
**shared_followers_count** | **float** | Number of following users that follows the given profile. | [optional]
**is_blocked** | **bool** | Whether the user is blocked by the current user. |
**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
-**specifics** | [**GetUserProfile200ResponseSpecifics**](GetUserProfile200ResponseSpecifics.md) | |
-**social_handles** | [**GetEmailContactsList200ResponseDataInnerSocialHandles**](GetEmailContactsList200ResponseDataInnerSocialHandles.md) | | [optional]
+**social_handles** | [**GetContactsList200ResponseDataInnerSocialHandles**](GetContactsList200ResponseDataInnerSocialHandles.md) | | [optional]
**websites** | **List[str]** | List of user websites. | [optional]
## Example
diff --git a/docs/GetUserProfile200ResponseSpecifics.md b/docs/GetUserProfile200ResponseSpecifics.md
index 1f26fd3b9..66e7e868c 100644
--- a/docs/GetUserProfile200ResponseSpecifics.md
+++ b/docs/GetUserProfile200ResponseSpecifics.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
**member_id** | **str** | LinkedIn internal member ID of the user. | [optional]
**can_send_inmail** | **bool** | Whether the user can be reached with inmails. | [optional]
**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' |
-**relation_request** | [**LinkedInRelationRequest**](LinkedInRelationRequest.md) | | [optional]
+**relation_request** | [**LinkedIn1RelationRequest**](LinkedIn1RelationRequest.md) | | [optional]
**relation_request_status** | **str** | The status of the relation request with the user if any. | [optional]
**pronoun** | **str** | The pronoun to be used to refer to this user. | [optional]
**default_locale** | **str** | Default locale for the user's profile (POSIX format e.g. en_US, fr_FR...). | [optional]
@@ -22,17 +22,19 @@ Name | Type | Description | Notes
**is_open_to_work** | **bool** | Whether the user is open to work. | [optional]
**is_saved_lead** | **bool** | Whether the user is a saved lead. | [optional]
**is_crm_imported** | **bool** | Whether the user is a CRM imported user. | [optional]
-**skills** | [**List[LinkedInSkillsInner]**](LinkedInSkillsInner.md) | | [optional]
-**experience** | [**List[LinkedInExperienceInner]**](LinkedInExperienceInner.md) | | [optional]
-**education** | [**List[LinkedInEducationInner]**](LinkedInEducationInner.md) | | [optional]
-**languages** | [**List[LinkedInLanguagesInner]**](LinkedInLanguagesInner.md) | | [optional]
-**certifications** | [**List[LinkedInCertificationsInner]**](LinkedInCertificationsInner.md) | | [optional]
-**volunteer_experience** | [**List[LinkedInVolunteerExperienceInner]**](LinkedInVolunteerExperienceInner.md) | | [optional]
-**projects** | [**List[LinkedInProjectsInner]**](LinkedInProjectsInner.md) | | [optional]
-**recommendations** | [**LinkedInRecommendations**](LinkedInRecommendations.md) | | [optional]
+**skills** | [**List[LinkedIn1SkillsInner]**](LinkedIn1SkillsInner.md) | A collection of the user's skills. | [optional]
+**experience** | [**List[LinkedIn1ExperienceInner]**](LinkedIn1ExperienceInner.md) | A collection of the user's professionnal experiences. | [optional]
+**education** | [**List[LinkedIn1EducationInner]**](LinkedIn1EducationInner.md) | A collection of the user's education. | [optional]
+**languages** | [**List[LinkedIn1LanguagesInner]**](LinkedIn1LanguagesInner.md) | A collection of the user's languages. | [optional]
+**certifications** | [**List[LinkedIn1CertificationsInner]**](LinkedIn1CertificationsInner.md) | A collection of the user's certifications. | [optional]
+**volunteer_experience** | [**List[LinkedIn1VolunteerExperienceInner]**](LinkedIn1VolunteerExperienceInner.md) | A collection of the user's volunteering experiences. | [optional]
+**projects** | [**List[LinkedIn1ProjectsInner]**](LinkedIn1ProjectsInner.md) | A collection of the user's projects. | [optional]
+**recommendations** | [**LinkedIn1Recommendations**](LinkedIn1Recommendations.md) | | [optional]
+**interests** | [**LinkedIn1Interests**](LinkedIn1Interests.md) | | [optional]
**throttled_sections** | **List[str]** | A list of sections that are temporary unavailable due to LinkedIn rate limiting. | [optional]
-**recruiting_profile** | [**LinkedInRecruitingProfile**](LinkedInRecruitingProfile.md) | | [optional]
-**messaging_identifier** | **str** | The ID of the Company. |
+**recruiting_profile** | [**LinkedIn1RecruitingProfile**](LinkedIn1RecruitingProfile.md) | | [optional]
+**messaging_identifier** | **str** | The text content of the message, when available. |
+**contact_name** | **str** | Name saved by the connected account owner in their WhatsApp address book. | [optional]
## Example
diff --git a/docs/GetUserReactionsList200Response.md b/docs/GetUserReactionsList200Response.md
index 14e2894e1..4f9b32886 100644
--- a/docs/GetUserReactionsList200Response.md
+++ b/docs/GetUserReactionsList200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetUserReactionsList200ResponseDataInner]**](GetUserReactionsList200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetUserReactionsList200ResponseDataInner.md b/docs/GetUserReactionsList200ResponseDataInner.md
index cb91bde27..e5493cb35 100644
--- a/docs/GetUserReactionsList200ResponseDataInner.md
+++ b/docs/GetUserReactionsList200ResponseDataInner.md
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object** | **str** | |
**value** | **str** | Value of the reaction. Usually an emoji unicode. |
-**sender** | [**GetMessageReactionsList200ResponseDataInnerSender**](GetMessageReactionsList200ResponseDataInnerSender.md) | |
**is_sender** | **bool** | Is the current user the sender of the reaction. |
+**sender** | [**GetChatsList200ResponseDataInnerParticipantsInnerUser**](GetChatsList200ResponseDataInnerParticipantsInnerUser.md) | |
**parent_post** | [**GetUserCommentsList200ResponseDataInnerParentPost**](GetUserCommentsList200ResponseDataInnerParentPost.md) | |
## Example
diff --git a/docs/GetUserRelations200Response.md b/docs/GetUserRelations200Response.md
index b1b09148d..b12290bba 100644
--- a/docs/GetUserRelations200Response.md
+++ b/docs/GetUserRelations200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[GetUserRelations200ResponseDataInner]**](GetUserRelations200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/GetUserRelations200ResponseDataInner.md b/docs/GetUserRelations200ResponseDataInner.md
index ace59c0d3..a905e5e40 100644
--- a/docs/GetUserRelations200ResponseDataInner.md
+++ b/docs/GetUserRelations200ResponseDataInner.md
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | Unique identifier of the user relation for the provider. Usually an internal identifier used by the API only. |
**object** | **str** | |
-**user** | [**GetUserRelations200ResponseDataInnerUser**](GetUserRelations200ResponseDataInnerUser.md) | |
**created_at** | **str** | Date and time when the relation was created. | [optional]
+**user** | [**GetUserRelations200ResponseDataInnerUser**](GetUserRelations200ResponseDataInnerUser.md) | |
## Example
diff --git a/docs/GetUserRelations200ResponseDataInnerUser.md b/docs/GetUserRelations200ResponseDataInnerUser.md
index 25b2e0ec6..c9769b20d 100644
--- a/docs/GetUserRelations200ResponseDataInnerUser.md
+++ b/docs/GetUserRelations200ResponseDataInnerUser.md
@@ -10,11 +10,14 @@ Name | Type | Description | Notes
**object** | **str** | |
**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
-**display_name** | **str** | Display name of the user. |
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
**profile_url** | **str** | Public url to the profile of the user. | [optional]
**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
**description** | **str** | Description of the user. | [optional]
+**specifics** | [**GetChatsList200ResponseDataInnerUserSpecifics**](GetChatsList200ResponseDataInnerUserSpecifics.md) | | [optional]
## Example
diff --git a/docs/IMAPConfig.md b/docs/IMAPConfig.md
index 547f2adb9..06a88a47c 100644
--- a/docs/IMAPConfig.md
+++ b/docs/IMAPConfig.md
@@ -7,7 +7,7 @@ IMAP specific configuration.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**custom_proxy** | [**CustomProxy**](CustomProxy.md) | | [optional]
-**initial_sync_enable** | **bool** | Whether the initial sync should be enabled. The initial sync is required to perform advanced search. Read more in the Synced Accounts guide. | [default to False]
+**initial_sync_enable** | **bool** | Whether the initial sync should be enabled. The initial sync is required to perform advanced search. Read more in the Synced Accounts guide. | [optional] [default to False]
## Example
diff --git a/docs/Image.md b/docs/Image.md
index f7620d6cb..192688906 100644
--- a/docs/Image.md
+++ b/docs/Image.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**object** | **str** | |
**id** | **str** | The unique identifier of the attachment for the provider. |
**file_size** | **float** | The size of the attachment in bytes. | [optional]
+**is_inline** | **bool** | Is the attachment inline in the content. |
**is_unavailable** | **bool** | The attachment is not available for download because it was removed from provider servers. | [optional]
**mimetype** | **str** | The MIME type of the attachment. |
**url** | **str** | The URL to download the attachment. |
diff --git a/docs/Image1.md b/docs/Image1.md
index 5f0387467..c33edcb10 100644
--- a/docs/Image1.md
+++ b/docs/Image1.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**object** | **str** | |
**id** | **str** | The unique identifier of the attachment for the provider. |
**file_size** | **float** | The size of the attachment in bytes. | [optional]
+**is_inline** | **bool** | Is the attachment inline in the content. |
**is_unavailable** | **bool** | The attachment is not available for download because it was removed from provider servers. | [optional]
**mimetype** | **str** | The MIME type of the attachment. |
**url** | **str** | The URL to download the attachment. |
diff --git a/docs/Instagram.md b/docs/Instagram.md
index 6411b47cd..0e8ac1998 100644
--- a/docs/Instagram.md
+++ b/docs/Instagram.md
@@ -6,7 +6,7 @@ Instagram specific dataset for user profiles.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**messaging_identifier** | **str** | The ID of the Company. |
+**messaging_identifier** | **str** | The text content of the message, when available. |
## Example
diff --git a/docs/JobsSearchResults.md b/docs/JobsSearchResults.md
index c88cb3d21..5db9fa86c 100644
--- a/docs/JobsSearchResults.md
+++ b/docs/JobsSearchResults.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[JobsSearchResultsDataInner]**](JobsSearchResultsDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/JobsSearchResults1.md b/docs/JobsSearchResults1.md
new file mode 100644
index 000000000..35297d290
--- /dev/null
+++ b/docs/JobsSearchResults1.md
@@ -0,0 +1,31 @@
+# JobsSearchResults1
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**List[JobsSearchResults1DataInner]**](JobsSearchResults1DataInner.md) | |
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
+**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
+
+## Example
+
+```python
+from unipile.models.jobs_search_results1 import JobsSearchResults1
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of JobsSearchResults1 from a JSON string
+jobs_search_results1_instance = JobsSearchResults1.from_json(json)
+# print the JSON string representation of the object
+print(JobsSearchResults1.to_json())
+
+# convert the object into a dict
+jobs_search_results1_dict = jobs_search_results1_instance.to_dict()
+# create an instance of JobsSearchResults1 from a dict
+jobs_search_results1_from_dict = JobsSearchResults1.from_dict(jobs_search_results1_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/JobsSearchResults1DataInner.md b/docs/JobsSearchResults1DataInner.md
new file mode 100644
index 000000000..66448539d
--- /dev/null
+++ b/docs/JobsSearchResults1DataInner.md
@@ -0,0 +1,41 @@
+# JobsSearchResults1DataInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The ID of the Job posting. |
+**title** | **str** | The title of the Job posting. |
+**location** | **str** | The location of the Job posting. | [optional]
+**listed_at** | **str** | The creation date of the Job posting. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
+**workplace_type** | **str** | The type of workplace of the Job posting. | [optional]
+**url** | **str** | The URL of the Job posting. |
+**is_repost** | **bool** | Whether the Job posting is a repost. |
+**is_promoted** | **bool** | Whether the Job posting has been promoted. |
+**easy_apply** | **bool** | Whether applicants are allowed to apply to the Job posting directly on LinkedIn. |
+**few_applicants** | **bool** | Whether the Job posting received a limited number of applications. |
+**company** | [**JobsSearchResultsDataInnerCompany**](JobsSearchResultsDataInnerCompany.md) | |
+**insights** | **List[str]** | A list of insights about the Job posting. |
+
+## Example
+
+```python
+from unipile.models.jobs_search_results1_data_inner import JobsSearchResults1DataInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of JobsSearchResults1DataInner from a JSON string
+jobs_search_results1_data_inner_instance = JobsSearchResults1DataInner.from_json(json)
+# print the JSON string representation of the object
+print(JobsSearchResults1DataInner.to_json())
+
+# convert the object into a dict
+jobs_search_results1_data_inner_dict = jobs_search_results1_data_inner_instance.to_dict()
+# create an instance of JobsSearchResults1DataInner from a dict
+jobs_search_results1_data_inner_from_dict = JobsSearchResults1DataInner.from_dict(jobs_search_results1_data_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/JobsSourced.md b/docs/JobsSourced.md
index 2ec01c7a4..97483f503 100644
--- a/docs/JobsSourced.md
+++ b/docs/JobsSourced.md
@@ -8,8 +8,6 @@ Name | Type | Description | Notes
**source** | **str** | |
**keywords** | **str** | A keyword or group of keywords to filter results. | [optional]
**type** | **str** | The type of search parameter. |
-**offset** | **float** | An offset used for pagination. | [optional]
-**limit** | **float** | The limit of items to be returned. | [optional] [default to 10]
## Example
diff --git a/docs/LeadList.md b/docs/LeadList.md
index a7acfe1ab..43bc250b8 100644
--- a/docs/LeadList.md
+++ b/docs/LeadList.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[LeadListDataInner]**](LeadListDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/LeadListDataInner.md b/docs/LeadListDataInner.md
index 0b8affcc1..7b5476c1a 100644
--- a/docs/LeadListDataInner.md
+++ b/docs/LeadListDataInner.md
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
**public_picture_url_large** | **str** | The public picture URL of the User in large size. | [optional]
**relations_count** | **float** | The number of relations of the User. | [optional]
**location** | **str** | The location of the User. | [optional]
-**headline** | **str** | The headline of the User. |
+**headline** | **str** | The headline of the User. | [optional]
**network_distance** | [**PeopleSearch1DataInnerNetworkDistance**](PeopleSearch1DataInnerNetworkDistance.md) | |
**can_send_inmail** | **bool** | Whether it is possible to send an inMail to this User. | [optional]
**shared_relations_count** | **float** | The number of relations that you share with the User. | [optional]
@@ -37,8 +37,8 @@ Name | Type | Description | Notes
**education** | [**List[FullProfileEducationInner]**](FullProfileEducationInner.md) | |
**skills** | [**List[FullProfileSkillsInner]**](FullProfileSkillsInner.md) | |
**work_experience** | [**List[PartialProfileWorkExperienceInner]**](PartialProfileWorkExperienceInner.md) | |
-**languages** | [**List[LinkedInLanguagesInner]**](LinkedInLanguagesInner.md) | |
-**volunteering** | [**List[LinkedInVolunteerExperienceInner]**](LinkedInVolunteerExperienceInner.md) | |
+**languages** | [**List[LinkedIn1LanguagesInner]**](LinkedIn1LanguagesInner.md) | |
+**volunteering** | [**List[LinkedIn1VolunteerExperienceInner]**](LinkedIn1VolunteerExperienceInner.md) | |
**object** | **str** | |
**saved_at** | **str** | The date on which the Lead was saved. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
**associated_account** | [**LeadListDataInnerAllOfAssociatedAccount**](LeadListDataInnerAllOfAssociatedAccount.md) | | [optional]
diff --git a/docs/Link.md b/docs/Link.md
index 1fb5df521..b85a1f39e 100644
--- a/docs/Link.md
+++ b/docs/Link.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**last_updated_at** | **str** | The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
-**last_updated_by** | [**LinkedInProjectsInnerContributorsInner**](LinkedInProjectsInnerContributorsInner.md) | |
+**last_updated_by** | [**LinkedIn1InterestsTopVoicesInner**](LinkedIn1InterestsTopVoicesInner.md) | |
**event** | **str** | The type of event. |
**link_content** | **str** | The URL of the link. |
diff --git a/docs/LinkNewAccountConfig.md b/docs/LinkNewAccountConfig.md
index b7d3ed3e3..7cb6aeaab 100644
--- a/docs/LinkNewAccountConfig.md
+++ b/docs/LinkNewAccountConfig.md
@@ -6,10 +6,10 @@ Specific provider configuration for the hosted auth session.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**google** | [**LinkNewAccountConfigGoogle**](LinkNewAccountConfigGoogle.md) | | [optional]
-**outlook** | [**LinkNewAccountConfigGoogle**](LinkNewAccountConfigGoogle.md) | | [optional]
+**google** | [**OauthOutlookGoogleConfig**](OauthOutlookGoogleConfig.md) | | [optional]
+**outlook** | [**OauthOutlookGoogleConfig**](OauthOutlookGoogleConfig.md) | | [optional]
**linkedin** | [**LinkNewAccountConfigLinkedin**](LinkNewAccountConfigLinkedin.md) | | [optional]
-**whatsapp** | [**WhatsAppConfig**](WhatsAppConfig.md) | | [optional]
+**whatsapp** | [**WhatsApp2Config**](WhatsApp2Config.md) | | [optional]
**instagram** | [**Instagram1Config**](Instagram1Config.md) | | [optional]
**imap** | [**LinkNewAccountConfigImap**](LinkNewAccountConfigImap.md) | | [optional]
**telegram** | [**TelegramConfig**](TelegramConfig.md) | | [optional]
diff --git a/docs/LinkNewAccountConfigImap.md b/docs/LinkNewAccountConfigImap.md
index 9fbd83f96..48ea71862 100644
--- a/docs/LinkNewAccountConfigImap.md
+++ b/docs/LinkNewAccountConfigImap.md
@@ -7,7 +7,7 @@ IMAP specific configuration.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**custom_proxy** | [**CustomProxy**](CustomProxy.md) | | [optional]
-**initial_sync_enable** | **bool** | Whether the initial sync should be enabled. The initial sync is required to perform advanced search. Read more in the Synced Accounts guide. | [default to False]
+**initial_sync_enable** | **bool** | Whether the initial sync should be enabled. The initial sync is required to perform advanced search. Read more in the Synced Accounts guide. | [optional] [default to False]
## Example
diff --git a/docs/LinkNewAccountConfigLinkedin.md b/docs/LinkNewAccountConfigLinkedin.md
index 252492785..42a0cbd51 100644
--- a/docs/LinkNewAccountConfigLinkedin.md
+++ b/docs/LinkNewAccountConfigLinkedin.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**custom_proxy** | [**CustomProxy1**](CustomProxy1.md) | | [optional]
**auto_proxy_config** | [**AutomaticProxyConfiguration**](AutomaticProxyConfiguration.md) | | [optional]
-**products** | **List[str]** | Specifies which LinkedIn products to connect to (if available on the users account). This allows you to disable access to certain product data within Unipile and avoid receiving events related to them. Note: This field does not require the user to be subscribed to the selected products — accounts without access will still be linked successfully. ⚠️ If you plan to access `recruiter` data, we recommend using the Cookie Authentication method for better compatibility. Leave undefined when re-authenticating an already linked account to keep the original configuration or specify a new list of products to augment / reduce the scope. `classic` : LinkedInSocial network `recruiter` : Recruiter `sales_navigator` : Sales navigator `company` : Company Pages | [optional] [default to [classic]]
+**products** | [**LinkedIn2ConfigProducts**](LinkedIn2ConfigProducts.md) | | [optional]
**allow_methods** | **List[str]** | The authentication methods to show in the hosted auth. `credentials` : Credentials Authentication `cookies` : Cookies Authentication | [optional] [default to ["credentials"]]
## Example
diff --git a/docs/LinkedIn.md b/docs/LinkedIn.md
index a6399a44f..d6804a79a 100644
--- a/docs/LinkedIn.md
+++ b/docs/LinkedIn.md
@@ -1,38 +1,22 @@
# LinkedIn
-LinkedIn specific dataset for user profiles.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**member_id** | **str** | LinkedIn internal member ID of the user. | [optional]
-**can_send_inmail** | **bool** | Whether the user can be reached with inmails. | [optional]
-**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' |
-**relation_request** | [**LinkedInRelationRequest**](LinkedInRelationRequest.md) | | [optional]
-**relation_request_status** | **str** | The status of the relation request with the user if any. | [optional]
-**pronoun** | **str** | The pronoun to be used to refer to this user. | [optional]
-**default_locale** | **str** | Default locale for the user's profile (POSIX format e.g. en_US, fr_FR...). | [optional]
-**supported_locales** | **List[Optional[str]]** | List of supported locales for the user's profile (POSIX format e.g. en_US, fr_FR...). | [optional]
-**notify_visit_token** | **str** | Payload that should be passed to the Notify profile visit route in order to notify the visit. | [optional]
-**is_open_profile** | **bool** | Whether the user has an open profile (can be reached with free inmails). | [optional]
-**is_premium** | **bool** | Whether the user has a premium subscription. | [optional]
-**is_influencer** | **bool** | Whether the user is an influencer. | [optional]
-**is_creator** | **bool** | Whether the user is a creator. | [optional]
-**is_hiring** | **bool** | Whether the user is hiring. | [optional]
-**is_open_to_work** | **bool** | Whether the user is open to work. | [optional]
-**is_saved_lead** | **bool** | Whether the user is a saved lead. | [optional]
-**is_crm_imported** | **bool** | Whether the user is a CRM imported user. | [optional]
-**skills** | [**List[LinkedInSkillsInner]**](LinkedInSkillsInner.md) | | [optional]
-**experience** | [**List[LinkedInExperienceInner]**](LinkedInExperienceInner.md) | | [optional]
-**education** | [**List[LinkedInEducationInner]**](LinkedInEducationInner.md) | | [optional]
-**languages** | [**List[LinkedInLanguagesInner]**](LinkedInLanguagesInner.md) | | [optional]
-**certifications** | [**List[LinkedInCertificationsInner]**](LinkedInCertificationsInner.md) | | [optional]
-**volunteer_experience** | [**List[LinkedInVolunteerExperienceInner]**](LinkedInVolunteerExperienceInner.md) | | [optional]
-**projects** | [**List[LinkedInProjectsInner]**](LinkedInProjectsInner.md) | | [optional]
-**recommendations** | [**LinkedInRecommendations**](LinkedInRecommendations.md) | | [optional]
-**throttled_sections** | **List[str]** | A list of sections that are temporary unavailable due to LinkedIn rate limiting. | [optional]
-**recruiting_profile** | [**LinkedInRecruitingProfile**](LinkedInRecruitingProfile.md) | | [optional]
+**location** | **str** | The geographical location of the user. | [optional]
+**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' | [optional]
+**industry** | **str** | The user's industry. | [optional]
+**is_following** | **bool** | Whether the current user follows the user. | [optional]
+**followers_count** | **float** | The number of followers of the user. | [optional]
+**relations_count** | **float** | The number of relations of the user. | [optional]
+**shared_relations_count** | **float** | The number of relations that you share with the user. | [optional]
+**website_url** | **str** | The URL of the website provided by the user. | [optional]
+**portfolio_url** | **str** | The URL of the portfolio provided by the user. | [optional]
+**services_page_url** | **str** | The LinkedIn internal URL of the user's services page. | [optional]
+**is_premium** | **bool** | Whether the User has a premium account. | [optional]
+**is_verified** | **bool** | Whether the User has a verified account. | [optional]
## Example
diff --git a/docs/LinkedIn1.md b/docs/LinkedIn1.md
index 2f1e3a8a8..124064506 100644
--- a/docs/LinkedIn1.md
+++ b/docs/LinkedIn1.md
@@ -1,16 +1,39 @@
# LinkedIn1
-Start the authentication intent with LinkedIn provider.
+LinkedIn specific dataset for user profiles.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**provider** | **str** | The provider to authenticate with. |
-**user_agent** | **str** | If encountering disconnection issues, enter the exact user agent of the browser on which the account has been connected before the `li_at` retrieval. You can easily get it in the browser's console with this command : `console.log(navigator.userAgent)` | [optional]
-**user_timezone** | **str** | The time zone of the current user can be used on a few specific features (e.g. scheduled actions). Setting it at authentication avoids having to do it on a case-by-case basis later on. | [optional]
-**credentials** | [**LinkedIn1Credentials**](LinkedIn1Credentials.md) | |
-**config** | [**LinkedIn1Config**](LinkedIn1Config.md) | | [optional]
+**member_id** | **str** | LinkedIn internal member ID of the user. | [optional]
+**can_send_inmail** | **bool** | Whether the user can be reached with inmails. | [optional]
+**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' |
+**relation_request** | [**LinkedIn1RelationRequest**](LinkedIn1RelationRequest.md) | | [optional]
+**relation_request_status** | **str** | The status of the relation request with the user if any. | [optional]
+**pronoun** | **str** | The pronoun to be used to refer to this user. | [optional]
+**default_locale** | **str** | Default locale for the user's profile (POSIX format e.g. en_US, fr_FR...). | [optional]
+**supported_locales** | **List[Optional[str]]** | List of supported locales for the user's profile (POSIX format e.g. en_US, fr_FR...). | [optional]
+**notify_visit_token** | **str** | Payload that should be passed to the Notify profile visit route in order to notify the visit. | [optional]
+**is_open_profile** | **bool** | Whether the user has an open profile (can be reached with free inmails). | [optional]
+**is_premium** | **bool** | Whether the user has a premium subscription. | [optional]
+**is_influencer** | **bool** | Whether the user is an influencer. | [optional]
+**is_creator** | **bool** | Whether the user is a creator. | [optional]
+**is_hiring** | **bool** | Whether the user is hiring. | [optional]
+**is_open_to_work** | **bool** | Whether the user is open to work. | [optional]
+**is_saved_lead** | **bool** | Whether the user is a saved lead. | [optional]
+**is_crm_imported** | **bool** | Whether the user is a CRM imported user. | [optional]
+**skills** | [**List[LinkedIn1SkillsInner]**](LinkedIn1SkillsInner.md) | A collection of the user's skills. | [optional]
+**experience** | [**List[LinkedIn1ExperienceInner]**](LinkedIn1ExperienceInner.md) | A collection of the user's professionnal experiences. | [optional]
+**education** | [**List[LinkedIn1EducationInner]**](LinkedIn1EducationInner.md) | A collection of the user's education. | [optional]
+**languages** | [**List[LinkedIn1LanguagesInner]**](LinkedIn1LanguagesInner.md) | A collection of the user's languages. | [optional]
+**certifications** | [**List[LinkedIn1CertificationsInner]**](LinkedIn1CertificationsInner.md) | A collection of the user's certifications. | [optional]
+**volunteer_experience** | [**List[LinkedIn1VolunteerExperienceInner]**](LinkedIn1VolunteerExperienceInner.md) | A collection of the user's volunteering experiences. | [optional]
+**projects** | [**List[LinkedIn1ProjectsInner]**](LinkedIn1ProjectsInner.md) | A collection of the user's projects. | [optional]
+**recommendations** | [**LinkedIn1Recommendations**](LinkedIn1Recommendations.md) | | [optional]
+**interests** | [**LinkedIn1Interests**](LinkedIn1Interests.md) | | [optional]
+**throttled_sections** | **List[str]** | A list of sections that are temporary unavailable due to LinkedIn rate limiting. | [optional]
+**recruiting_profile** | [**LinkedIn1RecruitingProfile**](LinkedIn1RecruitingProfile.md) | | [optional]
## Example
diff --git a/docs/LinkedIn1CertificationsInner.md b/docs/LinkedIn1CertificationsInner.md
new file mode 100644
index 000000000..697f33312
--- /dev/null
+++ b/docs/LinkedIn1CertificationsInner.md
@@ -0,0 +1,36 @@
+# LinkedIn1CertificationsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**title** | **str** | Name of the certification. |
+**organization** | [**LinkedIn1CertificationsInnerOrganization**](LinkedIn1CertificationsInnerOrganization.md) | |
+**issued_on** | **str** | Date the certification was issued in MM/DD/YYYY format. | [optional]
+**expires_on** | **str** | Expiration date of the certification in MM/DD/YYYY format. | [optional]
+**license** | **str** | License identifier. | [optional]
+**skills** | **List[Optional[str]]** | Skills acquired through certification. | [optional]
+**skills_preview** | **str** | Insight of the skills acquired through certification. | [optional]
+**url** | **str** | Public URL to the certification. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_certifications_inner import LinkedIn1CertificationsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1CertificationsInner from a JSON string
+linked_in1_certifications_inner_instance = LinkedIn1CertificationsInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1CertificationsInner.to_json())
+
+# convert the object into a dict
+linked_in1_certifications_inner_dict = linked_in1_certifications_inner_instance.to_dict()
+# create an instance of LinkedIn1CertificationsInner from a dict
+linked_in1_certifications_inner_from_dict = LinkedIn1CertificationsInner.from_dict(linked_in1_certifications_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1CertificationsInnerOrganization.md b/docs/LinkedIn1CertificationsInnerOrganization.md
new file mode 100644
index 000000000..35b6e1199
--- /dev/null
+++ b/docs/LinkedIn1CertificationsInnerOrganization.md
@@ -0,0 +1,34 @@
+# LinkedIn1CertificationsInnerOrganization
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **str** | Name of the company. | [optional]
+**id** | **str** | Unique identifier of the company. |
+**public_identifier** | **str** | Public identifier of the company. | [optional]
+**picture_url** | **str** | Public url to the profile picture of the company. | [optional]
+**profile_url** | **str** | Public url to the profile of the company. | [optional]
+**industries** | **List[str]** | Industry types of the company. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_certifications_inner_organization import LinkedIn1CertificationsInnerOrganization
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1CertificationsInnerOrganization from a JSON string
+linked_in1_certifications_inner_organization_instance = LinkedIn1CertificationsInnerOrganization.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1CertificationsInnerOrganization.to_json())
+
+# convert the object into a dict
+linked_in1_certifications_inner_organization_dict = linked_in1_certifications_inner_organization_instance.to_dict()
+# create an instance of LinkedIn1CertificationsInnerOrganization from a dict
+linked_in1_certifications_inner_organization_from_dict = LinkedIn1CertificationsInnerOrganization.from_dict(linked_in1_certifications_inner_organization_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1EducationInner.md b/docs/LinkedIn1EducationInner.md
new file mode 100644
index 000000000..fbf11f940
--- /dev/null
+++ b/docs/LinkedIn1EducationInner.md
@@ -0,0 +1,39 @@
+# LinkedIn1EducationInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Id of the education entry. | [optional]
+**school** | [**LinkedIn1EducationInnerSchool**](LinkedIn1EducationInnerSchool.md) | |
+**degree** | **str** | Name of the degree. | [optional]
+**description** | **str** | Description of the education. | [optional]
+**activities** | **str** | Activities carried out during education. | [optional]
+**skills** | **List[Optional[str]]** | Skills acquired through training. | [optional]
+**skills_preview** | **str** | Insight of the skills acquired through training. | [optional]
+**grade** | **str** | Reached academic level of the education. | [optional]
+**fields_of_study** | **List[Optional[str]]** | Fields of study of the education. | [optional]
+**started_on** | **str** | Start date of the education in MM/DD/YYYY format. | [optional]
+**ended_on** | **str** | End date of the education in MM/DD/YYYY format. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_education_inner import LinkedIn1EducationInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1EducationInner from a JSON string
+linked_in1_education_inner_instance = LinkedIn1EducationInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1EducationInner.to_json())
+
+# convert the object into a dict
+linked_in1_education_inner_dict = linked_in1_education_inner_instance.to_dict()
+# create an instance of LinkedIn1EducationInner from a dict
+linked_in1_education_inner_from_dict = LinkedIn1EducationInner.from_dict(linked_in1_education_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1EducationInnerSchool.md b/docs/LinkedIn1EducationInnerSchool.md
new file mode 100644
index 000000000..071265d88
--- /dev/null
+++ b/docs/LinkedIn1EducationInnerSchool.md
@@ -0,0 +1,32 @@
+# LinkedIn1EducationInnerSchool
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the school. |
+**name** | **str** | Name of the school. | [optional]
+**picture_url** | **str** | Public url to the profile picture of the school. | [optional]
+**profile_url** | **str** | Public url to the profile of the school. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_education_inner_school import LinkedIn1EducationInnerSchool
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1EducationInnerSchool from a JSON string
+linked_in1_education_inner_school_instance = LinkedIn1EducationInnerSchool.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1EducationInnerSchool.to_json())
+
+# convert the object into a dict
+linked_in1_education_inner_school_dict = linked_in1_education_inner_school_instance.to_dict()
+# create an instance of LinkedIn1EducationInnerSchool from a dict
+linked_in1_education_inner_school_from_dict = LinkedIn1EducationInnerSchool.from_dict(linked_in1_education_inner_school_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1ExperienceInner.md b/docs/LinkedIn1ExperienceInner.md
new file mode 100644
index 000000000..3d6524b0f
--- /dev/null
+++ b/docs/LinkedIn1ExperienceInner.md
@@ -0,0 +1,39 @@
+# LinkedIn1ExperienceInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Id of the work experience entry. | [optional]
+**company** | [**LinkedIn1ExperienceInnerCompany**](LinkedIn1ExperienceInnerCompany.md) | |
+**job_title** | **str** | Job title of the experience. |
+**started_on** | **str** | Start date of the experience in MM/DD/YYYY format. | [optional]
+**ended_on** | **str** | End date of the experience in MM/DD/YYYY format. | [optional]
+**location** | **str** | Location of the experience. | [optional]
+**description** | **str** | Description of the experience. | [optional]
+**employment_type** | **str** | Employment type of the experience. | [optional]
+**workplace_type** | **str** | Workplace type of the experience. | [optional]
+**skills** | **List[Optional[str]]** | Skills acquired with experience. | [optional]
+**skills_preview** | **str** | Insight of the skills acquired with experience. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_experience_inner import LinkedIn1ExperienceInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1ExperienceInner from a JSON string
+linked_in1_experience_inner_instance = LinkedIn1ExperienceInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1ExperienceInner.to_json())
+
+# convert the object into a dict
+linked_in1_experience_inner_dict = linked_in1_experience_inner_instance.to_dict()
+# create an instance of LinkedIn1ExperienceInner from a dict
+linked_in1_experience_inner_from_dict = LinkedIn1ExperienceInner.from_dict(linked_in1_experience_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1ExperienceInnerCompany.md b/docs/LinkedIn1ExperienceInnerCompany.md
new file mode 100644
index 000000000..ee52bf6a9
--- /dev/null
+++ b/docs/LinkedIn1ExperienceInnerCompany.md
@@ -0,0 +1,34 @@
+# LinkedIn1ExperienceInnerCompany
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **str** | Name of the company. | [optional]
+**id** | **str** | Unique identifier of the company. |
+**public_identifier** | **str** | Public identifier of the company. | [optional]
+**picture_url** | **str** | Public url to the profile picture of the company. | [optional]
+**profile_url** | **str** | Public url to the profile of the company. | [optional]
+**industries** | **List[Optional[str]]** | Industry types of the company. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_experience_inner_company import LinkedIn1ExperienceInnerCompany
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1ExperienceInnerCompany from a JSON string
+linked_in1_experience_inner_company_instance = LinkedIn1ExperienceInnerCompany.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1ExperienceInnerCompany.to_json())
+
+# convert the object into a dict
+linked_in1_experience_inner_company_dict = linked_in1_experience_inner_company_instance.to_dict()
+# create an instance of LinkedIn1ExperienceInnerCompany from a dict
+linked_in1_experience_inner_company_from_dict = LinkedIn1ExperienceInnerCompany.from_dict(linked_in1_experience_inner_company_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1Interests.md b/docs/LinkedIn1Interests.md
new file mode 100644
index 000000000..44fcf48b8
--- /dev/null
+++ b/docs/LinkedIn1Interests.md
@@ -0,0 +1,34 @@
+# LinkedIn1Interests
+
+The user's interests.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**top_voices** | [**List[LinkedIn1InterestsTopVoicesInner]**](LinkedIn1InterestsTopVoicesInner.md) | A collection of Top voice User profiles. | [optional]
+**companies** | [**List[LinkedIn1InterestsCompaniesInner]**](LinkedIn1InterestsCompaniesInner.md) | A collection of Companies. | [optional]
+**schools** | [**List[LinkedIn1InterestsSchoolsInner]**](LinkedIn1InterestsSchoolsInner.md) | A collection of Schools. | [optional]
+**newsletters** | [**List[LinkedIn1InterestsNewslettersInner]**](LinkedIn1InterestsNewslettersInner.md) | A collection of Newsletters. | [optional]
+**groups** | [**List[LinkedIn1InterestsGroupsInner]**](LinkedIn1InterestsGroupsInner.md) | A collection of Groups. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_interests import LinkedIn1Interests
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1Interests from a JSON string
+linked_in1_interests_instance = LinkedIn1Interests.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1Interests.to_json())
+
+# convert the object into a dict
+linked_in1_interests_dict = linked_in1_interests_instance.to_dict()
+# create an instance of LinkedIn1Interests from a dict
+linked_in1_interests_from_dict = LinkedIn1Interests.from_dict(linked_in1_interests_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1InterestsCompaniesInner.md b/docs/LinkedIn1InterestsCompaniesInner.md
new file mode 100644
index 000000000..a802048f6
--- /dev/null
+++ b/docs/LinkedIn1InterestsCompaniesInner.md
@@ -0,0 +1,36 @@
+# LinkedIn1InterestsCompaniesInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The ID of the Company for the provider. |
+**name** | **str** | The name of the Company. |
+**profile_url** | **str** | The public profile URL of the Company. | [optional]
+**public_picture_url** | **str** | The public picture URL of the Company. | [optional]
+**public_identifier** | **str** | The public identifier of the Company. | [optional]
+**followers_count** | **float** | The number of followers of the Company. | [optional]
+**is_following** | **bool** | Whether the current user is following the Company. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_interests_companies_inner import LinkedIn1InterestsCompaniesInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1InterestsCompaniesInner from a JSON string
+linked_in1_interests_companies_inner_instance = LinkedIn1InterestsCompaniesInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1InterestsCompaniesInner.to_json())
+
+# convert the object into a dict
+linked_in1_interests_companies_inner_dict = linked_in1_interests_companies_inner_instance.to_dict()
+# create an instance of LinkedIn1InterestsCompaniesInner from a dict
+linked_in1_interests_companies_inner_from_dict = LinkedIn1InterestsCompaniesInner.from_dict(linked_in1_interests_companies_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1InterestsGroupsInner.md b/docs/LinkedIn1InterestsGroupsInner.md
new file mode 100644
index 000000000..f78127a40
--- /dev/null
+++ b/docs/LinkedIn1InterestsGroupsInner.md
@@ -0,0 +1,34 @@
+# LinkedIn1InterestsGroupsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | The ID of the group. | [optional]
+**name** | **str** | The name of the group. |
+**url** | **str** | The URL to the group. | [optional]
+**members_count** | **float** | The number of members of the group. | [optional]
+**is_member** | **bool** | Whether the current user is a member of the group. |
+**public_picture_url** | **str** | The public picture URL of the group. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_interests_groups_inner import LinkedIn1InterestsGroupsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1InterestsGroupsInner from a JSON string
+linked_in1_interests_groups_inner_instance = LinkedIn1InterestsGroupsInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1InterestsGroupsInner.to_json())
+
+# convert the object into a dict
+linked_in1_interests_groups_inner_dict = linked_in1_interests_groups_inner_instance.to_dict()
+# create an instance of LinkedIn1InterestsGroupsInner from a dict
+linked_in1_interests_groups_inner_from_dict = LinkedIn1InterestsGroupsInner.from_dict(linked_in1_interests_groups_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1InterestsNewslettersInner.md b/docs/LinkedIn1InterestsNewslettersInner.md
new file mode 100644
index 000000000..c1f9f23c3
--- /dev/null
+++ b/docs/LinkedIn1InterestsNewslettersInner.md
@@ -0,0 +1,35 @@
+# LinkedIn1InterestsNewslettersInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | The ID of the newsletter. | [optional]
+**title** | **str** | The title of the newsletter. |
+**url** | **str** | The URL to the newsletter. | [optional]
+**description** | **str** | The description of the newsletter. | [optional]
+**is_subscribed** | **bool** | Whether the current user has subscribed to the newsletter. |
+**posting_frequency** | **str** | The posting frequency of the newsletter. | [optional]
+**public_picture_url** | **str** | The public picture URL of the newsletter. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_interests_newsletters_inner import LinkedIn1InterestsNewslettersInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1InterestsNewslettersInner from a JSON string
+linked_in1_interests_newsletters_inner_instance = LinkedIn1InterestsNewslettersInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1InterestsNewslettersInner.to_json())
+
+# convert the object into a dict
+linked_in1_interests_newsletters_inner_dict = linked_in1_interests_newsletters_inner_instance.to_dict()
+# create an instance of LinkedIn1InterestsNewslettersInner from a dict
+linked_in1_interests_newsletters_inner_from_dict = LinkedIn1InterestsNewslettersInner.from_dict(linked_in1_interests_newsletters_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1InterestsSchoolsInner.md b/docs/LinkedIn1InterestsSchoolsInner.md
new file mode 100644
index 000000000..608f34d2e
--- /dev/null
+++ b/docs/LinkedIn1InterestsSchoolsInner.md
@@ -0,0 +1,36 @@
+# LinkedIn1InterestsSchoolsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | The ID of the Company for the provider. |
+**name** | **str** | The name of the Company. |
+**profile_url** | **str** | The public profile URL of the Company. | [optional]
+**public_picture_url** | **str** | The public picture URL of the Company. | [optional]
+**public_identifier** | **str** | The public identifier of the Company. | [optional]
+**followers_count** | **float** | The number of followers of the Company. | [optional]
+**is_following** | **bool** | Whether the current user is following the Company. | [optional]
+**object** | **str** | |
+
+## Example
+
+```python
+from unipile.models.linked_in1_interests_schools_inner import LinkedIn1InterestsSchoolsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1InterestsSchoolsInner from a JSON string
+linked_in1_interests_schools_inner_instance = LinkedIn1InterestsSchoolsInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1InterestsSchoolsInner.to_json())
+
+# convert the object into a dict
+linked_in1_interests_schools_inner_dict = linked_in1_interests_schools_inner_instance.to_dict()
+# create an instance of LinkedIn1InterestsSchoolsInner from a dict
+linked_in1_interests_schools_inner_from_dict = LinkedIn1InterestsSchoolsInner.from_dict(linked_in1_interests_schools_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1InterestsTopVoicesInner.md b/docs/LinkedIn1InterestsTopVoicesInner.md
new file mode 100644
index 000000000..7b86d1813
--- /dev/null
+++ b/docs/LinkedIn1InterestsTopVoicesInner.md
@@ -0,0 +1,40 @@
+# LinkedIn1InterestsTopVoicesInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | [**LinkedIn**](LinkedIn.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1InterestsTopVoicesInner from a JSON string
+linked_in1_interests_top_voices_inner_instance = LinkedIn1InterestsTopVoicesInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1InterestsTopVoicesInner.to_json())
+
+# convert the object into a dict
+linked_in1_interests_top_voices_inner_dict = linked_in1_interests_top_voices_inner_instance.to_dict()
+# create an instance of LinkedIn1InterestsTopVoicesInner from a dict
+linked_in1_interests_top_voices_inner_from_dict = LinkedIn1InterestsTopVoicesInner.from_dict(linked_in1_interests_top_voices_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1LanguagesInner.md b/docs/LinkedIn1LanguagesInner.md
new file mode 100644
index 000000000..480e434a5
--- /dev/null
+++ b/docs/LinkedIn1LanguagesInner.md
@@ -0,0 +1,30 @@
+# LinkedIn1LanguagesInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**language** | **str** | Name of the language. |
+**proficiency** | **str** | Level of fluency in the language. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1LanguagesInner from a JSON string
+linked_in1_languages_inner_instance = LinkedIn1LanguagesInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1LanguagesInner.to_json())
+
+# convert the object into a dict
+linked_in1_languages_inner_dict = linked_in1_languages_inner_instance.to_dict()
+# create an instance of LinkedIn1LanguagesInner from a dict
+linked_in1_languages_inner_from_dict = LinkedIn1LanguagesInner.from_dict(linked_in1_languages_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1ProjectsInner.md b/docs/LinkedIn1ProjectsInner.md
new file mode 100644
index 000000000..6d23ed7d1
--- /dev/null
+++ b/docs/LinkedIn1ProjectsInner.md
@@ -0,0 +1,35 @@
+# LinkedIn1ProjectsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **str** | Name of the project. |
+**description** | **str** | Description of the project. | [optional]
+**contributors** | [**List[LinkedIn1ProjectsInnerContributorsInner]**](LinkedIn1ProjectsInnerContributorsInner.md) | Contributors to the project. |
+**skills** | **List[Optional[str]]** | Skills related to the project. | [optional]
+**skills_preview** | **str** | Insight of the skills related to the project. | [optional]
+**started_on** | **str** | Start date of the project in MM/DD/YYYY format. | [optional]
+**ended_on** | **str** | End date of the project in MM/DD/YYYY format. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_projects_inner import LinkedIn1ProjectsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1ProjectsInner from a JSON string
+linked_in1_projects_inner_instance = LinkedIn1ProjectsInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1ProjectsInner.to_json())
+
+# convert the object into a dict
+linked_in1_projects_inner_dict = linked_in1_projects_inner_instance.to_dict()
+# create an instance of LinkedIn1ProjectsInner from a dict
+linked_in1_projects_inner_from_dict = LinkedIn1ProjectsInner.from_dict(linked_in1_projects_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1ProjectsInnerContributorsInner.md b/docs/LinkedIn1ProjectsInnerContributorsInner.md
new file mode 100644
index 000000000..dbe5c5cdd
--- /dev/null
+++ b/docs/LinkedIn1ProjectsInnerContributorsInner.md
@@ -0,0 +1,40 @@
+# LinkedIn1ProjectsInnerContributorsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | **object** | Provider-specific user data. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_projects_inner_contributors_inner import LinkedIn1ProjectsInnerContributorsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1ProjectsInnerContributorsInner from a JSON string
+linked_in1_projects_inner_contributors_inner_instance = LinkedIn1ProjectsInnerContributorsInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1ProjectsInnerContributorsInner.to_json())
+
+# convert the object into a dict
+linked_in1_projects_inner_contributors_inner_dict = linked_in1_projects_inner_contributors_inner_instance.to_dict()
+# create an instance of LinkedIn1ProjectsInnerContributorsInner from a dict
+linked_in1_projects_inner_contributors_inner_from_dict = LinkedIn1ProjectsInnerContributorsInner.from_dict(linked_in1_projects_inner_contributors_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1Recommendations.md b/docs/LinkedIn1Recommendations.md
new file mode 100644
index 000000000..463ecf4c6
--- /dev/null
+++ b/docs/LinkedIn1Recommendations.md
@@ -0,0 +1,30 @@
+# LinkedIn1Recommendations
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**received** | [**List[LinkedIn1RecommendationsReceivedInner]**](LinkedIn1RecommendationsReceivedInner.md) | A collection of the user's received recommendations. |
+**given** | [**List[LinkedIn1RecommendationsReceivedInner]**](LinkedIn1RecommendationsReceivedInner.md) | A collection of the user's given recommendations. |
+
+## Example
+
+```python
+from unipile.models.linked_in1_recommendations import LinkedIn1Recommendations
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1Recommendations from a JSON string
+linked_in1_recommendations_instance = LinkedIn1Recommendations.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1Recommendations.to_json())
+
+# convert the object into a dict
+linked_in1_recommendations_dict = linked_in1_recommendations_instance.to_dict()
+# create an instance of LinkedIn1Recommendations from a dict
+linked_in1_recommendations_from_dict = LinkedIn1Recommendations.from_dict(linked_in1_recommendations_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1RecommendationsReceivedInner.md b/docs/LinkedIn1RecommendationsReceivedInner.md
new file mode 100644
index 000000000..4c9978c6a
--- /dev/null
+++ b/docs/LinkedIn1RecommendationsReceivedInner.md
@@ -0,0 +1,32 @@
+# LinkedIn1RecommendationsReceivedInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**caption** | **str** | Recommendation details, including date and actors relationship. | [optional]
+**created_on** | **str** | Creation date of the recommendation. | [optional]
+**text** | **str** | Content of the recommendation. |
+**user** | [**LinkedIn1RecommendationsReceivedInnerUser**](LinkedIn1RecommendationsReceivedInnerUser.md) | |
+
+## Example
+
+```python
+from unipile.models.linked_in1_recommendations_received_inner import LinkedIn1RecommendationsReceivedInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1RecommendationsReceivedInner from a JSON string
+linked_in1_recommendations_received_inner_instance = LinkedIn1RecommendationsReceivedInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1RecommendationsReceivedInner.to_json())
+
+# convert the object into a dict
+linked_in1_recommendations_received_inner_dict = linked_in1_recommendations_received_inner_instance.to_dict()
+# create an instance of LinkedIn1RecommendationsReceivedInner from a dict
+linked_in1_recommendations_received_inner_from_dict = LinkedIn1RecommendationsReceivedInner.from_dict(linked_in1_recommendations_received_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1RecommendationsReceivedInnerUser.md b/docs/LinkedIn1RecommendationsReceivedInnerUser.md
new file mode 100644
index 000000000..9f259dc19
--- /dev/null
+++ b/docs/LinkedIn1RecommendationsReceivedInnerUser.md
@@ -0,0 +1,41 @@
+# LinkedIn1RecommendationsReceivedInnerUser
+
+User who has given or received the recommendation.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | **object** | Provider-specific user data. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_recommendations_received_inner_user import LinkedIn1RecommendationsReceivedInnerUser
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1RecommendationsReceivedInnerUser from a JSON string
+linked_in1_recommendations_received_inner_user_instance = LinkedIn1RecommendationsReceivedInnerUser.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1RecommendationsReceivedInnerUser.to_json())
+
+# convert the object into a dict
+linked_in1_recommendations_received_inner_user_dict = linked_in1_recommendations_received_inner_user_instance.to_dict()
+# create an instance of LinkedIn1RecommendationsReceivedInnerUser from a dict
+linked_in1_recommendations_received_inner_user_from_dict = LinkedIn1RecommendationsReceivedInnerUser.from_dict(linked_in1_recommendations_received_inner_user_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1RecruitingProfile.md b/docs/LinkedIn1RecruitingProfile.md
new file mode 100644
index 000000000..602288743
--- /dev/null
+++ b/docs/LinkedIn1RecruitingProfile.md
@@ -0,0 +1,31 @@
+# LinkedIn1RecruitingProfile
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**events** | [**List[LinkedIn1RecruitingProfileEventsInner]**](LinkedIn1RecruitingProfileEventsInner.md) | A list of events related to the user. | [optional]
+**notes** | [**List[LinkedIn1RecruitingProfileNotesInner]**](LinkedIn1RecruitingProfileNotesInner.md) | A list of notes about the user. |
+**tags** | [**List[LinkedIn1RecruitingProfileTagsInner]**](LinkedIn1RecruitingProfileTagsInner.md) | A list of tags about the user. |
+
+## Example
+
+```python
+from unipile.models.linked_in1_recruiting_profile import LinkedIn1RecruitingProfile
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1RecruitingProfile from a JSON string
+linked_in1_recruiting_profile_instance = LinkedIn1RecruitingProfile.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1RecruitingProfile.to_json())
+
+# convert the object into a dict
+linked_in1_recruiting_profile_dict = linked_in1_recruiting_profile_instance.to_dict()
+# create an instance of LinkedIn1RecruitingProfile from a dict
+linked_in1_recruiting_profile_from_dict = LinkedIn1RecruitingProfile.from_dict(linked_in1_recruiting_profile_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1RecruitingProfileEventsInner.md b/docs/LinkedIn1RecruitingProfileEventsInner.md
new file mode 100644
index 000000000..1a6c8c0ec
--- /dev/null
+++ b/docs/LinkedIn1RecruitingProfileEventsInner.md
@@ -0,0 +1,38 @@
+# LinkedIn1RecruitingProfileEventsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**last_updated_at** | **str** | The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
+**last_updated_by** | [**LinkedIn1InterestsTopVoicesInner**](LinkedIn1InterestsTopVoicesInner.md) | |
+**event** | **str** | The type of event. |
+**message_content** | **str** | The text content of the message, when available. |
+**message_status** | **str** | The current status of the message. |
+**note_content** | **str** | The text content of the note. | [optional]
+**link_content** | **str** | The URL of the link. |
+**project_id** | **str** | The ID of the project the user is related to. |
+**project_name** | **str** | The name of the project the user is related to. |
+**pipeline_stage** | **str** | The pipeline stage the user was added/moved to. |
+
+## Example
+
+```python
+from unipile.models.linked_in1_recruiting_profile_events_inner import LinkedIn1RecruitingProfileEventsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1RecruitingProfileEventsInner from a JSON string
+linked_in1_recruiting_profile_events_inner_instance = LinkedIn1RecruitingProfileEventsInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1RecruitingProfileEventsInner.to_json())
+
+# convert the object into a dict
+linked_in1_recruiting_profile_events_inner_dict = linked_in1_recruiting_profile_events_inner_instance.to_dict()
+# create an instance of LinkedIn1RecruitingProfileEventsInner from a dict
+linked_in1_recruiting_profile_events_inner_from_dict = LinkedIn1RecruitingProfileEventsInner.from_dict(linked_in1_recruiting_profile_events_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1RecruitingProfileNotesInner.md b/docs/LinkedIn1RecruitingProfileNotesInner.md
new file mode 100644
index 000000000..79d7c8d20
--- /dev/null
+++ b/docs/LinkedIn1RecruitingProfileNotesInner.md
@@ -0,0 +1,33 @@
+# LinkedIn1RecruitingProfileNotesInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**project_id** | **str** | The ID of the project where the note was added. | [optional]
+**content** | **str** | The text content of the note. |
+**last_modified_at** | **str** | The time at which the note was last modified. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
+**author** | [**LinkedIn1InterestsTopVoicesInner**](LinkedIn1InterestsTopVoicesInner.md) | |
+**comments** | [**List[LinkedIn1RecruitingProfileNotesInnerCommentsInner]**](LinkedIn1RecruitingProfileNotesInnerCommentsInner.md) | A list of comments published on this note. |
+
+## Example
+
+```python
+from unipile.models.linked_in1_recruiting_profile_notes_inner import LinkedIn1RecruitingProfileNotesInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1RecruitingProfileNotesInner from a JSON string
+linked_in1_recruiting_profile_notes_inner_instance = LinkedIn1RecruitingProfileNotesInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1RecruitingProfileNotesInner.to_json())
+
+# convert the object into a dict
+linked_in1_recruiting_profile_notes_inner_dict = linked_in1_recruiting_profile_notes_inner_instance.to_dict()
+# create an instance of LinkedIn1RecruitingProfileNotesInner from a dict
+linked_in1_recruiting_profile_notes_inner_from_dict = LinkedIn1RecruitingProfileNotesInner.from_dict(linked_in1_recruiting_profile_notes_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1RecruitingProfileNotesInnerCommentsInner.md b/docs/LinkedIn1RecruitingProfileNotesInnerCommentsInner.md
new file mode 100644
index 000000000..6795b345a
--- /dev/null
+++ b/docs/LinkedIn1RecruitingProfileNotesInnerCommentsInner.md
@@ -0,0 +1,31 @@
+# LinkedIn1RecruitingProfileNotesInnerCommentsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**content** | **str** | The text content of the comment. |
+**author** | [**LinkedIn1InterestsTopVoicesInner**](LinkedIn1InterestsTopVoicesInner.md) | |
+**last_modified_at** | **str** | The time at which the comment was last modified. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
+
+## Example
+
+```python
+from unipile.models.linked_in1_recruiting_profile_notes_inner_comments_inner import LinkedIn1RecruitingProfileNotesInnerCommentsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1RecruitingProfileNotesInnerCommentsInner from a JSON string
+linked_in1_recruiting_profile_notes_inner_comments_inner_instance = LinkedIn1RecruitingProfileNotesInnerCommentsInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1RecruitingProfileNotesInnerCommentsInner.to_json())
+
+# convert the object into a dict
+linked_in1_recruiting_profile_notes_inner_comments_inner_dict = linked_in1_recruiting_profile_notes_inner_comments_inner_instance.to_dict()
+# create an instance of LinkedIn1RecruitingProfileNotesInnerCommentsInner from a dict
+linked_in1_recruiting_profile_notes_inner_comments_inner_from_dict = LinkedIn1RecruitingProfileNotesInnerCommentsInner.from_dict(linked_in1_recruiting_profile_notes_inner_comments_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1RecruitingProfileTagsInner.md b/docs/LinkedIn1RecruitingProfileTagsInner.md
new file mode 100644
index 000000000..c434a1c52
--- /dev/null
+++ b/docs/LinkedIn1RecruitingProfileTagsInner.md
@@ -0,0 +1,30 @@
+# LinkedIn1RecruitingProfileTagsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | The ID of the tag. |
+**content** | **str** | The text content of the tag. |
+
+## Example
+
+```python
+from unipile.models.linked_in1_recruiting_profile_tags_inner import LinkedIn1RecruitingProfileTagsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1RecruitingProfileTagsInner from a JSON string
+linked_in1_recruiting_profile_tags_inner_instance = LinkedIn1RecruitingProfileTagsInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1RecruitingProfileTagsInner.to_json())
+
+# convert the object into a dict
+linked_in1_recruiting_profile_tags_inner_dict = linked_in1_recruiting_profile_tags_inner_instance.to_dict()
+# create an instance of LinkedIn1RecruitingProfileTagsInner from a dict
+linked_in1_recruiting_profile_tags_inner_from_dict = LinkedIn1RecruitingProfileTagsInner.from_dict(linked_in1_recruiting_profile_tags_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1RelationRequest.md b/docs/LinkedIn1RelationRequest.md
new file mode 100644
index 000000000..d117fbe28
--- /dev/null
+++ b/docs/LinkedIn1RelationRequest.md
@@ -0,0 +1,34 @@
+# LinkedIn1RelationRequest
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**user** | [**LinkedIn1RelationRequestUser**](LinkedIn1RelationRequestUser.md) | | [optional]
+**type** | **str** | Type of the relation / follow request. - `sent` if the current user has asked another one to be in his relations. - `received` if another user has asked the current one to be in his relations. |
+**id** | **str** | The unique identifier of the invitation for the provider. |
+**created_at** | **str** | Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
+**message** | **str** | Any message that comes with the invitation. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_relation_request import LinkedIn1RelationRequest
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1RelationRequest from a JSON string
+linked_in1_relation_request_instance = LinkedIn1RelationRequest.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1RelationRequest.to_json())
+
+# convert the object into a dict
+linked_in1_relation_request_dict = linked_in1_relation_request_instance.to_dict()
+# create an instance of LinkedIn1RelationRequest from a dict
+linked_in1_relation_request_from_dict = LinkedIn1RelationRequest.from_dict(linked_in1_relation_request_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1RelationRequestUser.md b/docs/LinkedIn1RelationRequestUser.md
new file mode 100644
index 000000000..e565e722e
--- /dev/null
+++ b/docs/LinkedIn1RelationRequestUser.md
@@ -0,0 +1,41 @@
+# LinkedIn1RelationRequestUser
+
+The user who is the target of the relation / follow request.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | **object** | Provider-specific user data. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_relation_request_user import LinkedIn1RelationRequestUser
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1RelationRequestUser from a JSON string
+linked_in1_relation_request_user_instance = LinkedIn1RelationRequestUser.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1RelationRequestUser.to_json())
+
+# convert the object into a dict
+linked_in1_relation_request_user_dict = linked_in1_relation_request_user_instance.to_dict()
+# create an instance of LinkedIn1RelationRequestUser from a dict
+linked_in1_relation_request_user_from_dict = LinkedIn1RelationRequestUser.from_dict(linked_in1_relation_request_user_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1SkillsInner.md b/docs/LinkedIn1SkillsInner.md
new file mode 100644
index 000000000..8b874cc14
--- /dev/null
+++ b/docs/LinkedIn1SkillsInner.md
@@ -0,0 +1,33 @@
+# LinkedIn1SkillsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **str** | Name of the skill. |
+**endorsement_count** | **float** | Number of people who endorsed the skill. |
+**endorsement_id** | **float** | Unique identifier to be used to endorse the skill. | [optional]
+**endorsed** | **bool** | Whether the viewer has endorsed the skill. | [optional]
+**insights** | **List[Optional[str]]** | Insights about the skill. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_skills_inner import LinkedIn1SkillsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1SkillsInner from a JSON string
+linked_in1_skills_inner_instance = LinkedIn1SkillsInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1SkillsInner.to_json())
+
+# convert the object into a dict
+linked_in1_skills_inner_dict = linked_in1_skills_inner_instance.to_dict()
+# create an instance of LinkedIn1SkillsInner from a dict
+linked_in1_skills_inner_from_dict = LinkedIn1SkillsInner.from_dict(linked_in1_skills_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn1VolunteerExperienceInner.md b/docs/LinkedIn1VolunteerExperienceInner.md
new file mode 100644
index 000000000..1e85f033b
--- /dev/null
+++ b/docs/LinkedIn1VolunteerExperienceInner.md
@@ -0,0 +1,34 @@
+# LinkedIn1VolunteerExperienceInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**organization** | [**LinkedIn1CertificationsInnerOrganization**](LinkedIn1CertificationsInnerOrganization.md) | | [optional]
+**role** | **str** | Role in the experience. |
+**cause** | **str** | Cause of the experience. | [optional]
+**description** | **str** | Description of the experience. | [optional]
+**started_on** | **str** | Start date of the experience in MM/DD/YYYY format. | [optional]
+**ended_on** | **str** | End date of the experience in MM/DD/YYYY format. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn1VolunteerExperienceInner from a JSON string
+linked_in1_volunteer_experience_inner_instance = LinkedIn1VolunteerExperienceInner.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn1VolunteerExperienceInner.to_json())
+
+# convert the object into a dict
+linked_in1_volunteer_experience_inner_dict = linked_in1_volunteer_experience_inner_instance.to_dict()
+# create an instance of LinkedIn1VolunteerExperienceInner from a dict
+linked_in1_volunteer_experience_inner_from_dict = LinkedIn1VolunteerExperienceInner.from_dict(linked_in1_volunteer_experience_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn2.md b/docs/LinkedIn2.md
new file mode 100644
index 000000000..63a57a5d5
--- /dev/null
+++ b/docs/LinkedIn2.md
@@ -0,0 +1,33 @@
+# LinkedIn2
+
+Start the authentication intent with LinkedIn provider.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**provider** | **str** | The provider to authenticate with. |
+**user_timezone** | **str** | The time zone of the current user can be used on a few specific features (e.g. scheduled actions). Setting it at authentication avoids having to do it on a case-by-case basis later on. | [optional]
+**credentials** | [**LinkedIn2Credentials**](LinkedIn2Credentials.md) | |
+**config** | [**LinkedIn2Config**](LinkedIn2Config.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in2 import LinkedIn2
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn2 from a JSON string
+linked_in2_instance = LinkedIn2.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn2.to_json())
+
+# convert the object into a dict
+linked_in2_dict = linked_in2_instance.to_dict()
+# create an instance of LinkedIn2 from a dict
+linked_in2_from_dict = LinkedIn2.from_dict(linked_in2_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn2Config.md b/docs/LinkedIn2Config.md
new file mode 100644
index 000000000..e4904a780
--- /dev/null
+++ b/docs/LinkedIn2Config.md
@@ -0,0 +1,32 @@
+# LinkedIn2Config
+
+LinkedIn specific configuration.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**custom_proxy** | [**CustomProxy1**](CustomProxy1.md) | | [optional]
+**auto_proxy_config** | [**AutomaticProxyConfiguration**](AutomaticProxyConfiguration.md) | | [optional]
+**products** | [**LinkedIn2ConfigProducts**](LinkedIn2ConfigProducts.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in2_config import LinkedIn2Config
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn2Config from a JSON string
+linked_in2_config_instance = LinkedIn2Config.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn2Config.to_json())
+
+# convert the object into a dict
+linked_in2_config_dict = linked_in2_config_instance.to_dict()
+# create an instance of LinkedIn2Config from a dict
+linked_in2_config_from_dict = LinkedIn2Config.from_dict(linked_in2_config_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn2ConfigProducts.md b/docs/LinkedIn2ConfigProducts.md
new file mode 100644
index 000000000..6553ddd0b
--- /dev/null
+++ b/docs/LinkedIn2ConfigProducts.md
@@ -0,0 +1,29 @@
+# LinkedIn2ConfigProducts
+
+Specifies which LinkedIn products to activate. For the premium `recruiter` and `sales_navigator` products, only one can be activated per account. Also, if the account does not have an active subscription, the linking will fail.
When reconnecting an account, just omit this field to keep connecting the same products, or provide new values to expand or narrow the products scope. Learn more about Linkedin products `classic` : LinkedIn Social network
`recruiter` : Recruiter
`sales_navigator` : Sales navigator
`company` : Company Pages
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+## Example
+
+```python
+from unipile.models.linked_in2_config_products import LinkedIn2ConfigProducts
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn2ConfigProducts from a JSON string
+linked_in2_config_products_instance = LinkedIn2ConfigProducts.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn2ConfigProducts.to_json())
+
+# convert the object into a dict
+linked_in2_config_products_dict = linked_in2_config_products_instance.to_dict()
+# create an instance of LinkedIn2ConfigProducts from a dict
+linked_in2_config_products_from_dict = LinkedIn2ConfigProducts.from_dict(linked_in2_config_products_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedIn2Credentials.md b/docs/LinkedIn2Credentials.md
new file mode 100644
index 000000000..c52731a38
--- /dev/null
+++ b/docs/LinkedIn2Credentials.md
@@ -0,0 +1,34 @@
+# LinkedIn2Credentials
+
+The user credentials required by the provider to authenticate with.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**username** | **str** | Email or phone of the LinkedIn account. |
+**password** | **str** | Password of the LinkedIn account. |
+**user_agent** | **str** | The exact user agent of the browser on which the session has been started. You can easily get it in the browser's console with this command : `console.log(navigator.userAgent)` |
+**access_token** | **str** | The access token to authenticate with. This is the `li_at` cookie value. |
+**premium_access_token** | **str** | The access token to authenticate Recruiter or Sales Navigator with. This is the `li_a` cookie value. | [optional]
+
+## Example
+
+```python
+from unipile.models.linked_in2_credentials import LinkedIn2Credentials
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of LinkedIn2Credentials from a JSON string
+linked_in2_credentials_instance = LinkedIn2Credentials.from_json(json)
+# print the JSON string representation of the object
+print(LinkedIn2Credentials.to_json())
+
+# convert the object into a dict
+linked_in2_credentials_dict = linked_in2_credentials_instance.to_dict()
+# create an instance of LinkedIn2Credentials from a dict
+linked_in2_credentials_from_dict = LinkedIn2Credentials.from_dict(linked_in2_credentials_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/LinkedInApi.md b/docs/LinkedInApi.md
index 8fdac49e3..705b5e303 100644
--- a/docs/LinkedInApi.md
+++ b/docs/LinkedInApi.md
@@ -25,8 +25,9 @@ Method | HTTP request | Description
[**get_classic_job_posting_budget**](LinkedInApi.md#get_classic_job_posting_budget) | **GET** /v2/{account_id}/linkedin/jobs/{job_id}/budget | Get the Budget for a Job Posting
[**get_classic_search_parameters**](LinkedInApi.md#get_classic_search_parameters) | **GET** /v2/{account_id}/linkedin/search/parameters | List Search Parameters
[**get_inmail_credits**](LinkedInApi.md#get_inmail_credits) | **GET** /v2/{account_id}/linkedin/inmail-credits | Get InMail Credits
+[**get_managed_company_pages**](LinkedInApi.md#get_managed_company_pages) | **GET** /v2/{account_id}/linkedin/company/pages | List Managed Company Pages
[**get_recruiter_applicant_by_id**](LinkedInApi.md#get_recruiter_applicant_by_id) | **GET** /v2/{account_id}/linkedin/recruiter/projects/{project_id}/talent-pool/applicants/{applicant_id} | Get an Applicant
-[**get_recruiter_applicant_resume**](LinkedInApi.md#get_recruiter_applicant_resume) | **GET** /v2/{account_id}/linkedin/recruiter/projects/{project_id}/talent-pool/applicants/{applicant_id}/resume | Get an Applicant's Resume
+[**get_recruiter_applicant_resume**](LinkedInApi.md#get_recruiter_applicant_resume) | **GET** /v2/{account_id}/linkedin/recruiter/projects/{project_id}/talent-pool/applicants/{applicant_profile_id}/resume | Get an Applicant's Resume
[**get_recruiter_hiring_project**](LinkedInApi.md#get_recruiter_hiring_project) | **GET** /v2/{account_id}/linkedin/recruiter/projects/{project_id} | Get a Project
[**get_recruiter_hiring_project_list**](LinkedInApi.md#get_recruiter_hiring_project_list) | **GET** /v2/{account_id}/linkedin/recruiter/projects | List Projects
[**get_recruiter_job_posting_budget**](LinkedInApi.md#get_recruiter_job_posting_budget) | **GET** /v2/{account_id}/linkedin/recruiter/projects/{project_id}/jobs/{job_id}/budget | Get the Budget for a Job Posting
@@ -106,7 +107,7 @@ with unipile.ApiClient(configuration) as api_client:
list_id = 'list_id_example' # str | The ID of the list to be browsed.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination. (optional)
- limit = 25 # float | The limit of items to be returned. (optional) (default to 25)
+ limit = 25 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 25)
browse_sales_account_list_request = unipile.BrowseSalesAccountListRequest() # BrowseSalesAccountListRequest | (optional)
try:
@@ -128,7 +129,7 @@ Name | Type | Description | Notes
**list_id** | **str**| The ID of the list to be browsed. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 25]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 25]
**browse_sales_account_list_request** | [**BrowseSalesAccountListRequest**](BrowseSalesAccountListRequest.md)| | [optional]
### Return type
@@ -194,7 +195,7 @@ with unipile.ApiClient(configuration) as api_client:
list_id = 'list_id_example' # str | The ID of the list to be browsed.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination. (optional)
- limit = 25 # float | The limit of items to be returned. (optional) (default to 25)
+ limit = 25 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 25)
browse_sales_lead_list_request = unipile.BrowseSalesLeadListRequest() # BrowseSalesLeadListRequest | (optional)
try:
@@ -216,7 +217,7 @@ Name | Type | Description | Notes
**list_id** | **str**| The ID of the list to be browsed. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 25]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 25]
**browse_sales_lead_list_request** | [**BrowseSalesLeadListRequest**](BrowseSalesLeadListRequest.md)| | [optional]
### Return type
@@ -410,8 +411,7 @@ Name | Type | Description | Notes
Create a Job Posting Draft
Creates a new job posting as draft.
-
- Use Publish a Job Posting Draft to publish the job once you are ready.
+ Use Publish a Job Posting to publish the job once you are ready.
### Example
@@ -577,6 +577,8 @@ Name | Type | Description | Notes
Create a Job Posting Draft in an Existing Project
Creates a new job posting as draft in a new project.
+ Use Publish a Job Posting to publish the job once you are ready.
+
### Example
@@ -661,8 +663,7 @@ Name | Type | Description | Notes
Create a Job Posting Draft in a New Project
Creates a new job posting as draft in a new project.
-
- Use Publish a Job Posting Draft to publish the job once you are ready.
+ Use Publish a Job Posting to publish the job once you are ready.
### Example
@@ -1361,8 +1362,8 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.LinkedInApi(api_client)
job_id = 'job_id_example' # str | The ID of the Job for which to retrieve the applicants.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ offset = 3.4 # float | An offset used for pagination. (optional)
+ limit = 10 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 10)
get_classic_applicants_request = unipile.GetClassicApplicantsRequest() # GetClassicApplicantsRequest | (optional)
try:
@@ -1383,8 +1384,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**job_id** | **str**| The ID of the Job for which to retrieve the applicants. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **offset** | **float**| An offset used for pagination. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 10]
**get_classic_applicants_request** | [**GetClassicApplicantsRequest**](GetClassicApplicantsRequest.md)| | [optional]
### Return type
@@ -1529,7 +1530,7 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.LinkedInApi(api_client)
job_id = 'job_id_example' # str | The ID of the Job to be retrieved.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- description_format = raw_text # str | The format of the job description. (optional) (default to raw_text)
+ description_format = 'raw_text' # str | The format of the job description. (optional) (default to 'raw_text')
with_sections = ['with_sections_example'] # List[str] | Sections that should be included with the job posting. (optional)
try:
@@ -1550,7 +1551,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**job_id** | **str**| The ID of the Job to be retrieved. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **description_format** | **str**| The format of the job description. | [optional] [default to raw_text]
+ **description_format** | **str**| The format of the job description. | [optional] [default to 'raw_text']
**with_sections** | [**List[str]**](str.md)| Sections that should be included with the job posting. | [optional]
### Return type
@@ -1656,7 +1657,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_classic_search_parameters**
-> GetClassicSearchParameters200Response get_classic_search_parameters(type, keywords, account_id, offset=offset, limit=limit)
+> SearchParametersList get_classic_search_parameters(type, keywords, account_id, offset=offset, limit=limit)
List Search Parameters
@@ -1668,7 +1669,7 @@ Returns a list of parameters to be used in the search route.
```python
import unipile
-from unipile.models.get_classic_search_parameters200_response import GetClassicSearchParameters200Response
+from unipile.models.search_parameters_list import SearchParametersList
from unipile.rest import ApiException
from pprint import pprint
@@ -1697,7 +1698,7 @@ with unipile.ApiClient(configuration) as api_client:
keywords = 'keywords_example' # str | A keyword or group of keywords to filter results.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination. (optional)
- limit = 10 # float | The limit of items to be returned. (optional) (default to 10)
+ limit = 10 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 10)
try:
# List Search Parameters
@@ -1719,11 +1720,11 @@ Name | Type | Description | Notes
**keywords** | **str**| A keyword or group of keywords to filter results. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 10]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 10]
### Return type
-[**GetClassicSearchParameters200Response**](GetClassicSearchParameters200Response.md)
+[**SearchParametersList**](SearchParametersList.md)
### Authorization
@@ -1823,6 +1824,85 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+# **get_managed_company_pages**
+> GetManagedCompanyPages200Response get_managed_company_pages(account_id)
+
+List Managed Company Pages
+
+Returns a list of company pages for which the account user is an administrator.
+
+### Example
+
+* Api Key Authentication (apiKey):
+
+```python
+import unipile
+from unipile.models.get_managed_company_pages200_response import GetManagedCompanyPages200Response
+from unipile.rest import ApiException
+from pprint import pprint
+
+# Defining the host is optional and defaults to https://api.unipile.com
+# See configuration.py for a list of all supported configuration parameters.
+configuration = unipile.Configuration(
+ host = "https://api.unipile.com"
+)
+
+# The client must configure the authentication and authorization parameters
+# in accordance with the API server security policy.
+# Examples for each auth method are provided below, use the example that
+# satisfies your auth use case.
+
+# Configure API key authorization: apiKey
+configuration.api_key['apiKey'] = os.environ["API_KEY"]
+
+# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+# configuration.api_key_prefix['apiKey'] = 'Bearer'
+
+# Enter a context with an instance of the API client
+with unipile.ApiClient(configuration) as api_client:
+ # Create an instance of the API class
+ api_instance = unipile.LinkedInApi(api_client)
+ account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
+
+ try:
+ # List Managed Company Pages
+ api_response = api_instance.get_managed_company_pages(account_id)
+ print("The response of LinkedInApi->get_managed_company_pages:\n")
+ pprint(api_response)
+ except Exception as e:
+ print("Exception when calling LinkedInApi->get_managed_company_pages: %s\n" % e)
+```
+
+
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
+
+### Return type
+
+[**GetManagedCompanyPages200Response**](GetManagedCompanyPages200Response.md)
+
+### Authorization
+
+[apiKey](../README.md#apiKey)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | Default Response | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **get_recruiter_applicant_by_id**
> ApplicantsSearchDataInner get_recruiter_applicant_by_id(project_id, applicant_id, account_id)
@@ -1907,7 +1987,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_recruiter_applicant_resume**
-> get_recruiter_applicant_resume(project_id, applicant_id, account_id)
+> get_recruiter_applicant_resume(project_id, applicant_profile_id, account_id)
Get an Applicant's Resume
@@ -1944,12 +2024,12 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.LinkedInApi(api_client)
project_id = 'project_id_example' # str | The ID of the Hiring Project from which to browse the Talent Pool.
- applicant_id = 'applicant_id_example' # str | The Profile ID of the Applicant for which the get the resume.
+ applicant_profile_id = 'applicant_profile_id_example' # str | The Profile ID of the Applicant for which the get the resume (AEM...).
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
try:
# Get an Applicant's Resume
- api_instance.get_recruiter_applicant_resume(project_id, applicant_id, account_id)
+ api_instance.get_recruiter_applicant_resume(project_id, applicant_profile_id, account_id)
except Exception as e:
print("Exception when calling LinkedInApi->get_recruiter_applicant_resume: %s\n" % e)
```
@@ -1962,7 +2042,7 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**project_id** | **str**| The ID of the Hiring Project from which to browse the Talent Pool. |
- **applicant_id** | **str**| The Profile ID of the Applicant for which the get the resume. |
+ **applicant_profile_id** | **str**| The Profile ID of the Applicant for which the get the resume (AEM...). |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
### Return type
@@ -2106,11 +2186,11 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- status = ['status_example'] # List[str] | A list of statuses that the job posting of the project must match. (optional)
- sort_by = LAST_USED_BY_ME # str | The sort method. (optional) (default to LAST_USED_BY_ME)
+ status = ["ACTIVE"] # List[str] | A list of statuses that the project must match. (optional) (default to ["ACTIVE"])
+ sort_by = 'LAST_USED_BY_ME' # str | The sort method. (optional) (default to 'LAST_USED_BY_ME')
keywords = 'keywords_example' # str | A keyword or group of keywords to filter projects by name. (optional)
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ offset = 3.4 # float | An offset used for pagination. (optional)
+ limit = 10 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 10)
try:
# List Projects
@@ -2129,11 +2209,11 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **status** | [**List[str]**](str.md)| A list of statuses that the job posting of the project must match. | [optional]
- **sort_by** | **str**| The sort method. | [optional] [default to LAST_USED_BY_ME]
+ **status** | [**List[str]**](str.md)| A list of statuses that the project must match. | [optional] [default to ["ACTIVE"]]
+ **sort_by** | **str**| The sort method. | [optional] [default to 'LAST_USED_BY_ME']
**keywords** | **str**| A keyword or group of keywords to filter projects by name. | [optional]
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **offset** | **float**| An offset used for pagination. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 10]
### Return type
@@ -2441,13 +2521,13 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
state = ['state_example'] # List[str] | A list of job posting states. (optional)
- sort_by = LAST_ACCESS_TIME # str | The sort method. Native filter : Sort by (optional) (default to LAST_ACCESS_TIME)
- location = ['location_example'] # List[str] | A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location (optional)
- job_poster = ['job_poster_example'] # List[str] | A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster (optional)
- contract = ['contract_example'] # List[str] | A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract (optional)
+ sort_by = 'LAST_ACCESS_TIME' # str | The sort method. Native filter : Sort by (optional) (default to 'LAST_ACCESS_TIME')
+ location = ['location_example'] # List[str] | A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location (optional)
+ job_poster = ['job_poster_example'] # List[str] | A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster (optional)
+ contract = ['contract_example'] # List[str] | A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract (optional)
workplace_type = ['workplace_type_example'] # List[str] | A list of workplace types. Native filter : Workplace type (optional)
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ offset = 3.4 # float | An offset used for pagination. (optional)
+ limit = 10 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 10)
try:
# List Job Postings
@@ -2467,13 +2547,13 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**state** | [**List[str]**](str.md)| A list of job posting states. | [optional]
- **sort_by** | **str**| The sort method. Native filter : Sort by | [optional] [default to LAST_ACCESS_TIME]
- **location** | [**List[str]**](str.md)| A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Location | [optional]
- **job_poster** | [**List[str]**](str.md)| A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SEAT` type to find out the possible values. Native filter : Job poster | [optional]
- **contract** | [**List[str]**](str.md)| A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `CONTRACT` type to find out the possible values. Native filter : Contract | [optional]
+ **sort_by** | **str**| The sort method. Native filter : Sort by | [optional] [default to 'LAST_ACCESS_TIME']
+ **location** | [**List[str]**](str.md)| A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Location | [optional]
+ **job_poster** | [**List[str]**](str.md)| A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SEAT` type to find out the possible values. Native filter : Job poster | [optional]
+ **contract** | [**List[str]**](str.md)| A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `CONTRACT` type to find out the possible values. Native filter : Contract | [optional]
**workplace_type** | [**List[str]**](str.md)| A list of workplace types. Native filter : Workplace type | [optional]
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **offset** | **float**| An offset used for pagination. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 10]
### Return type
@@ -2537,8 +2617,8 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.LinkedInApi(api_client)
project_id = 'project_id_example' # str | The ID of the Hiring Project from which to browse the Pipeline.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ cursor = 'cursor_example' # str | A cursor used for pagination. Use `next_cursor` given by the previous page of the list. (optional)
+ limit = 25 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 25)
get_recruiter_pipeline_candidates_request = unipile.GetRecruiterPipelineCandidatesRequest() # GetRecruiterPipelineCandidatesRequest | (optional)
try:
@@ -2559,8 +2639,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**project_id** | **str**| The ID of the Hiring Project from which to browse the Pipeline. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **cursor** | **str**| A cursor used for pagination. Use `next_cursor` given by the previous page of the list. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 25]
**get_recruiter_pipeline_candidates_request** | [**GetRecruiterPipelineCandidatesRequest**](GetRecruiterPipelineCandidatesRequest.md)| | [optional]
### Return type
@@ -2585,7 +2665,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_recruiter_search_parameters**
-> GetClassicSearchParameters200Response get_recruiter_search_parameters(account_id, get_recruiter_search_parameters_request=get_recruiter_search_parameters_request)
+> SearchParametersList get_recruiter_search_parameters(account_id, offset=offset, limit=limit, get_recruiter_search_parameters_request=get_recruiter_search_parameters_request)
List Search Parameters
@@ -2597,8 +2677,8 @@ Returns a list of parameters to be used in Recruiter search endpoints.
```python
import unipile
-from unipile.models.get_classic_search_parameters200_response import GetClassicSearchParameters200Response
from unipile.models.get_recruiter_search_parameters_request import GetRecruiterSearchParametersRequest
+from unipile.models.search_parameters_list import SearchParametersList
from unipile.rest import ApiException
from pprint import pprint
@@ -2624,11 +2704,13 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
+ offset = 3.4 # float | An offset used for pagination. (optional)
+ limit = 10 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 10)
get_recruiter_search_parameters_request = unipile.GetRecruiterSearchParametersRequest() # GetRecruiterSearchParametersRequest | (optional)
try:
# List Search Parameters
- api_response = api_instance.get_recruiter_search_parameters(account_id, get_recruiter_search_parameters_request=get_recruiter_search_parameters_request)
+ api_response = api_instance.get_recruiter_search_parameters(account_id, offset=offset, limit=limit, get_recruiter_search_parameters_request=get_recruiter_search_parameters_request)
print("The response of LinkedInApi->get_recruiter_search_parameters:\n")
pprint(api_response)
except Exception as e:
@@ -2643,11 +2725,13 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
+ **offset** | **float**| An offset used for pagination. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 10]
**get_recruiter_search_parameters_request** | [**GetRecruiterSearchParametersRequest**](GetRecruiterSearchParametersRequest.md)| | [optional]
### Return type
-[**GetClassicSearchParameters200Response**](GetClassicSearchParameters200Response.md)
+[**SearchParametersList**](SearchParametersList.md)
### Authorization
@@ -2667,7 +2751,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_recruiter_talent_pool_applicants**
-> ApplicantsSearch get_recruiter_talent_pool_applicants(project_id, account_id, get_recruiter_talent_pool_applicants_request, cursor=cursor, limit=limit)
+> ApplicantsSearch get_recruiter_talent_pool_applicants(project_id, account_id, cursor=cursor, limit=limit, get_recruiter_talent_pool_applicants_request=get_recruiter_talent_pool_applicants_request)
List Job Posting Applicants
@@ -2707,13 +2791,13 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.LinkedInApi(api_client)
project_id = 'project_id_example' # str | The ID of the Hiring Project from which to browse the Talent Pool.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- get_recruiter_talent_pool_applicants_request = unipile.GetRecruiterTalentPoolApplicantsRequest() # GetRecruiterTalentPoolApplicantsRequest |
- cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ cursor = 'cursor_example' # str | A cursor used for pagination. Use `next_cursor` given by the previous page of the list. (optional)
+ limit = 25 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 25)
+ get_recruiter_talent_pool_applicants_request = unipile.GetRecruiterTalentPoolApplicantsRequest() # GetRecruiterTalentPoolApplicantsRequest | (optional)
try:
# List Job Posting Applicants
- api_response = api_instance.get_recruiter_talent_pool_applicants(project_id, account_id, get_recruiter_talent_pool_applicants_request, cursor=cursor, limit=limit)
+ api_response = api_instance.get_recruiter_talent_pool_applicants(project_id, account_id, cursor=cursor, limit=limit, get_recruiter_talent_pool_applicants_request=get_recruiter_talent_pool_applicants_request)
print("The response of LinkedInApi->get_recruiter_talent_pool_applicants:\n")
pprint(api_response)
except Exception as e:
@@ -2729,9 +2813,9 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**project_id** | **str**| The ID of the Hiring Project from which to browse the Talent Pool. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **get_recruiter_talent_pool_applicants_request** | [**GetRecruiterTalentPoolApplicantsRequest**](GetRecruiterTalentPoolApplicantsRequest.md)| |
- **cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **cursor** | **str**| A cursor used for pagination. Use `next_cursor` given by the previous page of the list. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 25]
+ **get_recruiter_talent_pool_applicants_request** | [**GetRecruiterTalentPoolApplicantsRequest**](GetRecruiterTalentPoolApplicantsRequest.md)| | [optional]
### Return type
@@ -2794,7 +2878,7 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination. (optional)
- limit = 25 # float | The limit of items to be returned. (optional) (default to 25)
+ limit = 25 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 25)
try:
# Get Accounts Lists
@@ -2814,7 +2898,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 25]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 25]
### Return type
@@ -2877,7 +2961,7 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination. (optional)
- limit = 25 # float | The limit of items to be returned. (optional) (default to 25)
+ limit = 25 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 25)
try:
# Get Leads Lists
@@ -2897,7 +2981,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 25]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 25]
### Return type
@@ -2921,7 +3005,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_sales_search_parameters**
-> GetClassicSearchParameters200Response get_sales_search_parameters(type, account_id, keywords=keywords, offset=offset, limit=limit)
+> SearchParametersList get_sales_search_parameters(type, account_id, keywords=keywords, offset=offset, limit=limit)
List Search Parameters
@@ -2933,7 +3017,7 @@ Returns a list of parameters to be used in Sales navigator search endpoints.
```python
import unipile
-from unipile.models.get_classic_search_parameters200_response import GetClassicSearchParameters200Response
+from unipile.models.search_parameters_list import SearchParametersList
from unipile.rest import ApiException
from pprint import pprint
@@ -2962,7 +3046,7 @@ with unipile.ApiClient(configuration) as api_client:
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
keywords = 'keywords_example' # str | A keyword or group of keywords to filter results. (optional)
offset = 3.4 # float | An offset used for pagination. (optional)
- limit = 10 # float | The limit of items to be returned. (optional) (default to 10)
+ limit = 10 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 10)
try:
# List Search Parameters
@@ -2984,11 +3068,11 @@ Name | Type | Description | Notes
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**keywords** | **str**| A keyword or group of keywords to filter results. | [optional]
**offset** | **float**| An offset used for pagination. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 10]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 10]
### Return type
-[**GetClassicSearchParameters200Response**](GetClassicSearchParameters200Response.md)
+[**SearchParametersList**](SearchParametersList.md)
### Authorization
@@ -3045,10 +3129,10 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.LinkedInApi(api_client)
- state = 'state_example' # str | A list of Job posting states.
+ state = ['state_example'] # List[str] | A list of Job posting states.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ offset = 3.4 # float | An offset used for pagination. (optional)
+ limit = 10 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 10)
try:
# List User Job Postings
@@ -3066,10 +3150,10 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **state** | **str**| A list of Job posting states. |
+ **state** | [**List[str]**](str.md)| A list of Job posting states. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **offset** | **float**| An offset used for pagination. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 10]
### Return type
@@ -3093,7 +3177,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **perform_classic_companies_search**
-> PerformClassicCompaniesSearch200Response perform_classic_companies_search(account_id, offset=offset, limit=limit, perform_classic_companies_search_request=perform_classic_companies_search_request)
+> CompaniesSearchResults perform_classic_companies_search(account_id, cursor=cursor, perform_classic_companies_search_request=perform_classic_companies_search_request)
Perform Companies Search
@@ -3105,7 +3189,7 @@ Returns a list of companies from search results.
```python
import unipile
-from unipile.models.perform_classic_companies_search200_response import PerformClassicCompaniesSearch200Response
+from unipile.models.companies_search_results import CompaniesSearchResults
from unipile.models.perform_classic_companies_search_request import PerformClassicCompaniesSearchRequest
from unipile.rest import ApiException
from pprint import pprint
@@ -3132,13 +3216,12 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ cursor = 'cursor_example' # str | A cursor used for pagination. Use `next_cursor` given by the previous page of the list. (optional)
perform_classic_companies_search_request = unipile.PerformClassicCompaniesSearchRequest() # PerformClassicCompaniesSearchRequest | (optional)
try:
# Perform Companies Search
- api_response = api_instance.perform_classic_companies_search(account_id, offset=offset, limit=limit, perform_classic_companies_search_request=perform_classic_companies_search_request)
+ api_response = api_instance.perform_classic_companies_search(account_id, cursor=cursor, perform_classic_companies_search_request=perform_classic_companies_search_request)
print("The response of LinkedInApi->perform_classic_companies_search:\n")
pprint(api_response)
except Exception as e:
@@ -3153,13 +3236,12 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **cursor** | **str**| A cursor used for pagination. Use `next_cursor` given by the previous page of the list. | [optional]
**perform_classic_companies_search_request** | [**PerformClassicCompaniesSearchRequest**](PerformClassicCompaniesSearchRequest.md)| | [optional]
### Return type
-[**PerformClassicCompaniesSearch200Response**](PerformClassicCompaniesSearch200Response.md)
+[**CompaniesSearchResults**](CompaniesSearchResults.md)
### Authorization
@@ -3179,7 +3261,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **perform_classic_jobs_search**
-> PerformClassicJobsSearch200Response perform_classic_jobs_search(account_id, offset=offset, limit=limit, perform_classic_jobs_search_request=perform_classic_jobs_search_request)
+> JobsSearchResults1 perform_classic_jobs_search(account_id, offset=offset, limit=limit, perform_classic_jobs_search_request=perform_classic_jobs_search_request)
Perform Jobs Search
@@ -3191,7 +3273,7 @@ Returns a list of job postings from search results.
```python
import unipile
-from unipile.models.perform_classic_jobs_search200_response import PerformClassicJobsSearch200Response
+from unipile.models.jobs_search_results1 import JobsSearchResults1
from unipile.models.perform_classic_jobs_search_request import PerformClassicJobsSearchRequest
from unipile.rest import ApiException
from pprint import pprint
@@ -3218,8 +3300,8 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ offset = 3.4 # float | An offset used for pagination. (optional)
+ limit = 25 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 25)
perform_classic_jobs_search_request = unipile.PerformClassicJobsSearchRequest() # PerformClassicJobsSearchRequest | (optional)
try:
@@ -3239,13 +3321,13 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **offset** | **float**| An offset used for pagination. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 25]
**perform_classic_jobs_search_request** | [**PerformClassicJobsSearchRequest**](PerformClassicJobsSearchRequest.md)| | [optional]
### Return type
-[**PerformClassicJobsSearch200Response**](PerformClassicJobsSearch200Response.md)
+[**JobsSearchResults1**](JobsSearchResults1.md)
### Authorization
@@ -3265,7 +3347,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **perform_classic_people_search**
-> PerformClassicPeopleSearch200Response perform_classic_people_search(account_id, offset=offset, limit=limit, perform_classic_people_search_request=perform_classic_people_search_request)
+> PeopleSearchResults perform_classic_people_search(account_id, cursor=cursor, perform_classic_people_search_request=perform_classic_people_search_request)
Perform People Search
@@ -3277,7 +3359,7 @@ Returns a list of people from search results.
```python
import unipile
-from unipile.models.perform_classic_people_search200_response import PerformClassicPeopleSearch200Response
+from unipile.models.people_search_results import PeopleSearchResults
from unipile.models.perform_classic_people_search_request import PerformClassicPeopleSearchRequest
from unipile.rest import ApiException
from pprint import pprint
@@ -3304,13 +3386,12 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ cursor = 'cursor_example' # str | A cursor used for pagination. Use `next_cursor` given by the previous page of the list. (optional)
perform_classic_people_search_request = unipile.PerformClassicPeopleSearchRequest() # PerformClassicPeopleSearchRequest | (optional)
try:
# Perform People Search
- api_response = api_instance.perform_classic_people_search(account_id, offset=offset, limit=limit, perform_classic_people_search_request=perform_classic_people_search_request)
+ api_response = api_instance.perform_classic_people_search(account_id, cursor=cursor, perform_classic_people_search_request=perform_classic_people_search_request)
print("The response of LinkedInApi->perform_classic_people_search:\n")
pprint(api_response)
except Exception as e:
@@ -3325,13 +3406,12 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **cursor** | **str**| A cursor used for pagination. Use `next_cursor` given by the previous page of the list. | [optional]
**perform_classic_people_search_request** | [**PerformClassicPeopleSearchRequest**](PerformClassicPeopleSearchRequest.md)| | [optional]
### Return type
-[**PerformClassicPeopleSearch200Response**](PerformClassicPeopleSearch200Response.md)
+[**PeopleSearchResults**](PeopleSearchResults.md)
### Authorization
@@ -3351,7 +3431,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **perform_classic_posts_search**
-> PerformClassicPostsSearch200Response perform_classic_posts_search(account_id, offset=offset, limit=limit, perform_classic_posts_search_request=perform_classic_posts_search_request)
+> PostsSearchResults perform_classic_posts_search(account_id, cursor=cursor, perform_classic_posts_search_request=perform_classic_posts_search_request)
Perform Posts Search
@@ -3363,8 +3443,8 @@ Returns a list of posts from search results.
```python
import unipile
-from unipile.models.perform_classic_posts_search200_response import PerformClassicPostsSearch200Response
from unipile.models.perform_classic_posts_search_request import PerformClassicPostsSearchRequest
+from unipile.models.posts_search_results import PostsSearchResults
from unipile.rest import ApiException
from pprint import pprint
@@ -3390,13 +3470,12 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ cursor = 'cursor_example' # str | A cursor used for pagination. Use `next_cursor` given by the previous page of the list. (optional)
perform_classic_posts_search_request = unipile.PerformClassicPostsSearchRequest() # PerformClassicPostsSearchRequest | (optional)
try:
# Perform Posts Search
- api_response = api_instance.perform_classic_posts_search(account_id, offset=offset, limit=limit, perform_classic_posts_search_request=perform_classic_posts_search_request)
+ api_response = api_instance.perform_classic_posts_search(account_id, cursor=cursor, perform_classic_posts_search_request=perform_classic_posts_search_request)
print("The response of LinkedInApi->perform_classic_posts_search:\n")
pprint(api_response)
except Exception as e:
@@ -3411,13 +3490,12 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **cursor** | **str**| A cursor used for pagination. Use `next_cursor` given by the previous page of the list. | [optional]
**perform_classic_posts_search_request** | [**PerformClassicPostsSearchRequest**](PerformClassicPostsSearchRequest.md)| | [optional]
### Return type
-[**PerformClassicPostsSearch200Response**](PerformClassicPostsSearch200Response.md)
+[**PostsSearchResults**](PostsSearchResults.md)
### Authorization
@@ -3437,7 +3515,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **perform_classic_search_from_url**
-> PerformClassicSearchFromUrl200Response perform_classic_search_from_url(account_id, perform_classic_search_from_url_request, offset=offset, limit=limit)
+> PerformClassicSearchFromUrl200Response perform_classic_search_from_url(account_id, perform_classic_search_from_url_request, offset=offset, limit=limit, cursor=cursor)
Perform Classic Search from URL
@@ -3477,12 +3555,13 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
perform_classic_search_from_url_request = unipile.PerformClassicSearchFromUrlRequest() # PerformClassicSearchFromUrlRequest |
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ offset = 3.4 # float | An offset used for pagination. (optional)
+ limit = 10 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 10)
+ cursor = 'cursor_example' # str | A cursor used for pagination. Use `next_cursor` given by the previous page of the list. (optional)
try:
# Perform Classic Search from URL
- api_response = api_instance.perform_classic_search_from_url(account_id, perform_classic_search_from_url_request, offset=offset, limit=limit)
+ api_response = api_instance.perform_classic_search_from_url(account_id, perform_classic_search_from_url_request, offset=offset, limit=limit, cursor=cursor)
print("The response of LinkedInApi->perform_classic_search_from_url:\n")
pprint(api_response)
except Exception as e:
@@ -3498,8 +3577,9 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**perform_classic_search_from_url_request** | [**PerformClassicSearchFromUrlRequest**](PerformClassicSearchFromUrlRequest.md)| |
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **offset** | **float**| An offset used for pagination. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 10]
+ **cursor** | **str**| A cursor used for pagination. Use `next_cursor` given by the previous page of the list. | [optional]
### Return type
@@ -3562,8 +3642,8 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ cursor = 'cursor_example' # str | A cursor used for pagination. Use `next_cursor` given by the previous page of the list. (optional)
+ limit = 25 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 25)
perform_recruiter_people_search_request = unipile.PerformRecruiterPeopleSearchRequest() # PerformRecruiterPeopleSearchRequest | (optional)
try:
@@ -3583,8 +3663,8 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **cursor** | **str**| A cursor used for pagination. Use `next_cursor` given by the previous page of the list. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 25]
**perform_recruiter_people_search_request** | [**PerformRecruiterPeopleSearchRequest**](PerformRecruiterPeopleSearchRequest.md)| | [optional]
### Return type
@@ -3650,8 +3730,8 @@ with unipile.ApiClient(configuration) as api_client:
project_id = 'project_id_example' # str | The ID of the Hiring Project from which to browse the Talent Pool.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
perform_recruiter_people_search_from_talent_pool_request = unipile.PerformRecruiterPeopleSearchFromTalentPoolRequest() # PerformRecruiterPeopleSearchFromTalentPoolRequest |
- cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ cursor = 'cursor_example' # str | A cursor used for pagination. Use `next_cursor` given by the previous page of the list. (optional)
+ limit = 25 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 25)
try:
# Perform People Search From Talent Pool
@@ -3672,8 +3752,8 @@ Name | Type | Description | Notes
**project_id** | **str**| The ID of the Hiring Project from which to browse the Talent Pool. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**perform_recruiter_people_search_from_talent_pool_request** | [**PerformRecruiterPeopleSearchFromTalentPoolRequest**](PerformRecruiterPeopleSearchFromTalentPoolRequest.md)| |
- **cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **cursor** | **str**| A cursor used for pagination. Use `next_cursor` given by the previous page of the list. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 25]
### Return type
@@ -3737,8 +3817,8 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
perform_classic_search_from_url_request = unipile.PerformClassicSearchFromUrlRequest() # PerformClassicSearchFromUrlRequest |
- cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ cursor = 'cursor_example' # str | A cursor used for pagination. Use `next_cursor` given by the previous page of the list. (optional)
+ limit = 20 # float | `search` and `applicants` channels maximum is 100
`pipeline` channel maximum is 5000 (optional) (default to 20)
try:
# Perform Recruiter Search from URL
@@ -3758,8 +3838,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**perform_classic_search_from_url_request** | [**PerformClassicSearchFromUrlRequest**](PerformClassicSearchFromUrlRequest.md)| |
- **cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **cursor** | **str**| A cursor used for pagination. Use `next_cursor` given by the previous page of the list. | [optional]
+ **limit** | **float**| `search` and `applicants` channels maximum is 100<br> `pipeline` channel maximum is 5000 | [optional] [default to 20]
### Return type
@@ -3822,8 +3902,8 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ offset = 3.4 # float | An offset used for pagination. (optional)
+ limit = 25 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 25)
perform_sales_companies_search_request = unipile.PerformSalesCompaniesSearchRequest() # PerformSalesCompaniesSearchRequest | (optional)
try:
@@ -3843,8 +3923,8 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **offset** | **float**| An offset used for pagination. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 25]
**perform_sales_companies_search_request** | [**PerformSalesCompaniesSearchRequest**](PerformSalesCompaniesSearchRequest.md)| | [optional]
### Return type
@@ -3908,8 +3988,8 @@ with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ offset = 3.4 # float | An offset used for pagination. (optional)
+ limit = 25 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 25)
perform_sales_people_search_request = unipile.PerformSalesPeopleSearchRequest() # PerformSalesPeopleSearchRequest | (optional)
try:
@@ -3929,8 +4009,8 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **offset** | **float**| An offset used for pagination. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 25]
**perform_sales_people_search_request** | [**PerformSalesPeopleSearchRequest**](PerformSalesPeopleSearchRequest.md)| | [optional]
### Return type
@@ -3995,8 +4075,8 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.LinkedInApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
perform_classic_search_from_url_request = unipile.PerformClassicSearchFromUrlRequest() # PerformClassicSearchFromUrlRequest |
- offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
+ offset = 3.4 # float | An offset used for pagination. (optional)
+ limit = 10 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 10)
try:
# Perform Search from URL
@@ -4016,8 +4096,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**perform_classic_search_from_url_request** | [**PerformClassicSearchFromUrlRequest**](PerformClassicSearchFromUrlRequest.md)| |
- **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
+ **offset** | **float**| An offset used for pagination. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 10]
### Return type
diff --git a/docs/LinkedInClassicApplicant.md b/docs/LinkedInClassicApplicant.md
index 0a6a15f91..e5a557c3d 100644
--- a/docs/LinkedInClassicApplicant.md
+++ b/docs/LinkedInClassicApplicant.md
@@ -7,7 +7,7 @@ Options available when the recipient is a candidate for one of your job postings
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | The applicant ID of the recipient. |
-**messaging_token** | **str** | The messaging token to be retrieved using the <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-jobs-job-id-applicants-applicant-id\">Get an Applicant</a> endpoint. |
+**messaging_token** | **str** | The messaging token to be retrieved using the <a href=\"https://developer.unipile.com/v2.0/reference/getclassicapplicantbyid\">Get an Applicant</a> endpoint. |
## Example
diff --git a/docs/ListClassicUserJobPostings200Response.md b/docs/ListClassicUserJobPostings200Response.md
index afc59d038..282c826f0 100644
--- a/docs/ListClassicUserJobPostings200Response.md
+++ b/docs/ListClassicUserJobPostings200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[ListClassicUserJobPostings200ResponseDataInner]**](ListClassicUserJobPostings200ResponseDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/ListUserFollowers200Response.md b/docs/ListUserFollowers200Response.md
index d2fa31578..e5c6941ca 100644
--- a/docs/ListUserFollowers200Response.md
+++ b/docs/ListUserFollowers200Response.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**data** | [**List[LinkedInProjectsInnerContributorsInner]**](LinkedInProjectsInnerContributorsInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**data** | [**List[GetChatsList200ResponseDataInnerParticipantsInnerUser]**](GetChatsList200ResponseDataInnerParticipantsInnerUser.md) | |
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/ListWebhookConversations200ResponseDataInner.md b/docs/ListWebhookConversations200ResponseDataInner.md
index 14caec335..937583773 100644
--- a/docs/ListWebhookConversations200ResponseDataInner.md
+++ b/docs/ListWebhookConversations200ResponseDataInner.md
@@ -7,10 +7,10 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**first_attempt** | **bool** | |
**event_type** | **str** | |
-**created_at** | **str** | The ID of the Company. |
+**created_at** | **str** | The text content of the message, when available. |
**http_status** | **int** | |
-**endpoint_url** | **str** | The ID of the Company. |
-**response_body** | **str** | The ID of the Company. |
+**endpoint_url** | **str** | The text content of the message, when available. |
+**response_body** | **str** | The text content of the message, when available. |
**object** | **str** | |
**id** | **str** | |
**endpoint_id** | **str** | |
diff --git a/docs/ListWebhookEndpoints200ResponseDataInner.md b/docs/ListWebhookEndpoints200ResponseDataInner.md
index 5337b1a4e..6f98623c1 100644
--- a/docs/ListWebhookEndpoints200ResponseDataInner.md
+++ b/docs/ListWebhookEndpoints200ResponseDataInner.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**enabled** | **bool** | |
**description** | **str** | |
-**url** | **str** | The ID of the Company. |
+**url** | **str** | The text content of the message, when available. |
**trigger_events** | **List[str]** | |
**secret** | **str** | |
**object** | **str** | |
diff --git a/docs/Loading.md b/docs/Loading.md
new file mode 100644
index 000000000..68a0b0e5b
--- /dev/null
+++ b/docs/Loading.md
@@ -0,0 +1,30 @@
+# Loading
+
+The authentication is continuing in the background and requires no user input.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**type** | **str** | |
+
+## Example
+
+```python
+from unipile.models.loading import Loading
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of Loading from a JSON string
+loading_instance = Loading.from_json(json)
+# print the JSON string representation of the object
+print(Loading.to_json())
+
+# convert the object into a dict
+loading_dict = loading_instance.to_dict()
+# create an instance of Loading from a dict
+loading_from_dict = Loading.from_dict(loading_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/MediaShare.md b/docs/MediaShare.md
index 592b6e760..b405e978e 100644
--- a/docs/MediaShare.md
+++ b/docs/MediaShare.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**object** | **str** | |
**id** | **str** | The unique identifier of the attachment for the provider. |
**file_size** | **float** | The size of the attachment in bytes. | [optional]
+**is_inline** | **bool** | Is the attachment inline in the content. |
**is_unavailable** | **bool** | The attachment is not available for download because it was removed from provider servers. | [optional]
**mimetype** | **str** | The MIME type of the attachment. |
**url** | **str** | The URL of the shared content. |
diff --git a/docs/Message.md b/docs/Message.md
index 640abf41a..947e57947 100644
--- a/docs/Message.md
+++ b/docs/Message.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**last_updated_at** | **str** | The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
-**last_updated_by** | [**LinkedInProjectsInnerContributorsInner**](LinkedInProjectsInnerContributorsInner.md) | |
+**last_updated_by** | [**LinkedIn1InterestsTopVoicesInner**](LinkedIn1InterestsTopVoicesInner.md) | |
**event** | **str** | The type of event. |
-**message_content** | **str** | The text content of the message. |
+**message_content** | **str** | The text content of the message, when available. |
**message_status** | **str** | The current status of the message. |
## Example
diff --git a/docs/MessagingApi.md b/docs/MessagingApi.md
index b1eb9a9eb..90d429ef4 100644
--- a/docs/MessagingApi.md
+++ b/docs/MessagingApi.md
@@ -12,6 +12,7 @@ Method | HTTP request | Description
[**get_attachment**](MessagingApi.md#get_attachment) | **GET** /v2/{account_id}/chats/{chat_id}/messages/{message_id}/attachments/{attachment_id} | Get a Message Attachment
[**get_chat**](MessagingApi.md#get_chat) | **GET** /v2/{account_id}/chats/{chat_id} | Get a Chat
[**get_chats_list**](MessagingApi.md#get_chats_list) | **GET** /v2/{account_id}/chats | List all Chats
+[**get_contacts_list**](MessagingApi.md#get_contacts_list) | **GET** /v2/{account_id}/contacts | List contacts
[**get_inbox_chats_list**](MessagingApi.md#get_inbox_chats_list) | **GET** /v2/{account_id}/inboxes/{inbox_id}/chats | List Inbox Chats
[**get_inboxes_list**](MessagingApi.md#get_inboxes_list) | **GET** /v2/{account_id}/inboxes | List all Inboxes
[**get_message**](MessagingApi.md#get_message) | **GET** /v2/{account_id}/chats/{chat_id}/messages/{message_id} | Get a Message
@@ -123,7 +124,6 @@ Name | Type | Description | Notes
Add a Chat Participant
Adds a new user as participant of chat if you have the rights to. Providers might requires an admin role or some permissions.
-
Trying to add a participant into a 1to1 chat can fail depending on the provider.
### Example
@@ -287,7 +287,6 @@ void (empty response body)
Delete a Message
Deletes one of your own messages. Depending of the provider, the message might still be visible as deleted.
-
Trying to delete the message of another user will fail.
### Example
@@ -613,11 +612,14 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_chats_list**
-> GetChatsList200Response get_chats_list(account_id, offset=offset, limit=limit, cursor=cursor, type=type, before=before, after=after, is_archived=is_archived, is_unread=is_unread)
+> GetChatsList200Response get_chats_list(account_id, offset=offset, cursor=cursor, limit=limit, type=type, before=before, after=after, is_archived=is_archived, is_unread=is_unread)
List all Chats
-Returns a list of account's chats, whatever the inbox they belong to. The chats are returned sorted by their last message date, with the most recent appearing first. You might want to use the List inbox Chats instead if not supported by the provider. Filters are applied with an AND logic if supported by the provider.
+Returns a list of account's chats, whatever the inbox they belong to. The chats are returned sorted by their last message date, with the most recent appearing first.
+ You might want to use the List inbox Chats instead if not supported by the provider.
+ Filters are applied with an AND logic if supported by the provider.
+
### Example
@@ -652,8 +654,8 @@ with unipile.ApiClient(configuration) as api_client:
api_instance = unipile.MessagingApi(api_client)
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
type = 'type_example' # str | Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat. (optional)
before = 'before_example' # str | A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). (optional)
after = 'after_example' # str | A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).. (optional)
@@ -662,7 +664,7 @@ with unipile.ApiClient(configuration) as api_client:
try:
# List all Chats
- api_response = api_instance.get_chats_list(account_id, offset=offset, limit=limit, cursor=cursor, type=type, before=before, after=after, is_archived=is_archived, is_unread=is_unread)
+ api_response = api_instance.get_chats_list(account_id, offset=offset, cursor=cursor, limit=limit, type=type, before=before, after=after, is_archived=is_archived, is_unread=is_unread)
print("The response of MessagingApi->get_chats_list:\n")
pprint(api_response)
except Exception as e:
@@ -678,8 +680,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
**type** | **str**| Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat. | [optional]
**before** | **str**| A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
**after** | **str**| A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).. | [optional]
@@ -707,12 +709,100 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+# **get_contacts_list**
+> GetContactsList200Response get_contacts_list(account_id, offset=offset, cursor=cursor, limit=limit)
+
+List contacts
+
+Returns a list of contacts for the connected account. Served by the email provider for email accounts and by the messaging provider for messaging accounts (e.g. WhatsApp). On providers where a contact is an overlay over a user, the contact carries the account owner's chosen name while the nested `user` object carries the user's own identity.
+
+### Example
+
+* Api Key Authentication (apiKey):
+
+```python
+import unipile
+from unipile.models.get_contacts_list200_response import GetContactsList200Response
+from unipile.rest import ApiException
+from pprint import pprint
+
+# Defining the host is optional and defaults to https://api.unipile.com
+# See configuration.py for a list of all supported configuration parameters.
+configuration = unipile.Configuration(
+ host = "https://api.unipile.com"
+)
+
+# The client must configure the authentication and authorization parameters
+# in accordance with the API server security policy.
+# Examples for each auth method are provided below, use the example that
+# satisfies your auth use case.
+
+# Configure API key authorization: apiKey
+configuration.api_key['apiKey'] = os.environ["API_KEY"]
+
+# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+# configuration.api_key_prefix['apiKey'] = 'Bearer'
+
+# Enter a context with an instance of the API client
+with unipile.ApiClient(configuration) as api_client:
+ # Create an instance of the API class
+ api_instance = unipile.MessagingApi(api_client)
+ account_id = 'account_id_example' # str |
+ offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
+ cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
+
+ try:
+ # List contacts
+ api_response = api_instance.get_contacts_list(account_id, offset=offset, cursor=cursor, limit=limit)
+ print("The response of MessagingApi->get_contacts_list:\n")
+ pprint(api_response)
+ except Exception as e:
+ print("Exception when calling MessagingApi->get_contacts_list: %s\n" % e)
+```
+
+
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **account_id** | **str**| |
+ **offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
+ **cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
+
+### Return type
+
+[**GetContactsList200Response**](GetContactsList200Response.md)
+
+### Authorization
+
+[apiKey](../README.md#apiKey)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | Default Response | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **get_inbox_chats_list**
-> GetChatsList200Response get_inbox_chats_list(inbox_id, account_id, offset=offset, limit=limit, cursor=cursor, type=type, before=before, after=after, is_archived=is_archived, is_unread=is_unread)
+> GetChatsList200Response get_inbox_chats_list(inbox_id, account_id, offset=offset, cursor=cursor, limit=limit, type=type, before=before, after=after, is_archived=is_archived, is_unread=is_unread)
List Inbox Chats
-Returns a list of account's chats from a specific inbox. The chats are returned sorted by their last message date, with the most recent appearing first. Filters are applied with an AND logic if supported by the provider.
+Returns a list of account's chats from a specific inbox.
+ The chats are returned sorted by their last message date, with the most recent appearing first.
+ Filters are applied with an AND logic if supported by the provider.
+
### Example
@@ -745,11 +835,11 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.MessagingApi(api_client)
- inbox_id = 'inbox_id_example' # str | ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox.
+ inbox_id = 'inbox_id_example' # str | ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
type = 'type_example' # str | Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat. (optional)
before = 'before_example' # str | A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). (optional)
after = 'after_example' # str | A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).. (optional)
@@ -758,7 +848,7 @@ with unipile.ApiClient(configuration) as api_client:
try:
# List Inbox Chats
- api_response = api_instance.get_inbox_chats_list(inbox_id, account_id, offset=offset, limit=limit, cursor=cursor, type=type, before=before, after=after, is_archived=is_archived, is_unread=is_unread)
+ api_response = api_instance.get_inbox_chats_list(inbox_id, account_id, offset=offset, cursor=cursor, limit=limit, type=type, before=before, after=after, is_archived=is_archived, is_unread=is_unread)
print("The response of MessagingApi->get_inbox_chats_list:\n")
pprint(api_response)
except Exception as e:
@@ -772,11 +862,11 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **inbox_id** | **str**| ID of the Inbox to retrieve Chats from. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-inboxes\">List all Inboxes</a> to get the ID of an inbox. |
+ **inbox_id** | **str**| ID of the Inbox to retrieve Chats from. Use <a href=\"https://developer.unipile.com/v2.0/reference/getinboxeslist\">List all Inboxes</a> to get the ID of an inbox. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
**type** | **str**| Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat. | [optional]
**before** | **str**| A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
**after** | **str**| A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).. | [optional]
@@ -967,7 +1057,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_message_reactions_list**
-> GetMessageReactionsList200Response get_message_reactions_list(chat_id, message_id, account_id, offset=offset, limit=limit, cursor=cursor)
+> GetMessageReactionsList200Response get_message_reactions_list(chat_id, message_id, account_id, offset=offset, cursor=cursor, limit=limit)
List all Message's Reactions
@@ -1008,12 +1098,12 @@ with unipile.ApiClient(configuration) as api_client:
message_id = 'message_id_example' # str | The ID of the Message to retrieve reactions from.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all Message's Reactions
- api_response = api_instance.get_message_reactions_list(chat_id, message_id, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_message_reactions_list(chat_id, message_id, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of MessagingApi->get_message_reactions_list:\n")
pprint(api_response)
except Exception as e:
@@ -1031,8 +1121,8 @@ Name | Type | Description | Notes
**message_id** | **str**| The ID of the Message to retrieve reactions from. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -1056,7 +1146,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_messages_list**
-> GetMessagesList200Response get_messages_list(chat_id, account_id, before=before, after=after, user_id=user_id, offset=offset, limit=limit, cursor=cursor)
+> GetMessagesList200Response get_messages_list(chat_id, account_id, before=before, after=after, user_id=user_id, offset=offset, cursor=cursor, limit=limit)
List all Chat Messages
@@ -1099,12 +1189,12 @@ with unipile.ApiClient(configuration) as api_client:
after = 'after_example' # str | Filter to only return messages sent after the given timestamp (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). (optional)
user_id = 'user_id_example' # str | Filter to only return messages sent by the given User. (optional)
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all Chat Messages
- api_response = api_instance.get_messages_list(chat_id, account_id, before=before, after=after, user_id=user_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_messages_list(chat_id, account_id, before=before, after=after, user_id=user_id, offset=offset, cursor=cursor, limit=limit)
print("The response of MessagingApi->get_messages_list:\n")
pprint(api_response)
except Exception as e:
@@ -1124,8 +1214,8 @@ Name | Type | Description | Notes
**after** | **str**| Filter to only return messages sent after the given timestamp (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
**user_id** | **str**| Filter to only return messages sent by the given User. | [optional]
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -1149,12 +1239,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_participants_list**
-> GetParticipantsList200Response get_participants_list(chat_id, account_id, offset=offset, limit=limit, cursor=cursor)
+> GetParticipantsList200Response get_participants_list(chat_id, account_id, offset=offset, cursor=cursor, limit=limit)
List all Chat Participants
Returns a list of participants in the specified group chat. For 1to1 chats, the unique participant is given in the chat object.
-
Trying to retrieve the list of participants of a 1to1 chat will fail.
### Example
@@ -1191,12 +1280,12 @@ with unipile.ApiClient(configuration) as api_client:
chat_id = 'chat_id_example' # str | ID of the Chat to retrieve participants from.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all Chat Participants
- api_response = api_instance.get_participants_list(chat_id, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_participants_list(chat_id, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of MessagingApi->get_participants_list:\n")
pprint(api_response)
except Exception as e:
@@ -1213,8 +1302,8 @@ Name | Type | Description | Notes
**chat_id** | **str**| ID of the Chat to retrieve participants from. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -1324,7 +1413,6 @@ Name | Type | Description | Notes
Modify a Message
Modifies one of the account's owner messages.
-
Trying to modify the message of another user will fail.
### Example
@@ -1413,7 +1501,7 @@ Read a Message
Marks a message sent in the chat by another user as read by you.
Trying to mark your own messages as read will fail.
- This does not affect the read status of the chat. Use Update a Chat to mark a chat as read.
+ This does not affect the read status of the chat. Use Update a Chat to mark a chat as read.
### Example
@@ -1496,7 +1584,9 @@ Name | Type | Description | Notes
Remove a Message Reaction
-Removes a reaction of the account's owner from a message. Trying to remove a reaction from another user will fail.
+Removes a reaction of the account's owner from a message.
+ Trying to remove a reaction from another user will fail.
+
### Example
@@ -1583,7 +1673,6 @@ Name | Type | Description | Notes
Remove a Chat Participant
Removes a participant user from a chat if you have the rights to. Providers might requires an admin role or some permissions.
-
Trying to remove a participant from a 1to1 chat will fail.
### Example
@@ -1668,10 +1757,7 @@ Name | Type | Description | Notes
Send a Message
Sends a message in the specified chat.
-
- Use Start a Chat if you don't have a conversation with the wanted user(s) yet.
-
- Multipart supported, refer to Sending Files.
+ Use Start a Chat or Start a Chat from Inbox if no conversation has been started with the specified user or group of users yet.
Multipart supported, refer to Sending Files.
### Example
@@ -1921,12 +2007,8 @@ Name | Type | Description | Notes
Start a Chat
Starts a new 1to1 or group chat by sending the first message.
-
- Use Send a Message if a conversation already exist with the wanted user(s).
-
- Use Start a Chat from Inbox if the provider uses the inbox concept.
-
- Multipart supported, refer to Sending Files.
+ Use Send a Message if a conversation already exist with the wanted user(s).
+ Use Start a Chat from Inbox if the provider uses the inbox concept.
Multipart supported, refer to Sending Files.
### Example
@@ -2004,18 +2086,13 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **start_chat_from_inbox**
-> StartChat200Response start_chat_from_inbox(inbox_id, account_id, start_chat_from_inbox_request)
+> StartChat200Response start_chat_from_inbox(inbox_id, account_id, start_chat_request)
Start a Chat from Inbox
Starts a new 1to1 or group chat in the given inbox by sending the first message.
-
- Use Send a Message if a conversation already exist with the wanted user(s).
-
- Use Start a Chat instead if the provider does not use the inbox concept.
-
-
- Multipart supported, refer to Sending Files.
+ Use Send a Message if a conversation already exist with the wanted user(s).
+ Use Start a Chat instead if the provider does not use the inbox concept.
Multipart supported, refer to Sending Files.
### Example
@@ -2024,7 +2101,7 @@ Starts a new 1to1 or group chat in the given inbox by sending the first message.
```python
import unipile
from unipile.models.start_chat200_response import StartChat200Response
-from unipile.models.start_chat_from_inbox_request import StartChatFromInboxRequest
+from unipile.models.start_chat_request import StartChatRequest
from unipile.rest import ApiException
from pprint import pprint
@@ -2049,13 +2126,13 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.MessagingApi(api_client)
- inbox_id = 'inbox_id_example' # str | ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox.
+ inbox_id = 'inbox_id_example' # str | ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
- start_chat_from_inbox_request = unipile.StartChatFromInboxRequest() # StartChatFromInboxRequest |
+ start_chat_request = unipile.StartChatRequest() # StartChatRequest |
try:
# Start a Chat from Inbox
- api_response = api_instance.start_chat_from_inbox(inbox_id, account_id, start_chat_from_inbox_request)
+ api_response = api_instance.start_chat_from_inbox(inbox_id, account_id, start_chat_request)
print("The response of MessagingApi->start_chat_from_inbox:\n")
pprint(api_response)
except Exception as e:
@@ -2069,9 +2146,9 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **inbox_id** | **str**| ID of the Inbox to start the Chat in. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-inboxes\">List all Inboxes</a> to get the ID of an inbox. |
+ **inbox_id** | **str**| ID of the Inbox to start the Chat in. Use <a href=\"https://developer.unipile.com/v2.0/reference/getinboxeslist\">List all Inboxes</a> to get the ID of an inbox. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
- **start_chat_from_inbox_request** | [**StartChatFromInboxRequest**](StartChatFromInboxRequest.md)| |
+ **start_chat_request** | [**StartChatRequest**](StartChatRequest.md)| |
### Return type
@@ -2095,7 +2172,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **update_chat**
-> GetChat200Response update_chat(chat_id, account_id, update_chat_request=update_chat_request)
+> UpdateChat200Response update_chat(chat_id, account_id, update_chat_request=update_chat_request)
Update a Chat
@@ -2107,7 +2184,7 @@ Updates the specified chat by setting the values of the parameters passed. Any p
```python
import unipile
-from unipile.models.get_chat200_response import GetChat200Response
+from unipile.models.update_chat200_response import UpdateChat200Response
from unipile.models.update_chat_request import UpdateChatRequest
from unipile.rest import ApiException
from pprint import pprint
@@ -2159,7 +2236,7 @@ Name | Type | Description | Notes
### Return type
-[**GetChat200Response**](GetChat200Response.md)
+[**UpdateChat200Response**](UpdateChat200Response.md)
### Authorization
diff --git a/docs/ModifyEmailRequest.md b/docs/ModifyEmailRequest.md
index 981f302f4..7b6e1003f 100644
--- a/docs/ModifyEmailRequest.md
+++ b/docs/ModifyEmailRequest.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**folders_ids** | **List[Optional[str]]** | The ID(s) of the folder(s) to apply, overwriting all folders previously associated with the Email. Outlook emails can be in a single folder only. Google allows a single email to appear in multiple folders. | [optional]
+**folders_ids** | **List[str]** | The ID(s) of the folder(s) to apply, overwriting all folders previously associated with the Email. Outlook emails can be in a single folder only. Google allows a single email to appear in multiple folders. | [optional]
**specifics** | [**ModifyEmailRequestSpecifics**](ModifyEmailRequestSpecifics.md) | | [optional]
## Example
diff --git a/docs/ModifyMessage200Response.md b/docs/ModifyMessage200Response.md
index 5730c468a..1ce340442 100644
--- a/docs/ModifyMessage200Response.md
+++ b/docs/ModifyMessage200Response.md
@@ -21,13 +21,14 @@ Name | Type | Description | Notes
**is_event** | **bool** | Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions. |
**is_mentionned** | **bool** | Is the message mentionning the current user. Usually to notify. |
**event_type** | **float** | The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement | [optional]
-**event_metadata** | [**GetMessagesList200ResponseDataInnerEventMetadata**](GetMessagesList200ResponseDataInnerEventMetadata.md) | | [optional]
-**reactions_counter** | [**List[GetMessagesList200ResponseDataInnerReactionsCounterInner]**](GetMessagesList200ResponseDataInnerReactionsCounterInner.md) | A list of reactions to the element. |
-**sender** | [**GetMessagesList200ResponseDataInnerSender**](GetMessagesList200ResponseDataInnerSender.md) | | [optional]
+**event_metadata** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata**](GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.md) | | [optional]
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
+**sender** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.md) | | [optional]
**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | List of message attachments. |
-**quoted** | [**GetMessagesList200ResponseDataInnerQuoted**](GetMessagesList200ResponseDataInnerQuoted.md) | | [optional]
-**forwarded** | [**GetMessagesList200ResponseDataInnerForwarded**](GetMessagesList200ResponseDataInnerForwarded.md) | | [optional]
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of message attachments. |
+**hyperlinks** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.md) | List of message hyperlinks. |
+**quoted** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.md) | | [optional]
+**forwarded** | [**GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded**](GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.md) | | [optional]
**specifics** | **object** | | [optional]
## Example
diff --git a/docs/Note.md b/docs/Note.md
index e3fdea7c4..18eb46877 100644
--- a/docs/Note.md
+++ b/docs/Note.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**last_updated_at** | **str** | The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
-**last_updated_by** | [**LinkedInProjectsInnerContributorsInner**](LinkedInProjectsInnerContributorsInner.md) | |
+**last_updated_by** | [**LinkedIn1InterestsTopVoicesInner**](LinkedIn1InterestsTopVoicesInner.md) | |
**event** | **str** | The type of event. |
**note_content** | **str** | The text content of the note. | [optional]
diff --git a/docs/OTPOrInAppValidation.md b/docs/OTPOrInAppValidation.md
index 4f03009c6..324ae3c82 100644
--- a/docs/OTPOrInAppValidation.md
+++ b/docs/OTPOrInAppValidation.md
@@ -7,6 +7,7 @@ The user can either enter a one-time password sent to their phone/email or valid
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | |
+**channel** | **str** | The channel the one-time password was sent through, when known. | [optional]
## Example
diff --git a/docs/OauthOutlookGoogleConfig.md b/docs/OauthOutlookGoogleConfig.md
index 62933b2e9..bb121aa25 100644
--- a/docs/OauthOutlookGoogleConfig.md
+++ b/docs/OauthOutlookGoogleConfig.md
@@ -7,7 +7,7 @@ Oauth authentication configuration.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**custom_proxy** | [**CustomProxy1**](CustomProxy1.md) | | [optional]
-**oauth_scope** | **List[Optional[str]]** | Override of the list of authorizations to request from the Provider. Use this field to narrow the scope of API access. For example, if your application only uses the Calendar API, you may request authorization solely for the calendar, excluding email access for providers like Google. Make sure to give only authorizations accepted by your registered provider application. If left unspecified, all authorizations defined in the Provider OAuth settings section will be requested. | [optional]
+**oauth_scope** | **List[str]** | The final list of authorizations to request from the Provider. Use this field to expand or narrow the scope of API access. For example, if your application only uses the Calendar API, you may request authorization solely for the calendar, excluding email access for providers like Google. Make sure to give only authorizations accepted by your registered provider application. For a new account, omitting this field requests the authorizations defined in the Provider OAuth settings. For a reconnect, omitting it preserves already granted authorizations and adds the authorizations currently defined in the Provider OAuth settings. | [optional]
## Example
diff --git a/docs/OneTimePassword.md b/docs/OneTimePassword.md
index 8954fd9e3..ca4794968 100644
--- a/docs/OneTimePassword.md
+++ b/docs/OneTimePassword.md
@@ -7,6 +7,7 @@ A one-time password was sent to the user's phone or email address. The user need
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | |
+**channel** | **str** | The channel the one-time password was sent through, when known. | [optional]
## Example
diff --git a/docs/PartialProfile.md b/docs/PartialProfile.md
index 35a8d241f..b1fb81c4e 100644
--- a/docs/PartialProfile.md
+++ b/docs/PartialProfile.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | The ID of the user. |
-**headline** | **str** | The headline of the User. |
+**headline** | **str** | The headline of the User. | [optional]
**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' |
**location** | **str** | The location of the User. | [optional]
**can_send_inmail** | **bool** | Whether it is possible to send an inMail to this User. | [optional]
diff --git a/docs/PartialProfile1.md b/docs/PartialProfile1.md
index f814efd53..7e8e36251 100644
--- a/docs/PartialProfile1.md
+++ b/docs/PartialProfile1.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object** | **str** | |
**id** | **str** | The ID of the user. |
-**headline** | **str** | The headline of the User. |
+**headline** | **str** | The headline of the User. | [optional]
**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' |
**location** | **str** | The location of the User. | [optional]
**can_send_inmail** | **bool** | Whether it is possible to send an inMail to this User. | [optional]
diff --git a/docs/PartialProfileWorkExperienceInner.md b/docs/PartialProfileWorkExperienceInner.md
index 496967c7b..05bd3f452 100644
--- a/docs/PartialProfileWorkExperienceInner.md
+++ b/docs/PartialProfileWorkExperienceInner.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | Id of the work experience entry. | [optional]
-**company** | [**LinkedInCertificationsInnerOrganization**](LinkedInCertificationsInnerOrganization.md) | |
+**company** | [**LinkedIn1CertificationsInnerOrganization**](LinkedIn1CertificationsInnerOrganization.md) | |
**job_title** | **str** | Job title of the experience. |
**started_on** | **str** | Start date of the experience in MM/DD/YYYY format. | [optional]
**ended_on** | **str** | End date of the experience in MM/DD/YYYY format. | [optional]
diff --git a/docs/PeopleSearch.md b/docs/PeopleSearch.md
index e1ae7d6fc..eb9951584 100644
--- a/docs/PeopleSearch.md
+++ b/docs/PeopleSearch.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[PeopleSearchDataInner]**](PeopleSearchDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/PeopleSearch1.md b/docs/PeopleSearch1.md
index 909902f6d..393f6fbb1 100644
--- a/docs/PeopleSearch1.md
+++ b/docs/PeopleSearch1.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[PeopleSearch1DataInner]**](PeopleSearch1DataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/PeopleSearch1DataInner.md b/docs/PeopleSearch1DataInner.md
index ea4790d49..15aec7715 100644
--- a/docs/PeopleSearch1DataInner.md
+++ b/docs/PeopleSearch1DataInner.md
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
**public_picture_url_large** | **str** | The public picture URL of the User in large size. | [optional]
**relations_count** | **float** | The number of relations of the User. | [optional]
**location** | **str** | The location of the User. | [optional]
-**headline** | **str** | The headline of the User. |
+**headline** | **str** | The headline of the User. | [optional]
**network_distance** | [**PeopleSearch1DataInnerNetworkDistance**](PeopleSearch1DataInnerNetworkDistance.md) | |
**can_send_inmail** | **bool** | Whether it is possible to send an inMail to this User. | [optional]
**product** | **str** | |
@@ -41,8 +41,8 @@ Name | Type | Description | Notes
**education** | [**List[FullProfileEducationInner]**](FullProfileEducationInner.md) | |
**skills** | [**List[FullProfileSkillsInner]**](FullProfileSkillsInner.md) | |
**work_experience** | [**List[PartialProfileWorkExperienceInner]**](PartialProfileWorkExperienceInner.md) | |
-**languages** | [**List[LinkedInLanguagesInner]**](LinkedInLanguagesInner.md) | |
-**volunteering** | [**List[LinkedInVolunteerExperienceInner]**](LinkedInVolunteerExperienceInner.md) | |
+**languages** | [**List[LinkedIn1LanguagesInner]**](LinkedIn1LanguagesInner.md) | |
+**volunteering** | [**List[LinkedIn1VolunteerExperienceInner]**](LinkedIn1VolunteerExperienceInner.md) | |
## Example
diff --git a/docs/PeopleSearch1DataInnerSocialHandles.md b/docs/PeopleSearch1DataInnerSocialHandles.md
index 2d01f1949..ce3027d1c 100644
--- a/docs/PeopleSearch1DataInnerSocialHandles.md
+++ b/docs/PeopleSearch1DataInnerSocialHandles.md
@@ -6,7 +6,7 @@ Social handles of the User.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**twitter** | **str** | The ID of the Company. | [optional]
+**twitter** | **str** | The text content of the message, when available. | [optional]
## Example
diff --git a/docs/PeopleSearch2.md b/docs/PeopleSearch2.md
index 1128a176d..46915566e 100644
--- a/docs/PeopleSearch2.md
+++ b/docs/PeopleSearch2.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[PeopleSearch2DataInner]**](PeopleSearch2DataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/PeopleSearch2DataInner.md b/docs/PeopleSearch2DataInner.md
index fc953f177..1161b793b 100644
--- a/docs/PeopleSearch2DataInner.md
+++ b/docs/PeopleSearch2DataInner.md
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
**public_picture_url_large** | **str** | The public picture URL of the User in large size. | [optional]
**relations_count** | **float** | The number of relations of the User. | [optional]
**location** | **str** | The location of the User. | [optional]
-**headline** | **str** | The headline of the User. |
+**headline** | **str** | The headline of the User. | [optional]
**network_distance** | [**PeopleSearch1DataInnerNetworkDistance**](PeopleSearch1DataInnerNetworkDistance.md) | |
**can_send_inmail** | **bool** | Whether it is possible to send an inMail to this User. | [optional]
**product** | **str** | |
@@ -41,8 +41,8 @@ Name | Type | Description | Notes
**education** | [**List[FullProfileEducationInner]**](FullProfileEducationInner.md) | |
**skills** | [**List[FullProfileSkillsInner]**](FullProfileSkillsInner.md) | |
**work_experience** | [**List[PartialProfileWorkExperienceInner]**](PartialProfileWorkExperienceInner.md) | |
-**languages** | [**List[LinkedInLanguagesInner]**](LinkedInLanguagesInner.md) | |
-**volunteering** | [**List[LinkedInVolunteerExperienceInner]**](LinkedInVolunteerExperienceInner.md) | |
+**languages** | [**List[LinkedIn1LanguagesInner]**](LinkedIn1LanguagesInner.md) | |
+**volunteering** | [**List[LinkedIn1VolunteerExperienceInner]**](LinkedIn1VolunteerExperienceInner.md) | |
## Example
diff --git a/docs/PeopleSearchDataInner.md b/docs/PeopleSearchDataInner.md
index 664ccaf6c..0d4d91446 100644
--- a/docs/PeopleSearchDataInner.md
+++ b/docs/PeopleSearchDataInner.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object** | **str** | |
**id** | **str** | The ID of the user. |
-**headline** | **str** | The headline of the User. |
+**headline** | **str** | The headline of the User. | [optional]
**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' |
**location** | **str** | The location of the User. | [optional]
**can_send_inmail** | **bool** | Whether it is possible to send an inMail to this User. | [optional]
@@ -24,18 +24,18 @@ Name | Type | Description | Notes
**public_picture_url** | **str** | The public picture URL of the User. | [optional]
**public_picture_url_large** | **str** | The public picture URL of the User in large size. | [optional]
**relations_count** | **float** | The number of relations of the User. | [optional]
-**industry** | **str** | The industry to which the User belongs. |
+**industry** | **str** | The industry to which the User belongs. | [optional]
**followers_count** | **float** | The number of the followers of the User. | [optional]
**skills** | [**List[FullProfileSkillsInner]**](FullProfileSkillsInner.md) | A list of skills. |
**summary** | **str** | The summary of the User. | [optional]
**emails** | **List[str]** | | [optional]
**phone_numbers** | **List[str]** | | [optional]
**education** | [**List[FullProfileEducationInner]**](FullProfileEducationInner.md) | |
-**languages** | [**List[LinkedInLanguagesInner]**](LinkedInLanguagesInner.md) | |
+**languages** | [**List[LinkedIn1LanguagesInner]**](LinkedIn1LanguagesInner.md) | |
**certifications** | [**List[FullProfileCertificationsInner]**](FullProfileCertificationsInner.md) | |
**projects** | [**List[FullProfileProjectsInner]**](FullProfileProjectsInner.md) | |
-**volunteering** | [**List[LinkedInVolunteerExperienceInner]**](LinkedInVolunteerExperienceInner.md) | |
-**recommendations** | [**List[LinkedInRecommendationsReceivedInner]**](LinkedInRecommendationsReceivedInner.md) | |
+**volunteering** | [**List[LinkedIn1VolunteerExperienceInner]**](LinkedIn1VolunteerExperienceInner.md) | |
+**recommendations** | [**List[LinkedIn1RecommendationsReceivedInner]**](LinkedIn1RecommendationsReceivedInner.md) | |
## Example
diff --git a/docs/PeopleSearchResults.md b/docs/PeopleSearchResults.md
index e83873b37..b710ff71a 100644
--- a/docs/PeopleSearchResults.md
+++ b/docs/PeopleSearchResults.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[PeopleSearchResultsDataInner]**](PeopleSearchResultsDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/PeopleSearchResultsDataInner.md b/docs/PeopleSearchResultsDataInner.md
index d411972c3..011c4ce5b 100644
--- a/docs/PeopleSearchResultsDataInner.md
+++ b/docs/PeopleSearchResultsDataInner.md
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
**public_picture_url_large** | **str** | The public picture URL of the User in large size. | [optional]
**relations_count** | **float** | The number of relations of the User. | [optional]
**location** | **str** | The location of the User. | [optional]
-**headline** | **str** | The headline of the User. |
+**headline** | **str** | The headline of the User. | [optional]
**network_distance** | **str** | Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.' |
**can_send_inmail** | **bool** | Whether it is possible to send an inMail to this User. | [optional]
**product** | **str** | |
@@ -26,6 +26,9 @@ Name | Type | Description | Notes
**is_premium** | **bool** | Whether the User has a premium account. | [optional]
**is_open_profile** | **bool** | Whether the User has an Open Profile. The Open Profile feature allows anyone on LinkedIn to contact a Premium member for free. | [optional]
**shared_relations_count** | **float** | The number of relations that you share with the User. | [optional]
+**website_url** | **str** | The URL of the website provided by the User. | [optional]
+**portfolio_url** | **str** | The URL of the portfolio provided by the User. | [optional]
+**services_page_url** | **str** | The LinkedIn internal URL of the User's services page. | [optional]
## Example
diff --git a/docs/PerformClassicCompaniesSearchRequest.md b/docs/PerformClassicCompaniesSearchRequest.md
index 93b941441..f112e19a2 100644
--- a/docs/PerformClassicCompaniesSearchRequest.md
+++ b/docs/PerformClassicCompaniesSearchRequest.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**keywords** | **str** | A keyword or group of keywords. | [optional]
-**location** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Locations | [optional]
-**industry** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. Native filter : Industry | [optional]
+**location** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Locations | [optional]
+**industry** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. Native filter : Industry | [optional]
**headcount** | [**List[PerformClassicCompaniesSearchRequestHeadcountInner]**](PerformClassicCompaniesSearchRequestHeadcountInner.md) | A list of company headcount ranges. | [optional]
**has_job_postings** | **bool** | Whether the companies should have active job postings on LinkedIn. Native filter : Job listings on LinkedIn | [optional]
**is_employing_relations** | **bool** | Whether the companies should have first degree relations among employees. Native filter : Relations | [optional]
diff --git a/docs/PerformClassicJobsSearchRequest.md b/docs/PerformClassicJobsSearchRequest.md
index 0c87a3ada..b1cf517d5 100644
--- a/docs/PerformClassicJobsSearchRequest.md
+++ b/docs/PerformClassicJobsSearchRequest.md
@@ -11,13 +11,13 @@ Name | Type | Description | Notes
**workplace_type** | **List[str]** | A list of workplace types. Native filter : Remote | [optional]
**seniority** | **List[str]** | A list of experience levels required by the jobs. Native filter : Experience level | [optional]
**employment_status** | **List[str]** | A list of employment statuses. Native filter : Job type | [optional]
-**company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : Company | [optional]
-**primary_location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Primary location | [optional]
-**location** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Location | [optional]
+**company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : Company | [optional]
+**primary_location** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Primary location | [optional]
+**location** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Location | [optional]
**location_radius** | **float** | The distance radius around the location in kilometers. Native filter : Distance | [optional]
-**industry** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. Native filter : Industry | [optional]
-**function** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. Native filter : Job function | [optional]
-**job_title** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. Native filter : Job title | [optional]
+**industry** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. Native filter : Industry | [optional]
+**function** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. Native filter : Job function | [optional]
+**job_title** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. Native filter : Job title | [optional]
**easy_apply** | **bool** | Whether the application can me made directly on LinkedIn. Native filter : Easy apply | [optional]
**has_verifications** | **bool** | Whether the jobs have a verification badge. Native filter : Has verifications | [optional]
**under_10_applicants** | **bool** | Whether the jobs didn't receive more than 10 applications. Native filter : Under 10 applicants | [optional]
diff --git a/docs/PerformClassicPeopleSearchRequest.md b/docs/PerformClassicPeopleSearchRequest.md
index e730cecb4..43531ea70 100644
--- a/docs/PerformClassicPeopleSearchRequest.md
+++ b/docs/PerformClassicPeopleSearchRequest.md
@@ -7,14 +7,14 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**keywords** | **str** | A keyword or group of keywords. | [optional]
**network_distance** | **List[float]** | A list of connection degrees (1 for First, 2 for Second and 3 for Third+). Native filter : Connections | [optional]
-**location** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Locations | [optional]
-**current_company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : Current company | [optional]
-**past_company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : Past company | [optional]
-**school** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. Native filter : School | [optional]
-**connections_of** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `RELATION` type to find out the possible values. Native filter : Connections of | [optional]
-**followers_of** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `PEOPLE` type to find out the possible values. Native filter : Followers of | [optional]
-**industry** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. Native filter : Industry | [optional]
-**service** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `SERVICE` type to find out the possible values. Native filter : Service categories | [optional]
+**location** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Locations | [optional]
+**current_company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : Current company | [optional]
+**past_company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : Past company | [optional]
+**school** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. Native filter : School | [optional]
+**connections_of** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `RELATION` type to find out the possible values. Native filter : Connections of | [optional]
+**followers_of** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `PEOPLE` type to find out the possible values. Native filter : Followers of | [optional]
+**industry** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. Native filter : Industry | [optional]
+**service** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `SERVICE` type to find out the possible values. Native filter : Service categories | [optional]
**profile_language** | **List[str]** | A list of ISO 639-1 language codes. Native filter : Profile language | [optional]
**open_to_volunteering** | **bool** | Whether the users should be open to volunteering. Native filter : Open to Volunteering | [optional]
**advanced_keywords** | [**PerformClassicPeopleSearchRequestAdvancedKeywords**](PerformClassicPeopleSearchRequestAdvancedKeywords.md) | | [optional]
diff --git a/docs/PerformClassicPostsSearchRequestAuthor.md b/docs/PerformClassicPostsSearchRequestAuthor.md
index b98e1ef97..dc7013b73 100644
--- a/docs/PerformClassicPostsSearchRequestAuthor.md
+++ b/docs/PerformClassicPostsSearchRequestAuthor.md
@@ -7,8 +7,8 @@ Advanced filters on post authors.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**keywords** | **str** | Native filter : Author keywords | [optional]
-**company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : Author company | [optional]
-**industry** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. Native filter : Author industry | [optional]
+**company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : Author company | [optional]
+**industry** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. Native filter : Author industry | [optional]
## Example
diff --git a/docs/PerformClassicPostsSearchRequestMentioning.md b/docs/PerformClassicPostsSearchRequestMentioning.md
index 0ce0b0a92..b13e9161a 100644
--- a/docs/PerformClassicPostsSearchRequestMentioning.md
+++ b/docs/PerformClassicPostsSearchRequestMentioning.md
@@ -6,8 +6,8 @@ The users/companies mentionned in the posts.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**member** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `PEOPLE` type to find out the possible values. Native filter : Mentioning member | [optional]
-**company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : Mentioning company | [optional]
+**member** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `PEOPLE` type to find out the possible values. Native filter : Mentioning member | [optional]
+**company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : Mentioning company | [optional]
## Example
diff --git a/docs/PerformClassicPostsSearchRequestPostedBy.md b/docs/PerformClassicPostsSearchRequestPostedBy.md
index 87cd0834d..073669983 100644
--- a/docs/PerformClassicPostsSearchRequestPostedBy.md
+++ b/docs/PerformClassicPostsSearchRequestPostedBy.md
@@ -6,8 +6,8 @@ The users/companies who published the posts.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**member** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `PEOPLE` type to find out the possible values. Native filter : From member | [optional]
-**company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : From company | [optional]
+**member** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `PEOPLE` type to find out the possible values. Native filter : From member | [optional]
+**company** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. Native filter : From company | [optional]
**me** | **bool** | Whether the posts should have been published by yourself. Native filter : Posted by [Me] | [optional]
**relations** | **bool** | Whether the posts should have been published by your relations. Native filter : Posted by [1st connections] | [optional]
**people_you_follow** | **bool** | Whether the posts should have been published by users you follow. Native filter : Posted by [People you follow] | [optional]
diff --git a/docs/PerformClassicSearchFromUrl200Response.md b/docs/PerformClassicSearchFromUrl200Response.md
index ef794c54f..a36226e1b 100644
--- a/docs/PerformClassicSearchFromUrl200Response.md
+++ b/docs/PerformClassicSearchFromUrl200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[PostsSearchResultsDataInner]**](PostsSearchResultsDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequest.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequest.md
index b8fe1e66f..3114bb6fa 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequest.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequest.md
@@ -29,21 +29,21 @@ Name | Type | Description | Notes
**workplace_type** | **List[str]** | A list of workplace types. | [optional]
**school** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner.md) | A list of schools. | [optional]
**field_of_study** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestFieldOfStudyInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestFieldOfStudyInner.md) | A list of fields of study. | [optional]
-**employment_type** | **List[str]** | A list of employment types. | [optional]
+**employment_type** | **List[str]** | A list of employment types. Only available to Recruiter PRO contracts. Native filter : Employment type | [optional]
**graduation_year** | [**PerformRecruiterPeopleSearchFromTalentPoolRequestGraduationYear**](PerformRecruiterPeopleSearchFromTalentPoolRequestGraduationYear.md) | | [optional]
**industry** | [**PerformRecruiterPeopleSearchFromTalentPoolRequestIndustry**](PerformRecruiterPeopleSearchFromTalentPoolRequestIndustry.md) | | [optional]
**seniority** | **List[str]** | A list of senorities. | [optional]
-**spoken_language** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner.md) | A list of languages. | [optional]
-**profile_language** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Profile languages | [optional]
+**spoken_language** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner.md) | A list of languages. Only available to Recruiter PRO contracts. Native filter : Spoken languages | [optional]
+**profile_language** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Profile languages | [optional]
**project** | [**PerformRecruiterPeopleSearchFromTalentPoolRequestProject**](PerformRecruiterPeopleSearchFromTalentPoolRequestProject.md) | | [optional]
-**job_function** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions | [optional]
+**job_function** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions | [optional]
**first_name** | **List[str]** | A list of names. | [optional]
**last_name** | **List[str]** | A list of names. | [optional]
**recently_joined** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestRecentlyJoinedInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestRecentlyJoinedInner.md) | A list of days ranges. | [optional]
**is_military_veteran** | **bool** | Whether the users should have military background. Native filter : Military veterans | [optional]
**recruiting_activity** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestRecruitingActivityInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestRecruitingActivityInner.md) | A list of recruiting activities. | [optional]
**hide_previously_viewed** | [**PerformRecruiterPeopleSearchFromTalentPoolRequestHidePreviouslyViewed**](PerformRecruiterPeopleSearchFromTalentPoolRequestHidePreviouslyViewed.md) | | [optional]
-**group** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `GROUP` type to find out the possible values. Native filter : All groups | [optional]
+**group** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `GROUP` type to find out the possible values. Native filter : All groups | [optional]
**is_past_applicant** | **bool** | Whether the users should have already applied to at least one of your job postings. Native filter : Past applicants | [optional]
**notes** | **List[str]** | A list of notes. | [optional]
**tags** | [**PerformRecruiterPeopleSearchFromTalentPoolRequestTags**](PerformRecruiterPeopleSearchFromTalentPoolRequestTags.md) | | [optional]
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestCompanyInner.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestCompanyInner.md
index 85eeec05b..5a8c8ac8d 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestCompanyInner.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestCompanyInner.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | The company name. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. | [optional]
**priority** | **str** | Whether the user can, must or shouldn't have the value. Native filter : Priority | [optional] [default to 'CAN_HAVE']
**preferences** | **str** | Indicates how this company relates to the user's professionnal history. | [optional] [default to 'CURRENT_OR_PAST']
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestCurrentCompanyInner.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestCurrentCompanyInner.md
index 10a0aed1e..981ef965f 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestCurrentCompanyInner.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestCurrentCompanyInner.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `COMPANY` type to find out the possible values. |
**priority** | **str** | Whether the user can, must or shouldn't have the value. Native filter : Priority | [optional] [default to 'CAN_HAVE']
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestDegree.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestDegree.md
index a1a13fe2c..defdd721c 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestDegree.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestDegree.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
+**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `DEGREE` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestFieldOfStudyInner.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestFieldOfStudyInner.md
index 3077a7c7b..a54583f96 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestFieldOfStudyInner.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestFieldOfStudyInner.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `FIELD_OF_STUDY` type to find out the possible values. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `FIELD_OF_STUDY` type to find out the possible values. |
**priority** | **str** | Whether the user can, must or shouldn't have the value. Native filter : Priority | [optional] [default to 'CAN_HAVE']
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestIndustry.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestIndustry.md
index 4258f884c..f76bfd6a2 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestIndustry.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestIndustry.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestJobTitleInner.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestJobTitleInner.md
index 4e72ae2a5..e99770b3b 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestJobTitleInner.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestJobTitleInner.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | The job title. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
**priority** | **str** | Whether the user can, must or shouldn't have the value. Native filter : Priority | [optional] [default to 'CAN_HAVE']
**preferences** | **str** | Indicates how this professional experience relates to the user's current employment status. | [optional] [default to 'CURRENT_OR_PAST']
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLoadCustomFilter.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLoadCustomFilter.md
index afaab45f9..92cea41fe 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLoadCustomFilter.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLoadCustomFilter.md
@@ -6,7 +6,7 @@ Custom filter to be loaded. Can be associated with other filters.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `CUSTOM_FILTER` type to find out the possible values. Native filter : Custom filters |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `CUSTOM_FILTER` type to find out the possible values. Native filter : Custom filters |
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLoadSavedSearch.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLoadSavedSearch.md
index 183a4dd20..8940b2372 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLoadSavedSearch.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLoadSavedSearch.md
@@ -6,7 +6,7 @@ Saved search to be loaded. Can be associated with other filters.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SAVED_SEARCH` type to find out the possible values. Native filter : Saved searches |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SAVED_SEARCH` type to find out the possible values. Native filter : Saved searches |
**new_results_only** | **bool** | Whether only newest results should be returned. | [optional]
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLocationInner.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLocationInner.md
index f44d7c25a..e7185d30b 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLocationInner.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestLocationInner.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Locations |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. Native filter : Locations |
**priority** | **str** | Whether the user can, must or shouldn't have the value. Native filter : Priority | [optional] [default to 'CAN_HAVE']
**preferences** | **str** | Indicates the location preference of the user. | [optional] [default to 'CURRENT']
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestOccupationInner.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestOccupationInner.md
index f20f427a5..96f80ece5 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestOccupationInner.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestOccupationInner.md
@@ -7,7 +7,7 @@ Occupations are selections of job titles in the same industry. Native filter
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | The occupation name. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `OCCUPATION` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `OCCUPATION` type to find out the possible values. | [optional]
**priority** | **str** | Whether the user can, must or shouldn't have the value. Native filter : Priority | [optional] [default to 'CAN_HAVE']
**preferences** | **str** | Indicates how this professional experience relates to the user's current employment status. | [optional] [default to 'CURRENT_OR_PAST']
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestPostalCodeInner.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestPostalCodeInner.md
index adae7c476..5fde1d039 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestPostalCodeInner.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestPostalCodeInner.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | The postal code location name. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `ZIPCODE` type to find out the possible values. Native filter : Postal code / Zip code |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `ZIPCODE` type to find out the possible values. Native filter : Postal code / Zip code |
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestProjectIncludeInner.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestProjectIncludeInner.md
index c6c982543..28bbf62fd 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestProjectIncludeInner.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestProjectIncludeInner.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `PROJECT` type to find out the possible values. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `PROJECT` type to find out the possible values. |
**title** | **str** | The title of the project. |
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner.md
index 876e8ea22..59a17ccc0 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. Native filter : Schools |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. Native filter : Schools |
**priority** | **str** | Whether the user can, must or shouldn't have the value. Native filter : Priority | [optional] [default to 'CAN_HAVE']
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSkillsInner.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSkillsInner.md
index ef4b5b426..74984dc00 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSkillsInner.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSkillsInner.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | The skill name. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. | [optional]
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. | [optional]
**priority** | **str** | Whether the user can, must or shouldn't have the value. Native filter : Priority | [optional] [default to 'CAN_HAVE']
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner.md
index 7b898ade1..750345a47 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner.md
@@ -1,14 +1,13 @@
# PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner
- Native filter : Spoken languages
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `SPOKEN_LANGUAGE` type to find out the possible values. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `SPOKEN_LANGUAGE` type to find out the possible values. |
**priority** | **str** | Whether the user can, must or shouldn't have the value. Native filter : Priority | [optional] [default to 'CAN_HAVE']
-**proficiency** | **str** | The level of proficiency for the spoken languages. Native filter : Spoken languages proficiency | [optional]
+**proficiency** | **str** | The level of proficiency for the spoken language. Native filter : Spoken languages proficiency | [optional]
## Example
diff --git a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestTags.md b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestTags.md
index a445afc8d..476a19ee7 100644
--- a/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestTags.md
+++ b/docs/PerformRecruiterPeopleSearchFromTalentPoolRequestTags.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `TAG` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `TAG` type to find out the possible values. | [optional]
+**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `TAG` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `TAG` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformRecruiterPeopleSearchRequest.md b/docs/PerformRecruiterPeopleSearchRequest.md
index 2e766a678..b92fb1e85 100644
--- a/docs/PerformRecruiterPeopleSearchRequest.md
+++ b/docs/PerformRecruiterPeopleSearchRequest.md
@@ -29,21 +29,21 @@ Name | Type | Description | Notes
**workplace_type** | **List[str]** | A list of workplace types. | [optional]
**school** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner.md) | A list of schools. | [optional]
**field_of_study** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestFieldOfStudyInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestFieldOfStudyInner.md) | A list of fields of study. | [optional]
-**employment_type** | **List[str]** | A list of employment types. | [optional]
+**employment_type** | **List[str]** | A list of employment types. Only available to Recruiter PRO contracts. Native filter : Employment type | [optional]
**graduation_year** | [**PerformRecruiterPeopleSearchFromTalentPoolRequestGraduationYear**](PerformRecruiterPeopleSearchFromTalentPoolRequestGraduationYear.md) | | [optional]
**industry** | [**PerformRecruiterPeopleSearchRequestIndustry**](PerformRecruiterPeopleSearchRequestIndustry.md) | | [optional]
**seniority** | **List[str]** | A list of senorities. | [optional]
-**spoken_language** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner.md) | A list of languages. | [optional]
-**profile_language** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Profile languages | [optional]
+**spoken_language** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner.md) | A list of languages. Only available to Recruiter PRO contracts. Native filter : Spoken languages | [optional]
+**profile_language** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Profile languages | [optional]
**project** | [**PerformRecruiterPeopleSearchFromTalentPoolRequestProject**](PerformRecruiterPeopleSearchFromTalentPoolRequestProject.md) | | [optional]
-**job_function** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions | [optional]
+**job_function** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions | [optional]
**first_name** | **List[str]** | A list of names. | [optional]
**last_name** | **List[str]** | A list of names. | [optional]
**recently_joined** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestRecentlyJoinedInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestRecentlyJoinedInner.md) | A list of days ranges. | [optional]
**is_military_veteran** | **bool** | Whether the users should have military background. Native filter : Military veterans | [optional]
**recruiting_activity** | [**List[PerformRecruiterPeopleSearchFromTalentPoolRequestRecruitingActivityInner]**](PerformRecruiterPeopleSearchFromTalentPoolRequestRecruitingActivityInner.md) | A list of recruiting activities. | [optional]
**hide_previously_viewed** | [**PerformRecruiterPeopleSearchFromTalentPoolRequestHidePreviouslyViewed**](PerformRecruiterPeopleSearchFromTalentPoolRequestHidePreviouslyViewed.md) | | [optional]
-**group** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `GROUP` type to find out the possible values. Native filter : All groups | [optional]
+**group** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `GROUP` type to find out the possible values. Native filter : All groups | [optional]
**is_past_applicant** | **bool** | Whether the users should have already applied to at least one of your job postings. Native filter : Past applicants | [optional]
**notes** | **List[str]** | A list of notes. | [optional]
**tags** | [**PerformRecruiterPeopleSearchFromTalentPoolRequestTags**](PerformRecruiterPeopleSearchFromTalentPoolRequestTags.md) | | [optional]
diff --git a/docs/PerformRecruiterPeopleSearchRequestIndustry.md b/docs/PerformRecruiterPeopleSearchRequestIndustry.md
index 4409fdb30..0e5dee0e8 100644
--- a/docs/PerformRecruiterPeopleSearchRequestIndustry.md
+++ b/docs/PerformRecruiterPeopleSearchRequestIndustry.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-recruiter-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
+**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getrecruitersearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformRecruiterSearchFromUrl200Response.md b/docs/PerformRecruiterSearchFromUrl200Response.md
index 2ea3c36bd..b87ed0cca 100644
--- a/docs/PerformRecruiterSearchFromUrl200Response.md
+++ b/docs/PerformRecruiterSearchFromUrl200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[PipelineCandidatesSearchDataInner]**](PipelineCandidatesSearchDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/PerformSalesCompaniesSearchRequestAccountList.md b/docs/PerformSalesCompaniesSearchRequestAccountList.md
index e3168c6a8..6459da533 100644
--- a/docs/PerformSalesCompaniesSearchRequestAccountList.md
+++ b/docs/PerformSalesCompaniesSearchRequestAccountList.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `ACCOUNT_LIST` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `ACCOUNT_LIST` type to find out the possible values. | [optional]
+**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `ACCOUNT_LIST` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `ACCOUNT_LIST` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesCompaniesSearchRequestDepartmentHeadcount.md b/docs/PerformSalesCompaniesSearchRequestDepartmentHeadcount.md
index fbfd9d1ac..4903d789f 100644
--- a/docs/PerformSalesCompaniesSearchRequestDepartmentHeadcount.md
+++ b/docs/PerformSalesCompaniesSearchRequestDepartmentHeadcount.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**min** | **float** | The number of comments to the post. `null` if counter is hidden. |
**max** | **float** | The number of comments to the post. `null` if counter is hidden. |
-**department** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. |
+**department** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. |
## Example
diff --git a/docs/PerformSalesCompaniesSearchRequestDepartmentHeadcountGrowth.md b/docs/PerformSalesCompaniesSearchRequestDepartmentHeadcountGrowth.md
index 2fb16809e..5532c071c 100644
--- a/docs/PerformSalesCompaniesSearchRequestDepartmentHeadcountGrowth.md
+++ b/docs/PerformSalesCompaniesSearchRequestDepartmentHeadcountGrowth.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**min** | **float** | The number of comments to the post. `null` if counter is hidden. |
**max** | **float** | The number of comments to the post. `null` if counter is hidden. |
-**department** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. |
+**department** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. |
## Example
diff --git a/docs/PerformSalesCompaniesSearchRequestIndustry.md b/docs/PerformSalesCompaniesSearchRequestIndustry.md
index 079274d45..922a2eb52 100644
--- a/docs/PerformSalesCompaniesSearchRequestIndustry.md
+++ b/docs/PerformSalesCompaniesSearchRequestIndustry.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
+**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesCompaniesSearchRequestLocation.md b/docs/PerformSalesCompaniesSearchRequestLocation.md
index f5ca00a6c..457825634 100644
--- a/docs/PerformSalesCompaniesSearchRequestLocation.md
+++ b/docs/PerformSalesCompaniesSearchRequestLocation.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
+**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesCompaniesSearchRequestPostalCode.md b/docs/PerformSalesCompaniesSearchRequestPostalCode.md
index 33f762881..4865eb193 100644
--- a/docs/PerformSalesCompaniesSearchRequestPostalCode.md
+++ b/docs/PerformSalesCompaniesSearchRequestPostalCode.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `POSTAL_CODE` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `POSTAL_CODE` type to find out the possible values. | [optional]
+**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `POSTAL_CODE` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `POSTAL_CODE` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequest.md b/docs/PerformSalesPeopleSearchRequest.md
index 19cec1615..4b13f653e 100644
--- a/docs/PerformSalesPeopleSearchRequest.md
+++ b/docs/PerformSalesPeopleSearchRequest.md
@@ -25,19 +25,19 @@ Name | Type | Description | Notes
**industry** | [**PerformSalesPeopleSearchRequestIndustry**](PerformSalesPeopleSearchRequestIndustry.md) | | [optional]
**first_name** | **List[str]** | A list of names. | [optional]
**last_name** | **List[str]** | A list of names. | [optional]
-**profile_language** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Personal / Profile language | [optional]
+**profile_language** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Personal / Profile language | [optional]
**years_of_experience** | [**List[PerformSalesPeopleSearchRequestYearsOfExperienceInner]**](PerformSalesPeopleSearchRequestYearsOfExperienceInner.md) | A list of years ranges. | [optional]
**group** | [**PerformSalesPeopleSearchRequestGroup**](PerformSalesPeopleSearchRequestGroup.md) | | [optional]
**school** | [**PerformSalesPeopleSearchRequestSchool**](PerformSalesPeopleSearchRequestSchool.md) | | [optional]
**following_your_company** | **bool** | Whether the users are following your company. Native filter : Buyer intent / Following your company | [optional]
**viewed_your_profile_recently** | **bool** | Whether the users visited your profile recently. Native filter : Buyer intent / Viewed your profile recently | [optional]
**network_distance** | [**List[GetRecruiterTalentPoolApplicantsRequestNetworkDistanceInner]**](GetRecruiterTalentPoolApplicantsRequestNetworkDistanceInner.md) | A list of connection degrees (1 for First, 2 for Second, 3 for Third+ and GROUP for Common group members). Native filter : Best path in / Connection | [optional]
-**connections_of** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `RELATION` type to find out the possible values. Native filter : Best path in / Connections of | [optional]
+**connections_of** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `RELATION` type to find out the possible values. Native filter : Best path in / Connections of | [optional]
**past_colleague** | **bool** | Whether the users are past colleagues of yours. Native filter : Best path in / Past colleague | [optional]
**shared_experiences** | **bool** | Whether the users share professionnal experiences with you. Native filter : Buyer intent / Shared experiences | [optional]
**changed_jobs** | **bool** | Whether the users recently changed jobs. Native filter : Recent updates / Changed jobs | [optional]
**posted_on_linkedin** | **bool** | Whether the users recently published posts on LinkedIn. Native filter : Recent updates / Posted on Linkedin | [optional]
-**persona** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `PERSONA` type to find out the possible values. Native filter : Workflow / Persona | [optional]
+**persona** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `PERSONA` type to find out the possible values. Native filter : Workflow / Persona | [optional]
**account_list** | [**PerformSalesPeopleSearchRequestAccountList**](PerformSalesPeopleSearchRequestAccountList.md) | | [optional]
**lead_list** | [**PerformSalesPeopleSearchRequestLeadList**](PerformSalesPeopleSearchRequestLeadList.md) | | [optional]
**recent_interaction** | [**PerformSalesPeopleSearchRequestRecentInteraction**](PerformSalesPeopleSearchRequestRecentInteraction.md) | | [optional]
diff --git a/docs/PerformSalesPeopleSearchRequestAccountList.md b/docs/PerformSalesPeopleSearchRequestAccountList.md
index a162ac39d..a9c23d71d 100644
--- a/docs/PerformSalesPeopleSearchRequestAccountList.md
+++ b/docs/PerformSalesPeopleSearchRequestAccountList.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `ACCOUNT_LIST` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `ACCOUNT_LIST` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `ACCOUNT_LIST` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `ACCOUNT_LIST` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestCompanyLocation.md b/docs/PerformSalesPeopleSearchRequestCompanyLocation.md
index 649d75bad..21a3090ab 100644
--- a/docs/PerformSalesPeopleSearchRequestCompanyLocation.md
+++ b/docs/PerformSalesPeopleSearchRequestCompanyLocation.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestCurrentCompany.md b/docs/PerformSalesPeopleSearchRequestCurrentCompany.md
index 779d4320e..6c08d20ec 100644
--- a/docs/PerformSalesPeopleSearchRequestCurrentCompany.md
+++ b/docs/PerformSalesPeopleSearchRequestCurrentCompany.md
@@ -1,13 +1,13 @@
# PerformSalesPeopleSearchRequestCurrentCompany
- Native filter : Company / Current company
+You can also use company names in plain text format. Native filter : Company / Current company
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `COMPANY or ACCOUNT_LIST` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `COMPANY or ACCOUNT_LIST` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `COMPANY or ACCOUNT_LIST` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `COMPANY or ACCOUNT_LIST` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestCurrentJobTitle.md b/docs/PerformSalesPeopleSearchRequestCurrentJobTitle.md
index c9c248590..9252d8215 100644
--- a/docs/PerformSalesPeopleSearchRequestCurrentJobTitle.md
+++ b/docs/PerformSalesPeopleSearchRequestCurrentJobTitle.md
@@ -1,13 +1,13 @@
# PerformSalesPeopleSearchRequestCurrentJobTitle
- Native filter : Role / Current job title
+You can also use job titles in plain text format. Native filter : Role / Current job title
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestFunction.md b/docs/PerformSalesPeopleSearchRequestFunction.md
index 1be48a900..3d83e3629 100644
--- a/docs/PerformSalesPeopleSearchRequestFunction.md
+++ b/docs/PerformSalesPeopleSearchRequestFunction.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `JOB_FUNCTION` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestGroup.md b/docs/PerformSalesPeopleSearchRequestGroup.md
index 456b5a429..d58902e85 100644
--- a/docs/PerformSalesPeopleSearchRequestGroup.md
+++ b/docs/PerformSalesPeopleSearchRequestGroup.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `GROUP` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `GROUP` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `GROUP` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `GROUP` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestIndustry.md b/docs/PerformSalesPeopleSearchRequestIndustry.md
index 9b2b3f2d2..9307d1d7d 100644
--- a/docs/PerformSalesPeopleSearchRequestIndustry.md
+++ b/docs/PerformSalesPeopleSearchRequestIndustry.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `INDUSTRY` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestLeadList.md b/docs/PerformSalesPeopleSearchRequestLeadList.md
index eed0d4e2b..e15431bc4 100644
--- a/docs/PerformSalesPeopleSearchRequestLeadList.md
+++ b/docs/PerformSalesPeopleSearchRequestLeadList.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `LEAD_LIST` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `LEAD_LIST` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `LEAD_LIST` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `LEAD_LIST` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestLoadRecentSearch.md b/docs/PerformSalesPeopleSearchRequestLoadRecentSearch.md
index 8d8516eb8..6df4ad3a8 100644
--- a/docs/PerformSalesPeopleSearchRequestLoadRecentSearch.md
+++ b/docs/PerformSalesPeopleSearchRequestLoadRecentSearch.md
@@ -6,7 +6,7 @@ Recent search to be loaded. Overrides all other filters.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `RECENT_SEARCH` type to find out the possible values. Native filter : Recent search |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `RECENT_SEARCH` type to find out the possible values. Native filter : Recent search |
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestLoadSavedSearch.md b/docs/PerformSalesPeopleSearchRequestLoadSavedSearch.md
index 0177bd3dc..96b441435 100644
--- a/docs/PerformSalesPeopleSearchRequestLoadSavedSearch.md
+++ b/docs/PerformSalesPeopleSearchRequestLoadSavedSearch.md
@@ -6,7 +6,7 @@ Saved search to be loaded. Overrides all other filters.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `SAVED_PEOPLE_SEARCH` type to find out the possible values. Native filter : Saved search |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `SAVED_PEOPLE_SEARCH` type to find out the possible values. Native filter : Saved search |
**last_viewed_at** | **float** | A Unix timestamp indicating the last time the search results were accessed, to be used to retrieve only the new results. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestLocation.md b/docs/PerformSalesPeopleSearchRequestLocation.md
index 5c014ebc7..841eeb551 100644
--- a/docs/PerformSalesPeopleSearchRequestLocation.md
+++ b/docs/PerformSalesPeopleSearchRequestLocation.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
+**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestPastCompany.md b/docs/PerformSalesPeopleSearchRequestPastCompany.md
index 3a0e01493..842945460 100644
--- a/docs/PerformSalesPeopleSearchRequestPastCompany.md
+++ b/docs/PerformSalesPeopleSearchRequestPastCompany.md
@@ -1,13 +1,13 @@
# PerformSalesPeopleSearchRequestPastCompany
- Native filter : Company / Past company
+You can also use company names in plain text format. Native filter : Company / Past company
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `COMPANY or ACCOUNT_LIST` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `COMPANY or ACCOUNT_LIST` type to find out the possible values. | [optional]
+**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `COMPANY or ACCOUNT_LIST` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `COMPANY or ACCOUNT_LIST` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestPastJobTitle.md b/docs/PerformSalesPeopleSearchRequestPastJobTitle.md
index 4b9471968..967d91c8a 100644
--- a/docs/PerformSalesPeopleSearchRequestPastJobTitle.md
+++ b/docs/PerformSalesPeopleSearchRequestPastJobTitle.md
@@ -1,13 +1,13 @@
# PerformSalesPeopleSearchRequestPastJobTitle
- Native filter : Role / Past job title
+You can also use job titles in plain text format. Native filter : Role / Past job title
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
+**include** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestPostalCode.md b/docs/PerformSalesPeopleSearchRequestPostalCode.md
index eb030386e..48ed989cd 100644
--- a/docs/PerformSalesPeopleSearchRequestPostalCode.md
+++ b/docs/PerformSalesPeopleSearchRequestPostalCode.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `POSTAL_CODE` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `POSTAL_CODE` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `POSTAL_CODE` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `POSTAL_CODE` type to find out the possible values. | [optional]
**radius** | **float** | The distance radius around the postal code in miles. | [optional]
## Example
diff --git a/docs/PerformSalesPeopleSearchRequestSchool.md b/docs/PerformSalesPeopleSearchRequestSchool.md
index ead4f6854..b06c4530b 100644
--- a/docs/PerformSalesPeopleSearchRequestSchool.md
+++ b/docs/PerformSalesPeopleSearchRequestSchool.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
-**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-sales-navigator-search-parameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
+**include** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
+**exclude** | **List[str]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getsalessearchparameters\">List Search Parameters</a> with `SCHOOL` type to find out the possible values. | [optional]
## Example
diff --git a/docs/PerformSalesSearchFromUrl200Response.md b/docs/PerformSalesSearchFromUrl200Response.md
index 6016f151b..7bba28fee 100644
--- a/docs/PerformSalesSearchFromUrl200Response.md
+++ b/docs/PerformSalesSearchFromUrl200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[AccountListDataInner]**](AccountListDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/PipelineCandidatesSearch.md b/docs/PipelineCandidatesSearch.md
index 4da842f8a..6037992e9 100644
--- a/docs/PipelineCandidatesSearch.md
+++ b/docs/PipelineCandidatesSearch.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[PipelineCandidatesSearchDataInner]**](PipelineCandidatesSearchDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/PipelineChange.md b/docs/PipelineChange.md
index eb8edfed9..3c333b390 100644
--- a/docs/PipelineChange.md
+++ b/docs/PipelineChange.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**last_updated_at** | **str** | The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
-**last_updated_by** | [**LinkedInProjectsInnerContributorsInner**](LinkedInProjectsInnerContributorsInner.md) | |
+**last_updated_by** | [**LinkedIn1InterestsTopVoicesInner**](LinkedIn1InterestsTopVoicesInner.md) | |
**event** | **str** | The type of event. |
**project_id** | **str** | The ID of the project the user is related to. |
**project_name** | **str** | The name of the project the user is related to. |
diff --git a/docs/PostsApi.md b/docs/PostsApi.md
index f0c601099..1f409016e 100644
--- a/docs/PostsApi.md
+++ b/docs/PostsApi.md
@@ -26,13 +26,11 @@ Method | HTTP request | Description
# **add_post_comment**
-> GetPostCommentsList200ResponseDataInner add_post_comment(post_id, account_id, add_post_comment_request)
+> AddPostComment201Response add_post_comment(post_id, account_id, add_post_comment_request)
Add Comment to a Post
-Adds a comment to a post.
-
- Multipart supported, refer to Sending Files.
+Adds a comment to a post.
Multipart supported, refer to Sending Files.
### Example
@@ -40,8 +38,8 @@ Adds a comment to a post.
```python
import unipile
+from unipile.models.add_post_comment201_response import AddPostComment201Response
from unipile.models.add_post_comment_request import AddPostCommentRequest
-from unipile.models.get_post_comments_list200_response_data_inner import GetPostCommentsList200ResponseDataInner
from unipile.rest import ApiException
from pprint import pprint
@@ -66,7 +64,7 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post to add the comment to.
+ post_id = 'post_id_example' # str | The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
add_post_comment_request = unipile.AddPostCommentRequest() # AddPostCommentRequest |
@@ -86,13 +84,13 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post to add the comment to. |
+ **post_id** | **str**| The ID of the Post to add the comment to.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**add_post_comment_request** | [**AddPostCommentRequest**](AddPostCommentRequest.md)| |
### Return type
-[**GetPostCommentsList200ResponseDataInner**](GetPostCommentsList200ResponseDataInner.md)
+[**AddPostComment201Response**](AddPostComment201Response.md)
### Authorization
@@ -150,7 +148,7 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post where the comment is.
+ post_id = 'post_id_example' # str | The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
comment_id = 'comment_id_example' # str | The ID of the Comment to add the reaction to.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
add_post_comment_reaction_request = unipile.AddPostCommentReactionRequest() # AddPostCommentReactionRequest |
@@ -171,7 +169,7 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post where the comment is. |
+ **post_id** | **str**| The ID of the Post where the comment is.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**comment_id** | **str**| The ID of the Comment to add the reaction to. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**add_post_comment_reaction_request** | [**AddPostCommentReactionRequest**](AddPostCommentReactionRequest.md)| |
@@ -236,7 +234,7 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post to add the reaction to.
+ post_id = 'post_id_example' # str | The ID of the Post to add the reaction to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
add_post_reaction_request = unipile.AddPostReactionRequest() # AddPostReactionRequest |
@@ -256,7 +254,7 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post to add the reaction to. |
+ **post_id** | **str**| The ID of the Post to add the reaction to.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**add_post_reaction_request** | [**AddPostReactionRequest**](AddPostReactionRequest.md)| |
@@ -282,13 +280,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **create_post**
-> GetPost200Response create_post(account_id, create_post_request)
+> UpdatePost200Response create_post(account_id, create_post_request)
Create a Post
-Creates a new post.
-
- Multipart supported, refer to Sending Files.
+Creates a new post.
Multipart supported, refer to Sending Files.
### Example
@@ -297,7 +293,7 @@ Creates a new post.
```python
import unipile
from unipile.models.create_post_request import CreatePostRequest
-from unipile.models.get_post200_response import GetPost200Response
+from unipile.models.update_post200_response import UpdatePost200Response
from unipile.rest import ApiException
from pprint import pprint
@@ -346,7 +342,7 @@ Name | Type | Description | Notes
### Return type
-[**GetPost200Response**](GetPost200Response.md)
+[**UpdatePost200Response**](UpdatePost200Response.md)
### Authorization
@@ -402,7 +398,7 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post to delete.
+ post_id = 'post_id_example' # str | The ID of the Post to delete.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
try:
@@ -419,7 +415,7 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post to delete. |
+ **post_id** | **str**| The ID of the Post to delete.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
### Return type
@@ -480,7 +476,7 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post where the comment is.
+ post_id = 'post_id_example' # str | The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
comment_id = 'comment_id_example' # str | The ID of the Comment to delete.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
@@ -498,7 +494,7 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post where the comment is. |
+ **post_id** | **str**| The ID of the Post where the comment is.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**comment_id** | **str**| The ID of the Comment to delete. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
@@ -561,7 +557,7 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post to retrieve.
+ post_id = 'post_id_example' # str | The ID of the Post to retrieve.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
try:
@@ -580,7 +576,7 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post to retrieve. |
+ **post_id** | **str**| The ID of the Post to retrieve.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
### Return type
@@ -605,7 +601,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_post_comment_reactions_list**
-> GetMessageReactionsList200Response get_post_comment_reactions_list(post_id, comment_id, account_id, offset=offset, limit=limit, cursor=cursor)
+> GetMessageReactionsList200Response get_post_comment_reactions_list(post_id, comment_id, account_id, offset=offset, cursor=cursor, limit=limit)
List all Comment's Reactions
@@ -642,16 +638,16 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post where the comment is.
+ post_id = 'post_id_example' # str | The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
comment_id = 'comment_id_example' # str | The ID of the Comment to retrieve reactions from.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all Comment's Reactions
- api_response = api_instance.get_post_comment_reactions_list(post_id, comment_id, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_post_comment_reactions_list(post_id, comment_id, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of PostsApi->get_post_comment_reactions_list:\n")
pprint(api_response)
except Exception as e:
@@ -665,12 +661,12 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post where the comment is. |
+ **post_id** | **str**| The ID of the Post where the comment is.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**comment_id** | **str**| The ID of the Comment to retrieve reactions from. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -694,7 +690,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_post_comment_replies_list**
-> GetPostCommentsList200Response get_post_comment_replies_list(post_id, comment_id, account_id, offset=offset, limit=limit, cursor=cursor)
+> GetPostCommentsList200Response get_post_comment_replies_list(post_id, comment_id, account_id, offset=offset, cursor=cursor, limit=limit)
List all Comment's Replies
@@ -731,16 +727,16 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post where the comment is.
+ post_id = 'post_id_example' # str | The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
comment_id = 'comment_id_example' # str | The ID of the Comment to retrieve replies from.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all Comment's Replies
- api_response = api_instance.get_post_comment_replies_list(post_id, comment_id, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_post_comment_replies_list(post_id, comment_id, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of PostsApi->get_post_comment_replies_list:\n")
pprint(api_response)
except Exception as e:
@@ -754,12 +750,12 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post where the comment is. |
+ **post_id** | **str**| The ID of the Post where the comment is.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**comment_id** | **str**| The ID of the Comment to retrieve replies from. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -783,7 +779,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_post_comments_list**
-> GetPostCommentsList200Response get_post_comments_list(post_id, account_id, offset=offset, limit=limit, cursor=cursor, sort_by=sort_by)
+> GetPostCommentsList200Response get_post_comments_list(post_id, account_id, offset=offset, cursor=cursor, limit=limit, sort_by=sort_by)
List all Post's Comments
@@ -820,16 +816,16 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post to retrieve comments from.
+ post_id = 'post_id_example' # str | The ID of the Post to retrieve comments from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
- sort_by = MOST_RECENT # str | Sort criterion for the posts list: MOST_RECENT (most recent first) or MOST_RELEVANT (most relevant first). (optional) (default to MOST_RECENT)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
+ sort_by = 'MOST_RECENT' # str | Sort criterion for the posts list: MOST_RECENT (most recent first) or MOST_RELEVANT (most relevant first). (optional) (default to 'MOST_RECENT')
try:
# List all Post's Comments
- api_response = api_instance.get_post_comments_list(post_id, account_id, offset=offset, limit=limit, cursor=cursor, sort_by=sort_by)
+ api_response = api_instance.get_post_comments_list(post_id, account_id, offset=offset, cursor=cursor, limit=limit, sort_by=sort_by)
print("The response of PostsApi->get_post_comments_list:\n")
pprint(api_response)
except Exception as e:
@@ -843,12 +839,12 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post to retrieve comments from. |
+ **post_id** | **str**| The ID of the Post to retrieve comments from.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
- **sort_by** | **str**| Sort criterion for the posts list: MOST_RECENT (most recent first) or MOST_RELEVANT (most relevant first). | [optional] [default to MOST_RECENT]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
+ **sort_by** | **str**| Sort criterion for the posts list: MOST_RECENT (most recent first) or MOST_RELEVANT (most relevant first). | [optional] [default to 'MOST_RECENT']
### Return type
@@ -872,11 +868,13 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_post_reactions_list**
-> GetMessageReactionsList200Response get_post_reactions_list(post_id, account_id, offset=offset, limit=limit, cursor=cursor)
+> GetMessageReactionsList200Response get_post_reactions_list(post_id, account_id, offset=offset, cursor=cursor, limit=limit)
List all Post's Reactions
-Returns the list of reactions made to a post. Reaction counts are given with the Post object. This is useful to show a detailed list of all reactions and their author. LIMITATIONS: On Instagram, the list is always limited to a maximum of 100 reactions.
+Returns the list of reactions made to a post. Reaction counts are given with the Post object. This is useful to show a detailed list of all reactions and their author.
+ LIMITATIONS: On Instagram, the list is always limited to a maximum of 100 reactions.
+
### Example
@@ -909,15 +907,15 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post to retrieve reactions from.
+ post_id = 'post_id_example' # str | The ID of the Post to retrieve reactions from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all Post's Reactions
- api_response = api_instance.get_post_reactions_list(post_id, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_post_reactions_list(post_id, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of PostsApi->get_post_reactions_list:\n")
pprint(api_response)
except Exception as e:
@@ -931,11 +929,11 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post to retrieve reactions from. |
+ **post_id** | **str**| The ID of the Post to retrieve reactions from.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -959,7 +957,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_posts_list**
-> GetPostsList200Response get_posts_list(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+> GetPostsList200Response get_posts_list(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
List all User's Posts
@@ -999,12 +997,12 @@ with unipile.ApiClient(configuration) as api_client:
user_id = 'user_id_example' # str | The ID of the User to retrieve posts from.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all User's Posts
- api_response = api_instance.get_posts_list(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_posts_list(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of PostsApi->get_posts_list:\n")
pprint(api_response)
except Exception as e:
@@ -1021,8 +1019,8 @@ Name | Type | Description | Notes
**user_id** | **str**| The ID of the User to retrieve posts from. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -1046,7 +1044,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_user_comments_list**
-> GetUserCommentsList200Response get_user_comments_list(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+> GetUserCommentsList200Response get_user_comments_list(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
List all User Comments
@@ -1086,12 +1084,12 @@ with unipile.ApiClient(configuration) as api_client:
user_id = 'user_id_example' # str | The ID of the User to retrieve the comments from.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all User Comments
- api_response = api_instance.get_user_comments_list(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_user_comments_list(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of PostsApi->get_user_comments_list:\n")
pprint(api_response)
except Exception as e:
@@ -1108,8 +1106,8 @@ Name | Type | Description | Notes
**user_id** | **str**| The ID of the User to retrieve the comments from. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -1133,7 +1131,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_user_reactions_list**
-> GetUserReactionsList200Response get_user_reactions_list(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+> GetUserReactionsList200Response get_user_reactions_list(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
List all User Reactions
@@ -1173,12 +1171,12 @@ with unipile.ApiClient(configuration) as api_client:
user_id = 'user_id_example' # str | The ID of the User to retrieve the reactions from.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all User Reactions
- api_response = api_instance.get_user_reactions_list(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_user_reactions_list(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of PostsApi->get_user_reactions_list:\n")
pprint(api_response)
except Exception as e:
@@ -1195,8 +1193,8 @@ Name | Type | Description | Notes
**user_id** | **str**| The ID of the User to retrieve the reactions from. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -1258,7 +1256,7 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post where the comment is.
+ post_id = 'post_id_example' # str | The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
comment_id = 'comment_id_example' # str | The ID of the Comment where the reaction is.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
remove_post_comment_reaction_request = unipile.RemovePostCommentReactionRequest() # RemovePostCommentReactionRequest |
@@ -1279,7 +1277,7 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post where the comment is. |
+ **post_id** | **str**| The ID of the Post where the comment is.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**comment_id** | **str**| The ID of the Comment where the reaction is. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**remove_post_comment_reaction_request** | [**RemovePostCommentReactionRequest**](RemovePostCommentReactionRequest.md)| |
@@ -1344,7 +1342,7 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post where the reaction is.
+ post_id = 'post_id_example' # str | The ID of the Post where the reaction is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
remove_post_reaction_request = unipile.RemovePostReactionRequest() # RemovePostReactionRequest |
@@ -1364,7 +1362,7 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post where the reaction is. |
+ **post_id** | **str**| The ID of the Post where the reaction is.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**remove_post_reaction_request** | [**RemovePostReactionRequest**](RemovePostReactionRequest.md)| |
@@ -1390,13 +1388,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **reply_to_comment**
-> GetPostCommentsList200ResponseDataInner reply_to_comment(post_id, comment_id, account_id, add_post_comment_request)
+> AddPostComment201Response reply_to_comment(post_id, comment_id, account_id, add_post_comment_request)
Reply to a Comment
-Replies to a particular comment.
-
- Multipart supported, refer to Sending Files.
+Replies to a particular comment.
Multipart supported, refer to Sending Files.
### Example
@@ -1404,8 +1400,8 @@ Replies to a particular comment.
```python
import unipile
+from unipile.models.add_post_comment201_response import AddPostComment201Response
from unipile.models.add_post_comment_request import AddPostCommentRequest
-from unipile.models.get_post_comments_list200_response_data_inner import GetPostCommentsList200ResponseDataInner
from unipile.rest import ApiException
from pprint import pprint
@@ -1430,7 +1426,7 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post to add the comment to.
+ post_id = 'post_id_example' # str | The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
comment_id = 'comment_id_example' # str | The ID of the Comment to reply to.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
add_post_comment_request = unipile.AddPostCommentRequest() # AddPostCommentRequest |
@@ -1451,14 +1447,14 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post to add the comment to. |
+ **post_id** | **str**| The ID of the Post to add the comment to.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**comment_id** | **str**| The ID of the Comment to reply to. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**add_post_comment_request** | [**AddPostCommentRequest**](AddPostCommentRequest.md)| |
### Return type
-[**GetPostCommentsList200ResponseDataInner**](GetPostCommentsList200ResponseDataInner.md)
+[**AddPostComment201Response**](AddPostComment201Response.md)
### Authorization
@@ -1478,7 +1474,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **update_post**
-> GetPost200Response update_post(post_id, account_id, update_post_request=update_post_request)
+> UpdatePost200Response update_post(post_id, account_id, update_post_request=update_post_request)
Update a Post
@@ -1490,7 +1486,7 @@ Updates an existing post.
```python
import unipile
-from unipile.models.get_post200_response import GetPost200Response
+from unipile.models.update_post200_response import UpdatePost200Response
from unipile.models.update_post_request import UpdatePostRequest
from unipile.rest import ApiException
from pprint import pprint
@@ -1516,7 +1512,7 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post to update.
+ post_id = 'post_id_example' # str | The ID of the Post to update.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
update_post_request = unipile.UpdatePostRequest() # UpdatePostRequest | (optional)
@@ -1536,13 +1532,13 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post to update. |
+ **post_id** | **str**| The ID of the Post to update.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**update_post_request** | [**UpdatePostRequest**](UpdatePostRequest.md)| | [optional]
### Return type
-[**GetPost200Response**](GetPost200Response.md)
+[**UpdatePost200Response**](UpdatePost200Response.md)
### Authorization
@@ -1562,7 +1558,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **update_post_comment**
-> GetPostCommentsList200ResponseDataInner update_post_comment(post_id, comment_id, account_id, update_post_comment_request)
+> AddPostComment201Response update_post_comment(post_id, comment_id, account_id, update_post_comment_request)
Update a Comment
@@ -1574,7 +1570,7 @@ Updates an existing comment.
```python
import unipile
-from unipile.models.get_post_comments_list200_response_data_inner import GetPostCommentsList200ResponseDataInner
+from unipile.models.add_post_comment201_response import AddPostComment201Response
from unipile.models.update_post_comment_request import UpdatePostCommentRequest
from unipile.rest import ApiException
from pprint import pprint
@@ -1600,7 +1596,7 @@ configuration.api_key['apiKey'] = os.environ["API_KEY"]
with unipile.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unipile.PostsApi(api_client)
- post_id = 'post_id_example' # str | The ID of the Post where the comment is.
+ post_id = 'post_id_example' # str | The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.
comment_id = 'comment_id_example' # str | The ID of the Comment to update.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
update_post_comment_request = unipile.UpdatePostCommentRequest() # UpdatePostCommentRequest |
@@ -1621,14 +1617,14 @@ with unipile.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **post_id** | **str**| The ID of the Post where the comment is. |
+ **post_id** | **str**| The ID of the Post where the comment is.<br>Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. |
**comment_id** | **str**| The ID of the Comment to update. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**update_post_comment_request** | [**UpdatePostCommentRequest**](UpdatePostCommentRequest.md)| |
### Return type
-[**GetPostCommentsList200ResponseDataInner**](GetPostCommentsList200ResponseDataInner.md)
+[**AddPostComment201Response**](AddPostComment201Response.md)
### Authorization
diff --git a/docs/PostsSearchResults.md b/docs/PostsSearchResults.md
index e86273e4d..a5960b549 100644
--- a/docs/PostsSearchResults.md
+++ b/docs/PostsSearchResults.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[PostsSearchResultsDataInner]**](PostsSearchResultsDataInner.md) | |
-**total_count** | **float** | Total number of results if supported by the endpoint. | [optional]
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
## Example
diff --git a/docs/PostsSearchResultsDataInner.md b/docs/PostsSearchResultsDataInner.md
index 5cce2166b..29864e0c2 100644
--- a/docs/PostsSearchResultsDataInner.md
+++ b/docs/PostsSearchResultsDataInner.md
@@ -11,19 +11,20 @@ Name | Type | Description | Notes
**created_at** | **str** | The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
**title** | **str** | The title of the post. | [optional]
**text** | **str** | The text content of the post. |
-**author** | [**GetPostsList200ResponseDataInnerAuthor**](GetPostsList200ResponseDataInnerAuthor.md) | |
+**author** | [**UpdatePost200ResponseAuthor**](UpdatePost200ResponseAuthor.md) | |
**user_reacted** | [**GetPostsList200ResponseDataInnerQuotedPostUserReacted**](GetPostsList200ResponseDataInnerQuotedPostUserReacted.md) | |
**permissions** | [**GetPostsList200ResponseDataInnerPermissions**](GetPostsList200ResponseDataInnerPermissions.md) | |
-**reactions_counter** | [**List[GetMessagesList200ResponseDataInnerReactionsCounterInner]**](GetMessagesList200ResponseDataInnerReactionsCounterInner.md) | A list of reactions to the element. |
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
**comments_counter** | **float** | The number of comments to the post. `null` if counter is hidden. |
**reposts_counter** | **float** | The number of reposts of the post. `null` if counter is hidden. |
**poll** | [**GetPostsList200ResponseDataInnerPoll**](GetPostsList200ResponseDataInnerPoll.md) | | [optional]
**event** | [**GetPostsList200ResponseDataInnerEvent**](GetPostsList200ResponseDataInnerEvent.md) | | [optional]
-**attachments** | [**List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner]**](GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.md) | List of post attachments. |
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of post attachments. |
**analytics** | [**GetPostsList200ResponseDataInnerAnalytics**](GetPostsList200ResponseDataInnerAnalytics.md) | | [optional]
+**specifics** | **object** | Object containing provider-specific post data. | [optional]
**is_repost** | **bool** | `true` if this post is reposted by someone without quote. Quoted post does not qualify as a repost. |
-**reposted_by** | [**GetPostsList200ResponseDataInnerRepostedBy**](GetPostsList200ResponseDataInnerRepostedBy.md) | | [optional]
-**quoted_post** | [**GetPostsList200ResponseDataInnerQuotedPost**](GetPostsList200ResponseDataInnerQuotedPost.md) | | [optional]
+**reposted_by** | [**UpdatePost200ResponseRepostedBy**](UpdatePost200ResponseRepostedBy.md) | | [optional]
+**quoted_post** | [**UpdatePost200ResponseQuotedPost**](UpdatePost200ResponseQuotedPost.md) | | [optional]
## Example
diff --git a/docs/ProfileView.md b/docs/ProfileView.md
index 64e16aee7..a1d2c4c93 100644
--- a/docs/ProfileView.md
+++ b/docs/ProfileView.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**last_updated_at** | **str** | The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
-**last_updated_by** | [**LinkedInProjectsInnerContributorsInner**](LinkedInProjectsInnerContributorsInner.md) | |
+**last_updated_by** | [**LinkedIn1InterestsTopVoicesInner**](LinkedIn1InterestsTopVoicesInner.md) | |
**event** | **str** | The type of event. |
## Example
diff --git a/docs/ProxyRequest200Response.md b/docs/ProxyRequest200Response.md
index c99b34b41..3d3ca0880 100644
--- a/docs/ProxyRequest200Response.md
+++ b/docs/ProxyRequest200Response.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object** | **str** | |
-**data** | **object** | |
+**data** | **object** | The raw response data that your LinkedIn request returned. |
## Example
diff --git a/docs/ProxyRequestRequest.md b/docs/ProxyRequestRequest.md
index c3408fea0..974cf148c 100644
--- a/docs/ProxyRequestRequest.md
+++ b/docs/ProxyRequestRequest.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**url** | **str** | The specific LinkedIn public API endpoint you need to call. Path variables can be declared with the `:VARIABLE_NAME` syntax. |
**method** | **str** | The HTTP method to use when performing the request. |
-**body** | **Dict[str, object]** | A body object to send in the request. | [optional]
+**body** | **Dict[str, Optional[object]]** | A body object to send in the request. | [optional]
**headers** | **Dict[str, Optional[str]]** | A headers object to include in the request. | [optional]
**path_variables** | **Dict[str, Optional[str]]** | The Path variables that have been declared in the URL. Each variable must have a corresponding VARIABLE_NAME key to be injected in the URL. | [optional]
**var_query_params** | **Dict[str, Optional[str]]** | Query parameters to include in the request URL. | [optional]
diff --git a/docs/ReAuthenticateExistingAccount.md b/docs/ReAuthenticateExistingAccount.md
index d79209cb2..5fa3e21b4 100644
--- a/docs/ReAuthenticateExistingAccount.md
+++ b/docs/ReAuthenticateExistingAccount.md
@@ -1,6 +1,6 @@
# ReAuthenticateExistingAccount
-Generate a link to re-authenticate an existing account with Unipile.
+Generate a link to re-authenticate or reconfigure an entire existing account with Unipile.
## Properties
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
**redirect_uri** | **str** | The URL to redirect to after the authentication process. If the authentication succeeded, `account_id` and `provider` will be present in query params, along the specified `state`. If the authentication has failed, `error_title` is present instead. This is useful for your app to be aware of the authentication result and to redirect the user to the correct page of your app. |
**state** | **str** | State data sent as query parameter in the redirect_uri and in the `account.add` / `account.reconnect` webhook payload after the authentication process. | [optional]
**config** | [**LinkNewAccountConfig**](LinkNewAccountConfig.md) | | [optional]
-**account_id** | **str** | Required to re-authenticate an existing account. The ID of the Account to re-authenticate. |
+**account_id** | **str** | Required to re-authenticate or reconfigure an existing account. The entire account is refreshed and all configured products are restarted. |
## Example
diff --git a/docs/RecruiterSavedSearch.md b/docs/RecruiterSavedSearch.md
index 18b2258a1..9013ff42d 100644
--- a/docs/RecruiterSavedSearch.md
+++ b/docs/RecruiterSavedSearch.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object** | **str** | |
**product** | **str** | |
-**query** | **str** | The ID of the Company. |
+**query** | **str** | The text content of the message, when available. |
**new_results_count** | **float** | The number of comments to the post. `null` if counter is hidden. |
**project** | [**RecruiterSavedSearchProject**](RecruiterSavedSearchProject.md) | | [optional]
diff --git a/docs/RecruiterSavedSearchProject.md b/docs/RecruiterSavedSearchProject.md
index 9d047d48f..ceaeb0824 100644
--- a/docs/RecruiterSavedSearchProject.md
+++ b/docs/RecruiterSavedSearchProject.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **str** | The ID of the Company. |
-**name** | **str** | The ID of the Company. |
+**id** | **str** | The text content of the message, when available. |
+**name** | **str** | The text content of the message, when available. |
## Example
diff --git a/docs/RequestCheckpoint200Response.md b/docs/RequestCheckpoint200Response.md
new file mode 100644
index 000000000..e7e7d11ed
--- /dev/null
+++ b/docs/RequestCheckpoint200Response.md
@@ -0,0 +1,32 @@
+# RequestCheckpoint200Response
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**checkpoint** | [**CheckpointCheckpoint**](CheckpointCheckpoint.md) | |
+**intent_id** | **str** | The ID of the auth intent. This should be used to listen for the QR Code scan with Solve Checkpoint. |
+**qrcode** | **str** | The QR Code to scan. |
+
+## Example
+
+```python
+from unipile.models.request_checkpoint200_response import RequestCheckpoint200Response
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of RequestCheckpoint200Response from a JSON string
+request_checkpoint200_response_instance = RequestCheckpoint200Response.from_json(json)
+# print the JSON string representation of the object
+print(RequestCheckpoint200Response.to_json())
+
+# convert the object into a dict
+request_checkpoint200_response_dict = request_checkpoint200_response_instance.to_dict()
+# create an instance of RequestCheckpoint200Response from a dict
+request_checkpoint200_response_from_dict = RequestCheckpoint200Response.from_dict(request_checkpoint200_response_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/RequestCheckpointRequest.md b/docs/RequestCheckpointRequest.md
new file mode 100644
index 000000000..ae770d0ed
--- /dev/null
+++ b/docs/RequestCheckpointRequest.md
@@ -0,0 +1,30 @@
+# RequestCheckpointRequest
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**intent_id** | **str** | The ID of the intent for which a checkpoint must be requested. |
+**challenge** | **str** | The alternative verification method to switch to. Must be one of the `id`s listed in the CHALLENGE_SELECTION checkpoint. | [optional]
+
+## Example
+
+```python
+from unipile.models.request_checkpoint_request import RequestCheckpointRequest
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of RequestCheckpointRequest from a JSON string
+request_checkpoint_request_instance = RequestCheckpointRequest.from_json(json)
+# print the JSON string representation of the object
+print(RequestCheckpointRequest.to_json())
+
+# convert the object into a dict
+request_checkpoint_request_dict = request_checkpoint_request_instance.to_dict()
+# create an instance of RequestCheckpointRequest from a dict
+request_checkpoint_request_from_dict = RequestCheckpointRequest.from_dict(request_checkpoint_request_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ResendCheckpointRequest.md b/docs/ResendCheckpointRequest.md
new file mode 100644
index 000000000..7939b24f4
--- /dev/null
+++ b/docs/ResendCheckpointRequest.md
@@ -0,0 +1,29 @@
+# ResendCheckpointRequest
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**intent_id** | **str** | The ID of the intent for which a checkpoint must be resent. |
+
+## Example
+
+```python
+from unipile.models.resend_checkpoint_request import ResendCheckpointRequest
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of ResendCheckpointRequest from a JSON string
+resend_checkpoint_request_instance = ResendCheckpointRequest.from_json(json)
+# print the JSON string representation of the object
+print(ResendCheckpointRequest.to_json())
+
+# convert the object into a dict
+resend_checkpoint_request_dict = resend_checkpoint_request_instance.to_dict()
+# create an instance of ResendCheckpointRequest from a dict
+resend_checkpoint_request_from_dict = ResendCheckpointRequest.from_dict(resend_checkpoint_request_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/SearchOrJobPostingSourced.md b/docs/SearchOrJobPostingSourced.md
index df618307b..b750d090f 100644
--- a/docs/SearchOrJobPostingSourced.md
+++ b/docs/SearchOrJobPostingSourced.md
@@ -8,8 +8,6 @@ Name | Type | Description | Notes
**source** | **str** | |
**keywords** | **str** | A keyword or group of keywords to filter results. Not applicable to JOB_FUNCTION, PROFILE_LANGUAGE and CUSTOM_FILTER. | [optional]
**type** | **str** | The type of search parameter. |
-**offset** | **float** | An offset used for pagination. Not applicable to JOB_FUNCTION. | [optional]
-**limit** | **float** | Not applicable to JOB_FUNCTION. | [optional] [default to 10]
## Example
diff --git a/docs/SearchParametersList.md b/docs/SearchParametersList.md
new file mode 100644
index 000000000..d46da85b0
--- /dev/null
+++ b/docs/SearchParametersList.md
@@ -0,0 +1,31 @@
+# SearchParametersList
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**List[SearchParametersListDataInner]**](SearchParametersListDataInner.md) | |
+**total_count** | **float** | Total number of results if supported by the provider. | [optional]
+**next_cursor** | **str** | Cursor to get the next page of results if supported. Else use `offset`. | [optional]
+
+## Example
+
+```python
+from unipile.models.search_parameters_list import SearchParametersList
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of SearchParametersList from a JSON string
+search_parameters_list_instance = SearchParametersList.from_json(json)
+# print the JSON string representation of the object
+print(SearchParametersList.to_json())
+
+# convert the object into a dict
+search_parameters_list_dict = search_parameters_list_instance.to_dict()
+# create an instance of SearchParametersList from a dict
+search_parameters_list_from_dict = SearchParametersList.from_dict(search_parameters_list_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/SearchParametersListDataInner.md b/docs/SearchParametersListDataInner.md
new file mode 100644
index 000000000..fb2579ab1
--- /dev/null
+++ b/docs/SearchParametersListDataInner.md
@@ -0,0 +1,32 @@
+# SearchParametersListDataInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The identifier of the search parameter. |
+**name** | **str** | The display name of the search parameter. |
+**metadata** | [**SearchParametersListDataInnerMetadata**](SearchParametersListDataInnerMetadata.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.search_parameters_list_data_inner import SearchParametersListDataInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of SearchParametersListDataInner from a JSON string
+search_parameters_list_data_inner_instance = SearchParametersListDataInner.from_json(json)
+# print the JSON string representation of the object
+print(SearchParametersListDataInner.to_json())
+
+# convert the object into a dict
+search_parameters_list_data_inner_dict = search_parameters_list_data_inner_instance.to_dict()
+# create an instance of SearchParametersListDataInner from a dict
+search_parameters_list_data_inner_from_dict = SearchParametersListDataInner.from_dict(search_parameters_list_data_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/SearchParametersListDataInnerMetadata.md b/docs/SearchParametersListDataInnerMetadata.md
new file mode 100644
index 000000000..948947ff6
--- /dev/null
+++ b/docs/SearchParametersListDataInnerMetadata.md
@@ -0,0 +1,35 @@
+# SearchParametersListDataInnerMetadata
+
+Metadata about the current parameter.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**product** | **str** | |
+**last_viewed_at** | **float** | The number of comments to the post. `null` if counter is hidden. |
+**new_results_count** | **float** | The number of comments to the post. `null` if counter is hidden. |
+**query** | **str** | The text content of the message, when available. |
+**project** | [**RecruiterSavedSearchProject**](RecruiterSavedSearchProject.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.search_parameters_list_data_inner_metadata import SearchParametersListDataInnerMetadata
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of SearchParametersListDataInnerMetadata from a JSON string
+search_parameters_list_data_inner_metadata_instance = SearchParametersListDataInnerMetadata.from_json(json)
+# print the JSON string representation of the object
+print(SearchParametersListDataInnerMetadata.to_json())
+
+# convert the object into a dict
+search_parameters_list_data_inner_metadata_dict = search_parameters_list_data_inner_metadata_instance.to_dict()
+# create an instance of SearchParametersListDataInnerMetadata from a dict
+search_parameters_list_data_inner_metadata_from_dict = SearchParametersListDataInnerMetadata.from_dict(search_parameters_list_data_inner_metadata_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/SendEmail200Response.md b/docs/SendEmail200Response.md
index 6d0204b88..f8d8d6771 100644
--- a/docs/SendEmail200Response.md
+++ b/docs/SendEmail200Response.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object** | **str** | |
**id** | **str** | The ID of the email. |
-**message_id** | **str** | The Message-ID header value of the email. Use `id` in Unipile requests. |
+**message_id** | **str** | The Message-ID header value of the email. Use `id` in Unipile requests. May be absent when the header could not be retrieved after sending (the email has been sent anyway). | [optional]
## Example
diff --git a/docs/SendEmailRequest.md b/docs/SendEmailRequest.md
index e0d696087..2f37c1d11 100644
--- a/docs/SendEmailRequest.md
+++ b/docs/SendEmailRequest.md
@@ -12,9 +12,10 @@ Name | Type | Description | Notes
**to** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in `to` header. |
**cc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in `cc` header. | [optional]
**bcc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in `bcc` header. | [optional]
-**reply_to** | **str** | The ID of the email message that you're replying to. For Gmail and Outlook, this is the provider ID for the email message that you're replying to. For IMAP Send, this is the RFC822 Message-ID header of the email message that you're replying to. | [optional]
+**reply_to** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in the standard `Reply-To` header. Recipients answering the email will reply to these addresses instead of `from`. To reply inside an existing conversation, use `reply_to_message_id` instead. | [optional]
+**reply_to_message_id** | **str** | The ID of the email message that you're replying to. For Gmail and Outlook, this is the provider ID for the email message that you're replying to. For IMAP Send, this is the RFC822 Message-ID header of the email message that you're replying to. | [optional]
**attachments** | [**List[SendEmailRequestAttachmentsInner]**](SendEmailRequestAttachmentsInner.md) | The list of file attachments to the email. | [optional]
-**custom_headers** | [**List[SendEmailRequestCustomHeadersInner]**](SendEmailRequestCustomHeadersInner.md) | An array of custom headers to add to the email. | [optional]
+**custom_headers** | [**List[SendEmailRequestCustomHeadersInner]**](SendEmailRequestCustomHeadersInner.md) | An array of custom headers to add to the email. Each header overrides any existing header with the same name (case-insensitive), including headers set by other fields such as `to`, `cc`, `bcc`, `from`, `subject`, or `reply_to`. A `Reply-To` custom header therefore takes precedence over the `reply_to` field and its value is used verbatim. | [optional]
**tracking_options** | [**SendEmailRequestTrackingOptions**](SendEmailRequestTrackingOptions.md) | | [optional]
## Example
diff --git a/docs/SendEmailRequestCustomHeadersInner.md b/docs/SendEmailRequestCustomHeadersInner.md
index 4dcf401fc..b2b36c782 100644
--- a/docs/SendEmailRequestCustomHeadersInner.md
+++ b/docs/SendEmailRequestCustomHeadersInner.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**name** | **str** | The ID of the Company. |
-**value** | **str** | The ID of the Company. |
+**name** | **str** | The text content of the message, when available. |
+**value** | **str** | The text content of the message, when available. |
## Example
diff --git a/docs/SendEmailRequestTrackingOptions.md b/docs/SendEmailRequestTrackingOptions.md
index 20374aa53..88aab7035 100644
--- a/docs/SendEmailRequestTrackingOptions.md
+++ b/docs/SendEmailRequestTrackingOptions.md
@@ -7,9 +7,9 @@ Configuration of tracking for this email.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**opens** | **bool** | If `true`, trigger webhooks listening to `tracking.open` when the email is opened by the recipient. | [optional] [default to False]
-**links** | **bool** | If `true`, trigger webhooks listening to `tracking.link` when the recipient click on a link in the email content. | [optional] [default to False]
+**clicks** | **bool** | If `true`, trigger webhooks listening to `tracking.click` when the recipient click on a link in the email content. | [optional] [default to False]
**label** | **str** | A label to be sent in the tracking event. This can help you to identify the sent email. | [optional]
-**custom_domain** | **str** | Your custom domain pointing to https://tracking.unipile.com to handle links tracking. | [optional]
+**custom_domain** | **str** | Your custom domain pointing to https://s2.lnk-fllw.com to handle links tracking. | [optional]
## Example
diff --git a/docs/SolveCheckpoint200Response.md b/docs/SolveCheckpoint200Response.md
index 934575d64..f17bf7c2c 100644
--- a/docs/SolveCheckpoint200Response.md
+++ b/docs/SolveCheckpoint200Response.md
@@ -15,10 +15,11 @@ Name | Type | Description | Notes
**created_at** | **str** | The date and time the account was linked with Unipile. |
**id** | **str** | ID of the account. |
**application_id** | **str** | ID of the parent application. |
-**status** | **str** | The current status of the account. - `running` is Operational. - `error` is Service Interuption. - `disconnected` is Require Authentication.. - `paused` is Paused. Learn more about [Status & Lifecycle](https://developer.unipile.com/v2.0/docs/status-lifecycle). |
+**status** | **str** | The current status of the account. - `running` is Operational. - `errored` is Service Interuption. - `disconnected` requires authentication. - `degraded` means at least one product is running while another is errored; inspect `metadata.products_connection_status`. - `partial` means at least one product is running while another requires authentication; inspect `metadata.products_connection_status`. Learn more about [Status & Lifecycle](https://developer.unipile.com/v2.0/docs/status-lifecycle). |
+**is_locked** | **bool** | Whether API access to the account is locked. |
**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
**oauth_scope** | **str** | If the provider is OAuth, this is the scope of comma-separated permissions granted to the account. | [optional]
-**metadata** | **Dict[str, str]** | Metadata of the account. | [optional]
+**metadata** | [**AccountMetadata**](AccountMetadata.md) | |
**initial_sync** | [**AccountInitialSync**](AccountInitialSync.md) | | [optional]
**proxy** | [**AccountProxy**](AccountProxy.md) | | [optional]
diff --git a/docs/SolveCheckpointRequest.md b/docs/SolveCheckpointRequest.md
index 0364122c9..7df387e4a 100644
--- a/docs/SolveCheckpointRequest.md
+++ b/docs/SolveCheckpointRequest.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**code** | **str** | The code to solve the checkpoint. Check the AuthenticationCheckpoint response you have already obtained to see what type of code is expected. |
-**intent_id** | **str** | The ID of the intent to solve. |
+**intent_id** | **str** | The ID of the intent for which a checkpoint must be solved. |
## Example
diff --git a/docs/StartAuthIntentRequest.md b/docs/StartAuthIntentRequest.md
index a6c8a3940..b08fc9268 100644
--- a/docs/StartAuthIntentRequest.md
+++ b/docs/StartAuthIntentRequest.md
@@ -8,12 +8,11 @@ Name | Type | Description | Notes
**provider** | **str** | The provider to authenticate with. |
**credentials** | [**Instagram1Credentials**](Instagram1Credentials.md) | |
**config** | [**Instagram1Config**](Instagram1Config.md) | | [optional]
-**user_agent** | **str** | If encountering disconnection issues, enter the exact user agent of the browser on which the account has been connected before the `li_at` retrieval. You can easily get it in the browser's console with this command : `console.log(navigator.userAgent)` | [optional]
**user_timezone** | **str** | The time zone of the current user can be used on a few specific features (e.g. scheduled actions). Setting it at authentication avoids having to do it on a case-by-case basis later on. | [optional]
**oauth_callback_redirect_uri** | **str** | The URL to redirect to after the user has authenticated using the Provider's oAuth screen. |
**login_hint** | **str** | Uses the hint to simplify the login flow either by prefilling the email / username / phone number field in the authentication form. | [optional]
**state** | **str** | State data sent in the `account.add` / `account.reconnect` webhook payload after the authentication process. | [optional]
-**account_id** | **str** | The ID of the Account to re-authenticate. Must be a disconnected account, and `provider` must match the provider of the account. If not specified, will link as new account. | [optional]
+**account_id** | **str** | The ID of the Account to re-authenticate or reconfigure. The account may be running, partially connected, or disconnected, and `provider` must match its provider. Reconnecting always refreshes the entire account and restarts all configured products. If not specified, a new account is linked. | [optional]
## Example
diff --git a/docs/Unhandled.md b/docs/Unhandled.md
index 90b6fc37d..cb59bafee 100644
--- a/docs/Unhandled.md
+++ b/docs/Unhandled.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**last_updated_at** | **str** | The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
-**last_updated_by** | [**LinkedInProjectsInnerContributorsInner**](LinkedInProjectsInnerContributorsInner.md) | |
+**last_updated_by** | [**LinkedIn1InterestsTopVoicesInner**](LinkedIn1InterestsTopVoicesInner.md) | |
**event** | **str** | The type of event. |
## Example
diff --git a/docs/UpdateAccountRequest.md b/docs/UpdateAccountRequest.md
index 803e1b7a7..bb67e58a7 100644
--- a/docs/UpdateAccountRequest.md
+++ b/docs/UpdateAccountRequest.md
@@ -5,7 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**metadata** | **Dict[str, str]** | Metadata of the account. |
+**metadata** | **Dict[str, Optional[str]]** | Custom key-value data for the account. Replaces the account `metadata.custom_data` field; other metadata fields are not modified. Any fields not provided will be removed. | [optional]
+**auto_proxy_country** | **str** | The country to use for Automatic Proxy Protection. | [optional]
**proxy** | [**CustomProxy1**](CustomProxy1.md) | | [optional]
## Example
diff --git a/docs/UpdateCalendarEventRequest.md b/docs/UpdateCalendarEventRequest.md
index dbba322dc..5cf0ebbc2 100644
--- a/docs/UpdateCalendarEventRequest.md
+++ b/docs/UpdateCalendarEventRequest.md
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
**start** | [**GetCalendarEventList200ResponseDataInnerStart**](GetCalendarEventList200ResponseDataInnerStart.md) | | [optional]
**end** | [**GetCalendarEventList200ResponseDataInnerEnd**](GetCalendarEventList200ResponseDataInnerEnd.md) | | [optional]
**notify** | **str** | Only available for google, guests to send updates to: - `all`: Notify all guests. - `externalOnly`: Notify only guests not on the calendar's domain. - `none`: Do not notify any guests. | [optional] [default to 'all']
+**timezone** | **str** | The IANA timezone the event is expressed in (e.g. `Europe/Paris`). Defaults to UTC when omitted. | [optional]
## Example
diff --git a/docs/UpdateCalendarRequest.md b/docs/UpdateCalendarRequest.md
index 805bfa689..c10e2fa90 100644
--- a/docs/UpdateCalendarRequest.md
+++ b/docs/UpdateCalendarRequest.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**name** | **str** | Name of the new calendar | [optional]
**description** | **str** | Description of the calendar | [optional]
**background_color** | **str** | Background color of the calendar in hexadecimal format. | [optional]
+**timezone** | **str** | Timezone used in this calendar (IANA, e.g. `Europe/Paris`). | [optional]
## Example
diff --git a/docs/UpdateChat200Response.md b/docs/UpdateChat200Response.md
new file mode 100644
index 000000000..c4a4602d5
--- /dev/null
+++ b/docs/UpdateChat200Response.md
@@ -0,0 +1,56 @@
+# UpdateChat200Response
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The unique identifier of the chat for the provider. |
+**name** | **str** | The name / title of the chat. If the provider does not provide a name, name is built out of participants usernames. |
+**label** | **str** | If supported by the provider, a label associated with the chat. | [optional]
+**description** | **str** | The description / subject of the chat. | [optional]
+**image_url** | **str** | The URL of the chat image. | [optional]
+**created_at** | **str** | The creation date of the chat. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
+**updated_at** | **str** | The last update date of the chat. Use ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). Some providers update this field on new messages. | [optional]
+**last_message_timestamp** | **str** | The timestamp of the last message in the chat. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). | [optional]
+**muted_until** | [**GetChat200ResponseMutedUntil**](GetChat200ResponseMutedUntil.md) | |
+**creator_id** | **str** | The ID of the user who created the chat. | [optional]
+**user_id** | **str** | The ID of the other participant in the chat if 1to1 chat. | [optional]
+**is_group** | **bool** | Is the chat a group chat. |
+**is_1to1** | **bool** | Is the chat a 1to1 chat. |
+**is_channel** | **bool** | Is the chat a channel chat. |
+**type** | **str** | The type of the chat. - `group` is a group chat. - `1to1` is a 1to1 chat. - `channel` is a channel chat. |
+**is_pinned** | **bool** | Is the chat pinned at the top of the list, if supported by the provider. |
+**is_readonly** | **bool** | Is the chat read-only for the current user. Trying to send messages in read-only chats will fail. |
+**is_archived** | **bool** | Is the chat archived. Archived chats are usually hidden from the chat list. |
+**folders** | **List[str]** | A list of folders the chat belongs to. |
+**participants_count** | **float** | The number of participants in the chat if the chat is a group. | [optional]
+**unread_count** | **float** | The number of unread messages in the chat. `0` if the chat is read, `-1` if the chat was manually marked as unread by the user and does not have any unread messages. |
+**restrictions** | **List[str]** | List of action restrictions of the chat. - `send_message` is the permission to send messages. | [optional]
+**participants** | [**List[UpdateChat200ResponseParticipantsInner]**](UpdateChat200ResponseParticipantsInner.md) | List of participants in the chat if group chat. | [optional]
+**last_message** | [**GetChat200ResponseLastMessage**](GetChat200ResponseLastMessage.md) | | [optional]
+**user** | [**UpdateChat200ResponseUser**](UpdateChat200ResponseUser.md) | | [optional]
+**provider** | **str** | The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP. |
+**specifics** | **object** | | [optional]
+
+## Example
+
+```python
+from unipile.models.update_chat200_response import UpdateChat200Response
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of UpdateChat200Response from a JSON string
+update_chat200_response_instance = UpdateChat200Response.from_json(json)
+# print the JSON string representation of the object
+print(UpdateChat200Response.to_json())
+
+# convert the object into a dict
+update_chat200_response_dict = update_chat200_response_instance.to_dict()
+# create an instance of UpdateChat200Response from a dict
+update_chat200_response_from_dict = UpdateChat200Response.from_dict(update_chat200_response_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/UpdateChat200ResponseParticipantsInner.md b/docs/UpdateChat200ResponseParticipantsInner.md
new file mode 100644
index 000000000..d129e911e
--- /dev/null
+++ b/docs/UpdateChat200ResponseParticipantsInner.md
@@ -0,0 +1,32 @@
+# UpdateChat200ResponseParticipantsInner
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**user** | [**UpdateChat200ResponseParticipantsInnerUser**](UpdateChat200ResponseParticipantsInnerUser.md) | |
+**is_self** | **bool** | Is the current user the participant. |
+**is_admin** | **bool** | Is the participant an admin of the group. |
+
+## Example
+
+```python
+from unipile.models.update_chat200_response_participants_inner import UpdateChat200ResponseParticipantsInner
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of UpdateChat200ResponseParticipantsInner from a JSON string
+update_chat200_response_participants_inner_instance = UpdateChat200ResponseParticipantsInner.from_json(json)
+# print the JSON string representation of the object
+print(UpdateChat200ResponseParticipantsInner.to_json())
+
+# convert the object into a dict
+update_chat200_response_participants_inner_dict = update_chat200_response_participants_inner_instance.to_dict()
+# create an instance of UpdateChat200ResponseParticipantsInner from a dict
+update_chat200_response_participants_inner_from_dict = UpdateChat200ResponseParticipantsInner.from_dict(update_chat200_response_participants_inner_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/UpdateChat200ResponseParticipantsInnerUser.md b/docs/UpdateChat200ResponseParticipantsInnerUser.md
new file mode 100644
index 000000000..571df4fa4
--- /dev/null
+++ b/docs/UpdateChat200ResponseParticipantsInnerUser.md
@@ -0,0 +1,41 @@
+# UpdateChat200ResponseParticipantsInnerUser
+
+The user who is a participant of the group.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | **object** | Provider-specific user data. | [optional]
+
+## Example
+
+```python
+from unipile.models.update_chat200_response_participants_inner_user import UpdateChat200ResponseParticipantsInnerUser
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of UpdateChat200ResponseParticipantsInnerUser from a JSON string
+update_chat200_response_participants_inner_user_instance = UpdateChat200ResponseParticipantsInnerUser.from_json(json)
+# print the JSON string representation of the object
+print(UpdateChat200ResponseParticipantsInnerUser.to_json())
+
+# convert the object into a dict
+update_chat200_response_participants_inner_user_dict = update_chat200_response_participants_inner_user_instance.to_dict()
+# create an instance of UpdateChat200ResponseParticipantsInnerUser from a dict
+update_chat200_response_participants_inner_user_from_dict = UpdateChat200ResponseParticipantsInnerUser.from_dict(update_chat200_response_participants_inner_user_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/UpdateChat200ResponseUser.md b/docs/UpdateChat200ResponseUser.md
new file mode 100644
index 000000000..772a3a466
--- /dev/null
+++ b/docs/UpdateChat200ResponseUser.md
@@ -0,0 +1,41 @@
+# UpdateChat200ResponseUser
+
+The other participant if 1to1 chat.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | **object** | Provider-specific user data. | [optional]
+
+## Example
+
+```python
+from unipile.models.update_chat200_response_user import UpdateChat200ResponseUser
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of UpdateChat200ResponseUser from a JSON string
+update_chat200_response_user_instance = UpdateChat200ResponseUser.from_json(json)
+# print the JSON string representation of the object
+print(UpdateChat200ResponseUser.to_json())
+
+# convert the object into a dict
+update_chat200_response_user_dict = update_chat200_response_user_instance.to_dict()
+# create an instance of UpdateChat200ResponseUser from a dict
+update_chat200_response_user_from_dict = UpdateChat200ResponseUser.from_dict(update_chat200_response_user_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/UpdateDraftRequest.md b/docs/UpdateDraftRequest.md
index 07887d64a..159e7fc25 100644
--- a/docs/UpdateDraftRequest.md
+++ b/docs/UpdateDraftRequest.md
@@ -12,6 +12,8 @@ Name | Type | Description | Notes
**to** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in `to` header. | [optional]
**cc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in `cc` header. | [optional]
**bcc** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in `bcc` header. | [optional]
+**reply_to** | [**List[GetEmailsList200ResponseDataInnerFromInner]**](GetEmailsList200ResponseDataInnerFromInner.md) | List of attendees to set in the standard `Reply-To` header. Recipients answering the email will reply to these addresses instead of `from`. To reply inside an existing conversation, use `reply_to_message_id` instead. | [optional]
+**reply_to_message_id** | **str** | The ID of the email message that you're replying to. For Gmail, this is the provider ID for the email message that you're replying to. For IMAP, this is the RFC822 Message-ID header of the email message that you're replying to. Outlook draft replies are not supported. | [optional]
**attachments** | [**List[SendEmailRequestAttachmentsInner]**](SendEmailRequestAttachmentsInner.md) | The list of file attachments to the draft. Any attachment already existing will be removed and replaced by the new ones. | [optional]
**tracking_options** | [**SendEmailRequestTrackingOptions**](SendEmailRequestTrackingOptions.md) | | [optional]
**specifics** | [**UpdateDraftRequestSpecifics**](UpdateDraftRequestSpecifics.md) | | [optional]
diff --git a/docs/UpdatePost200Response.md b/docs/UpdatePost200Response.md
new file mode 100644
index 000000000..41f12f666
--- /dev/null
+++ b/docs/UpdatePost200Response.md
@@ -0,0 +1,48 @@
+# UpdatePost200Response
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The ID of the post for the provider. |
+**share_url** | **str** | The URL to share the post. |
+**created_at** | **str** | The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
+**title** | **str** | The title of the post. | [optional]
+**text** | **str** | The text content of the post. |
+**author** | [**UpdatePost200ResponseAuthor**](UpdatePost200ResponseAuthor.md) | |
+**user_reacted** | [**GetPostsList200ResponseDataInnerQuotedPostUserReacted**](GetPostsList200ResponseDataInnerQuotedPostUserReacted.md) | |
+**permissions** | [**GetPostsList200ResponseDataInnerPermissions**](GetPostsList200ResponseDataInnerPermissions.md) | |
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
+**comments_counter** | **float** | The number of comments to the post. `null` if counter is hidden. |
+**reposts_counter** | **float** | The number of reposts of the post. `null` if counter is hidden. |
+**poll** | [**GetPostsList200ResponseDataInnerPoll**](GetPostsList200ResponseDataInnerPoll.md) | | [optional]
+**event** | [**GetPostsList200ResponseDataInnerEvent**](GetPostsList200ResponseDataInnerEvent.md) | | [optional]
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of post attachments. |
+**analytics** | [**GetPostsList200ResponseDataInnerAnalytics**](GetPostsList200ResponseDataInnerAnalytics.md) | | [optional]
+**specifics** | **object** | Object containing provider-specific post data. | [optional]
+**is_repost** | **bool** | `true` if this post is reposted by someone without quote. Quoted post does not qualify as a repost. |
+**reposted_by** | [**UpdatePost200ResponseRepostedBy**](UpdatePost200ResponseRepostedBy.md) | | [optional]
+**quoted_post** | [**UpdatePost200ResponseQuotedPost**](UpdatePost200ResponseQuotedPost.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.update_post200_response import UpdatePost200Response
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of UpdatePost200Response from a JSON string
+update_post200_response_instance = UpdatePost200Response.from_json(json)
+# print the JSON string representation of the object
+print(UpdatePost200Response.to_json())
+
+# convert the object into a dict
+update_post200_response_dict = update_post200_response_instance.to_dict()
+# create an instance of UpdatePost200Response from a dict
+update_post200_response_from_dict = UpdatePost200Response.from_dict(update_post200_response_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/UpdatePost200ResponseAuthor.md b/docs/UpdatePost200ResponseAuthor.md
new file mode 100644
index 000000000..98bfc17f3
--- /dev/null
+++ b/docs/UpdatePost200ResponseAuthor.md
@@ -0,0 +1,41 @@
+# UpdatePost200ResponseAuthor
+
+The author of the post.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | **object** | Provider-specific user data. | [optional]
+
+## Example
+
+```python
+from unipile.models.update_post200_response_author import UpdatePost200ResponseAuthor
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of UpdatePost200ResponseAuthor from a JSON string
+update_post200_response_author_instance = UpdatePost200ResponseAuthor.from_json(json)
+# print the JSON string representation of the object
+print(UpdatePost200ResponseAuthor.to_json())
+
+# convert the object into a dict
+update_post200_response_author_dict = update_post200_response_author_instance.to_dict()
+# create an instance of UpdatePost200ResponseAuthor from a dict
+update_post200_response_author_from_dict = UpdatePost200ResponseAuthor.from_dict(update_post200_response_author_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/UpdatePost200ResponseQuotedPost.md b/docs/UpdatePost200ResponseQuotedPost.md
new file mode 100644
index 000000000..82ff264fe
--- /dev/null
+++ b/docs/UpdatePost200ResponseQuotedPost.md
@@ -0,0 +1,46 @@
+# UpdatePost200ResponseQuotedPost
+
+The post that is quoted in this post.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**object** | **str** | |
+**id** | **str** | The ID of the post for the provider. |
+**share_url** | **str** | The URL to share the post. |
+**created_at** | **str** | The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). |
+**title** | **str** | The title of the post. | [optional]
+**text** | **str** | The text content of the post. |
+**author** | [**UpdatePost200ResponseAuthor**](UpdatePost200ResponseAuthor.md) | |
+**user_reacted** | [**GetPostsList200ResponseDataInnerQuotedPostUserReacted**](GetPostsList200ResponseDataInnerQuotedPostUserReacted.md) | |
+**permissions** | [**GetPostsList200ResponseDataInnerPermissions**](GetPostsList200ResponseDataInnerPermissions.md) | |
+**reactions_counter** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.md) | A list of reactions to the element. |
+**comments_counter** | **float** | The number of comments to the post. `null` if counter is hidden. |
+**reposts_counter** | **float** | The number of reposts of the post. `null` if counter is hidden. |
+**poll** | [**GetPostsList200ResponseDataInnerPoll**](GetPostsList200ResponseDataInnerPoll.md) | | [optional]
+**event** | [**GetPostsList200ResponseDataInnerEvent**](GetPostsList200ResponseDataInnerEvent.md) | | [optional]
+**attachments** | [**List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner]**](GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.md) | List of post attachments. |
+**analytics** | [**GetPostsList200ResponseDataInnerAnalytics**](GetPostsList200ResponseDataInnerAnalytics.md) | | [optional]
+**specifics** | **object** | Object containing provider-specific post data. | [optional]
+
+## Example
+
+```python
+from unipile.models.update_post200_response_quoted_post import UpdatePost200ResponseQuotedPost
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of UpdatePost200ResponseQuotedPost from a JSON string
+update_post200_response_quoted_post_instance = UpdatePost200ResponseQuotedPost.from_json(json)
+# print the JSON string representation of the object
+print(UpdatePost200ResponseQuotedPost.to_json())
+
+# convert the object into a dict
+update_post200_response_quoted_post_dict = update_post200_response_quoted_post_instance.to_dict()
+# create an instance of UpdatePost200ResponseQuotedPost from a dict
+update_post200_response_quoted_post_from_dict = UpdatePost200ResponseQuotedPost.from_dict(update_post200_response_quoted_post_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/UpdatePost200ResponseRepostedBy.md b/docs/UpdatePost200ResponseRepostedBy.md
new file mode 100644
index 000000000..d55adf145
--- /dev/null
+++ b/docs/UpdatePost200ResponseRepostedBy.md
@@ -0,0 +1,41 @@
+# UpdatePost200ResponseRepostedBy
+
+The user who reposted the post if `is_repost` is `true`.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Unique identifier of the user for the provider. Usually an internal identifier used by the API only. |
+**object** | **str** | |
+**type** | **str** | Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity. |
+**public_identifier** | **str** | Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. | [optional]
+**display_name** | **str** | Display name of the user as exposed by the provider. |
+**first_name** | **str** | First name of the user. | [optional]
+**last_name** | **str** | Last name of the user. | [optional]
+**profile_url** | **str** | Public url to the profile of the user. | [optional]
+**public_picture_url** | **str** | Public url to the profile picture of the user. | [optional]
+**private_picture_download_url** | **str** | Private url to download the profile picture of the user. This url require authentication. | [optional]
+**description** | **str** | Description of the user. | [optional]
+**specifics** | **object** | Provider-specific user data. | [optional]
+
+## Example
+
+```python
+from unipile.models.update_post200_response_reposted_by import UpdatePost200ResponseRepostedBy
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of UpdatePost200ResponseRepostedBy from a JSON string
+update_post200_response_reposted_by_instance = UpdatePost200ResponseRepostedBy.from_json(json)
+# print the JSON string representation of the object
+print(UpdatePost200ResponseRepostedBy.to_json())
+
+# convert the object into a dict
+update_post200_response_reposted_by_dict = update_post200_response_reposted_by_instance.to_dict()
+# create an instance of UpdatePost200ResponseRepostedBy from a dict
+update_post200_response_reposted_by_from_dict = UpdatePost200ResponseRepostedBy.from_dict(update_post200_response_reposted_by_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinExperience.md b/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinExperience.md
index 967766b79..05a1b6592 100644
--- a/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinExperience.md
+++ b/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinExperience.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**notify_network** | **bool** | Notify the network about the experience. Turn on to notify your network of key profile changes (such as new job) and work anniversaries. Updates can take up to 2 hours. | [optional] [default to False]
**job_title** | [**EditExistingExperienceJobTitle**](EditExistingExperienceJobTitle.md) | |
-**employment_type** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `EMPLOYMENT_TYPE` type to find out the possible values. Employment type of the experience. | [optional]
+**employment_type** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `EMPLOYMENT_TYPE` type to find out the possible values. Employment type of the experience. | [optional]
**company** | [**EditExistingExperienceCompany**](EditExistingExperienceCompany.md) | |
**location** | [**EditExistingExperienceLocation**](EditExistingExperienceLocation.md) | | [optional]
**workplace_type** | **str** | The workplace type. Ex: Remote, Hybrid, On-site | [optional]
diff --git a/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkJobTitleInner.md b/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkJobTitleInner.md
index 72559f3a5..721f9eb07 100644
--- a/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkJobTitleInner.md
+++ b/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkJobTitleInner.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**title** | **str** | The title of the job. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `JOB_TITLE` type to find out the possible values. |
## Example
diff --git a/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkWorkplaceInner.md b/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkWorkplaceInner.md
index d63ce4ec2..1e7c1b1a2 100644
--- a/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkWorkplaceInner.md
+++ b/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkWorkplaceInner.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | The type of workplace. |
-**location** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. |
+**location** | **List[Optional[str]]** | A list of parameter IDs. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `LOCATION` type to find out the possible values. |
## Example
diff --git a/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinSkillsInner.md b/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinSkillsInner.md
index 117c9995f..95f7df0e6 100644
--- a/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinSkillsInner.md
+++ b/docs/UpdateUserProfileRequestSpecificsAllOfLinkedinSkillsInner.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**name** | **str** | The ID of the Company. |
-**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/get_v2-account-id-linkedin-search-parameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. | [optional]
+**name** | **str** | The text content of the message, when available. |
+**id** | **str** | A parameter ID. Use <a href=\"https://developer.unipile.com/v2.0/reference/getclassicsearchparameters\">List Search Parameters</a> with `SKILL` type to find out the possible values. | [optional]
## Example
diff --git a/docs/UpdateWebhookEndpointRequest.md b/docs/UpdateWebhookEndpointRequest.md
index a55cfafaa..82f160ec2 100644
--- a/docs/UpdateWebhookEndpointRequest.md
+++ b/docs/UpdateWebhookEndpointRequest.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**trigger_events** | **List[str]** | The events that will trigger the webhook endpoint. Refer to [Events Types](https://developer.unipile.com/v2.0/reference/event-types-1) to see the list of available values. | [optional]
**account_ids** | **List[str]** | Restrict the webhook to specific accounts. Leave empty or omit the field to listen to events from every account in the application. | [optional]
-**url** | **str** | The URL to send the webhook payload to. | [optional]
+**url** | **str** | The HTTP or HTTPS URL to send the webhook payload to. | [optional]
**description** | **str** | A description of the webhook endpoint. | [optional]
**enabled** | **bool** | Whether the webhook endpoint is enabled. | [optional]
diff --git a/docs/UsersApi.md b/docs/UsersApi.md
index 5d0ecd076..a4fc775e0 100644
--- a/docs/UsersApi.md
+++ b/docs/UsersApi.md
@@ -183,7 +183,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **create_relation_request**
-> LinkedInRelationRequest create_relation_request(account_id, create_relation_request_request)
+> GetRelationRequestsList200ResponseDataInner create_relation_request(account_id, create_relation_request_request)
Send a Relation request
@@ -196,7 +196,7 @@ Sends a bi-directional relation request to a user. Trying to send a relation req
```python
import unipile
from unipile.models.create_relation_request_request import CreateRelationRequestRequest
-from unipile.models.linked_in_relation_request import LinkedInRelationRequest
+from unipile.models.get_relation_requests_list200_response_data_inner import GetRelationRequestsList200ResponseDataInner
from unipile.rest import ApiException
from pprint import pprint
@@ -245,7 +245,7 @@ Name | Type | Description | Notes
### Return type
-[**LinkedInRelationRequest**](LinkedInRelationRequest.md)
+[**GetRelationRequestsList200ResponseDataInner**](GetRelationRequestsList200ResponseDataInner.md)
### Authorization
@@ -424,7 +424,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_posts_list**
-> GetPostsList200Response get_posts_list(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+> GetPostsList200Response get_posts_list(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
List all User's Posts
@@ -464,12 +464,12 @@ with unipile.ApiClient(configuration) as api_client:
user_id = 'user_id_example' # str | The ID of the User to retrieve posts from.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all User's Posts
- api_response = api_instance.get_posts_list(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_posts_list(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of UsersApi->get_posts_list:\n")
pprint(api_response)
except Exception as e:
@@ -486,8 +486,8 @@ Name | Type | Description | Notes
**user_id** | **str**| The ID of the User to retrieve posts from. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -511,7 +511,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_relation_requests_list**
-> GetRelationRequestsList200Response get_relation_requests_list(type, account_id, offset=offset, limit=limit, cursor=cursor)
+> GetRelationRequestsList200Response get_relation_requests_list(type, account_id, offset=offset, cursor=cursor, limit=limit)
List all pending Relation / Follow requests
@@ -551,12 +551,12 @@ with unipile.ApiClient(configuration) as api_client:
type = 'type_example' # str | Filter to returns only the given type of Relation / Follow request. - `sent` is the requests sent by the current user. - `received` is the requests received by the current user.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List all pending Relation / Follow requests
- api_response = api_instance.get_relation_requests_list(type, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_relation_requests_list(type, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of UsersApi->get_relation_requests_list:\n")
pprint(api_response)
except Exception as e:
@@ -573,8 +573,8 @@ Name | Type | Description | Notes
**type** | **str**| Filter to returns only the given type of Relation / Follow request. - `sent` is the requests sent by the current user. - `received` is the requests received by the current user. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -683,7 +683,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_user_relations**
-> GetUserRelations200Response get_user_relations(user_id, account_id, search=search, offset=offset, limit=limit, cursor=cursor)
+> GetUserRelations200Response get_user_relations(user_id, account_id, search=search, offset=offset, cursor=cursor, limit=limit)
List Relations of a User
@@ -724,12 +724,12 @@ with unipile.ApiClient(configuration) as api_client:
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
search = 'search_example' # str | Any text input to filter out results (if supported by the provider). (optional)
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List Relations of a User
- api_response = api_instance.get_user_relations(user_id, account_id, search=search, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.get_user_relations(user_id, account_id, search=search, offset=offset, cursor=cursor, limit=limit)
print("The response of UsersApi->get_user_relations:\n")
pprint(api_response)
except Exception as e:
@@ -747,8 +747,8 @@ Name | Type | Description | Notes
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**search** | **str**| Any text input to filter out results (if supported by the provider). | [optional]
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -772,7 +772,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **list_user_followers**
-> ListUserFollowers200Response list_user_followers(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+> ListUserFollowers200Response list_user_followers(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
List Followers of a User
@@ -812,12 +812,12 @@ with unipile.ApiClient(configuration) as api_client:
user_id = 'user_id_example' # str | The ID of the User to get the followers from. Use `me` to get the followers of the account owner.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List Followers of a User
- api_response = api_instance.list_user_followers(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.list_user_followers(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of UsersApi->list_user_followers:\n")
pprint(api_response)
except Exception as e:
@@ -834,8 +834,8 @@ Name | Type | Description | Notes
**user_id** | **str**| The ID of the User to get the followers from. Use `me` to get the followers of the account owner. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -859,7 +859,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **list_user_following**
-> ListUserFollowers200Response list_user_following(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+> ListUserFollowers200Response list_user_following(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
List Following of a User
@@ -899,12 +899,12 @@ with unipile.ApiClient(configuration) as api_client:
user_id = 'user_id_example' # str | The ID of the User to get the followed users from. Use `me` to get the followed users of the account owner.
account_id = 'account_id_example' # str | ID of the Account (acc_xxx) to call the method on behalf of.
offset = 3.4 # float | An offset used for pagination, if supported by the provider, else use `cursor`. (optional)
- limit = 20 # float | The limit of items to be returned. (optional) (default to 20)
cursor = 'cursor_example' # str | A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. (optional)
+ limit = 20 # float | The limit of items to be returned. The maximum allowed value depends on the provider. (optional) (default to 20)
try:
# List Following of a User
- api_response = api_instance.list_user_following(user_id, account_id, offset=offset, limit=limit, cursor=cursor)
+ api_response = api_instance.list_user_following(user_id, account_id, offset=offset, cursor=cursor, limit=limit)
print("The response of UsersApi->list_user_following:\n")
pprint(api_response)
except Exception as e:
@@ -921,8 +921,8 @@ Name | Type | Description | Notes
**user_id** | **str**| The ID of the User to get the followed users from. Use `me` to get the followed users of the account owner. |
**account_id** | **str**| ID of the Account (acc_xxx) to call the method on behalf of. |
**offset** | **float**| An offset used for pagination, if supported by the provider, else use `cursor`. | [optional]
- **limit** | **float**| The limit of items to be returned. | [optional] [default to 20]
**cursor** | **str**| A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`. | [optional]
+ **limit** | **float**| The limit of items to be returned. The maximum allowed value depends on the provider. | [optional] [default to 20]
### Return type
@@ -1031,9 +1031,7 @@ Name | Type | Description | Notes
Update a User Profile
-Updates the specified User profile. Use `me` as `user_id` to update the account owner profile.
-
- Multipart supported, refer to Sending Files.
+Updates the specified User profile. Use `me` as `user_id` to update the account owner profile.
Multipart supported, refer to Sending Files.
### Example
diff --git a/docs/Video.md b/docs/Video.md
index 2fbb58bd2..185e017db 100644
--- a/docs/Video.md
+++ b/docs/Video.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**object** | **str** | |
**id** | **str** | The unique identifier of the attachment for the provider. |
**file_size** | **float** | The size of the attachment in bytes. | [optional]
+**is_inline** | **bool** | Is the attachment inline in the content. |
**is_unavailable** | **bool** | The attachment is not available for download because it was removed from provider servers. | [optional]
**mimetype** | **str** | The MIME type of the attachment. |
**url** | **str** | The URL to download the attachment. |
diff --git a/docs/Video1.md b/docs/Video1.md
index 5c1fccf43..b8640750a 100644
--- a/docs/Video1.md
+++ b/docs/Video1.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**object** | **str** | |
**id** | **str** | The unique identifier of the attachment for the provider. |
**file_size** | **float** | The size of the attachment in bytes. | [optional]
+**is_inline** | **bool** | Is the attachment inline in the content. |
**is_unavailable** | **bool** | The attachment is not available for download because it was removed from provider servers. | [optional]
**mimetype** | **str** | The MIME type of the attachment. |
**url** | **str** | The URL to download the attachment. |
diff --git a/docs/WhatsApp.md b/docs/WhatsApp.md
index 46c1fc758..2a834ab80 100644
--- a/docs/WhatsApp.md
+++ b/docs/WhatsApp.md
@@ -1,14 +1,11 @@
# WhatsApp
-Start the authentication intent with WhatsApp provider.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**provider** | **str** | The provider to authenticate with. |
-**credentials** | [**WhatsAppCredentials**](WhatsAppCredentials.md) | |
-**config** | [**WhatsAppConfig**](WhatsAppConfig.md) | | [optional]
+**contact_name** | **str** | Name saved by the connected account owner in their WhatsApp address book. |
## Example
diff --git a/docs/WhatsApp1.md b/docs/WhatsApp1.md
new file mode 100644
index 000000000..6f1dcf633
--- /dev/null
+++ b/docs/WhatsApp1.md
@@ -0,0 +1,30 @@
+# WhatsApp1
+
+WhatsApp specific dataset for user profiles.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**contact_name** | **str** | Name saved by the connected account owner in their WhatsApp address book. | [optional]
+
+## Example
+
+```python
+from unipile.models.whats_app1 import WhatsApp1
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of WhatsApp1 from a JSON string
+whats_app1_instance = WhatsApp1.from_json(json)
+# print the JSON string representation of the object
+print(WhatsApp1.to_json())
+
+# convert the object into a dict
+whats_app1_dict = whats_app1_instance.to_dict()
+# create an instance of WhatsApp1 from a dict
+whats_app1_from_dict = WhatsApp1.from_dict(whats_app1_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/WhatsApp2.md b/docs/WhatsApp2.md
new file mode 100644
index 000000000..91244921e
--- /dev/null
+++ b/docs/WhatsApp2.md
@@ -0,0 +1,32 @@
+# WhatsApp2
+
+Start the authentication intent with WhatsApp provider.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**provider** | **str** | The provider to authenticate with. |
+**credentials** | [**WhatsApp2Credentials**](WhatsApp2Credentials.md) | |
+**config** | [**WhatsApp2Config**](WhatsApp2Config.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.whats_app2 import WhatsApp2
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of WhatsApp2 from a JSON string
+whats_app2_instance = WhatsApp2.from_json(json)
+# print the JSON string representation of the object
+print(WhatsApp2.to_json())
+
+# convert the object into a dict
+whats_app2_dict = whats_app2_instance.to_dict()
+# create an instance of WhatsApp2 from a dict
+whats_app2_from_dict = WhatsApp2.from_dict(whats_app2_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/WhatsApp2Config.md b/docs/WhatsApp2Config.md
new file mode 100644
index 000000000..50a6dd142
--- /dev/null
+++ b/docs/WhatsApp2Config.md
@@ -0,0 +1,31 @@
+# WhatsApp2Config
+
+WhatsApp specific configuration.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**custom_proxy** | [**CustomProxy1**](CustomProxy1.md) | | [optional]
+**auto_proxy_config** | [**AutomaticProxyConfiguration**](AutomaticProxyConfiguration.md) | | [optional]
+
+## Example
+
+```python
+from unipile.models.whats_app2_config import WhatsApp2Config
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of WhatsApp2Config from a JSON string
+whats_app2_config_instance = WhatsApp2Config.from_json(json)
+# print the JSON string representation of the object
+print(WhatsApp2Config.to_json())
+
+# convert the object into a dict
+whats_app2_config_dict = whats_app2_config_instance.to_dict()
+# create an instance of WhatsApp2Config from a dict
+whats_app2_config_from_dict = WhatsApp2Config.from_dict(whats_app2_config_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/WhatsApp2Credentials.md b/docs/WhatsApp2Credentials.md
new file mode 100644
index 000000000..b878b3a4b
--- /dev/null
+++ b/docs/WhatsApp2Credentials.md
@@ -0,0 +1,30 @@
+# WhatsApp2Credentials
+
+The user credentials required by the provider to authenticate with.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**qrcode** | **bool** | This must be set to `true` |
+
+## Example
+
+```python
+from unipile.models.whats_app2_credentials import WhatsApp2Credentials
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of WhatsApp2Credentials from a JSON string
+whats_app2_credentials_instance = WhatsApp2Credentials.from_json(json)
+# print the JSON string representation of the object
+print(WhatsApp2Credentials.to_json())
+
+# convert the object into a dict
+whats_app2_credentials_dict = whats_app2_credentials_instance.to_dict()
+# create an instance of WhatsApp2Credentials from a dict
+whats_app2_credentials_from_dict = WhatsApp2Credentials.from_dict(whats_app2_credentials_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/git_push.sh b/git_push.sh
index e70219403..3182b83f9 100644
--- a/git_push.sh
+++ b/git_push.sh
@@ -8,24 +8,24 @@ git_repo_id=$2
release_note=$3
git_host=$4
-if [ "$git_host" = "" ]; then
+if [ -z "${git_host}" ]; then
git_host="github.com"
- echo "[INFO] No command line input provided. Set \$git_host to $git_host"
+ echo "[INFO] No command line input provided. Set \${git_host} to ${git_host}"
fi
-if [ "$git_user_id" = "" ]; then
+if [ -z "${git_user_id}" ]; then
git_user_id="unipile"
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
+ echo "[INFO] No command line input provided. Set \${git_user_id} to ${git_user_id}"
fi
-if [ "$git_repo_id" = "" ]; then
+if [ -z "${git_repo_id}" ]; then
git_repo_id="unipile-python"
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
+ echo "[INFO] No command line input provided. Set \${git_repo_id} to ${git_repo_id}"
fi
-if [ "$release_note" = "" ]; then
+if [ -z "${release_note}" ]; then
release_note="Minor update"
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
+ echo "[INFO] No command line input provided. Set \${release_note} to ${release_note}"
fi
# Initialize the local directory as a Git repository
@@ -35,19 +35,16 @@ git init
git add .
# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
+git commit -m "${release_note}"
# Sets the new remote
-git_remote=$(git remote)
-if [ "$git_remote" = "" ]; then # git remote not defined
-
- if [ "$GIT_TOKEN" = "" ]; then
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
- git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
+if [ -z "$(git remote)" ]; then # git remote not defined
+ if [ -z "${GIT_TOKEN:-}" ]; then
+ echo "[INFO] \${GIT_TOKEN} (environment variable) is not set. Using the git credential in your environment."
+ git remote add origin "https://${git_host}/${git_user_id}/${git_repo_id}.git"
else
- git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
+ git remote add origin "https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git"
fi
-
fi
git pull origin master
diff --git a/pyproject.toml b/pyproject.toml
index 5a73c2bc4..591632fdb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,16 +1,16 @@
[project]
name = "unipile"
-version = "2.0.0"
+version = "2.34.0"
description = "Unipile API"
authors = [
{name = "Unipile",email = "team@openapitools.org"},
]
readme = "README.md"
keywords = ["OpenAPI", "OpenAPI-Generator", "Unipile API"]
-requires-python = ">=3.9"
+requires-python = ">=3.10"
dependencies = [
- "urllib3 (>=2.1.0,<3.0.0)",
+ "urllib3 (>=2.7.0,<3.0.0)",
"python-dateutil (>=2.8.2)",
"pydantic (>=2.11)",
"typing-extensions (>=4.7.1)",
@@ -23,7 +23,7 @@ Repository = "https://github.com/unipile/unipile-python"
requires-poetry = ">=2.0"
[tool.poetry.group.dev.dependencies]
-pytest = ">= 7.2.1"
+pytest = ">= 9.0.3"
pytest-cov = ">= 2.8.1"
tox = ">= 3.9.0"
flake8 = ">= 4.0.0"
diff --git a/requirements.txt b/requirements.txt
index 9e2d67a53..1d751a9a2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-urllib3 >= 2.1.0, < 3.0.0
+urllib3 >= 2.7.0, < 3.0.0
python_dateutil >= 2.8.2
pydantic >= 2.11
typing-extensions >= 4.7.1
diff --git a/setup.py b/setup.py
index 530424909..d71a38bf4 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,10 +19,10 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "Unipile"
-VERSION = "2.0.0"
+VERSION = "2.34.0"
PYTHON_REQUIRES = ">= 3.10"
REQUIRES = [
- "urllib3 >= 2.1.0, < 3.0.0",
+ "urllib3 >= 2.7.0, < 3.0.0",
"python-dateutil >= 2.8.2",
"pydantic >= 2.11",
"typing-extensions >= 4.7.1",
diff --git a/test-requirements.txt b/test-requirements.txt
index e98555c11..9cb0629ad 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,4 +1,4 @@
-pytest >= 7.2.1
+pytest >= 9.0.3
pytest-cov >= 2.8.1
tox >= 3.9.0
flake8 >= 4.0.0
diff --git a/test/test_accept_relation_request200_response.py b/test/test_accept_relation_request200_response.py
index 466c44e9a..caa2e56ef 100644
--- a/test/test_accept_relation_request200_response.py
+++ b/test/test_accept_relation_request200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_account.py b/test/test_account.py
index b526f0a26..6f5f871ef 100644
--- a/test/test_account.py
+++ b/test/test_account.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -42,17 +42,28 @@ def make_instance(self, include_optional) -> Account:
id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
application_id = 'app_jUR,rZ#UM/?R,Fp^l6$ARj',
status = 'running',
+ is_locked = True,
provider = 'mock',
oauth_scope = '',
- metadata = {
- 'key' : ''
- },
+ metadata = unipile.models.account_metadata.Account_metadata(
+ auto_proxy_country = '',
+ v1_account_id = '',
+ products_connection_status = {
+ 'running' : 'running'
+ },
+ custom_data = {
+ 'key' : ''
+ }, ),
initial_sync = unipile.models.account_initial_sync.Account_initial_sync(
status = 'pending',
started_at = '', ),
proxy = unipile.models.account_proxy.Account_proxy(
country = '',
- auto_proxy = True, )
+ auto_proxy = True,
+ host = '',
+ port = 1.337,
+ username = '',
+ protocol = '', )
)
else:
return Account(
@@ -62,7 +73,17 @@ def make_instance(self, include_optional) -> Account:
id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
application_id = 'app_jUR,rZ#UM/?R,Fp^l6$ARj',
status = 'running',
+ is_locked = True,
provider = 'mock',
+ metadata = unipile.models.account_metadata.Account_metadata(
+ auto_proxy_country = '',
+ v1_account_id = '',
+ products_connection_status = {
+ 'running' : 'running'
+ },
+ custom_data = {
+ 'key' : ''
+ }, ),
)
"""
diff --git a/test/test_account1.py b/test/test_account1.py
index 9edd2bbd3..70a499ac5 100644
--- a/test/test_account1.py
+++ b/test/test_account1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -42,17 +42,28 @@ def make_instance(self, include_optional) -> Account1:
id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
application_id = 'app_jUR,rZ#UM/?R,Fp^l6$ARj',
status = 'running',
+ is_locked = True,
provider = 'mock',
oauth_scope = '',
- metadata = {
- 'key' : ''
- },
+ metadata = unipile.models.account_1_metadata.Account_1_metadata(
+ auto_proxy_country = '',
+ v1_account_id = '',
+ products_connection_status = {
+ 'running' : 'running'
+ },
+ custom_data = {
+ 'key' : ''
+ }, ),
initial_sync = unipile.models.account_initial_sync.Account_initial_sync(
status = 'pending',
started_at = '', ),
proxy = unipile.models.account_1_proxy.Account_1_proxy(
country = '',
- auto_proxy = True, )
+ auto_proxy = True,
+ host = '',
+ port = 1.337,
+ username = '',
+ protocol = '', )
)
else:
return Account1(
@@ -62,7 +73,17 @@ def make_instance(self, include_optional) -> Account1:
id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
application_id = 'app_jUR,rZ#UM/?R,Fp^l6$ARj',
status = 'running',
+ is_locked = True,
provider = 'mock',
+ metadata = unipile.models.account_1_metadata.Account_1_metadata(
+ auto_proxy_country = '',
+ v1_account_id = '',
+ products_connection_status = {
+ 'running' : 'running'
+ },
+ custom_data = {
+ 'key' : ''
+ }, ),
)
"""
diff --git a/test/test_account1_metadata.py b/test/test_account1_metadata.py
new file mode 100644
index 000000000..c391c2f1f
--- /dev/null
+++ b/test/test_account1_metadata.py
@@ -0,0 +1,58 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.account1_metadata import Account1Metadata
+
+class TestAccount1Metadata(unittest.TestCase):
+ """Account1Metadata unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> Account1Metadata:
+ """Test Account1Metadata
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `Account1Metadata`
+ """
+ model = Account1Metadata()
+ if include_optional:
+ return Account1Metadata(
+ auto_proxy_country = '',
+ v1_account_id = '',
+ products_connection_status = {
+ 'running' : 'running'
+ },
+ custom_data = {
+ 'key' : ''
+ }
+ )
+ else:
+ return Account1Metadata(
+ )
+ """
+
+ def testAccount1Metadata(self):
+ """Test Account1Metadata"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_account1_proxy.py b/test/test_account1_proxy.py
index a1fe4ad76..ec1fd25fc 100644
--- a/test/test_account1_proxy.py
+++ b/test/test_account1_proxy.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,11 @@ def make_instance(self, include_optional) -> Account1Proxy:
if include_optional:
return Account1Proxy(
country = '',
- auto_proxy = True
+ auto_proxy = True,
+ host = '',
+ port = 1.337,
+ username = '',
+ protocol = ''
)
else:
return Account1Proxy(
diff --git a/test/test_account_initial_sync.py b/test/test_account_initial_sync.py
index 46c40f457..51adc0d1f 100644
--- a/test/test_account_initial_sync.py
+++ b/test/test_account_initial_sync.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_account_list.py b/test/test_account_list.py
index 24b68980c..2c9138ef7 100644
--- a/test/test_account_list.py
+++ b/test/test_account_list.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -106,7 +106,7 @@ def make_instance(self, include_optional) -> AccountList:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -133,7 +133,7 @@ def make_instance(self, include_optional) -> AccountList:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -152,13 +152,13 @@ def make_instance(self, include_optional) -> AccountList:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -248,7 +248,7 @@ def make_instance(self, include_optional) -> AccountList:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -275,7 +275,7 @@ def make_instance(self, include_optional) -> AccountList:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -294,13 +294,13 @@ def make_instance(self, include_optional) -> AccountList:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_account_list_data_inner.py b/test/test_account_list_data_inner.py
index 8e9bb7c9e..ba1795f27 100644
--- a/test/test_account_list_data_inner.py
+++ b/test/test_account_list_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -104,7 +104,7 @@ def make_instance(self, include_optional) -> AccountListDataInner:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -131,7 +131,7 @@ def make_instance(self, include_optional) -> AccountListDataInner:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -150,13 +150,13 @@ def make_instance(self, include_optional) -> AccountListDataInner:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_account_list_data_inner_recommended_lead.py b/test/test_account_list_data_inner_recommended_lead.py
index 80a34a754..bce85b843 100644
--- a/test/test_account_list_data_inner_recommended_lead.py
+++ b/test/test_account_list_data_inner_recommended_lead.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -81,7 +81,7 @@ def make_instance(self, include_optional) -> AccountListDataInnerRecommendedLead
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -108,7 +108,7 @@ def make_instance(self, include_optional) -> AccountListDataInnerRecommendedLead
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -130,13 +130,13 @@ def make_instance(self, include_optional) -> AccountListDataInnerRecommendedLead
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -157,7 +157,6 @@ def make_instance(self, include_optional) -> AccountListDataInnerRecommendedLead
return AccountListDataInnerRecommendedLead(
id = '',
display_name = '',
- headline = '',
network_distance = None,
has_posted_recently = True,
has_viewed_your_profile = True,
@@ -179,7 +178,7 @@ def make_instance(self, include_optional) -> AccountListDataInnerRecommendedLead
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -206,7 +205,7 @@ def make_instance(self, include_optional) -> AccountListDataInnerRecommendedLead
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -228,13 +227,13 @@ def make_instance(self, include_optional) -> AccountListDataInnerRecommendedLead
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_account_metadata.py b/test/test_account_metadata.py
new file mode 100644
index 000000000..226e34589
--- /dev/null
+++ b/test/test_account_metadata.py
@@ -0,0 +1,58 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.account_metadata import AccountMetadata
+
+class TestAccountMetadata(unittest.TestCase):
+ """AccountMetadata unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> AccountMetadata:
+ """Test AccountMetadata
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `AccountMetadata`
+ """
+ model = AccountMetadata()
+ if include_optional:
+ return AccountMetadata(
+ auto_proxy_country = '',
+ v1_account_id = '',
+ products_connection_status = {
+ 'running' : 'running'
+ },
+ custom_data = {
+ 'key' : ''
+ }
+ )
+ else:
+ return AccountMetadata(
+ )
+ """
+
+ def testAccountMetadata(self):
+ """Test AccountMetadata"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_account_proxy.py b/test/test_account_proxy.py
index f4722c210..c6c8c931b 100644
--- a/test/test_account_proxy.py
+++ b/test/test_account_proxy.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,11 @@ def make_instance(self, include_optional) -> AccountProxy:
if include_optional:
return AccountProxy(
country = '',
- auto_proxy = True
+ auto_proxy = True,
+ host = '',
+ port = 1.337,
+ username = '',
+ protocol = ''
)
else:
return AccountProxy(
diff --git a/test/test_accounts_api.py b/test/test_accounts_api.py
index d56bde284..6d2907dbe 100644
--- a/test/test_accounts_api.py
+++ b/test/test_accounts_api.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_add_message_reaction200_response.py b/test/test_add_message_reaction200_response.py
index fdd0f02e8..77601b8ae 100644
--- a/test/test_add_message_reaction200_response.py
+++ b/test/test_add_message_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_add_message_reaction_request.py b/test/test_add_message_reaction_request.py
index 698efdc32..042b4b0bd 100644
--- a/test/test_add_message_reaction_request.py
+++ b/test/test_add_message_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_add_participant200_response.py b/test/test_add_participant200_response.py
index 686f6addb..022d3a7a7 100644
--- a/test/test_add_participant200_response.py
+++ b/test/test_add_participant200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_add_participant_request.py b/test/test_add_participant_request.py
index 119de91ef..44251fbd5 100644
--- a/test/test_add_participant_request.py
+++ b/test/test_add_participant_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,11 +35,11 @@ def make_instance(self, include_optional) -> AddParticipantRequest:
model = AddParticipantRequest()
if include_optional:
return AddParticipantRequest(
- user_id = ''
+ user_id = '0'
)
else:
return AddParticipantRequest(
- user_id = '',
+ user_id = '0',
)
"""
diff --git a/test/test_add_post_comment201_response.py b/test/test_add_post_comment201_response.py
new file mode 100644
index 000000000..2f63990df
--- /dev/null
+++ b/test/test_add_post_comment201_response.py
@@ -0,0 +1,110 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.add_post_comment201_response import AddPostComment201Response
+
+class TestAddPostComment201Response(unittest.TestCase):
+ """AddPostComment201Response unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> AddPostComment201Response:
+ """Test AddPostComment201Response
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `AddPostComment201Response`
+ """
+ model = AddPostComment201Response()
+ if include_optional:
+ return AddPostComment201Response(
+ object = 'Comment',
+ id = '',
+ thread_id = '',
+ author = unipile.models.add_post_comment_201_response_author.addPostComment_201_response_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ created_at = '',
+ text = '',
+ attachments = [
+ null
+ ],
+ is_sender = True,
+ can_reply = True,
+ can_react = True,
+ reply_counter = 1.337,
+ impressions_counter = 1.337,
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ]
+ )
+ else:
+ return AddPostComment201Response(
+ object = 'Comment',
+ id = '',
+ author = unipile.models.add_post_comment_201_response_author.addPostComment_201_response_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ created_at = '',
+ text = '',
+ attachments = [
+ null
+ ],
+ is_sender = True,
+ can_reply = True,
+ can_react = True,
+ reply_counter = 1.337,
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ )
+ """
+
+ def testAddPostComment201Response(self):
+ """Test AddPostComment201Response"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_add_post_comment201_response_author.py b/test/test_add_post_comment201_response_author.py
new file mode 100644
index 000000000..a78907e28
--- /dev/null
+++ b/test/test_add_post_comment201_response_author.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.add_post_comment201_response_author import AddPostComment201ResponseAuthor
+
+class TestAddPostComment201ResponseAuthor(unittest.TestCase):
+ """AddPostComment201ResponseAuthor unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> AddPostComment201ResponseAuthor:
+ """Test AddPostComment201ResponseAuthor
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `AddPostComment201ResponseAuthor`
+ """
+ model = AddPostComment201ResponseAuthor()
+ if include_optional:
+ return AddPostComment201ResponseAuthor(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = None
+ )
+ else:
+ return AddPostComment201ResponseAuthor(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testAddPostComment201ResponseAuthor(self):
+ """Test AddPostComment201ResponseAuthor"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_add_post_comment_reaction200_response.py b/test/test_add_post_comment_reaction200_response.py
index ba7ddb05d..890f99436 100644
--- a/test/test_add_post_comment_reaction200_response.py
+++ b/test/test_add_post_comment_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_add_post_comment_reaction_request.py b/test/test_add_post_comment_reaction_request.py
index 5906d902d..ad1c3475a 100644
--- a/test/test_add_post_comment_reaction_request.py
+++ b/test/test_add_post_comment_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> AddPostCommentReactionRequest:
if include_optional:
return AddPostCommentReactionRequest(
reaction = None,
- react_as = ''
+ react_as = '0'
)
else:
return AddPostCommentReactionRequest(
diff --git a/test/test_add_post_comment_reaction_request_reaction.py b/test/test_add_post_comment_reaction_request_reaction.py
index 5ca95f5a1..837edf748 100644
--- a/test/test_add_post_comment_reaction_request_reaction.py
+++ b/test/test_add_post_comment_reaction_request_reaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_add_post_comment_request.py b/test/test_add_post_comment_request.py
index 2c5284fc1..49d36b00e 100644
--- a/test/test_add_post_comment_request.py
+++ b/test/test_add_post_comment_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> AddPostCommentRequest:
if include_optional:
return AddPostCommentRequest(
text = '',
- comment_as = '',
+ comment_as = '0',
attachments = [
unipile.models.send_email_request_attachments_inner.sendEmail_request_attachments_inner(
content = '',
diff --git a/test/test_add_post_reaction200_response.py b/test/test_add_post_reaction200_response.py
index 1a8d1d3a4..4c122ef58 100644
--- a/test/test_add_post_reaction200_response.py
+++ b/test/test_add_post_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_add_post_reaction_request.py b/test/test_add_post_reaction_request.py
index 913c42b3b..6e9c838f1 100644
--- a/test/test_add_post_reaction_request.py
+++ b/test/test_add_post_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> AddPostReactionRequest:
if include_optional:
return AddPostReactionRequest(
reaction = None,
- react_as = ''
+ react_as = '0'
)
else:
return AddPostReactionRequest(
diff --git a/test/test_add_post_reaction_request_reaction.py b/test/test_add_post_reaction_request_reaction.py
index f338a6b19..c96bcac28 100644
--- a/test/test_add_post_reaction_request_reaction.py
+++ b/test/test_add_post_reaction_request_reaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_applicants_search.py b/test/test_applicants_search.py
index bd2f15696..bca0120b8 100644
--- a/test/test_applicants_search.py
+++ b/test/test_applicants_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -43,7 +43,7 @@ def make_instance(self, include_optional) -> ApplicantsSearch:
applied_at = '',
has_resume = True,
screening_questions = [
- unipile.models.get_classic_applicant_by_id_200_response_screening_questions_inner.getClassicApplicantById_200_response_screening_questions_inner(
+ unipile.models.applicants_search_data_inner_screening_questions_inner.Applicants_Search_data_inner_screening_questions_inner(
question = '',
has_succedeed = True,
is_eliminatory = True,
@@ -66,7 +66,7 @@ def make_instance(self, include_optional) -> ApplicantsSearch:
applied_at = '',
has_resume = True,
screening_questions = [
- unipile.models.get_classic_applicant_by_id_200_response_screening_questions_inner.getClassicApplicantById_200_response_screening_questions_inner(
+ unipile.models.applicants_search_data_inner_screening_questions_inner.Applicants_Search_data_inner_screening_questions_inner(
question = '',
has_succedeed = True,
is_eliminatory = True,
diff --git a/test/test_applicants_search_data_inner.py b/test/test_applicants_search_data_inner.py
index 6c9b40c81..746ad5ddd 100644
--- a/test/test_applicants_search_data_inner.py
+++ b/test/test_applicants_search_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -41,7 +41,7 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInner:
applied_at = '',
has_resume = True,
screening_questions = [
- unipile.models.get_classic_applicant_by_id_200_response_screening_questions_inner.getClassicApplicantById_200_response_screening_questions_inner(
+ unipile.models.applicants_search_data_inner_screening_questions_inner.Applicants_Search_data_inner_screening_questions_inner(
question = '',
has_succedeed = True,
is_eliminatory = True,
diff --git a/test/test_applicants_search_data_inner_profile.py b/test/test_applicants_search_data_inner_profile.py
index 9ccc58b62..aad917ff3 100644
--- a/test/test_applicants_search_data_inner_profile.py
+++ b/test/test_applicants_search_data_inner_profile.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -50,7 +50,7 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -95,7 +95,7 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -115,14 +115,14 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
ended_on = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
certifications = [
unipile.models.full_profile_certifications_inner.Full_profile_certifications_inner(
title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -145,16 +145,19 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
name = '',
description = '',
contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
skills = [
''
@@ -164,8 +167,8 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
ended_on = '', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -181,26 +184,28 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
ended_on = '', )
],
recommendations = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
caption = '',
created_on = '',
text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), )
+ description = '',
+ specifics = null, ), )
]
)
else:
return ApplicantsSearchDataInnerProfile(
id = '',
- headline = '',
network_distance = 'SELF',
visibility = 'full',
candidate_id = '',
@@ -208,7 +213,7 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -230,7 +235,6 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
skills_preview = '', )
],
display_name = '',
- industry = '',
skills = [
unipile.models.full_profile_skills_inner.Full_profile_skills_inner(
name = '',
@@ -239,7 +243,7 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -259,14 +263,14 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
ended_on = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
certifications = [
unipile.models.full_profile_certifications_inner.Full_profile_certifications_inner(
title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -289,16 +293,19 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
name = '',
description = '',
contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
skills = [
''
@@ -308,8 +315,8 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
ended_on = '', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -325,20 +332,23 @@ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerProfile:
ended_on = '', )
],
recommendations = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
caption = '',
created_on = '',
text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), )
+ description = '',
+ specifics = null, ), )
],
)
"""
diff --git a/test/test_applicants_search_data_inner_screening_questions_inner.py b/test/test_applicants_search_data_inner_screening_questions_inner.py
new file mode 100644
index 000000000..ef634ca04
--- /dev/null
+++ b/test/test_applicants_search_data_inner_screening_questions_inner.py
@@ -0,0 +1,60 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.applicants_search_data_inner_screening_questions_inner import ApplicantsSearchDataInnerScreeningQuestionsInner
+
+class TestApplicantsSearchDataInnerScreeningQuestionsInner(unittest.TestCase):
+ """ApplicantsSearchDataInnerScreeningQuestionsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> ApplicantsSearchDataInnerScreeningQuestionsInner:
+ """Test ApplicantsSearchDataInnerScreeningQuestionsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `ApplicantsSearchDataInnerScreeningQuestionsInner`
+ """
+ model = ApplicantsSearchDataInnerScreeningQuestionsInner()
+ if include_optional:
+ return ApplicantsSearchDataInnerScreeningQuestionsInner(
+ question = '',
+ has_succedeed = True,
+ is_eliminatory = True,
+ answers = [
+ ''
+ ]
+ )
+ else:
+ return ApplicantsSearchDataInnerScreeningQuestionsInner(
+ question = '',
+ answers = [
+ ''
+ ],
+ )
+ """
+
+ def testApplicantsSearchDataInnerScreeningQuestionsInner(self):
+ """Test ApplicantsSearchDataInnerScreeningQuestionsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_applicants_sourced.py b/test/test_applicants_sourced.py
index 1bcb95496..038f1705a 100644
--- a/test/test_applicants_sourced.py
+++ b/test/test_applicants_sourced.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,7 +37,6 @@ def make_instance(self, include_optional) -> ApplicantsSourced:
return ApplicantsSourced(
source = 'APPLICANTS',
project_id = '',
- channel_id = '',
keywords = '',
type = 'SKILL'
)
@@ -45,7 +44,6 @@ def make_instance(self, include_optional) -> ApplicantsSourced:
return ApplicantsSourced(
source = 'APPLICANTS',
project_id = '',
- channel_id = '',
type = 'SKILL',
)
"""
diff --git a/test/test_apply_on_external_website.py b/test/test_apply_on_external_website.py
index 60b64c314..f53c0d758 100644
--- a/test/test_apply_on_external_website.py
+++ b/test/test_apply_on_external_website.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_apply_on_linkedin.py b/test/test_apply_on_linkedin.py
index a070d74e6..338420d2d 100644
--- a/test/test_apply_on_linkedin.py
+++ b/test/test_apply_on_linkedin.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_apply_on_linkedin1.py b/test/test_apply_on_linkedin1.py
index 6db9f3ae2..4fc9684cf 100644
--- a/test/test_apply_on_linkedin1.py
+++ b/test/test_apply_on_linkedin1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_audio.py b/test/test_audio.py
index 71469bc3d..e6ed2a234 100644
--- a/test/test_audio.py
+++ b/test/test_audio.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> Audio:
object = 'Attachment',
id = '',
file_size = 1.337,
+ is_inline = True,
is_unavailable = True,
mimetype = '',
url = '',
@@ -51,6 +52,7 @@ def make_instance(self, include_optional) -> Audio:
return Audio(
object = 'Attachment',
id = '',
+ is_inline = True,
mimetype = '',
url = '',
type = 'audio',
diff --git a/test/test_automatic_proxy_configuration.py b/test/test_automatic_proxy_configuration.py
index 3772ca69f..35018e11e 100644
--- a/test/test_automatic_proxy_configuration.py
+++ b/test/test_automatic_proxy_configuration.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_basic_authentication.py b/test/test_basic_authentication.py
index 1eddb1c54..6da063b3d 100644
--- a/test/test_basic_authentication.py
+++ b/test/test_basic_authentication.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_basic_authentication1.py b/test/test_basic_authentication1.py
index 74aa63056..b87c20166 100644
--- a/test/test_basic_authentication1.py
+++ b/test/test_basic_authentication1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,8 @@ def make_instance(self, include_optional) -> BasicAuthentication1:
if include_optional:
return BasicAuthentication1(
username = '',
- password = ''
+ password = '',
+ user_agent = ''
)
else:
return BasicAuthentication1(
diff --git a/test/test_basic_authentication2.py b/test/test_basic_authentication2.py
index bf4521bcd..92d6a1dd3 100644
--- a/test/test_basic_authentication2.py
+++ b/test/test_basic_authentication2.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_browse_sales_account_list_request.py b/test/test_browse_sales_account_list_request.py
index 59a93ace6..73d30d9a8 100644
--- a/test/test_browse_sales_account_list_request.py
+++ b/test/test_browse_sales_account_list_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_browse_sales_lead_list_request.py b/test/test_browse_sales_lead_list_request.py
index c85827add..2cfe63642 100644
--- a/test/test_browse_sales_lead_list_request.py
+++ b/test/test_browse_sales_lead_list_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_calendar_api.py b/test/test_calendar_api.py
index fabe486ca..a9b62a9c9 100644
--- a/test/test_calendar_api.py
+++ b/test/test_calendar_api.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_call_ended.py b/test/test_call_ended.py
index f4e399982..3c10154ed 100644
--- a/test/test_call_ended.py
+++ b/test/test_call_ended.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_call_rejected.py b/test/test_call_rejected.py
index 96dd6065c..92a70f8c9 100644
--- a/test/test_call_rejected.py
+++ b/test/test_call_rejected.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_call_started.py b/test/test_call_started.py
index 7529c08a8..8fe57499f 100644
--- a/test/test_call_started.py
+++ b/test/test_call_started.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_cancel_relation_request200_response.py b/test/test_cancel_relation_request200_response.py
index 8afb17301..cf2edfbe2 100644
--- a/test/test_cancel_relation_request200_response.py
+++ b/test/test_cancel_relation_request200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_captcha.py b/test/test_captcha.py
index dca64e5f9..5296d689f 100644
--- a/test/test_captcha.py
+++ b/test/test_captcha.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_challenge_selection.py b/test/test_challenge_selection.py
new file mode 100644
index 000000000..a1d5ce6e4
--- /dev/null
+++ b/test/test_challenge_selection.py
@@ -0,0 +1,64 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.challenge_selection import ChallengeSelection
+
+class TestChallengeSelection(unittest.TestCase):
+ """ChallengeSelection unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> ChallengeSelection:
+ """Test ChallengeSelection
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `ChallengeSelection`
+ """
+ model = ChallengeSelection()
+ if include_optional:
+ return ChallengeSelection(
+ type = 'CHALLENGE_SELECTION',
+ challenges = [
+ unipile.models.challenge_selection_challenges_inner.Challenge_Selection_challenges_inner(
+ id = '',
+ label = '',
+ description = '', )
+ ]
+ )
+ else:
+ return ChallengeSelection(
+ type = 'CHALLENGE_SELECTION',
+ challenges = [
+ unipile.models.challenge_selection_challenges_inner.Challenge_Selection_challenges_inner(
+ id = '',
+ label = '',
+ description = '', )
+ ],
+ )
+ """
+
+ def testChallengeSelection(self):
+ """Test ChallengeSelection"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_challenge_selection_challenges_inner.py b/test/test_challenge_selection_challenges_inner.py
new file mode 100644
index 000000000..9cae14e06
--- /dev/null
+++ b/test/test_challenge_selection_challenges_inner.py
@@ -0,0 +1,55 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.challenge_selection_challenges_inner import ChallengeSelectionChallengesInner
+
+class TestChallengeSelectionChallengesInner(unittest.TestCase):
+ """ChallengeSelectionChallengesInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> ChallengeSelectionChallengesInner:
+ """Test ChallengeSelectionChallengesInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `ChallengeSelectionChallengesInner`
+ """
+ model = ChallengeSelectionChallengesInner()
+ if include_optional:
+ return ChallengeSelectionChallengesInner(
+ id = '',
+ label = '',
+ description = ''
+ )
+ else:
+ return ChallengeSelectionChallengesInner(
+ id = '',
+ label = '',
+ )
+ """
+
+ def testChallengeSelectionChallengesInner(self):
+ """Test ChallengeSelectionChallengesInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_chat_description_updated.py b/test/test_chat_description_updated.py
index ed0dc7990..fec4d17a4 100644
--- a/test/test_chat_description_updated.py
+++ b/test/test_chat_description_updated.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_chat_name_updated.py b/test/test_chat_name_updated.py
index f6bde28b0..f4afa3810 100644
--- a/test/test_chat_name_updated.py
+++ b/test/test_chat_name_updated.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_chat_subject_updated.py b/test/test_chat_subject_updated.py
index 31d41bf23..61a70a8ac 100644
--- a/test/test_chat_subject_updated.py
+++ b/test/test_chat_subject_updated.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_checkpoint.py b/test/test_checkpoint.py
index 735c99523..e3e06f454 100644
--- a/test/test_checkpoint.py
+++ b/test/test_checkpoint.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_checkpoint_checkpoint.py b/test/test_checkpoint_checkpoint.py
index bf89249b5..130a14707 100644
--- a/test/test_checkpoint_checkpoint.py
+++ b/test/test_checkpoint_checkpoint.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,9 +36,21 @@ def make_instance(self, include_optional) -> CheckpointCheckpoint:
if include_optional:
return CheckpointCheckpoint(
type = 'OTP',
+ channel = 'EMAIL',
platform = 'SMS',
public_key = '',
- data = ''
+ data = '',
+ contracts = [
+ unipile.models.contract_selection_contracts_inner.Contract_Selection_contracts_inner(
+ id = '',
+ name = '', )
+ ],
+ challenges = [
+ unipile.models.challenge_selection_challenges_inner.Challenge_Selection_challenges_inner(
+ id = '',
+ label = '',
+ description = '', )
+ ]
)
else:
return CheckpointCheckpoint(
@@ -46,6 +58,17 @@ def make_instance(self, include_optional) -> CheckpointCheckpoint:
platform = 'SMS',
public_key = '',
data = '',
+ contracts = [
+ unipile.models.contract_selection_contracts_inner.Contract_Selection_contracts_inner(
+ id = '',
+ name = '', )
+ ],
+ challenges = [
+ unipile.models.challenge_selection_challenges_inner.Challenge_Selection_challenges_inner(
+ id = '',
+ label = '',
+ description = '', )
+ ],
)
"""
diff --git a/test/test_close_classic_job_posting200_response.py b/test/test_close_classic_job_posting200_response.py
index cd217c13d..815f8b917 100644
--- a/test/test_close_classic_job_posting200_response.py
+++ b/test/test_close_classic_job_posting200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_companies_search.py b/test/test_companies_search.py
index 043047972..b77c6c9c9 100644
--- a/test/test_companies_search.py
+++ b/test/test_companies_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_companies_search1.py b/test/test_companies_search1.py
index 92dc4b2c8..461509e40 100644
--- a/test/test_companies_search1.py
+++ b/test/test_companies_search1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_companies_search1_data_inner.py b/test/test_companies_search1_data_inner.py
index 26aa529c5..019a7bdd5 100644
--- a/test/test_companies_search1_data_inner.py
+++ b/test/test_companies_search1_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_companies_search_data_inner.py b/test/test_companies_search_data_inner.py
index d4d69b1bf..590f04619 100644
--- a/test/test_companies_search_data_inner.py
+++ b/test/test_companies_search_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_companies_search_results.py b/test/test_companies_search_results.py
index 1913927f2..73879633d 100644
--- a/test/test_companies_search_results.py
+++ b/test/test_companies_search_results.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_companies_search_results_data_inner.py b/test/test_companies_search_results_data_inner.py
index 715f0fdcd..c722cb095 100644
--- a/test/test_companies_search_results_data_inner.py
+++ b/test/test_companies_search_results_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_contract_selection.py b/test/test_contract_selection.py
new file mode 100644
index 000000000..bc6cac15c
--- /dev/null
+++ b/test/test_contract_selection.py
@@ -0,0 +1,62 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.contract_selection import ContractSelection
+
+class TestContractSelection(unittest.TestCase):
+ """ContractSelection unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> ContractSelection:
+ """Test ContractSelection
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `ContractSelection`
+ """
+ model = ContractSelection()
+ if include_optional:
+ return ContractSelection(
+ type = 'CONTRACT_SELECTION',
+ contracts = [
+ unipile.models.contract_selection_contracts_inner.Contract_Selection_contracts_inner(
+ id = '',
+ name = '', )
+ ]
+ )
+ else:
+ return ContractSelection(
+ type = 'CONTRACT_SELECTION',
+ contracts = [
+ unipile.models.contract_selection_contracts_inner.Contract_Selection_contracts_inner(
+ id = '',
+ name = '', )
+ ],
+ )
+ """
+
+ def testContractSelection(self):
+ """Test ContractSelection"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_contract_selection_contracts_inner.py b/test/test_contract_selection_contracts_inner.py
new file mode 100644
index 000000000..f65202ddb
--- /dev/null
+++ b/test/test_contract_selection_contracts_inner.py
@@ -0,0 +1,54 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.contract_selection_contracts_inner import ContractSelectionContractsInner
+
+class TestContractSelectionContractsInner(unittest.TestCase):
+ """ContractSelectionContractsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> ContractSelectionContractsInner:
+ """Test ContractSelectionContractsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `ContractSelectionContractsInner`
+ """
+ model = ContractSelectionContractsInner()
+ if include_optional:
+ return ContractSelectionContractsInner(
+ id = '',
+ name = ''
+ )
+ else:
+ return ContractSelectionContractsInner(
+ id = '',
+ name = '',
+ )
+ """
+
+ def testContractSelectionContractsInner(self):
+ """Test ContractSelectionContractsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_cookie_authentication.py b/test/test_cookie_authentication.py
index ad583ec48..e2b0044d1 100644
--- a/test/test_cookie_authentication.py
+++ b/test/test_cookie_authentication.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,11 +36,13 @@ def make_instance(self, include_optional) -> CookieAuthentication:
if include_optional:
return CookieAuthentication(
access_token = '',
- premium_access_token = ''
+ premium_access_token = '',
+ user_agent = ''
)
else:
return CookieAuthentication(
access_token = '',
+ user_agent = '',
)
"""
diff --git a/test/test_cookie_authentication1.py b/test/test_cookie_authentication1.py
index 645c3e77b..d6330edcb 100644
--- a/test/test_cookie_authentication1.py
+++ b/test/test_cookie_authentication1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_auth_link200_response.py b/test/test_create_auth_link200_response.py
index fbed3d5a2..40a504dcb 100644
--- a/test/test_create_auth_link200_response.py
+++ b/test/test_create_auth_link200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_auth_link_request.py b/test/test_create_auth_link_request.py
index 47c9c4607..26501f94c 100644
--- a/test/test_create_auth_link_request.py
+++ b/test/test_create_auth_link_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -56,9 +56,7 @@ def make_instance(self, include_optional) -> CreateAuthLinkRequest:
auto_proxy_config = unipile.models.automatic_proxy_configuration.Automatic proxy configuration(
country = '',
ip = '', ),
- products = [
- 'classic'
- ],
+ products = null,
allow_methods = [
'credentials'
], ),
diff --git a/test/test_create_calendar_event201_response.py b/test/test_create_calendar_event201_response.py
index b7217a7b2..9beeda383 100644
--- a/test/test_create_calendar_event201_response.py
+++ b/test/test_create_calendar_event201_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -72,8 +72,10 @@ def make_instance(self, include_optional) -> CreateCalendarEvent201Response:
visibility = 'public',
transparency = 'opaque',
event_type = 'default',
+ timezone = '',
background_color = '',
- text_color = ''
+ text_color = '',
+ specifics = None
)
else:
return CreateCalendarEvent201Response(
diff --git a/test/test_create_calendar_event_request.py b/test/test_create_calendar_event_request.py
index 6bc54ec71..4a3c0948c 100644
--- a/test/test_create_calendar_event_request.py
+++ b/test/test_create_calendar_event_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -39,7 +39,7 @@ def make_instance(self, include_optional) -> CreateCalendarEventRequest:
body = '',
location = '',
background_color = '',
- transparency = 'opaque',
+ transparency = 'transparent',
visibility = 'public',
conference = unipile.models.get_calendar_event_list_200_response_data_inner_conference.getCalendarEventList_200_response_data_inner_conference(
provider = 'google_meet',
@@ -53,7 +53,8 @@ def make_instance(self, include_optional) -> CreateCalendarEventRequest:
''
],
start = None,
- end = None
+ end = None,
+ timezone = ''
)
else:
return CreateCalendarEventRequest(
diff --git a/test/test_create_calendar_event_request_attendees_inner.py b/test/test_create_calendar_event_request_attendees_inner.py
index e61409258..dddf2e504 100644
--- a/test/test_create_calendar_event_request_attendees_inner.py
+++ b/test/test_create_calendar_event_request_attendees_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_calendar_event_request_end.py b/test/test_create_calendar_event_request_end.py
index 466ad1a58..255f00ab5 100644
--- a/test/test_create_calendar_event_request_end.py
+++ b/test/test_create_calendar_event_request_end.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> CreateCalendarEventRequestEnd:
return CreateCalendarEventRequestEnd(
type = 'datetime',
date_time = '',
+ timezone = '',
var_date = ''
)
else:
diff --git a/test/test_create_calendar_event_request_start.py b/test/test_create_calendar_event_request_start.py
index e5820b903..79db9c700 100644
--- a/test/test_create_calendar_event_request_start.py
+++ b/test/test_create_calendar_event_request_start.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> CreateCalendarEventRequestStart:
return CreateCalendarEventRequestStart(
type = 'datetime',
date_time = '',
+ timezone = '',
var_date = ''
)
else:
diff --git a/test/test_create_calendar_request.py b/test/test_create_calendar_request.py
index dcd031165..99bafa7de 100644
--- a/test/test_create_calendar_request.py
+++ b/test/test_create_calendar_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,7 +37,8 @@ def make_instance(self, include_optional) -> CreateCalendarRequest:
return CreateCalendarRequest(
name = '',
description = '',
- background_color = ''
+ background_color = '',
+ timezone = ''
)
else:
return CreateCalendarRequest(
diff --git a/test/test_create_classic_job_posting_draft201_response.py b/test/test_create_classic_job_posting_draft201_response.py
index e5f908b5b..820bb953a 100644
--- a/test/test_create_classic_job_posting_draft201_response.py
+++ b/test/test_create_classic_job_posting_draft201_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_classic_job_posting_draft_request.py b/test/test_create_classic_job_posting_draft_request.py
index b5f481cd6..f2930e4ac 100644
--- a/test/test_create_classic_job_posting_draft_request.py
+++ b/test/test_create_classic_job_posting_draft_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_classic_job_posting_draft_request_apply_method.py b/test/test_create_classic_job_posting_draft_request_apply_method.py
index 0c7bdcd4c..a844df756 100644
--- a/test/test_create_classic_job_posting_draft_request_apply_method.py
+++ b/test/test_create_classic_job_posting_draft_request_apply_method.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_classic_job_posting_draft_request_company.py b/test/test_create_classic_job_posting_draft_request_company.py
index 9e32f2353..b8e16172c 100644
--- a/test/test_create_classic_job_posting_draft_request_company.py
+++ b/test/test_create_classic_job_posting_draft_request_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_classic_job_posting_draft_request_job_title.py b/test/test_create_classic_job_posting_draft_request_job_title.py
index 11c5d5f2f..921e4454e 100644
--- a/test/test_create_classic_job_posting_draft_request_job_title.py
+++ b/test/test_create_classic_job_posting_draft_request_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_classic_job_posting_draft_request_rejection_settings.py b/test/test_create_classic_job_posting_draft_request_rejection_settings.py
index 41ffa97c3..044f256b8 100644
--- a/test/test_create_classic_job_posting_draft_request_rejection_settings.py
+++ b/test/test_create_classic_job_posting_draft_request_rejection_settings.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_classic_job_posting_draft_request_screening_questions_inner.py b/test/test_create_classic_job_posting_draft_request_screening_questions_inner.py
index a8b73ca6d..40bae834d 100644
--- a/test/test_create_classic_job_posting_draft_request_screening_questions_inner.py
+++ b/test/test_create_classic_job_posting_draft_request_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_draft201_response.py b/test/test_create_draft201_response.py
index e5a836f7f..f532b7959 100644
--- a/test/test_create_draft201_response.py
+++ b/test/test_create_draft201_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_draft_request.py b/test/test_create_draft_request.py
index 85e223c1f..6905edc30 100644
--- a/test/test_create_draft_request.py
+++ b/test/test_create_draft_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -56,6 +56,12 @@ def make_instance(self, include_optional) -> CreateDraftRequest:
email = '',
display_name = '', )
],
+ reply_to = [
+ unipile.models.get_emails_list_200_response_data_inner_from_inner.getEmailsList_200_response_data_inner_from_inner(
+ email = '',
+ display_name = '', )
+ ],
+ reply_to_message_id = '0',
attachments = [
unipile.models.send_email_request_attachments_inner.sendEmail_request_attachments_inner(
content = '',
@@ -66,7 +72,7 @@ def make_instance(self, include_optional) -> CreateDraftRequest:
],
tracking_options = unipile.models.send_email_request_tracking_options.sendEmail_request_tracking_options(
opens = True,
- links = True,
+ clicks = True,
label = '',
custom_domain = '', )
)
diff --git a/test/test_create_folder201_response.py b/test/test_create_folder201_response.py
index 9adef4899..fc032d9b4 100644
--- a/test/test_create_folder201_response.py
+++ b/test/test_create_folder201_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_folder_request.py b/test/test_create_folder_request.py
index 4aa4292cf..1cc48cd0a 100644
--- a/test/test_create_folder_request.py
+++ b/test/test_create_folder_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_education.py b/test/test_create_new_education.py
index d66078329..dde404ac5 100644
--- a/test/test_create_new_education.py
+++ b/test/test_create_new_education.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_education_degree.py b/test/test_create_new_education_degree.py
index 274706e8c..ff482045c 100644
--- a/test/test_create_new_education_degree.py
+++ b/test/test_create_new_education_degree.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_education_end_date.py b/test/test_create_new_education_end_date.py
index c3c643361..6a03114d6 100644
--- a/test/test_create_new_education_end_date.py
+++ b/test/test_create_new_education_end_date.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_education_field_of_study.py b/test/test_create_new_education_field_of_study.py
index 0ed0338c8..185b16e6d 100644
--- a/test/test_create_new_education_field_of_study.py
+++ b/test/test_create_new_education_field_of_study.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_education_school.py b/test/test_create_new_education_school.py
index b62926387..35cfc7220 100644
--- a/test/test_create_new_education_school.py
+++ b/test/test_create_new_education_school.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_education_start_date.py b/test/test_create_new_education_start_date.py
index 9eefbefe7..285f16254 100644
--- a/test/test_create_new_education_start_date.py
+++ b/test/test_create_new_education_start_date.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_experience.py b/test/test_create_new_experience.py
index 7d4f60133..cbc8f6db4 100644
--- a/test/test_create_new_experience.py
+++ b/test/test_create_new_experience.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_experience_company.py b/test/test_create_new_experience_company.py
index cf0832f21..2121b4f18 100644
--- a/test/test_create_new_experience_company.py
+++ b/test/test_create_new_experience_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_experience_end_date.py b/test/test_create_new_experience_end_date.py
index cab4b7e8f..7d67de6f2 100644
--- a/test/test_create_new_experience_end_date.py
+++ b/test/test_create_new_experience_end_date.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_experience_job_title.py b/test/test_create_new_experience_job_title.py
index b4e9dd9cb..8e3d4fb68 100644
--- a/test/test_create_new_experience_job_title.py
+++ b/test/test_create_new_experience_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_experience_location.py b/test/test_create_new_experience_location.py
index edf5a6798..7192dffa8 100644
--- a/test/test_create_new_experience_location.py
+++ b/test/test_create_new_experience_location.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_experience_media.py b/test/test_create_new_experience_media.py
index f0590be33..61f12222c 100644
--- a/test/test_create_new_experience_media.py
+++ b/test/test_create_new_experience_media.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_experience_skills_inner.py b/test/test_create_new_experience_skills_inner.py
index ca52e003f..8cc724d7c 100644
--- a/test/test_create_new_experience_skills_inner.py
+++ b/test/test_create_new_experience_skills_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_new_experience_start_date.py b/test/test_create_new_experience_start_date.py
index db74f72b7..4ba1808fe 100644
--- a/test/test_create_new_experience_start_date.py
+++ b/test/test_create_new_experience_start_date.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_post_request.py b/test/test_create_post_request.py
index 06f4ad837..93b105153 100644
--- a/test/test_create_post_request.py
+++ b/test/test_create_post_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -46,8 +46,8 @@ def make_instance(self, include_optional) -> CreatePostRequest:
],
can_read = 'anyone',
can_comment = 'anyone',
- quoted_post_id = '',
- post_as = '',
+ quoted_post_id = '0',
+ post_as = '0',
specifics = None
)
else:
diff --git a/test/test_create_post_request_specifics.py b/test/test_create_post_request_specifics.py
index 85790d605..044687c9d 100644
--- a/test/test_create_post_request_specifics.py
+++ b/test/test_create_post_request_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_post_request_specifics_all_of_instagram.py b/test/test_create_post_request_specifics_all_of_instagram.py
index e9fedbe21..c23cdc946 100644
--- a/test/test_create_post_request_specifics_all_of_instagram.py
+++ b/test/test_create_post_request_specifics_all_of_instagram.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_recruiter_hiring_project201_response.py b/test/test_create_recruiter_hiring_project201_response.py
index c17c84792..93615fb75 100644
--- a/test/test_create_recruiter_hiring_project201_response.py
+++ b/test/test_create_recruiter_hiring_project201_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_recruiter_hiring_project_request.py b/test/test_create_recruiter_hiring_project_request.py
index 78aa26560..2ba1e53d4 100644
--- a/test/test_create_recruiter_hiring_project_request.py
+++ b/test/test_create_recruiter_hiring_project_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -45,7 +45,14 @@ def make_instance(self, include_optional) -> CreateRecruiterHiringProjectRequest
id = '',
name = '', ),
location = '',
- seniority_level = 'INTERNSHIP'
+ seniority_level = 'INTERNSHIP',
+ employment_status = 'FULL_TIME',
+ industry = [
+ ''
+ ],
+ job_function = [
+ ''
+ ]
)
else:
return CreateRecruiterHiringProjectRequest(
diff --git a/test/test_create_recruiter_hiring_project_request_company.py b/test/test_create_recruiter_hiring_project_request_company.py
index 397cbcc5e..37ef76ab7 100644
--- a/test/test_create_recruiter_hiring_project_request_company.py
+++ b/test/test_create_recruiter_hiring_project_request_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_recruiter_hiring_project_request_job_title.py b/test/test_create_recruiter_hiring_project_request_job_title.py
index 159a9d18d..faafac610 100644
--- a/test/test_create_recruiter_hiring_project_request_job_title.py
+++ b/test/test_create_recruiter_hiring_project_request_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_recruiter_job_posting_draft_in_existing_project200_response.py b/test/test_create_recruiter_job_posting_draft_in_existing_project200_response.py
index c3023aa0c..9746b47f9 100644
--- a/test/test_create_recruiter_job_posting_draft_in_existing_project200_response.py
+++ b/test/test_create_recruiter_job_posting_draft_in_existing_project200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_recruiter_job_posting_draft_in_existing_project_request.py b/test/test_create_recruiter_job_posting_draft_in_existing_project_request.py
index 27bb9aa67..f1c11194e 100644
--- a/test/test_create_recruiter_job_posting_draft_in_existing_project_request.py
+++ b/test/test_create_recruiter_job_posting_draft_in_existing_project_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -62,6 +62,16 @@ def make_instance(self, include_optional) -> CreateRecruiterJobPostingDraftInExi
screening_questions = [
null
],
+ salary = unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_salary.createRecruiterJobPostingDraftInExistingProject_request_salary(
+ currency = 'AEI',
+ pay_frequency = 'YEARLY',
+ min = 1.337,
+ max = 1.337, ),
+ additional_compensation = unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation.createRecruiterJobPostingDraftInExistingProject_request_additional_compensation(
+ currency = 'AEI',
+ pay_frequency = 'YEARLY',
+ min = 1.337,
+ max = 1.337, ),
rejection_settings = unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.createRecruiterJobPostingDraftInExistingProject_request_rejection_settings(
send_rejection_notification = True,
rejection_template = '',
diff --git a/test/test_create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation.py b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation.py
new file mode 100644
index 000000000..a565e2bb5
--- /dev/null
+++ b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation.py
@@ -0,0 +1,58 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation import CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation
+
+class TestCreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation(unittest.TestCase):
+ """CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation:
+ """Test CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation`
+ """
+ model = CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation()
+ if include_optional:
+ return CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation(
+ currency = 'AEI',
+ pay_frequency = 'YEARLY',
+ min = 1.337,
+ max = 1.337
+ )
+ else:
+ return CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation(
+ currency = 'AEI',
+ pay_frequency = 'YEARLY',
+ min = 1.337,
+ max = 1.337,
+ )
+ """
+
+ def testCreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation(self):
+ """Test CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_create_recruiter_job_posting_draft_in_existing_project_request_apply_method.py b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_apply_method.py
index a18828553..098ba99bb 100644
--- a/test/test_create_recruiter_job_posting_draft_in_existing_project_request_apply_method.py
+++ b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_apply_method.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_recruiter_job_posting_draft_in_existing_project_request_company.py b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_company.py
index ea7948781..546385b57 100644
--- a/test/test_create_recruiter_job_posting_draft_in_existing_project_request_company.py
+++ b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_recruiter_job_posting_draft_in_existing_project_request_job_title.py b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_job_title.py
index 526f9347d..e35fcd7d3 100644
--- a/test/test_create_recruiter_job_posting_draft_in_existing_project_request_job_title.py
+++ b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.py b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.py
index 66c114ac4..b6fdd2a52 100644
--- a/test/test_create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.py
+++ b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_recruiter_job_posting_draft_in_existing_project_request_salary.py b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_salary.py
new file mode 100644
index 000000000..70cf381b2
--- /dev/null
+++ b/test/test_create_recruiter_job_posting_draft_in_existing_project_request_salary.py
@@ -0,0 +1,58 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_salary import CreateRecruiterJobPostingDraftInExistingProjectRequestSalary
+
+class TestCreateRecruiterJobPostingDraftInExistingProjectRequestSalary(unittest.TestCase):
+ """CreateRecruiterJobPostingDraftInExistingProjectRequestSalary unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> CreateRecruiterJobPostingDraftInExistingProjectRequestSalary:
+ """Test CreateRecruiterJobPostingDraftInExistingProjectRequestSalary
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `CreateRecruiterJobPostingDraftInExistingProjectRequestSalary`
+ """
+ model = CreateRecruiterJobPostingDraftInExistingProjectRequestSalary()
+ if include_optional:
+ return CreateRecruiterJobPostingDraftInExistingProjectRequestSalary(
+ currency = 'AEI',
+ pay_frequency = 'YEARLY',
+ min = 1.337,
+ max = 1.337
+ )
+ else:
+ return CreateRecruiterJobPostingDraftInExistingProjectRequestSalary(
+ currency = 'AEI',
+ pay_frequency = 'YEARLY',
+ min = 1.337,
+ max = 1.337,
+ )
+ """
+
+ def testCreateRecruiterJobPostingDraftInExistingProjectRequestSalary(self):
+ """Test CreateRecruiterJobPostingDraftInExistingProjectRequestSalary"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_create_recruiter_job_posting_draft_in_new_project_request.py b/test/test_create_recruiter_job_posting_draft_in_new_project_request.py
index 97de9308d..113df60d3 100644
--- a/test/test_create_recruiter_job_posting_draft_in_new_project_request.py
+++ b/test/test_create_recruiter_job_posting_draft_in_new_project_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -62,6 +62,16 @@ def make_instance(self, include_optional) -> CreateRecruiterJobPostingDraftInNew
screening_questions = [
null
],
+ salary = unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_salary.createRecruiterJobPostingDraftInExistingProject_request_salary(
+ currency = 'AEI',
+ pay_frequency = 'YEARLY',
+ min = 1.337,
+ max = 1.337, ),
+ additional_compensation = unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation.createRecruiterJobPostingDraftInExistingProject_request_additional_compensation(
+ currency = 'AEI',
+ pay_frequency = 'YEARLY',
+ min = 1.337,
+ max = 1.337, ),
rejection_settings = unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.createRecruiterJobPostingDraftInExistingProject_request_rejection_settings(
send_rejection_notification = True,
rejection_template = '',
diff --git a/test/test_create_relation_request_request.py b/test/test_create_relation_request_request.py
index 0e4e14534..8887e7052 100644
--- a/test/test_create_relation_request_request.py
+++ b/test/test_create_relation_request_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,11 +36,11 @@ def make_instance(self, include_optional) -> CreateRelationRequestRequest:
if include_optional:
return CreateRelationRequestRequest(
message = '',
- user_id = ''
+ user_id = '0'
)
else:
return CreateRelationRequestRequest(
- user_id = '',
+ user_id = '0',
)
"""
diff --git a/test/test_create_webhook_endpoint200_response.py b/test/test_create_webhook_endpoint200_response.py
index 5dd84c78d..a2187deea 100644
--- a/test/test_create_webhook_endpoint200_response.py
+++ b/test/test_create_webhook_endpoint200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_create_webhook_endpoint_request.py b/test/test_create_webhook_endpoint_request.py
index 2689302dd..3a73b3838 100644
--- a/test/test_create_webhook_endpoint_request.py
+++ b/test/test_create_webhook_endpoint_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -41,7 +41,7 @@ def make_instance(self, include_optional) -> CreateWebhookEndpointRequest:
account_ids = [
'acc_jUR,rZ#UM/?R,Fp^l6$ARj'
],
- url = '',
+ url = 'https:/',
description = ''
)
else:
@@ -49,7 +49,7 @@ def make_instance(self, include_optional) -> CreateWebhookEndpointRequest:
trigger_events = [
'account.status.disconnected'
],
- url = '',
+ url = 'https:/',
)
"""
diff --git a/test/test_custom_auth_api.py b/test/test_custom_auth_api.py
index bd8cfea82..8a5ec2f4f 100644
--- a/test/test_custom_auth_api.py
+++ b/test/test_custom_auth_api.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -26,6 +26,20 @@ def setUp(self) -> None:
def tearDown(self) -> None:
pass
+ def test_request_checkpoint(self) -> None:
+ """Test case for request_checkpoint
+
+ Request Checkpoint
+ """
+ pass
+
+ def test_resend_checkpoint(self) -> None:
+ """Test case for resend_checkpoint
+
+ Resend Checkpoint Notification or Code
+ """
+ pass
+
def test_solve_checkpoint(self) -> None:
"""Test case for solve_checkpoint
diff --git a/test/test_custom_proxy.py b/test/test_custom_proxy.py
index 43f308ece..e96bedc13 100644
--- a/test/test_custom_proxy.py
+++ b/test/test_custom_proxy.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_custom_proxy1.py b/test/test_custom_proxy1.py
index e3ea5f676..64c4ffdba 100644
--- a/test/test_custom_proxy1.py
+++ b/test/test_custom_proxy1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_days_based.py b/test/test_days_based.py
index a718e91bb..748ad3706 100644
--- a/test/test_days_based.py
+++ b/test/test_days_based.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_default_api.py b/test/test_default_api.py
new file mode 100644
index 000000000..f78e19252
--- /dev/null
+++ b/test/test_default_api.py
@@ -0,0 +1,37 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.api.default_api import DefaultApi
+
+
+class TestDefaultApi(unittest.TestCase):
+ """DefaultApi unit test stubs"""
+
+ def setUp(self) -> None:
+ self.api = DefaultApi()
+
+ def tearDown(self) -> None:
+ pass
+
+ def test_v2_get(self) -> None:
+ """Test case for v2_get
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_edit_classic_job_posting200_response.py b/test/test_edit_classic_job_posting200_response.py
index 9d249729d..90be6abc2 100644
--- a/test/test_edit_classic_job_posting200_response.py
+++ b/test/test_edit_classic_job_posting200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_classic_job_posting_request.py b/test/test_edit_classic_job_posting_request.py
index d582812c8..3357262f0 100644
--- a/test/test_edit_classic_job_posting_request.py
+++ b/test/test_edit_classic_job_posting_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_classic_job_posting_request_screening_questions_inner.py b/test/test_edit_classic_job_posting_request_screening_questions_inner.py
index 6b4b415dd..337f297b6 100644
--- a/test/test_edit_classic_job_posting_request_screening_questions_inner.py
+++ b/test/test_edit_classic_job_posting_request_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_existing_education.py b/test/test_edit_existing_education.py
index ec96616f0..c38527d78 100644
--- a/test/test_edit_existing_education.py
+++ b/test/test_edit_existing_education.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_existing_education_degree.py b/test/test_edit_existing_education_degree.py
index 12ed0c382..a0702d7b9 100644
--- a/test/test_edit_existing_education_degree.py
+++ b/test/test_edit_existing_education_degree.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_existing_education_field_of_study.py b/test/test_edit_existing_education_field_of_study.py
index fc604b784..605c00fd7 100644
--- a/test/test_edit_existing_education_field_of_study.py
+++ b/test/test_edit_existing_education_field_of_study.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_existing_education_school.py b/test/test_edit_existing_education_school.py
index 3f5b7c6c7..90c544002 100644
--- a/test/test_edit_existing_education_school.py
+++ b/test/test_edit_existing_education_school.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_existing_experience.py b/test/test_edit_existing_experience.py
index 3ad484ff5..844dfe984 100644
--- a/test/test_edit_existing_experience.py
+++ b/test/test_edit_existing_experience.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_existing_experience_company.py b/test/test_edit_existing_experience_company.py
index 90eeaff79..aaf981b71 100644
--- a/test/test_edit_existing_experience_company.py
+++ b/test/test_edit_existing_experience_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_existing_experience_job_title.py b/test/test_edit_existing_experience_job_title.py
index 0f89aca1c..6a2f89eab 100644
--- a/test/test_edit_existing_experience_job_title.py
+++ b/test/test_edit_existing_experience_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_existing_experience_location.py b/test/test_edit_existing_experience_location.py
index c9576e2b7..a279d1bb3 100644
--- a/test/test_edit_existing_experience_location.py
+++ b/test/test_edit_existing_experience_location.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_recruiter_hiring_project200_response.py b/test/test_edit_recruiter_hiring_project200_response.py
index dffc9c16f..33f730e86 100644
--- a/test/test_edit_recruiter_hiring_project200_response.py
+++ b/test/test_edit_recruiter_hiring_project200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_edit_recruiter_hiring_project_request.py b/test/test_edit_recruiter_hiring_project_request.py
index 77eeb93dc..ed95c1c07 100644
--- a/test/test_edit_recruiter_hiring_project_request.py
+++ b/test/test_edit_recruiter_hiring_project_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -45,7 +45,14 @@ def make_instance(self, include_optional) -> EditRecruiterHiringProjectRequest:
id = '',
name = '', ),
location = '',
- seniority_level = 'INTERNSHIP'
+ seniority_level = 'INTERNSHIP',
+ employment_status = 'FULL_TIME',
+ industry = [
+ ''
+ ],
+ job_function = [
+ ''
+ ]
)
else:
return EditRecruiterHiringProjectRequest(
diff --git a/test/test_edit_recruiter_job_posting_request.py b/test/test_edit_recruiter_job_posting_request.py
index 546c4a341..808f24d56 100644
--- a/test/test_edit_recruiter_job_posting_request.py
+++ b/test/test_edit_recruiter_job_posting_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -62,6 +62,16 @@ def make_instance(self, include_optional) -> EditRecruiterJobPostingRequest:
screening_questions = [
null
],
+ salary = unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_salary.createRecruiterJobPostingDraftInExistingProject_request_salary(
+ currency = 'AEI',
+ pay_frequency = 'YEARLY',
+ min = 1.337,
+ max = 1.337, ),
+ additional_compensation = unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation.createRecruiterJobPostingDraftInExistingProject_request_additional_compensation(
+ currency = 'AEI',
+ pay_frequency = 'YEARLY',
+ min = 1.337,
+ max = 1.337, ),
rejection_settings = unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.createRecruiterJobPostingDraftInExistingProject_request_rejection_settings(
send_rejection_notification = True,
rejection_template = '',
diff --git a/test/test_emails_api.py b/test/test_emails_api.py
index d1566d189..73e2dcae3 100644
--- a/test/test_emails_api.py
+++ b/test/test_emails_api.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -61,6 +61,13 @@ def test_get_attachment1(self) -> None:
"""
pass
+ def test_get_contacts_list(self) -> None:
+ """Test case for get_contacts_list
+
+ List contacts
+ """
+ pass
+
def test_get_draft(self) -> None:
"""Test case for get_draft
@@ -82,10 +89,10 @@ def test_get_email(self) -> None:
"""
pass
- def test_get_email_contacts_list(self) -> None:
- """Test case for get_email_contacts_list
+ def test_get_email_senders(self) -> None:
+ """Test case for get_email_senders
- List email contacts
+ List email senders
"""
pass
diff --git a/test/test_endorse_classic_member_skill200_response.py b/test/test_endorse_classic_member_skill200_response.py
index 7975b68bf..034e0ad10 100644
--- a/test/test_endorse_classic_member_skill200_response.py
+++ b/test/test_endorse_classic_member_skill200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_endorse_classic_member_skill_request.py b/test/test_endorse_classic_member_skill_request.py
index 70cfbdf14..725ca3739 100644
--- a/test/test_endorse_classic_member_skill_request.py
+++ b/test/test_endorse_classic_member_skill_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_exclude_activities.py b/test/test_exclude_activities.py
index 9f4fe28ea..d88f8f0e4 100644
--- a/test/test_exclude_activities.py
+++ b/test/test_exclude_activities.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_file.py b/test/test_file.py
index c6b045a32..9edf11bda 100644
--- a/test/test_file.py
+++ b/test/test_file.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_file_document.py b/test/test_file_document.py
index 8fa8e527e..7ee05a007 100644
--- a/test/test_file_document.py
+++ b/test/test_file_document.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> FileDocument:
object = 'Attachment',
id = '',
file_size = 1.337,
+ is_inline = True,
is_unavailable = True,
mimetype = '',
url = '',
@@ -50,6 +51,7 @@ def make_instance(self, include_optional) -> FileDocument:
return FileDocument(
object = 'Attachment',
id = '',
+ is_inline = True,
mimetype = '',
url = '',
type = 'file',
diff --git a/test/test_follow_user200_response.py b/test/test_follow_user200_response.py
index c1035284d..8b9b640e3 100644
--- a/test/test_follow_user200_response.py
+++ b/test/test_follow_user200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,20 +36,23 @@ def make_instance(self, include_optional) -> FollowUser200Response:
if include_optional:
return FollowUser200Response(
object = 'RelationRequest',
- user = unipile.models.linked_in_relation_request_user.LinkedIn_relation_request_user(
+ type = 'sent',
+ id = '',
+ created_at = '',
+ message = '',
+ user = unipile.models.get_relation_requests_list_200_response_data_inner_user.getRelationRequestsList_200_response_data_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- type = 'sent',
- id = '',
- created_at = '',
- message = ''
+ description = '',
+ specifics = null, )
)
else:
return FollowUser200Response(
diff --git a/test/test_follow_user200_response_any_of.py b/test/test_follow_user200_response_any_of.py
index 60b35ac3f..6030b9661 100644
--- a/test/test_follow_user200_response_any_of.py
+++ b/test/test_follow_user200_response_any_of.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_forward_message200_response.py b/test/test_forward_message200_response.py
index c984cee7b..80e0d79ff 100644
--- a/test/test_forward_message200_response.py
+++ b/test/test_forward_message200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_forward_message_request.py b/test/test_forward_message_request.py
index 595bd7aab..4c154fcfb 100644
--- a/test/test_forward_message_request.py
+++ b/test/test_forward_message_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,12 +35,12 @@ def make_instance(self, include_optional) -> ForwardMessageRequest:
model = ForwardMessageRequest()
if include_optional:
return ForwardMessageRequest(
- chat_id = '',
+ chat_id = '0',
text = ''
)
else:
return ForwardMessageRequest(
- chat_id = '',
+ chat_id = '0',
)
"""
diff --git a/test/test_full_authentication.py b/test/test_full_authentication.py
index b27ed8eab..b5a976625 100644
--- a/test/test_full_authentication.py
+++ b/test/test_full_authentication.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_full_profile.py b/test/test_full_profile.py
index 3f67b36c4..611d06f67 100644
--- a/test/test_full_profile.py
+++ b/test/test_full_profile.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -57,7 +57,7 @@ def make_instance(self, include_optional) -> FullProfile:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -95,7 +95,7 @@ def make_instance(self, include_optional) -> FullProfile:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -115,14 +115,14 @@ def make_instance(self, include_optional) -> FullProfile:
ended_on = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
certifications = [
unipile.models.full_profile_certifications_inner.Full_profile_certifications_inner(
title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -145,16 +145,19 @@ def make_instance(self, include_optional) -> FullProfile:
name = '',
description = '',
contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
skills = [
''
@@ -164,8 +167,8 @@ def make_instance(self, include_optional) -> FullProfile:
ended_on = '', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -181,27 +184,29 @@ def make_instance(self, include_optional) -> FullProfile:
ended_on = '', )
],
recommendations = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
caption = '',
created_on = '',
text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), )
+ description = '',
+ specifics = null, ), )
]
)
else:
return FullProfile(
id = '',
display_name = '',
- headline = '',
network_distance = 'SELF',
visibility = 'full',
candidate_id = '',
@@ -209,7 +214,7 @@ def make_instance(self, include_optional) -> FullProfile:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -230,7 +235,6 @@ def make_instance(self, include_optional) -> FullProfile:
],
skills_preview = '', )
],
- industry = '',
skills = [
unipile.models.full_profile_skills_inner.Full_profile_skills_inner(
name = '',
@@ -239,7 +243,7 @@ def make_instance(self, include_optional) -> FullProfile:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -259,14 +263,14 @@ def make_instance(self, include_optional) -> FullProfile:
ended_on = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
certifications = [
unipile.models.full_profile_certifications_inner.Full_profile_certifications_inner(
title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -289,16 +293,19 @@ def make_instance(self, include_optional) -> FullProfile:
name = '',
description = '',
contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
skills = [
''
@@ -308,8 +315,8 @@ def make_instance(self, include_optional) -> FullProfile:
ended_on = '', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -325,20 +332,23 @@ def make_instance(self, include_optional) -> FullProfile:
ended_on = '', )
],
recommendations = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
caption = '',
created_on = '',
text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), )
+ description = '',
+ specifics = null, ), )
],
)
"""
diff --git a/test/test_full_profile1.py b/test/test_full_profile1.py
index 549cb00d8..73de3eb54 100644
--- a/test/test_full_profile1.py
+++ b/test/test_full_profile1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -59,7 +59,7 @@ def make_instance(self, include_optional) -> FullProfile1:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -97,7 +97,7 @@ def make_instance(self, include_optional) -> FullProfile1:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -117,14 +117,14 @@ def make_instance(self, include_optional) -> FullProfile1:
ended_on = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
certifications = [
unipile.models.full_profile_certifications_inner.Full_profile_certifications_inner(
title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -147,16 +147,19 @@ def make_instance(self, include_optional) -> FullProfile1:
name = '',
description = '',
contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
skills = [
''
@@ -166,8 +169,8 @@ def make_instance(self, include_optional) -> FullProfile1:
ended_on = '', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -183,20 +186,23 @@ def make_instance(self, include_optional) -> FullProfile1:
ended_on = '', )
],
recommendations = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
caption = '',
created_on = '',
text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), )
+ description = '',
+ specifics = null, ), )
]
)
else:
@@ -204,7 +210,6 @@ def make_instance(self, include_optional) -> FullProfile1:
object = 'PeopleSearchResult',
id = '',
display_name = '',
- headline = '',
network_distance = 'SELF',
product = 'recruiter',
visibility = 'full',
@@ -213,7 +218,7 @@ def make_instance(self, include_optional) -> FullProfile1:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -234,7 +239,6 @@ def make_instance(self, include_optional) -> FullProfile1:
],
skills_preview = '', )
],
- industry = '',
skills = [
unipile.models.full_profile_skills_inner.Full_profile_skills_inner(
name = '',
@@ -243,7 +247,7 @@ def make_instance(self, include_optional) -> FullProfile1:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -263,14 +267,14 @@ def make_instance(self, include_optional) -> FullProfile1:
ended_on = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
certifications = [
unipile.models.full_profile_certifications_inner.Full_profile_certifications_inner(
title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -293,16 +297,19 @@ def make_instance(self, include_optional) -> FullProfile1:
name = '',
description = '',
contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
skills = [
''
@@ -312,8 +319,8 @@ def make_instance(self, include_optional) -> FullProfile1:
ended_on = '', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -329,20 +336,23 @@ def make_instance(self, include_optional) -> FullProfile1:
ended_on = '', )
],
recommendations = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
caption = '',
created_on = '',
text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), )
+ description = '',
+ specifics = null, ), )
],
)
"""
diff --git a/test/test_full_profile_certifications_inner.py b/test/test_full_profile_certifications_inner.py
index 15d7ee1a5..3927e977f 100644
--- a/test/test_full_profile_certifications_inner.py
+++ b/test/test_full_profile_certifications_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> FullProfileCertificationsInner:
if include_optional:
return FullProfileCertificationsInner(
title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -57,7 +57,7 @@ def make_instance(self, include_optional) -> FullProfileCertificationsInner:
else:
return FullProfileCertificationsInner(
title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_full_profile_education_inner.py b/test/test_full_profile_education_inner.py
index acb219387..c5386f3cc 100644
--- a/test/test_full_profile_education_inner.py
+++ b/test/test_full_profile_education_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> FullProfileEducationInner:
if include_optional:
return FullProfileEducationInner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -57,7 +57,7 @@ def make_instance(self, include_optional) -> FullProfileEducationInner:
)
else:
return FullProfileEducationInner(
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
diff --git a/test/test_full_profile_projects_inner.py b/test/test_full_profile_projects_inner.py
index a3863af7b..cdc4fd5b6 100644
--- a/test/test_full_profile_projects_inner.py
+++ b/test/test_full_profile_projects_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,16 +38,19 @@ def make_instance(self, include_optional) -> FullProfileProjectsInner:
name = '',
description = '',
contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
skills = [
''
@@ -60,16 +63,19 @@ def make_instance(self, include_optional) -> FullProfileProjectsInner:
return FullProfileProjectsInner(
name = '',
contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
)
"""
diff --git a/test/test_full_profile_skills_inner.py b/test/test_full_profile_skills_inner.py
index 5f4ec4e6b..21b6e543e 100644
--- a/test/test_full_profile_skills_inner.py
+++ b/test/test_full_profile_skills_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_available_contracts200_response.py b/test/test_get_available_contracts200_response.py
index b3ee55056..bc1703860 100644
--- a/test/test_get_available_contracts200_response.py
+++ b/test/test_get_available_contracts200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_available_contracts200_response_contracts_inner.py b/test/test_get_available_contracts200_response_contracts_inner.py
index 5a4818613..a7102aba5 100644
--- a/test/test_get_available_contracts200_response_contracts_inner.py
+++ b/test/test_get_available_contracts200_response_contracts_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_calendar_event_list200_response.py b/test/test_get_calendar_event_list200_response.py
index a9aba2824..84f144174 100644
--- a/test/test_get_calendar_event_list200_response.py
+++ b/test/test_get_calendar_event_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -74,8 +74,10 @@ def make_instance(self, include_optional) -> GetCalendarEventList200Response:
visibility = 'public',
transparency = 'opaque',
event_type = 'default',
+ timezone = '',
background_color = '',
- text_color = '', )
+ text_color = '',
+ specifics = null, )
],
total_count = 1.337,
next_cursor = ''
@@ -121,8 +123,10 @@ def make_instance(self, include_optional) -> GetCalendarEventList200Response:
visibility = 'public',
transparency = 'opaque',
event_type = 'default',
+ timezone = '',
background_color = '',
- text_color = '', )
+ text_color = '',
+ specifics = null, )
],
)
"""
diff --git a/test/test_get_calendar_event_list200_response_data_inner.py b/test/test_get_calendar_event_list200_response_data_inner.py
index bcd1f711e..9c47d3337 100644
--- a/test/test_get_calendar_event_list200_response_data_inner.py
+++ b/test/test_get_calendar_event_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -72,8 +72,10 @@ def make_instance(self, include_optional) -> GetCalendarEventList200ResponseData
visibility = 'public',
transparency = 'opaque',
event_type = 'default',
+ timezone = '',
background_color = '',
- text_color = ''
+ text_color = '',
+ specifics = None
)
else:
return GetCalendarEventList200ResponseDataInner(
diff --git a/test/test_get_calendar_event_list200_response_data_inner_attendees_inner.py b/test/test_get_calendar_event_list200_response_data_inner_attendees_inner.py
index 32918c051..1103f5ace 100644
--- a/test/test_get_calendar_event_list200_response_data_inner_attendees_inner.py
+++ b/test/test_get_calendar_event_list200_response_data_inner_attendees_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_calendar_event_list200_response_data_inner_conference.py b/test/test_get_calendar_event_list200_response_data_inner_conference.py
index 799be7e24..1bda0360b 100644
--- a/test/test_get_calendar_event_list200_response_data_inner_conference.py
+++ b/test/test_get_calendar_event_list200_response_data_inner_conference.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_calendar_event_list200_response_data_inner_end.py b/test/test_get_calendar_event_list200_response_data_inner_end.py
index 0c85f62ff..b70c449a4 100644
--- a/test/test_get_calendar_event_list200_response_data_inner_end.py
+++ b/test/test_get_calendar_event_list200_response_data_inner_end.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> GetCalendarEventList200ResponseData
return GetCalendarEventList200ResponseDataInnerEnd(
type = 'datetime',
date_time = '',
+ timezone = '',
var_date = ''
)
else:
diff --git a/test/test_get_calendar_event_list200_response_data_inner_organizer.py b/test/test_get_calendar_event_list200_response_data_inner_organizer.py
index 04e128bcc..06dc0db6a 100644
--- a/test/test_get_calendar_event_list200_response_data_inner_organizer.py
+++ b/test/test_get_calendar_event_list200_response_data_inner_organizer.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_calendar_event_list200_response_data_inner_start.py b/test/test_get_calendar_event_list200_response_data_inner_start.py
index 1ed6481fd..b8a2478a6 100644
--- a/test/test_get_calendar_event_list200_response_data_inner_start.py
+++ b/test/test_get_calendar_event_list200_response_data_inner_start.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> GetCalendarEventList200ResponseData
return GetCalendarEventList200ResponseDataInnerStart(
type = 'datetime',
date_time = '',
+ timezone = '',
var_date = ''
)
else:
diff --git a/test/test_get_calendar_event_list200_response_data_inner_start_any_of.py b/test/test_get_calendar_event_list200_response_data_inner_start_any_of.py
index 3c2154575..e630b353d 100644
--- a/test/test_get_calendar_event_list200_response_data_inner_start_any_of.py
+++ b/test/test_get_calendar_event_list200_response_data_inner_start_any_of.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,8 @@ def make_instance(self, include_optional) -> GetCalendarEventList200ResponseData
if include_optional:
return GetCalendarEventList200ResponseDataInnerStartAnyOf(
type = 'datetime',
- date_time = ''
+ date_time = '',
+ timezone = ''
)
else:
return GetCalendarEventList200ResponseDataInnerStartAnyOf(
diff --git a/test/test_get_calendar_event_list200_response_data_inner_start_any_of1.py b/test/test_get_calendar_event_list200_response_data_inner_start_any_of1.py
index 8a5f4ff3d..f34c7506e 100644
--- a/test/test_get_calendar_event_list200_response_data_inner_start_any_of1.py
+++ b/test/test_get_calendar_event_list200_response_data_inner_start_any_of1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,8 @@ def make_instance(self, include_optional) -> GetCalendarEventList200ResponseData
if include_optional:
return GetCalendarEventList200ResponseDataInnerStartAnyOf1(
type = 'date',
- var_date = ''
+ var_date = '',
+ timezone = ''
)
else:
return GetCalendarEventList200ResponseDataInnerStartAnyOf1(
diff --git a/test/test_get_calendars_list200_response.py b/test/test_get_calendars_list200_response.py
index 138bd0d54..76aa7480e 100644
--- a/test/test_get_calendars_list200_response.py
+++ b/test/test_get_calendars_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -46,7 +46,8 @@ def make_instance(self, include_optional) -> GetCalendarsList200Response:
is_default = True,
background_color = '',
text_color = '',
- timezone = '', )
+ timezone = '',
+ specifics = null, )
],
total_count = 1.337,
next_cursor = ''
@@ -64,7 +65,8 @@ def make_instance(self, include_optional) -> GetCalendarsList200Response:
is_default = True,
background_color = '',
text_color = '',
- timezone = '', )
+ timezone = '',
+ specifics = null, )
],
)
"""
diff --git a/test/test_get_calendars_list200_response_data_inner.py b/test/test_get_calendars_list200_response_data_inner.py
index 30eda4850..b3431aa16 100644
--- a/test/test_get_calendars_list200_response_data_inner.py
+++ b/test/test_get_calendars_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -44,7 +44,8 @@ def make_instance(self, include_optional) -> GetCalendarsList200ResponseDataInne
is_default = True,
background_color = '',
text_color = '',
- timezone = ''
+ timezone = '',
+ specifics = None
)
else:
return GetCalendarsList200ResponseDataInner(
diff --git a/test/test_get_chat200_response.py b/test/test_get_chat200_response.py
index 952a93e18..4640f118a 100644
--- a/test/test_get_chat200_response.py
+++ b/test/test_get_chat200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -62,38 +62,41 @@ def make_instance(self, include_optional) -> GetChat200Response:
restrictions = [
'send_message'
],
+ last_message = None,
+ provider = 'mock',
+ specifics = None,
+ user = unipile.models.get_chats_list_200_response_data_inner_user.getChatsList_200_response_data_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
participants = [
unipile.models.get_chats_list_200_response_data_inner_participants_inner.getChatsList_200_response_data_inner_participants_inner(
object = 'GroupParticipant',
+ is_self = True,
+ is_admin = True,
user = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_self = True,
- is_admin = True, )
- ],
- last_message = unipile.models.get_chats_list_200_response_data_inner_last_message.getChatsList_200_response_data_inner_last_message(
- text = '',
- sender_display_name = '',
- is_sender = True, ),
- user = unipile.models.get_chats_list_200_response_data_inner_user.getChatsList_200_response_data_inner_user(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
- provider = 'mock',
- specifics = None
+ description = '',
+ specifics = null, ), )
+ ]
)
else:
return GetChat200Response(
diff --git a/test/test_get_chat200_response_last_message.py b/test/test_get_chat200_response_last_message.py
new file mode 100644
index 000000000..61428be2c
--- /dev/null
+++ b/test/test_get_chat200_response_last_message.py
@@ -0,0 +1,166 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chat200_response_last_message import GetChat200ResponseLastMessage
+
+class TestGetChat200ResponseLastMessage(unittest.TestCase):
+ """GetChat200ResponseLastMessage unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChat200ResponseLastMessage:
+ """Test GetChat200ResponseLastMessage
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChat200ResponseLastMessage`
+ """
+ model = GetChat200ResponseLastMessage()
+ if include_optional:
+ return GetChat200ResponseLastMessage(
+ object = 'Message',
+ id = '',
+ text = '',
+ sender_display_name = '',
+ is_sender = True,
+ sender_id = '',
+ chat_id = '',
+ timestamp = '',
+ is_hidden = True,
+ is_seen = True,
+ is_delivered = True,
+ is_deleted = True,
+ is_edited = True,
+ is_pinned = True,
+ is_event = True,
+ is_mentionned = True,
+ event_type = 0,
+ event_metadata = None,
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ quoted = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_quoted.getChatsList_200_response_data_inner_last_message_anyOf_1_quoted(
+ object = 'QuotedMessage',
+ id = '',
+ text = '',
+ attachments = [
+ null
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), ),
+ forwarded = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_forwarded.getChatsList_200_response_data_inner_last_message_anyOf_1_forwarded(
+ text = '',
+ attachments = [
+ null
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ object = 'ForwardedMessage', ),
+ specifics = None
+ )
+ else:
+ return GetChat200ResponseLastMessage(
+ object = 'Message',
+ id = '',
+ text = '',
+ is_sender = True,
+ sender_id = '',
+ chat_id = '',
+ timestamp = '',
+ is_hidden = True,
+ is_seen = True,
+ is_delivered = True,
+ is_deleted = True,
+ is_edited = True,
+ is_pinned = True,
+ is_event = True,
+ is_mentionned = True,
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ )
+ """
+
+ def testGetChat200ResponseLastMessage(self):
+ """Test GetChat200ResponseLastMessage"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chat200_response_last_message_any_of.py b/test/test_get_chat200_response_last_message_any_of.py
new file mode 100644
index 000000000..d2b90cea4
--- /dev/null
+++ b/test/test_get_chat200_response_last_message_any_of.py
@@ -0,0 +1,164 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chat200_response_last_message_any_of import GetChat200ResponseLastMessageAnyOf
+
+class TestGetChat200ResponseLastMessageAnyOf(unittest.TestCase):
+ """GetChat200ResponseLastMessageAnyOf unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChat200ResponseLastMessageAnyOf:
+ """Test GetChat200ResponseLastMessageAnyOf
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChat200ResponseLastMessageAnyOf`
+ """
+ model = GetChat200ResponseLastMessageAnyOf()
+ if include_optional:
+ return GetChat200ResponseLastMessageAnyOf(
+ object = 'Message',
+ id = '',
+ text = '',
+ sender_id = '',
+ chat_id = '',
+ timestamp = '',
+ is_sender = True,
+ is_hidden = True,
+ is_seen = True,
+ is_delivered = True,
+ is_deleted = True,
+ is_edited = True,
+ is_pinned = True,
+ is_event = True,
+ is_mentionned = True,
+ event_type = 0,
+ event_metadata = None,
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ quoted = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_quoted.getChatsList_200_response_data_inner_last_message_anyOf_1_quoted(
+ object = 'QuotedMessage',
+ id = '',
+ text = '',
+ attachments = [
+ null
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), ),
+ forwarded = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_forwarded.getChatsList_200_response_data_inner_last_message_anyOf_1_forwarded(
+ text = '',
+ attachments = [
+ null
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ object = 'ForwardedMessage', ),
+ specifics = None
+ )
+ else:
+ return GetChat200ResponseLastMessageAnyOf(
+ object = 'Message',
+ id = '',
+ sender_id = '',
+ chat_id = '',
+ timestamp = '',
+ is_sender = True,
+ is_hidden = True,
+ is_seen = True,
+ is_delivered = True,
+ is_deleted = True,
+ is_edited = True,
+ is_pinned = True,
+ is_event = True,
+ is_mentionned = True,
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ )
+ """
+
+ def testGetChat200ResponseLastMessageAnyOf(self):
+ """Test GetChat200ResponseLastMessageAnyOf"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chat200_response_muted_until.py b/test/test_get_chat200_response_muted_until.py
index a2929ae90..9968d4c06 100644
--- a/test/test_get_chat200_response_muted_until.py
+++ b/test/test_get_chat200_response_muted_until.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_chats_list200_response.py b/test/test_get_chats_list200_response.py
index 40cfe3bb6..ffb6c8731 100644
--- a/test/test_get_chats_list200_response.py
+++ b/test/test_get_chats_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -64,38 +64,40 @@ def make_instance(self, include_optional) -> GetChatsList200Response:
restrictions = [
'send_message'
],
+ last_message = null,
+ provider = 'mock',
+ specifics = null,
+ user = unipile.models.get_chats_list_200_response_data_inner_user.getChatsList_200_response_data_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
participants = [
unipile.models.get_chats_list_200_response_data_inner_participants_inner.getChatsList_200_response_data_inner_participants_inner(
object = 'GroupParticipant',
+ is_self = True,
+ is_admin = True,
user = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_self = True,
- is_admin = True, )
- ],
- last_message = unipile.models.get_chats_list_200_response_data_inner_last_message.getChatsList_200_response_data_inner_last_message(
- text = '',
- sender_display_name = '',
- is_sender = True, ),
- user = unipile.models.get_chats_list_200_response_data_inner_user.getChatsList_200_response_data_inner_user(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
- provider = 'mock',
- specifics = null, )
+ description = '', ), )
+ ], )
],
total_count = 1.337,
next_cursor = ''
@@ -131,38 +133,40 @@ def make_instance(self, include_optional) -> GetChatsList200Response:
restrictions = [
'send_message'
],
+ last_message = null,
+ provider = 'mock',
+ specifics = null,
+ user = unipile.models.get_chats_list_200_response_data_inner_user.getChatsList_200_response_data_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
participants = [
unipile.models.get_chats_list_200_response_data_inner_participants_inner.getChatsList_200_response_data_inner_participants_inner(
object = 'GroupParticipant',
+ is_self = True,
+ is_admin = True,
user = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_self = True,
- is_admin = True, )
- ],
- last_message = unipile.models.get_chats_list_200_response_data_inner_last_message.getChatsList_200_response_data_inner_last_message(
- text = '',
- sender_display_name = '',
- is_sender = True, ),
- user = unipile.models.get_chats_list_200_response_data_inner_user.getChatsList_200_response_data_inner_user(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
- provider = 'mock',
- specifics = null, )
+ description = '', ), )
+ ], )
],
)
"""
diff --git a/test/test_get_chats_list200_response_data_inner.py b/test/test_get_chats_list200_response_data_inner.py
index 82b9e991d..bc677ff06 100644
--- a/test/test_get_chats_list200_response_data_inner.py
+++ b/test/test_get_chats_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -62,38 +62,41 @@ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInner:
restrictions = [
'send_message'
],
+ last_message = None,
+ provider = 'mock',
+ specifics = None,
+ user = unipile.models.get_chats_list_200_response_data_inner_user.getChatsList_200_response_data_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
participants = [
unipile.models.get_chats_list_200_response_data_inner_participants_inner.getChatsList_200_response_data_inner_participants_inner(
object = 'GroupParticipant',
+ is_self = True,
+ is_admin = True,
user = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_self = True,
- is_admin = True, )
- ],
- last_message = unipile.models.get_chats_list_200_response_data_inner_last_message.getChatsList_200_response_data_inner_last_message(
- text = '',
- sender_display_name = '',
- is_sender = True, ),
- user = unipile.models.get_chats_list_200_response_data_inner_user.getChatsList_200_response_data_inner_user(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
- provider = 'mock',
- specifics = None
+ description = '',
+ specifics = null, ), )
+ ]
)
else:
return GetChatsList200ResponseDataInner(
diff --git a/test/test_get_chats_list200_response_data_inner_last_message.py b/test/test_get_chats_list200_response_data_inner_last_message.py
index 1fcd74580..fc7da865a 100644
--- a/test/test_get_chats_list200_response_data_inner_last_message.py
+++ b/test/test_get_chats_list200_response_data_inner_last_message.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,14 +35,125 @@ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerLas
model = GetChatsList200ResponseDataInnerLastMessage()
if include_optional:
return GetChatsList200ResponseDataInnerLastMessage(
+ object = 'Message',
+ id = '',
text = '',
sender_display_name = '',
- is_sender = True
+ is_sender = True,
+ sender_id = '',
+ chat_id = '',
+ timestamp = '',
+ is_hidden = True,
+ is_seen = True,
+ is_delivered = True,
+ is_deleted = True,
+ is_edited = True,
+ is_pinned = True,
+ is_event = True,
+ is_mentionned = True,
+ event_type = 0,
+ event_metadata = None,
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ quoted = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_quoted.getChatsList_200_response_data_inner_last_message_anyOf_1_quoted(
+ object = 'QuotedMessage',
+ id = '',
+ text = '',
+ attachments = [
+ null
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), ),
+ forwarded = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_forwarded.getChatsList_200_response_data_inner_last_message_anyOf_1_forwarded(
+ text = '',
+ attachments = [
+ null
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ object = 'ForwardedMessage', ),
+ specifics = None
)
else:
return GetChatsList200ResponseDataInnerLastMessage(
+ object = 'Message',
+ id = '',
text = '',
is_sender = True,
+ sender_id = '',
+ chat_id = '',
+ timestamp = '',
+ is_hidden = True,
+ is_seen = True,
+ is_delivered = True,
+ is_deleted = True,
+ is_edited = True,
+ is_pinned = True,
+ is_event = True,
+ is_mentionned = True,
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
)
"""
diff --git a/test/test_get_chats_list200_response_data_inner_last_message_any_of.py b/test/test_get_chats_list200_response_data_inner_last_message_any_of.py
new file mode 100644
index 000000000..cfc6a60f0
--- /dev/null
+++ b/test/test_get_chats_list200_response_data_inner_last_message_any_of.py
@@ -0,0 +1,57 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of import GetChatsList200ResponseDataInnerLastMessageAnyOf
+
+class TestGetChatsList200ResponseDataInnerLastMessageAnyOf(unittest.TestCase):
+ """GetChatsList200ResponseDataInnerLastMessageAnyOf unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerLastMessageAnyOf:
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChatsList200ResponseDataInnerLastMessageAnyOf`
+ """
+ model = GetChatsList200ResponseDataInnerLastMessageAnyOf()
+ if include_optional:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf(
+ object = 'MessagePreview',
+ id = '',
+ text = '',
+ sender_display_name = '',
+ is_sender = True
+ )
+ else:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf(
+ object = 'MessagePreview',
+ text = '',
+ )
+ """
+
+ def testGetChatsList200ResponseDataInnerLastMessageAnyOf(self):
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chats_list200_response_data_inner_last_message_any_of1.py b/test/test_get_chats_list200_response_data_inner_last_message_any_of1.py
new file mode 100644
index 000000000..47f96df17
--- /dev/null
+++ b/test/test_get_chats_list200_response_data_inner_last_message_any_of1.py
@@ -0,0 +1,164 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1 import GetChatsList200ResponseDataInnerLastMessageAnyOf1
+
+class TestGetChatsList200ResponseDataInnerLastMessageAnyOf1(unittest.TestCase):
+ """GetChatsList200ResponseDataInnerLastMessageAnyOf1 unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerLastMessageAnyOf1:
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChatsList200ResponseDataInnerLastMessageAnyOf1`
+ """
+ model = GetChatsList200ResponseDataInnerLastMessageAnyOf1()
+ if include_optional:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1(
+ object = 'Message',
+ id = '',
+ text = '',
+ sender_id = '',
+ chat_id = '',
+ timestamp = '',
+ is_sender = True,
+ is_hidden = True,
+ is_seen = True,
+ is_delivered = True,
+ is_deleted = True,
+ is_edited = True,
+ is_pinned = True,
+ is_event = True,
+ is_mentionned = True,
+ event_type = 0,
+ event_metadata = None,
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ quoted = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_quoted.getChatsList_200_response_data_inner_last_message_anyOf_1_quoted(
+ object = 'QuotedMessage',
+ id = '',
+ text = '',
+ attachments = [
+ null
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), ),
+ forwarded = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_forwarded.getChatsList_200_response_data_inner_last_message_anyOf_1_forwarded(
+ text = '',
+ attachments = [
+ null
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ object = 'ForwardedMessage', ),
+ specifics = None
+ )
+ else:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1(
+ object = 'Message',
+ id = '',
+ sender_id = '',
+ chat_id = '',
+ timestamp = '',
+ is_sender = True,
+ is_hidden = True,
+ is_seen = True,
+ is_delivered = True,
+ is_deleted = True,
+ is_edited = True,
+ is_pinned = True,
+ is_event = True,
+ is_mentionned = True,
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ )
+ """
+
+ def testGetChatsList200ResponseDataInnerLastMessageAnyOf1(self):
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner.py b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner.py
new file mode 100644
index 000000000..f8b9fe477
--- /dev/null
+++ b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner.py
@@ -0,0 +1,85 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner
+
+class TestGetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner(unittest.TestCase):
+ """GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner:
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner`
+ """
+ model = GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner()
+ if include_optional:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner(
+ object = 'Attachment',
+ id = '',
+ file_size = 1.337,
+ is_inline = True,
+ is_unavailable = True,
+ mimetype = '',
+ url = '',
+ url_expires_at = '',
+ content = '',
+ type = 'audio',
+ duration = 1.337,
+ voice_note = True,
+ size = unipile.models.video_size.Video_size(
+ height = 1.337,
+ width = 1.337, ),
+ sticker = True,
+ gif = True,
+ filename = '',
+ media_type = 'post',
+ author = '',
+ description = ''
+ )
+ else:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner(
+ object = 'Attachment',
+ id = '',
+ is_inline = True,
+ mimetype = '',
+ url = '',
+ type = 'audio',
+ voice_note = True,
+ size = unipile.models.video_size.Video_size(
+ height = 1.337,
+ width = 1.337, ),
+ sticker = True,
+ gif = True,
+ filename = '',
+ media_type = 'post',
+ )
+ """
+
+ def testGetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner(self):
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chats_list200_response_data_inner_last_message_any_of1_event_metadata.py b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_event_metadata.py
new file mode 100644
index 000000000..b1be75019
--- /dev/null
+++ b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_event_metadata.py
@@ -0,0 +1,73 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_event_metadata import GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+
+class TestGetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata(unittest.TestCase):
+ """GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata:
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata`
+ """
+ model = GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata()
+ if include_optional:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata(
+ title = '',
+ description = '',
+ call_id = '',
+ is_video = True,
+ link = '',
+ start = '',
+ end = '',
+ duration = 1.337,
+ message_id = '',
+ is_pin = True,
+ user_id = '',
+ user_name = '',
+ reason = 'added',
+ subject = '',
+ reaction = ''
+ )
+ else:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata(
+ title = '',
+ is_video = True,
+ start = '',
+ message_id = '',
+ is_pin = True,
+ user_id = '',
+ reason = 'added',
+ reaction = '',
+ )
+ """
+
+ def testGetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata(self):
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chats_list200_response_data_inner_last_message_any_of1_forwarded.py b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_forwarded.py
new file mode 100644
index 000000000..88f6549ad
--- /dev/null
+++ b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_forwarded.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_forwarded import GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded
+
+class TestGetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded(unittest.TestCase):
+ """GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded:
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded`
+ """
+ model = GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded()
+ if include_optional:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded(
+ text = '',
+ attachments = [
+ null
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ object = 'ForwardedMessage'
+ )
+ else:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded(
+ attachments = [
+ null
+ ],
+ object = 'ForwardedMessage',
+ )
+ """
+
+ def testGetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded(self):
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner.py b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner.py
new file mode 100644
index 000000000..1aaa16d21
--- /dev/null
+++ b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner.py
@@ -0,0 +1,56 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner
+
+class TestGetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner(unittest.TestCase):
+ """GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner:
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner`
+ """
+ model = GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner()
+ if include_optional:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337
+ )
+ else:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337,
+ )
+ """
+
+ def testGetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner(self):
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chats_list200_response_data_inner_last_message_any_of1_quoted.py b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_quoted.py
new file mode 100644
index 000000000..ce7f6ddd1
--- /dev/null
+++ b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_quoted.py
@@ -0,0 +1,74 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted import GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted
+
+class TestGetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted(unittest.TestCase):
+ """GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted:
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted`
+ """
+ model = GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted()
+ if include_optional:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted(
+ object = 'QuotedMessage',
+ id = '',
+ text = '',
+ attachments = [
+ null
+ ],
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, )
+ )
+ else:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted(
+ object = 'QuotedMessage',
+ id = '',
+ attachments = [
+ null
+ ],
+ )
+ """
+
+ def testGetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted(self):
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner.py b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner.py
new file mode 100644
index 000000000..1b75b3d65
--- /dev/null
+++ b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner.py
@@ -0,0 +1,85 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+
+class TestGetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner(unittest.TestCase):
+ """GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner:
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner`
+ """
+ model = GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner()
+ if include_optional:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner(
+ object = 'Attachment',
+ id = '',
+ file_size = 1.337,
+ is_inline = True,
+ is_unavailable = True,
+ mimetype = '',
+ url = '',
+ url_expires_at = '',
+ content = '',
+ type = 'audio',
+ duration = 1.337,
+ voice_note = True,
+ size = unipile.models.video_1_size.Video_1_size(
+ height = 1.337,
+ width = 1.337, ),
+ sticker = True,
+ gif = True,
+ filename = '',
+ media_type = 'post',
+ author = '',
+ description = ''
+ )
+ else:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner(
+ object = 'Attachment',
+ id = '',
+ is_inline = True,
+ mimetype = '',
+ url = '',
+ type = 'audio',
+ voice_note = True,
+ size = unipile.models.video_1_size.Video_1_size(
+ height = 1.337,
+ width = 1.337, ),
+ sticker = True,
+ gif = True,
+ filename = '',
+ media_type = 'post',
+ )
+ """
+
+ def testGetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner(self):
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner.py b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner.py
new file mode 100644
index 000000000..2a3fa6909
--- /dev/null
+++ b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner.py
@@ -0,0 +1,54 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+
+class TestGetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner(unittest.TestCase):
+ """GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner:
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner`
+ """
+ model = GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner()
+ if include_optional:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner(
+ reaction = '',
+ count = 1.337
+ )
+ else:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner(
+ reaction = '',
+ count = 1.337,
+ )
+ """
+
+ def testGetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner(self):
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chats_list200_response_data_inner_last_message_any_of1_sender.py b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_sender.py
new file mode 100644
index 000000000..c3630040f
--- /dev/null
+++ b/test/test_get_chats_list200_response_data_inner_last_message_any_of1_sender.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_sender import GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender
+
+class TestGetChatsList200ResponseDataInnerLastMessageAnyOf1Sender(unittest.TestCase):
+ """GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender:
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender`
+ """
+ model = GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender()
+ if include_optional:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = None
+ )
+ else:
+ return GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testGetChatsList200ResponseDataInnerLastMessageAnyOf1Sender(self):
+ """Test GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_chats_list200_response_data_inner_muted_until.py b/test/test_get_chats_list200_response_data_inner_muted_until.py
index 5fc62223e..0b3bb0b7b 100644
--- a/test/test_get_chats_list200_response_data_inner_muted_until.py
+++ b/test/test_get_chats_list200_response_data_inner_muted_until.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_chats_list200_response_data_inner_participants_inner.py b/test/test_get_chats_list200_response_data_inner_participants_inner.py
index 8087ae8dd..9ec8ea6e5 100644
--- a/test/test_get_chats_list200_response_data_inner_participants_inner.py
+++ b/test/test_get_chats_list200_response_data_inner_participants_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,34 +36,40 @@ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerPar
if include_optional:
return GetChatsList200ResponseDataInnerParticipantsInner(
object = 'GroupParticipant',
+ is_self = True,
+ is_admin = True,
user = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_self = True,
- is_admin = True
+ description = '',
+ specifics = null, )
)
else:
return GetChatsList200ResponseDataInnerParticipantsInner(
object = 'GroupParticipant',
+ is_self = True,
+ is_admin = True,
user = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_self = True,
- is_admin = True,
+ description = '',
+ specifics = null, ),
)
"""
diff --git a/test/test_get_chats_list200_response_data_inner_participants_inner_user.py b/test/test_get_chats_list200_response_data_inner_participants_inner_user.py
index 2bd2a4da1..948170d81 100644
--- a/test/test_get_chats_list200_response_data_inner_participants_inner_user.py
+++ b/test/test_get_chats_list200_response_data_inner_participants_inner_user.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,10 +40,13 @@ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerPar
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = ''
+ description = '',
+ specifics = None
)
else:
return GetChatsList200ResponseDataInnerParticipantsInnerUser(
diff --git a/test/test_get_chats_list200_response_data_inner_user.py b/test/test_get_chats_list200_response_data_inner_user.py
index ac17b1466..e14c1903f 100644
--- a/test/test_get_chats_list200_response_data_inner_user.py
+++ b/test/test_get_chats_list200_response_data_inner_user.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,10 +40,13 @@ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerUse
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = ''
+ description = '',
+ specifics = None
)
else:
return GetChatsList200ResponseDataInnerUser(
diff --git a/test/test_get_chats_list200_response_data_inner_user_specifics.py b/test/test_get_chats_list200_response_data_inner_user_specifics.py
new file mode 100644
index 000000000..940e9ae3f
--- /dev/null
+++ b/test/test_get_chats_list200_response_data_inner_user_specifics.py
@@ -0,0 +1,64 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics
+
+class TestGetChatsList200ResponseDataInnerUserSpecifics(unittest.TestCase):
+ """GetChatsList200ResponseDataInnerUserSpecifics unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetChatsList200ResponseDataInnerUserSpecifics:
+ """Test GetChatsList200ResponseDataInnerUserSpecifics
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetChatsList200ResponseDataInnerUserSpecifics`
+ """
+ model = GetChatsList200ResponseDataInnerUserSpecifics()
+ if include_optional:
+ return GetChatsList200ResponseDataInnerUserSpecifics(
+ contact_name = '',
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True
+ )
+ else:
+ return GetChatsList200ResponseDataInnerUserSpecifics(
+ contact_name = '',
+ )
+ """
+
+ def testGetChatsList200ResponseDataInnerUserSpecifics(self):
+ """Test GetChatsList200ResponseDataInnerUserSpecifics"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_classic_applicant_by_id200_response.py b/test/test_get_classic_applicant_by_id200_response.py
index 7353985a2..387272107 100644
--- a/test/test_get_classic_applicant_by_id200_response.py
+++ b/test/test_get_classic_applicant_by_id200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -67,7 +67,7 @@ def make_instance(self, include_optional) -> GetClassicApplicantById200Response:
public_picture_url = '',
work_experience = [
unipile.models.get_classic_applicants_200_response_data_inner_profile_work_experience_inner.getClassicApplicants_200_response_data_inner_profile_work_experience_inner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -116,7 +116,7 @@ def make_instance(self, include_optional) -> GetClassicApplicantById200Response:
public_picture_url = '',
work_experience = [
unipile.models.get_classic_applicants_200_response_data_inner_profile_work_experience_inner.getClassicApplicants_200_response_data_inner_profile_work_experience_inner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_get_classic_applicant_by_id200_response_profile.py b/test/test_get_classic_applicant_by_id200_response_profile.py
index 440b4978f..cf1c2b4ee 100644
--- a/test/test_get_classic_applicant_by_id200_response_profile.py
+++ b/test/test_get_classic_applicant_by_id200_response_profile.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -45,7 +45,7 @@ def make_instance(self, include_optional) -> GetClassicApplicantById200ResponseP
public_picture_url = '',
work_experience = [
unipile.models.get_classic_applicants_200_response_data_inner_profile_work_experience_inner.getClassicApplicants_200_response_data_inner_profile_work_experience_inner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -86,7 +86,7 @@ def make_instance(self, include_optional) -> GetClassicApplicantById200ResponseP
profile_url = '',
work_experience = [
unipile.models.get_classic_applicants_200_response_data_inner_profile_work_experience_inner.getClassicApplicants_200_response_data_inner_profile_work_experience_inner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_get_classic_applicant_by_id200_response_screening_questions_inner.py b/test/test_get_classic_applicant_by_id200_response_screening_questions_inner.py
index ee239b8a7..250cc44a2 100644
--- a/test/test_get_classic_applicant_by_id200_response_screening_questions_inner.py
+++ b/test/test_get_classic_applicant_by_id200_response_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_applicants200_response.py b/test/test_get_classic_applicants200_response.py
index 8e8654930..57e31b288 100644
--- a/test/test_get_classic_applicants200_response.py
+++ b/test/test_get_classic_applicants200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -69,7 +69,7 @@ def make_instance(self, include_optional) -> GetClassicApplicants200Response:
public_picture_url = '',
work_experience = [
unipile.models.get_classic_applicants_200_response_data_inner_profile_work_experience_inner.getClassicApplicants_200_response_data_inner_profile_work_experience_inner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -139,7 +139,7 @@ def make_instance(self, include_optional) -> GetClassicApplicants200Response:
public_picture_url = '',
work_experience = [
unipile.models.get_classic_applicants_200_response_data_inner_profile_work_experience_inner.getClassicApplicants_200_response_data_inner_profile_work_experience_inner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_get_classic_applicants200_response_data_inner.py b/test/test_get_classic_applicants200_response_data_inner.py
index b43ae7eb0..2dfdb8e18 100644
--- a/test/test_get_classic_applicants200_response_data_inner.py
+++ b/test/test_get_classic_applicants200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -67,7 +67,7 @@ def make_instance(self, include_optional) -> GetClassicApplicants200ResponseData
public_picture_url = '',
work_experience = [
unipile.models.get_classic_applicants_200_response_data_inner_profile_work_experience_inner.getClassicApplicants_200_response_data_inner_profile_work_experience_inner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -116,7 +116,7 @@ def make_instance(self, include_optional) -> GetClassicApplicants200ResponseData
public_picture_url = '',
work_experience = [
unipile.models.get_classic_applicants_200_response_data_inner_profile_work_experience_inner.getClassicApplicants_200_response_data_inner_profile_work_experience_inner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_get_classic_applicants200_response_data_inner_contact_info.py b/test/test_get_classic_applicants200_response_data_inner_contact_info.py
index c406d119b..75c9c386d 100644
--- a/test/test_get_classic_applicants200_response_data_inner_contact_info.py
+++ b/test/test_get_classic_applicants200_response_data_inner_contact_info.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_applicants200_response_data_inner_profile.py b/test/test_get_classic_applicants200_response_data_inner_profile.py
index 69f3d5bf3..6902838fc 100644
--- a/test/test_get_classic_applicants200_response_data_inner_profile.py
+++ b/test/test_get_classic_applicants200_response_data_inner_profile.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -45,7 +45,7 @@ def make_instance(self, include_optional) -> GetClassicApplicants200ResponseData
public_picture_url = '',
work_experience = [
unipile.models.get_classic_applicants_200_response_data_inner_profile_work_experience_inner.getClassicApplicants_200_response_data_inner_profile_work_experience_inner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -86,7 +86,7 @@ def make_instance(self, include_optional) -> GetClassicApplicants200ResponseData
profile_url = '',
work_experience = [
unipile.models.get_classic_applicants_200_response_data_inner_profile_work_experience_inner.getClassicApplicants_200_response_data_inner_profile_work_experience_inner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_get_classic_applicants200_response_data_inner_profile_educations_inner.py b/test/test_get_classic_applicants200_response_data_inner_profile_educations_inner.py
index 1595ab4f9..9ae755413 100644
--- a/test/test_get_classic_applicants200_response_data_inner_profile_educations_inner.py
+++ b/test/test_get_classic_applicants200_response_data_inner_profile_educations_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_applicants200_response_data_inner_profile_educations_inner_school.py b/test/test_get_classic_applicants200_response_data_inner_profile_educations_inner_school.py
index 5cd1b8401..03bc578c2 100644
--- a/test/test_get_classic_applicants200_response_data_inner_profile_educations_inner_school.py
+++ b/test/test_get_classic_applicants200_response_data_inner_profile_educations_inner_school.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_applicants200_response_data_inner_profile_work_experience_inner.py b/test/test_get_classic_applicants200_response_data_inner_profile_work_experience_inner.py
index 47610d346..a92caebf3 100644
--- a/test/test_get_classic_applicants200_response_data_inner_profile_work_experience_inner.py
+++ b/test/test_get_classic_applicants200_response_data_inner_profile_work_experience_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,7 +35,7 @@ def make_instance(self, include_optional) -> GetClassicApplicants200ResponseData
model = GetClassicApplicants200ResponseDataInnerProfileWorkExperienceInner()
if include_optional:
return GetClassicApplicants200ResponseDataInnerProfileWorkExperienceInner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -53,7 +53,7 @@ def make_instance(self, include_optional) -> GetClassicApplicants200ResponseData
)
else:
return GetClassicApplicants200ResponseDataInnerProfileWorkExperienceInner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_get_classic_applicants200_response_data_inner_screening_questions_inner.py b/test/test_get_classic_applicants200_response_data_inner_screening_questions_inner.py
index c39314c24..ac0e370f7 100644
--- a/test/test_get_classic_applicants200_response_data_inner_screening_questions_inner.py
+++ b/test/test_get_classic_applicants200_response_data_inner_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_applicants_request.py b/test/test_get_classic_applicants_request.py
index c1dffea03..d91cfba41 100644
--- a/test/test_get_classic_applicants_request.py
+++ b/test/test_get_classic_applicants_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_applicants_request_years_of_experience_inner.py b/test/test_get_classic_applicants_request_years_of_experience_inner.py
index fba56514a..babe7fa1a 100644
--- a/test/test_get_classic_applicants_request_years_of_experience_inner.py
+++ b/test/test_get_classic_applicants_request_years_of_experience_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_company_profile200_response.py b/test/test_get_classic_company_profile200_response.py
index 2d3636cff..064142933 100644
--- a/test/test_get_classic_company_profile200_response.py
+++ b/test/test_get_classic_company_profile200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,17 +37,17 @@ def make_instance(self, include_optional) -> GetClassicCompanyProfile200Response
return GetClassicCompanyProfile200Response(
id = '',
name = '',
- public_identifier = '',
profile_url = '',
+ public_picture_url = '',
+ public_identifier = '',
+ followers_count = 1.337,
+ is_following = True,
object = 'CompanyProfile',
description = '',
- public_picture_url = '',
tagline = '',
- followers_count = 1.337,
is_school = True,
is_active = True,
is_archived = True,
- is_following = True,
is_employee = True,
is_verified = True,
is_claimable = True,
@@ -87,8 +87,11 @@ def make_instance(self, include_optional) -> GetClassicCompanyProfile200Response
object = 'CompanyLightProfile',
id = '',
name = '',
+ profile_url = '',
+ public_picture_url = '',
public_identifier = '',
- profile_url = '', ),
+ followers_count = 1.337,
+ is_following = True, ),
insights = unipile.models.get_classic_company_profile_200_response_insights.getClassicCompanyProfile_200_response_insights(
headcount = 1.337,
headcount_range = unipile.models.get_classic_company_profile_200_response_insights_headcount_range.getClassicCompanyProfile_200_response_insights_headcount_range(
@@ -132,14 +135,10 @@ def make_instance(self, include_optional) -> GetClassicCompanyProfile200Response
return GetClassicCompanyProfile200Response(
id = '',
name = '',
- public_identifier = '',
- profile_url = '',
object = 'CompanyProfile',
- followers_count = 1.337,
is_school = True,
is_active = True,
is_archived = True,
- is_following = True,
is_employee = True,
is_verified = True,
is_claimable = True,
diff --git a/test/test_get_classic_company_profile200_response_acquired_by.py b/test/test_get_classic_company_profile200_response_acquired_by.py
index 43d5f7309..9ebcae966 100644
--- a/test/test_get_classic_company_profile200_response_acquired_by.py
+++ b/test/test_get_classic_company_profile200_response_acquired_by.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,16 +38,17 @@ def make_instance(self, include_optional) -> GetClassicCompanyProfile200Response
object = 'CompanyLightProfile',
id = '',
name = '',
+ profile_url = '',
+ public_picture_url = '',
public_identifier = '',
- profile_url = ''
+ followers_count = 1.337,
+ is_following = True
)
else:
return GetClassicCompanyProfile200ResponseAcquiredBy(
object = 'CompanyLightProfile',
id = '',
name = '',
- public_identifier = '',
- profile_url = '',
)
"""
diff --git a/test/test_get_classic_company_profile200_response_funding.py b/test/test_get_classic_company_profile200_response_funding.py
index b83509c68..b159bc04f 100644
--- a/test/test_get_classic_company_profile200_response_funding.py
+++ b/test/test_get_classic_company_profile200_response_funding.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_company_profile200_response_funding_crunchbase.py b/test/test_get_classic_company_profile200_response_funding_crunchbase.py
index 34212388c..685e443a2 100644
--- a/test/test_get_classic_company_profile200_response_funding_crunchbase.py
+++ b/test/test_get_classic_company_profile200_response_funding_crunchbase.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round.py b/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round.py
index c30cba014..979c75d02 100644
--- a/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round.py
+++ b/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round_lead_investors_inner.py b/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round_lead_investors_inner.py
index 23807c3cb..1576d0479 100644
--- a/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round_lead_investors_inner.py
+++ b/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round_lead_investors_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round_money_raised.py b/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round_money_raised.py
index 4869f8ab5..4d5d4974e 100644
--- a/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round_money_raised.py
+++ b/test/test_get_classic_company_profile200_response_funding_crunchbase_last_round_money_raised.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_company_profile200_response_insights.py b/test/test_get_classic_company_profile200_response_insights.py
index 9a17a3c4c..fdda78e89 100644
--- a/test/test_get_classic_company_profile200_response_insights.py
+++ b/test/test_get_classic_company_profile200_response_insights.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -53,7 +53,6 @@ def make_instance(self, include_optional) -> GetClassicCompanyProfile200Response
)
else:
return GetClassicCompanyProfile200ResponseInsights(
- headcount = 1.337,
)
"""
diff --git a/test/test_get_classic_company_profile200_response_insights_growth_periods_inner.py b/test/test_get_classic_company_profile200_response_insights_growth_periods_inner.py
index 8d8b71ca5..6c35a0743 100644
--- a/test/test_get_classic_company_profile200_response_insights_growth_periods_inner.py
+++ b/test/test_get_classic_company_profile200_response_insights_growth_periods_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_company_profile200_response_insights_heacount_growth_inner.py b/test/test_get_classic_company_profile200_response_insights_heacount_growth_inner.py
index 61914b30d..b80a7dbb1 100644
--- a/test/test_get_classic_company_profile200_response_insights_heacount_growth_inner.py
+++ b/test/test_get_classic_company_profile200_response_insights_heacount_growth_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_company_profile200_response_insights_headcount_range.py b/test/test_get_classic_company_profile200_response_insights_headcount_range.py
index 01832b2e9..8ffc27062 100644
--- a/test/test_get_classic_company_profile200_response_insights_headcount_range.py
+++ b/test/test_get_classic_company_profile200_response_insights_headcount_range.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_company_profile200_response_locations_inner.py b/test/test_get_classic_company_profile200_response_locations_inner.py
index 80538844d..efb065e74 100644
--- a/test/test_get_classic_company_profile200_response_locations_inner.py
+++ b/test/test_get_classic_company_profile200_response_locations_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -47,7 +47,6 @@ def make_instance(self, include_optional) -> GetClassicCompanyProfile200Response
return GetClassicCompanyProfile200ResponseLocationsInner(
is_headquarter = True,
country_code = '',
- city = '',
)
"""
diff --git a/test/test_get_classic_company_profile200_response_mailbox.py b/test/test_get_classic_company_profile200_response_mailbox.py
index bbd760ab1..82f33d198 100644
--- a/test/test_get_classic_company_profile200_response_mailbox.py
+++ b/test/test_get_classic_company_profile200_response_mailbox.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_company_profile200_response_viewer_roles_inner.py b/test/test_get_classic_company_profile200_response_viewer_roles_inner.py
index c7dfbd191..e6da07c0f 100644
--- a/test/test_get_classic_company_profile200_response_viewer_roles_inner.py
+++ b/test/test_get_classic_company_profile200_response_viewer_roles_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting200_response.py b/test/test_get_classic_job_posting200_response.py
index 5fbd76cb7..8f6703f1a 100644
--- a/test/test_get_classic_job_posting200_response.py
+++ b/test/test_get_classic_job_posting200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting200_response_budget.py b/test/test_get_classic_job_posting200_response_budget.py
index 83dfc836e..c412efcc4 100644
--- a/test/test_get_classic_job_posting200_response_budget.py
+++ b/test/test_get_classic_job_posting200_response_budget.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting200_response_budget_daily.py b/test/test_get_classic_job_posting200_response_budget_daily.py
index 71c54de4c..e4e75b816 100644
--- a/test/test_get_classic_job_posting200_response_budget_daily.py
+++ b/test/test_get_classic_job_posting200_response_budget_daily.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting200_response_budget_total.py b/test/test_get_classic_job_posting200_response_budget_total.py
index 72ca50362..6e2541ce4 100644
--- a/test/test_get_classic_job_posting200_response_budget_total.py
+++ b/test/test_get_classic_job_posting200_response_budget_total.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting200_response_company.py b/test/test_get_classic_job_posting200_response_company.py
index 187d3d3f9..359770750 100644
--- a/test/test_get_classic_job_posting200_response_company.py
+++ b/test/test_get_classic_job_posting200_response_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting200_response_hiring_team_inner.py b/test/test_get_classic_job_posting200_response_hiring_team_inner.py
index 2ba21618f..b7cfaedc4 100644
--- a/test/test_get_classic_job_posting200_response_hiring_team_inner.py
+++ b/test/test_get_classic_job_posting200_response_hiring_team_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting200_response_screening_questions_inner.py b/test/test_get_classic_job_posting200_response_screening_questions_inner.py
index fb981d687..46871c90d 100644
--- a/test/test_get_classic_job_posting200_response_screening_questions_inner.py
+++ b/test/test_get_classic_job_posting200_response_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting200_response_screening_questions_inner_choices_inner.py b/test/test_get_classic_job_posting200_response_screening_questions_inner_choices_inner.py
index b8c730a7e..8c87853bb 100644
--- a/test/test_get_classic_job_posting200_response_screening_questions_inner_choices_inner.py
+++ b/test/test_get_classic_job_posting200_response_screening_questions_inner_choices_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting_budget200_response.py b/test/test_get_classic_job_posting_budget200_response.py
index 32189d946..2582a706e 100644
--- a/test/test_get_classic_job_posting_budget200_response.py
+++ b/test/test_get_classic_job_posting_budget200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting_budget200_response_free.py b/test/test_get_classic_job_posting_budget200_response_free.py
index 902da209c..99c3f9f21 100644
--- a/test/test_get_classic_job_posting_budget200_response_free.py
+++ b/test/test_get_classic_job_posting_budget200_response_free.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting_budget200_response_promoted.py b/test/test_get_classic_job_posting_budget200_response_promoted.py
index 9085e393d..cc78899c8 100644
--- a/test/test_get_classic_job_posting_budget200_response_promoted.py
+++ b/test/test_get_classic_job_posting_budget200_response_promoted.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting_budget200_response_promoted_daily.py b/test/test_get_classic_job_posting_budget200_response_promoted_daily.py
index 819b7674d..ded798dd8 100644
--- a/test/test_get_classic_job_posting_budget200_response_promoted_daily.py
+++ b/test/test_get_classic_job_posting_budget200_response_promoted_daily.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_classic_job_posting_budget200_response_promoted_total.py b/test/test_get_classic_job_posting_budget200_response_promoted_total.py
index dc2155a2f..d3df250a6 100644
--- a/test/test_get_classic_job_posting_budget200_response_promoted_total.py
+++ b/test/test_get_classic_job_posting_budget200_response_promoted_total.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_contacts_list200_response.py b/test/test_get_contacts_list200_response.py
new file mode 100644
index 000000000..3b901e623
--- /dev/null
+++ b/test/test_get_contacts_list200_response.py
@@ -0,0 +1,206 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_contacts_list200_response import GetContactsList200Response
+
+class TestGetContactsList200Response(unittest.TestCase):
+ """GetContactsList200Response unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetContactsList200Response:
+ """Test GetContactsList200Response
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetContactsList200Response`
+ """
+ model = GetContactsList200Response()
+ if include_optional:
+ return GetContactsList200Response(
+ data = [
+ unipile.models.get_contacts_list_200_response_data_inner.getContactsList_200_response_data_inner(
+ object = 'Contact',
+ id = '',
+ user = unipile.models.get_contacts_list_200_response_data_inner_user.getContactsList_200_response_data_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ picture_url = '',
+ first_name = '',
+ middle_name = '',
+ last_name = '',
+ display_name = '',
+ suffix = '',
+ birth_date = '',
+ company_name = '',
+ job_title = '',
+ manager_name = '',
+ office_location = '',
+ notes = '',
+ emails = [
+ ''
+ ],
+ phone_numbers = [
+ ''
+ ],
+ social_handles = unipile.models.get_contacts_list_200_response_data_inner_social_handles.getContactsList_200_response_data_inner_social_handles(
+ linkedin = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ instagram = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ github = ,
+ facebook = ,
+ x = ,
+ threads = ,
+ tiktok = ,
+ wechat = ,
+ gtalk = ,
+ qq = ,
+ skype = ,
+ icq = ,
+ xmpp = ,
+ sip = ,
+ yahoo = ,
+ aim = ,
+ jabber = ,
+ msn = ,
+ netmeeting = ,
+ googletalk = , ),
+ addresses = [
+ unipile.models.get_contacts_list_200_response_data_inner_addresses_inner.getContactsList_200_response_data_inner_addresses_inner(
+ city = '',
+ country = '',
+ postal_code = '',
+ state = '',
+ street_address = '',
+ type = '', )
+ ],
+ websites = [
+ ''
+ ],
+ groups = [
+ unipile.models.get_contacts_list_200_response_data_inner_groups_inner.getContactsList_200_response_data_inner_groups_inner(
+ id = '', )
+ ], )
+ ],
+ total_count = 1.337,
+ next_cursor = ''
+ )
+ else:
+ return GetContactsList200Response(
+ data = [
+ unipile.models.get_contacts_list_200_response_data_inner.getContactsList_200_response_data_inner(
+ object = 'Contact',
+ id = '',
+ user = unipile.models.get_contacts_list_200_response_data_inner_user.getContactsList_200_response_data_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ picture_url = '',
+ first_name = '',
+ middle_name = '',
+ last_name = '',
+ display_name = '',
+ suffix = '',
+ birth_date = '',
+ company_name = '',
+ job_title = '',
+ manager_name = '',
+ office_location = '',
+ notes = '',
+ emails = [
+ ''
+ ],
+ phone_numbers = [
+ ''
+ ],
+ social_handles = unipile.models.get_contacts_list_200_response_data_inner_social_handles.getContactsList_200_response_data_inner_social_handles(
+ linkedin = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ instagram = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ github = ,
+ facebook = ,
+ x = ,
+ threads = ,
+ tiktok = ,
+ wechat = ,
+ gtalk = ,
+ qq = ,
+ skype = ,
+ icq = ,
+ xmpp = ,
+ sip = ,
+ yahoo = ,
+ aim = ,
+ jabber = ,
+ msn = ,
+ netmeeting = ,
+ googletalk = , ),
+ addresses = [
+ unipile.models.get_contacts_list_200_response_data_inner_addresses_inner.getContactsList_200_response_data_inner_addresses_inner(
+ city = '',
+ country = '',
+ postal_code = '',
+ state = '',
+ street_address = '',
+ type = '', )
+ ],
+ websites = [
+ ''
+ ],
+ groups = [
+ unipile.models.get_contacts_list_200_response_data_inner_groups_inner.getContactsList_200_response_data_inner_groups_inner(
+ id = '', )
+ ], )
+ ],
+ )
+ """
+
+ def testGetContactsList200Response(self):
+ """Test GetContactsList200Response"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_contacts_list200_response_data_inner.py b/test/test_get_contacts_list200_response_data_inner.py
new file mode 100644
index 000000000..d1d4d6404
--- /dev/null
+++ b/test/test_get_contacts_list200_response_data_inner.py
@@ -0,0 +1,126 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_contacts_list200_response_data_inner import GetContactsList200ResponseDataInner
+
+class TestGetContactsList200ResponseDataInner(unittest.TestCase):
+ """GetContactsList200ResponseDataInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetContactsList200ResponseDataInner:
+ """Test GetContactsList200ResponseDataInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetContactsList200ResponseDataInner`
+ """
+ model = GetContactsList200ResponseDataInner()
+ if include_optional:
+ return GetContactsList200ResponseDataInner(
+ object = 'Contact',
+ id = '',
+ user = unipile.models.get_contacts_list_200_response_data_inner_user.getContactsList_200_response_data_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ picture_url = '',
+ first_name = '',
+ middle_name = '',
+ last_name = '',
+ display_name = '',
+ suffix = '',
+ birth_date = '',
+ company_name = '',
+ job_title = '',
+ manager_name = '',
+ office_location = '',
+ notes = '',
+ emails = [
+ ''
+ ],
+ phone_numbers = [
+ ''
+ ],
+ social_handles = unipile.models.get_contacts_list_200_response_data_inner_social_handles.getContactsList_200_response_data_inner_social_handles(
+ linkedin = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ instagram = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ github = ,
+ facebook = ,
+ x = ,
+ threads = ,
+ tiktok = ,
+ wechat = ,
+ gtalk = ,
+ qq = ,
+ skype = ,
+ icq = ,
+ xmpp = ,
+ sip = ,
+ yahoo = ,
+ aim = ,
+ jabber = ,
+ msn = ,
+ netmeeting = ,
+ googletalk = , ),
+ addresses = [
+ unipile.models.get_contacts_list_200_response_data_inner_addresses_inner.getContactsList_200_response_data_inner_addresses_inner(
+ city = '',
+ country = '',
+ postal_code = '',
+ state = '',
+ street_address = '',
+ type = '', )
+ ],
+ websites = [
+ ''
+ ],
+ groups = [
+ unipile.models.get_contacts_list_200_response_data_inner_groups_inner.getContactsList_200_response_data_inner_groups_inner(
+ id = '', )
+ ]
+ )
+ else:
+ return GetContactsList200ResponseDataInner(
+ object = 'Contact',
+ id = '',
+ )
+ """
+
+ def testGetContactsList200ResponseDataInner(self):
+ """Test GetContactsList200ResponseDataInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_contacts_list200_response_data_inner_addresses_inner.py b/test/test_get_contacts_list200_response_data_inner_addresses_inner.py
new file mode 100644
index 000000000..87d60c895
--- /dev/null
+++ b/test/test_get_contacts_list200_response_data_inner_addresses_inner.py
@@ -0,0 +1,62 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_contacts_list200_response_data_inner_addresses_inner import GetContactsList200ResponseDataInnerAddressesInner
+
+class TestGetContactsList200ResponseDataInnerAddressesInner(unittest.TestCase):
+ """GetContactsList200ResponseDataInnerAddressesInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetContactsList200ResponseDataInnerAddressesInner:
+ """Test GetContactsList200ResponseDataInnerAddressesInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetContactsList200ResponseDataInnerAddressesInner`
+ """
+ model = GetContactsList200ResponseDataInnerAddressesInner()
+ if include_optional:
+ return GetContactsList200ResponseDataInnerAddressesInner(
+ city = '',
+ country = '',
+ postal_code = '',
+ state = '',
+ street_address = '',
+ type = ''
+ )
+ else:
+ return GetContactsList200ResponseDataInnerAddressesInner(
+ city = '',
+ country = '',
+ postal_code = '',
+ state = '',
+ street_address = '',
+ type = '',
+ )
+ """
+
+ def testGetContactsList200ResponseDataInnerAddressesInner(self):
+ """Test GetContactsList200ResponseDataInnerAddressesInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_contacts_list200_response_data_inner_groups_inner.py b/test/test_get_contacts_list200_response_data_inner_groups_inner.py
new file mode 100644
index 000000000..ad87bca06
--- /dev/null
+++ b/test/test_get_contacts_list200_response_data_inner_groups_inner.py
@@ -0,0 +1,52 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_contacts_list200_response_data_inner_groups_inner import GetContactsList200ResponseDataInnerGroupsInner
+
+class TestGetContactsList200ResponseDataInnerGroupsInner(unittest.TestCase):
+ """GetContactsList200ResponseDataInnerGroupsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetContactsList200ResponseDataInnerGroupsInner:
+ """Test GetContactsList200ResponseDataInnerGroupsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetContactsList200ResponseDataInnerGroupsInner`
+ """
+ model = GetContactsList200ResponseDataInnerGroupsInner()
+ if include_optional:
+ return GetContactsList200ResponseDataInnerGroupsInner(
+ id = ''
+ )
+ else:
+ return GetContactsList200ResponseDataInnerGroupsInner(
+ id = '',
+ )
+ """
+
+ def testGetContactsList200ResponseDataInnerGroupsInner(self):
+ """Test GetContactsList200ResponseDataInnerGroupsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_contacts_list200_response_data_inner_social_handles.py b/test/test_get_contacts_list200_response_data_inner_social_handles.py
new file mode 100644
index 000000000..4f924ab49
--- /dev/null
+++ b/test/test_get_contacts_list200_response_data_inner_social_handles.py
@@ -0,0 +1,110 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_contacts_list200_response_data_inner_social_handles import GetContactsList200ResponseDataInnerSocialHandles
+
+class TestGetContactsList200ResponseDataInnerSocialHandles(unittest.TestCase):
+ """GetContactsList200ResponseDataInnerSocialHandles unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetContactsList200ResponseDataInnerSocialHandles:
+ """Test GetContactsList200ResponseDataInnerSocialHandles
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetContactsList200ResponseDataInnerSocialHandles`
+ """
+ model = GetContactsList200ResponseDataInnerSocialHandles()
+ if include_optional:
+ return GetContactsList200ResponseDataInnerSocialHandles(
+ linkedin = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ instagram = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ github = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ facebook = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ x = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ threads = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ tiktok = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ wechat = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ gtalk = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ qq = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ skype = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ icq = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ xmpp = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ sip = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ yahoo = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ aim = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ jabber = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ msn = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ netmeeting = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', ),
+ googletalk = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
+ url = '',
+ name = '', )
+ )
+ else:
+ return GetContactsList200ResponseDataInnerSocialHandles(
+ )
+ """
+
+ def testGetContactsList200ResponseDataInnerSocialHandles(self):
+ """Test GetContactsList200ResponseDataInnerSocialHandles"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_contacts_list200_response_data_inner_social_handles_linkedin.py b/test/test_get_contacts_list200_response_data_inner_social_handles_linkedin.py
new file mode 100644
index 000000000..f3e53ac10
--- /dev/null
+++ b/test/test_get_contacts_list200_response_data_inner_social_handles_linkedin.py
@@ -0,0 +1,52 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_contacts_list200_response_data_inner_social_handles_linkedin import GetContactsList200ResponseDataInnerSocialHandlesLinkedin
+
+class TestGetContactsList200ResponseDataInnerSocialHandlesLinkedin(unittest.TestCase):
+ """GetContactsList200ResponseDataInnerSocialHandlesLinkedin unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetContactsList200ResponseDataInnerSocialHandlesLinkedin:
+ """Test GetContactsList200ResponseDataInnerSocialHandlesLinkedin
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetContactsList200ResponseDataInnerSocialHandlesLinkedin`
+ """
+ model = GetContactsList200ResponseDataInnerSocialHandlesLinkedin()
+ if include_optional:
+ return GetContactsList200ResponseDataInnerSocialHandlesLinkedin(
+ url = '',
+ name = ''
+ )
+ else:
+ return GetContactsList200ResponseDataInnerSocialHandlesLinkedin(
+ )
+ """
+
+ def testGetContactsList200ResponseDataInnerSocialHandlesLinkedin(self):
+ """Test GetContactsList200ResponseDataInnerSocialHandlesLinkedin"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_contacts_list200_response_data_inner_user.py b/test/test_get_contacts_list200_response_data_inner_user.py
new file mode 100644
index 000000000..bd5c1b5e4
--- /dev/null
+++ b/test/test_get_contacts_list200_response_data_inner_user.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_contacts_list200_response_data_inner_user import GetContactsList200ResponseDataInnerUser
+
+class TestGetContactsList200ResponseDataInnerUser(unittest.TestCase):
+ """GetContactsList200ResponseDataInnerUser unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetContactsList200ResponseDataInnerUser:
+ """Test GetContactsList200ResponseDataInnerUser
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetContactsList200ResponseDataInnerUser`
+ """
+ model = GetContactsList200ResponseDataInnerUser()
+ if include_optional:
+ return GetContactsList200ResponseDataInnerUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = None
+ )
+ else:
+ return GetContactsList200ResponseDataInnerUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testGetContactsList200ResponseDataInnerUser(self):
+ """Test GetContactsList200ResponseDataInnerUser"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_drafts_list200_response.py b/test/test_get_drafts_list200_response.py
index f2f7ae05f..fb48e44a7 100644
--- a/test/test_get_drafts_list200_response.py
+++ b/test/test_get_drafts_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_drafts_list200_response_data_inner.py b/test/test_get_drafts_list200_response_data_inner.py
index e74deab90..b11ebaf2d 100644
--- a/test/test_get_drafts_list200_response_data_inner.py
+++ b/test/test_get_drafts_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_email_senders200_response.py b/test/test_get_email_senders200_response.py
new file mode 100644
index 000000000..4c44f67f9
--- /dev/null
+++ b/test/test_get_email_senders200_response.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_email_senders200_response import GetEmailSenders200Response
+
+class TestGetEmailSenders200Response(unittest.TestCase):
+ """GetEmailSenders200Response unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetEmailSenders200Response:
+ """Test GetEmailSenders200Response
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetEmailSenders200Response`
+ """
+ model = GetEmailSenders200Response()
+ if include_optional:
+ return GetEmailSenders200Response(
+ data = [
+ unipile.models.get_email_senders_200_response_data_inner.getEmailSenders_200_response_data_inner(
+ object = 'EmailSender',
+ email = '',
+ display_name = '',
+ is_primary = True,
+ is_default = True,
+ verification_status = 'verified',
+ signature = '', )
+ ],
+ total_count = 1.337,
+ next_cursor = ''
+ )
+ else:
+ return GetEmailSenders200Response(
+ data = [
+ unipile.models.get_email_senders_200_response_data_inner.getEmailSenders_200_response_data_inner(
+ object = 'EmailSender',
+ email = '',
+ display_name = '',
+ is_primary = True,
+ is_default = True,
+ verification_status = 'verified',
+ signature = '', )
+ ],
+ )
+ """
+
+ def testGetEmailSenders200Response(self):
+ """Test GetEmailSenders200Response"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_email_senders200_response_data_inner.py b/test/test_get_email_senders200_response_data_inner.py
new file mode 100644
index 000000000..ba5292088
--- /dev/null
+++ b/test/test_get_email_senders200_response_data_inner.py
@@ -0,0 +1,61 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_email_senders200_response_data_inner import GetEmailSenders200ResponseDataInner
+
+class TestGetEmailSenders200ResponseDataInner(unittest.TestCase):
+ """GetEmailSenders200ResponseDataInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetEmailSenders200ResponseDataInner:
+ """Test GetEmailSenders200ResponseDataInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetEmailSenders200ResponseDataInner`
+ """
+ model = GetEmailSenders200ResponseDataInner()
+ if include_optional:
+ return GetEmailSenders200ResponseDataInner(
+ object = 'EmailSender',
+ email = '',
+ display_name = '',
+ is_primary = True,
+ is_default = True,
+ verification_status = 'verified',
+ signature = ''
+ )
+ else:
+ return GetEmailSenders200ResponseDataInner(
+ object = 'EmailSender',
+ email = '',
+ is_primary = True,
+ verification_status = 'verified',
+ )
+ """
+
+ def testGetEmailSenders200ResponseDataInner(self):
+ """Test GetEmailSenders200ResponseDataInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_emails_list200_response.py b/test/test_get_emails_list200_response.py
index c9340c85c..4b959c040 100644
--- a/test/test_get_emails_list200_response.py
+++ b/test/test_get_emails_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_emails_list200_response_data_inner.py b/test/test_get_emails_list200_response_data_inner.py
index 879b14635..8162b20e1 100644
--- a/test/test_get_emails_list200_response_data_inner.py
+++ b/test/test_get_emails_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_emails_list200_response_data_inner_from_inner.py b/test/test_get_emails_list200_response_data_inner_from_inner.py
index 530797139..0ff71f106 100644
--- a/test/test_get_emails_list200_response_data_inner_from_inner.py
+++ b/test/test_get_emails_list200_response_data_inner_from_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_emails_list200_response_data_inner_headers_inner.py b/test/test_get_emails_list200_response_data_inner_headers_inner.py
index 8e4f03bd5..59075b228 100644
--- a/test/test_get_emails_list200_response_data_inner_headers_inner.py
+++ b/test/test_get_emails_list200_response_data_inner_headers_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_folders_list200_response.py b/test/test_get_folders_list200_response.py
index a9c242b32..d9cb91502 100644
--- a/test/test_get_folders_list200_response.py
+++ b/test/test_get_folders_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_folders_list200_response_data_inner.py b/test/test_get_folders_list200_response_data_inner.py
index 30620506e..de87d376c 100644
--- a/test/test_get_folders_list200_response_data_inner.py
+++ b/test/test_get_folders_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_inboxes_list200_response.py b/test/test_get_inboxes_list200_response.py
index da6448478..6f70e688e 100644
--- a/test/test_get_inboxes_list200_response.py
+++ b/test/test_get_inboxes_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_inboxes_list200_response_data_inner.py b/test/test_get_inboxes_list200_response_data_inner.py
index bf7fa71a8..749863f18 100644
--- a/test/test_get_inboxes_list200_response_data_inner.py
+++ b/test/test_get_inboxes_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_inmail_credits200_response.py b/test/test_get_inmail_credits200_response.py
index 4923b8049..e3dcbe2d1 100644
--- a/test/test_get_inmail_credits200_response.py
+++ b/test/test_get_inmail_credits200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_inmail_credits200_response_credits.py b/test/test_get_inmail_credits200_response_credits.py
index e8847443f..6bfb30ea7 100644
--- a/test/test_get_inmail_credits200_response_credits.py
+++ b/test/test_get_inmail_credits200_response_credits.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_managed_company_pages200_response.py b/test/test_get_managed_company_pages200_response.py
new file mode 100644
index 000000000..31515cbdb
--- /dev/null
+++ b/test/test_get_managed_company_pages200_response.py
@@ -0,0 +1,68 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_managed_company_pages200_response import GetManagedCompanyPages200Response
+
+class TestGetManagedCompanyPages200Response(unittest.TestCase):
+ """GetManagedCompanyPages200Response unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetManagedCompanyPages200Response:
+ """Test GetManagedCompanyPages200Response
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetManagedCompanyPages200Response`
+ """
+ model = GetManagedCompanyPages200Response()
+ if include_optional:
+ return GetManagedCompanyPages200Response(
+ data = [
+ unipile.models.get_managed_company_pages_200_response_data_inner.getManagedCompanyPages_200_response_data_inner(
+ object = 'CompanyPage',
+ id = '',
+ mailbox_id = '',
+ name = '',
+ messaging_enabled = True, )
+ ],
+ total_count = 1.337,
+ next_cursor = ''
+ )
+ else:
+ return GetManagedCompanyPages200Response(
+ data = [
+ unipile.models.get_managed_company_pages_200_response_data_inner.getManagedCompanyPages_200_response_data_inner(
+ object = 'CompanyPage',
+ id = '',
+ mailbox_id = '',
+ name = '',
+ messaging_enabled = True, )
+ ],
+ )
+ """
+
+ def testGetManagedCompanyPages200Response(self):
+ """Test GetManagedCompanyPages200Response"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_managed_company_pages200_response_data_inner.py b/test/test_get_managed_company_pages200_response_data_inner.py
new file mode 100644
index 000000000..b8302acb3
--- /dev/null
+++ b/test/test_get_managed_company_pages200_response_data_inner.py
@@ -0,0 +1,59 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_managed_company_pages200_response_data_inner import GetManagedCompanyPages200ResponseDataInner
+
+class TestGetManagedCompanyPages200ResponseDataInner(unittest.TestCase):
+ """GetManagedCompanyPages200ResponseDataInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetManagedCompanyPages200ResponseDataInner:
+ """Test GetManagedCompanyPages200ResponseDataInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetManagedCompanyPages200ResponseDataInner`
+ """
+ model = GetManagedCompanyPages200ResponseDataInner()
+ if include_optional:
+ return GetManagedCompanyPages200ResponseDataInner(
+ object = 'CompanyPage',
+ id = '',
+ mailbox_id = '',
+ name = '',
+ messaging_enabled = True
+ )
+ else:
+ return GetManagedCompanyPages200ResponseDataInner(
+ object = 'CompanyPage',
+ id = '',
+ mailbox_id = '',
+ name = '',
+ )
+ """
+
+ def testGetManagedCompanyPages200ResponseDataInner(self):
+ """Test GetManagedCompanyPages200ResponseDataInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_message200_response.py b/test/test_get_message200_response.py
index 5627c5e9d..28fbeeecd 100644
--- a/test/test_get_message200_response.py
+++ b/test/test_get_message200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -53,24 +53,34 @@ def make_instance(self, include_optional) -> GetMessage200Response:
event_type = 0,
event_metadata = None,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ specifics = None,
sender = unipile.models.get_messages_list_200_response_data_inner_sender.getMessagesList_200_response_data_inner_sender(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- provider = 'mock',
- attachments = [
- null
- ],
+ description = '',
+ specifics = null, ),
quoted = unipile.models.get_messages_list_200_response_data_inner_quoted.getMessagesList_200_response_data_inner_quoted(
object = 'QuotedMessage',
id = '',
@@ -84,27 +94,32 @@ def make_instance(self, include_optional) -> GetMessage200Response:
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), ),
+ description = '',
+ specifics = null, ), ),
forwarded = unipile.models.get_messages_list_200_response_data_inner_forwarded.getMessagesList_200_response_data_inner_forwarded(
text = '',
attachments = [
null
],
+ object = 'ForwardedMessage',
sender = unipile.models.get_messages_list_200_response_data_inner_sender.getMessagesList_200_response_data_inner_sender(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- object = 'ForwardedMessage', ),
- specifics = None
+ description = '',
+ specifics = null, ), )
)
else:
return GetMessage200Response(
@@ -123,7 +138,7 @@ def make_instance(self, include_optional) -> GetMessage200Response:
is_event = True,
is_mentionned = True,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -131,6 +146,12 @@ def make_instance(self, include_optional) -> GetMessage200Response:
attachments = [
null
],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
)
"""
diff --git a/test/test_get_message_reactions_list200_response.py b/test/test_get_message_reactions_list200_response.py
index adea69da6..29f895e0e 100644
--- a/test/test_get_message_reactions_list200_response.py
+++ b/test/test_get_message_reactions_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -39,17 +39,20 @@ def make_instance(self, include_optional) -> GetMessageReactionsList200Response:
unipile.models.get_message_reactions_list_200_response_data_inner.getMessageReactionsList_200_response_data_inner(
object = 'Reaction',
value = '',
- sender = unipile.models.get_message_reactions_list_200_response_data_inner_sender.getMessageReactionsList_200_response_data_inner_sender(
+ is_sender = True,
+ sender = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_sender = True, )
+ description = '',
+ specifics = null, ), )
],
total_count = 1.337,
next_cursor = ''
@@ -60,17 +63,20 @@ def make_instance(self, include_optional) -> GetMessageReactionsList200Response:
unipile.models.get_message_reactions_list_200_response_data_inner.getMessageReactionsList_200_response_data_inner(
object = 'Reaction',
value = '',
- sender = unipile.models.get_message_reactions_list_200_response_data_inner_sender.getMessageReactionsList_200_response_data_inner_sender(
+ is_sender = True,
+ sender = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_sender = True, )
+ description = '',
+ specifics = null, ), )
],
)
"""
diff --git a/test/test_get_message_reactions_list200_response_data_inner.py b/test/test_get_message_reactions_list200_response_data_inner.py
index a288a5258..79f518337 100644
--- a/test/test_get_message_reactions_list200_response_data_inner.py
+++ b/test/test_get_message_reactions_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,33 +37,39 @@ def make_instance(self, include_optional) -> GetMessageReactionsList200ResponseD
return GetMessageReactionsList200ResponseDataInner(
object = 'Reaction',
value = '',
- sender = unipile.models.get_message_reactions_list_200_response_data_inner_sender.getMessageReactionsList_200_response_data_inner_sender(
+ is_sender = True,
+ sender = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_sender = True
+ description = '',
+ specifics = null, )
)
else:
return GetMessageReactionsList200ResponseDataInner(
object = 'Reaction',
value = '',
- sender = unipile.models.get_message_reactions_list_200_response_data_inner_sender.getMessageReactionsList_200_response_data_inner_sender(
+ is_sender = True,
+ sender = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_sender = True,
+ description = '',
+ specifics = null, ),
)
"""
diff --git a/test/test_get_messages_list200_response.py b/test/test_get_messages_list200_response.py
index 0003c1f73..351e17ba7 100644
--- a/test/test_get_messages_list200_response.py
+++ b/test/test_get_messages_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -55,24 +55,33 @@ def make_instance(self, include_optional) -> GetMessagesList200Response:
event_type = 0,
event_metadata = null,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ specifics = null,
sender = unipile.models.get_messages_list_200_response_data_inner_sender.getMessagesList_200_response_data_inner_sender(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
description = '', ),
- provider = 'mock',
- attachments = [
- null
- ],
quoted = unipile.models.get_messages_list_200_response_data_inner_quoted.getMessagesList_200_response_data_inner_quoted(
object = 'QuotedMessage',
id = '',
@@ -82,11 +91,8 @@ def make_instance(self, include_optional) -> GetMessagesList200Response:
], ),
forwarded = unipile.models.get_messages_list_200_response_data_inner_forwarded.getMessagesList_200_response_data_inner_forwarded(
text = '',
- attachments = [
- null
- ],
- object = 'ForwardedMessage', ),
- specifics = null, )
+ attachments = ,
+ object = 'ForwardedMessage', ), )
],
total_count = 1.337,
next_cursor = ''
@@ -113,24 +119,33 @@ def make_instance(self, include_optional) -> GetMessagesList200Response:
event_type = 0,
event_metadata = null,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ specifics = null,
sender = unipile.models.get_messages_list_200_response_data_inner_sender.getMessagesList_200_response_data_inner_sender(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
description = '', ),
- provider = 'mock',
- attachments = [
- null
- ],
quoted = unipile.models.get_messages_list_200_response_data_inner_quoted.getMessagesList_200_response_data_inner_quoted(
object = 'QuotedMessage',
id = '',
@@ -140,11 +155,8 @@ def make_instance(self, include_optional) -> GetMessagesList200Response:
], ),
forwarded = unipile.models.get_messages_list_200_response_data_inner_forwarded.getMessagesList_200_response_data_inner_forwarded(
text = '',
- attachments = [
- null
- ],
- object = 'ForwardedMessage', ),
- specifics = null, )
+ attachments = ,
+ object = 'ForwardedMessage', ), )
],
)
"""
diff --git a/test/test_get_messages_list200_response_data_inner.py b/test/test_get_messages_list200_response_data_inner.py
index 43276291e..a371dc0b4 100644
--- a/test/test_get_messages_list200_response_data_inner.py
+++ b/test/test_get_messages_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -53,24 +53,34 @@ def make_instance(self, include_optional) -> GetMessagesList200ResponseDataInner
event_type = 0,
event_metadata = None,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
+ provider = 'mock',
+ attachments = [
+ null
+ ],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ specifics = None,
sender = unipile.models.get_messages_list_200_response_data_inner_sender.getMessagesList_200_response_data_inner_sender(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- provider = 'mock',
- attachments = [
- null
- ],
+ description = '',
+ specifics = null, ),
quoted = unipile.models.get_messages_list_200_response_data_inner_quoted.getMessagesList_200_response_data_inner_quoted(
object = 'QuotedMessage',
id = '',
@@ -84,27 +94,32 @@ def make_instance(self, include_optional) -> GetMessagesList200ResponseDataInner
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), ),
+ description = '',
+ specifics = null, ), ),
forwarded = unipile.models.get_messages_list_200_response_data_inner_forwarded.getMessagesList_200_response_data_inner_forwarded(
text = '',
attachments = [
null
],
+ object = 'ForwardedMessage',
sender = unipile.models.get_messages_list_200_response_data_inner_sender.getMessagesList_200_response_data_inner_sender(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- object = 'ForwardedMessage', ),
- specifics = None
+ description = '',
+ specifics = null, ), )
)
else:
return GetMessagesList200ResponseDataInner(
@@ -123,7 +138,7 @@ def make_instance(self, include_optional) -> GetMessagesList200ResponseDataInner
is_event = True,
is_mentionned = True,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -131,6 +146,12 @@ def make_instance(self, include_optional) -> GetMessagesList200ResponseDataInner
attachments = [
null
],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
)
"""
diff --git a/test/test_get_messages_list200_response_data_inner_forwarded.py b/test/test_get_messages_list200_response_data_inner_forwarded.py
index 531e38b61..2f3d62708 100644
--- a/test/test_get_messages_list200_response_data_inner_forwarded.py
+++ b/test/test_get_messages_list200_response_data_inner_forwarded.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -39,17 +39,20 @@ def make_instance(self, include_optional) -> GetMessagesList200ResponseDataInner
attachments = [
null
],
+ object = 'ForwardedMessage',
sender = unipile.models.get_messages_list_200_response_data_inner_sender.getMessagesList_200_response_data_inner_sender(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- object = 'ForwardedMessage'
+ description = '',
+ specifics = null, )
)
else:
return GetMessagesList200ResponseDataInnerForwarded(
diff --git a/test/test_get_messages_list200_response_data_inner_quoted.py b/test/test_get_messages_list200_response_data_inner_quoted.py
index b93afdb6b..dcf9ce3e4 100644
--- a/test/test_get_messages_list200_response_data_inner_quoted.py
+++ b/test/test_get_messages_list200_response_data_inner_quoted.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -47,10 +47,13 @@ def make_instance(self, include_optional) -> GetMessagesList200ResponseDataInner
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
)
else:
return GetMessagesList200ResponseDataInnerQuoted(
diff --git a/test/test_get_messages_list200_response_data_inner_sender.py b/test/test_get_messages_list200_response_data_inner_sender.py
index e53e484ab..f27e66963 100644
--- a/test/test_get_messages_list200_response_data_inner_sender.py
+++ b/test/test_get_messages_list200_response_data_inner_sender.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,10 +40,13 @@ def make_instance(self, include_optional) -> GetMessagesList200ResponseDataInner
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = ''
+ description = '',
+ specifics = None
)
else:
return GetMessagesList200ResponseDataInnerSender(
diff --git a/test/test_get_messages_list200_response_data_inner_specifics.py b/test/test_get_messages_list200_response_data_inner_specifics.py
index 01d4f601f..56f953c75 100644
--- a/test/test_get_messages_list200_response_data_inner_specifics.py
+++ b/test/test_get_messages_list200_response_data_inner_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_participants_list200_response.py b/test/test_get_participants_list200_response.py
index 2f0d70160..3f68beb4b 100644
--- a/test/test_get_participants_list200_response.py
+++ b/test/test_get_participants_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,18 +38,21 @@ def make_instance(self, include_optional) -> GetParticipantsList200Response:
data = [
unipile.models.get_chats_list_200_response_data_inner_participants_inner.getChatsList_200_response_data_inner_participants_inner(
object = 'GroupParticipant',
+ is_self = True,
+ is_admin = True,
user = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_self = True,
- is_admin = True, )
+ description = '',
+ specifics = null, ), )
],
total_count = 1.337,
next_cursor = ''
@@ -59,18 +62,21 @@ def make_instance(self, include_optional) -> GetParticipantsList200Response:
data = [
unipile.models.get_chats_list_200_response_data_inner_participants_inner.getChatsList_200_response_data_inner_participants_inner(
object = 'GroupParticipant',
+ is_self = True,
+ is_admin = True,
user = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_self = True,
- is_admin = True, )
+ description = '',
+ specifics = null, ), )
],
)
"""
diff --git a/test/test_get_post200_response.py b/test/test_get_post200_response.py
index a226657f2..b1c532866 100644
--- a/test/test_get_post200_response.py
+++ b/test/test_get_post200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -41,23 +41,13 @@ def make_instance(self, include_optional) -> GetPost200Response:
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = None,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -98,40 +88,46 @@ def make_instance(self, include_optional) -> GetPost200Response:
followers_gained_from_this_post_counter = 1.337,
users_reached_counter = 1.337, ),
is_repost = True,
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
reposted_by = unipile.models.get_posts_list_200_response_data_inner_reposted_by.getPostsList_200_response_data_inner_reposted_by(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- quoted_post = unipile.models.get_posts_list_200_response_data_inner_quoted_post.getPostsList_200_response_data_inner_quoted_post(
+ description = '',
+ specifics = null, ),
+ quoted_post = unipile.models.get_post_200_response_quoted_post.getPost_200_response_quoted_post(
object = 'Post',
id = '',
share_url = '',
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -170,7 +166,65 @@ def make_instance(self, include_optional) -> GetPost200Response:
clickthrough_rate = 1.337,
page_viewers_from_this_post_counter = 1.337,
followers_gained_from_this_post_counter = 1.337,
- users_reached_counter = 1.337, ), )
+ users_reached_counter = 1.337, ),
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ specifics = unipile.models.get_posts_list_200_response_data_inner_specifics.getPostsList_200_response_data_inner_specifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting.getPostsList_200_response_data_inner_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting_company.getPostsList_200_response_data_inner_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_specifics_article.getPostsList_200_response_data_inner_specifics_article(
+ id = '',
+ title = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', ), ), ),
+ specifics = unipile.models.get_posts_list_200_response_data_inner_specifics.getPostsList_200_response_data_inner_specifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting.getPostsList_200_response_data_inner_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting_company.getPostsList_200_response_data_inner_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_specifics_article.getPostsList_200_response_data_inner_specifics_article(
+ id = '',
+ title = '',
+ author = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', ), )
)
else:
return GetPost200Response(
@@ -179,23 +233,13 @@ def make_instance(self, include_optional) -> GetPost200Response:
share_url = '',
created_at = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = None,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -205,6 +249,19 @@ def make_instance(self, include_optional) -> GetPost200Response:
null
],
is_repost = True,
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
)
"""
diff --git a/test/test_get_post200_response_quoted_post.py b/test/test_get_post200_response_quoted_post.py
new file mode 100644
index 000000000..75482f9df
--- /dev/null
+++ b/test/test_get_post200_response_quoted_post.py
@@ -0,0 +1,171 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_post200_response_quoted_post import GetPost200ResponseQuotedPost
+
+class TestGetPost200ResponseQuotedPost(unittest.TestCase):
+ """GetPost200ResponseQuotedPost unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetPost200ResponseQuotedPost:
+ """Test GetPost200ResponseQuotedPost
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetPost200ResponseQuotedPost`
+ """
+ model = GetPost200ResponseQuotedPost()
+ if include_optional:
+ return GetPost200ResponseQuotedPost(
+ object = 'Post',
+ id = '',
+ share_url = '',
+ created_at = '',
+ title = '',
+ text = '',
+ user_reacted = None,
+ permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
+ can_share = True,
+ can_react = True,
+ can_post_comments = True, ),
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ comments_counter = 1.337,
+ reposts_counter = 1.337,
+ poll = unipile.models.get_posts_list_200_response_data_inner_poll.getPostsList_200_response_data_inner_poll(
+ id = '',
+ total_votes_count = 1.337,
+ question = '',
+ is_open = True,
+ options = [
+ unipile.models.get_posts_list_200_response_data_inner_poll_options_inner.getPostsList_200_response_data_inner_poll_options_inner(
+ id = '',
+ text = '',
+ win = True,
+ votes_count = 1.337, )
+ ], ),
+ event = unipile.models.get_posts_list_200_response_data_inner_event.getPostsList_200_response_data_inner_event(
+ id = '',
+ name = '',
+ url = '',
+ online = True,
+ location = '',
+ description = '',
+ public_picture_url = '',
+ starts_on = '',
+ ends_on = '', ),
+ attachments = [
+ null
+ ],
+ analytics = unipile.models.get_posts_list_200_response_data_inner_analytics.getPostsList_200_response_data_inner_analytics(
+ impressions_counter = 1.337,
+ engagements_counter = 1.337,
+ engagement_rate = 1.337,
+ clicks_counter = 1.337,
+ clickthrough_rate = 1.337,
+ page_viewers_from_this_post_counter = 1.337,
+ followers_gained_from_this_post_counter = 1.337,
+ users_reached_counter = 1.337, ),
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ specifics = unipile.models.get_posts_list_200_response_data_inner_specifics.getPostsList_200_response_data_inner_specifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting.getPostsList_200_response_data_inner_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting_company.getPostsList_200_response_data_inner_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_specifics_article.getPostsList_200_response_data_inner_specifics_article(
+ id = '',
+ title = '',
+ author = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', ), )
+ )
+ else:
+ return GetPost200ResponseQuotedPost(
+ object = 'Post',
+ id = '',
+ share_url = '',
+ created_at = '',
+ text = '',
+ user_reacted = None,
+ permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
+ can_share = True,
+ can_react = True,
+ can_post_comments = True, ),
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ comments_counter = 1.337,
+ reposts_counter = 1.337,
+ attachments = [
+ null
+ ],
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ )
+ """
+
+ def testGetPost200ResponseQuotedPost(self):
+ """Test GetPost200ResponseQuotedPost"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_post_comments_list200_response.py b/test/test_get_post_comments_list200_response.py
index 3946fd9c7..d93ba14d0 100644
--- a/test/test_get_post_comments_list200_response.py
+++ b/test/test_get_post_comments_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,27 +40,34 @@ def make_instance(self, include_optional) -> GetPostCommentsList200Response:
object = 'Comment',
id = '',
thread_id = '',
- author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
created_at = '',
text = '',
+ attachments = [
+ null
+ ],
is_sender = True,
can_reply = True,
can_react = True,
reply_counter = 1.337,
+ impressions_counter = 1.337,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
- ], )
+ ],
+ author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), )
],
total_count = 1.337,
next_cursor = ''
@@ -72,27 +79,34 @@ def make_instance(self, include_optional) -> GetPostCommentsList200Response:
object = 'Comment',
id = '',
thread_id = '',
- author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
created_at = '',
text = '',
+ attachments = [
+ null
+ ],
is_sender = True,
can_reply = True,
can_react = True,
reply_counter = 1.337,
+ impressions_counter = 1.337,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
- ], )
+ ],
+ author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), )
],
)
"""
diff --git a/test/test_get_post_comments_list200_response_data_inner.py b/test/test_get_post_comments_list200_response_data_inner.py
index 5ab71bdac..2db5c5a2f 100644
--- a/test/test_get_post_comments_list200_response_data_inner.py
+++ b/test/test_get_post_comments_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,53 +38,66 @@ def make_instance(self, include_optional) -> GetPostCommentsList200ResponseDataI
object = 'Comment',
id = '',
thread_id = '',
- author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
created_at = '',
text = '',
+ attachments = [
+ null
+ ],
is_sender = True,
can_reply = True,
can_react = True,
reply_counter = 1.337,
+ impressions_counter = 1.337,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
- ]
- )
- else:
- return GetPostCommentsList200ResponseDataInner(
- object = 'Comment',
- id = '',
+ ],
author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, )
+ )
+ else:
+ return GetPostCommentsList200ResponseDataInner(
+ object = 'Comment',
+ id = '',
created_at = '',
text = '',
+ attachments = [
+ null
+ ],
is_sender = True,
can_reply = True,
can_react = True,
reply_counter = 1.337,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
+ author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
)
"""
diff --git a/test/test_get_post_comments_list200_response_data_inner_author.py b/test/test_get_post_comments_list200_response_data_inner_author.py
index 5cd71da13..8d10ec0a5 100644
--- a/test/test_get_post_comments_list200_response_data_inner_author.py
+++ b/test/test_get_post_comments_list200_response_data_inner_author.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,10 +40,13 @@ def make_instance(self, include_optional) -> GetPostCommentsList200ResponseDataI
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = ''
+ description = '',
+ specifics = None
)
else:
return GetPostCommentsList200ResponseDataInnerAuthor(
diff --git a/test/test_get_posts_list200_response.py b/test/test_get_posts_list200_response.py
index ac57b5940..cb7d2e91e 100644
--- a/test/test_get_posts_list200_response.py
+++ b/test/test_get_posts_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -43,23 +43,13 @@ def make_instance(self, include_optional) -> GetPostsList200Response:
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -100,12 +90,27 @@ def make_instance(self, include_optional) -> GetPostsList200Response:
followers_gained_from_this_post_counter = 1.337,
users_reached_counter = 1.337, ),
is_repost = True,
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
reposted_by = unipile.models.get_posts_list_200_response_data_inner_reposted_by.getPostsList_200_response_data_inner_reposted_by(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
@@ -117,23 +122,13 @@ def make_instance(self, include_optional) -> GetPostsList200Response:
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -141,7 +136,41 @@ def make_instance(self, include_optional) -> GetPostsList200Response:
reposts_counter = 1.337,
attachments = [
null
- ], ), )
+ ],
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '', ), ),
+ specifics = unipile.models.get_posts_list_200_response_data_inner_specifics.getPostsList_200_response_data_inner_specifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting.getPostsList_200_response_data_inner_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting_company.getPostsList_200_response_data_inner_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_specifics_article.getPostsList_200_response_data_inner_specifics_article(
+ id = '',
+ title = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', ), ), )
],
total_count = 1.337,
next_cursor = ''
@@ -156,23 +185,13 @@ def make_instance(self, include_optional) -> GetPostsList200Response:
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -213,12 +232,27 @@ def make_instance(self, include_optional) -> GetPostsList200Response:
followers_gained_from_this_post_counter = 1.337,
users_reached_counter = 1.337, ),
is_repost = True,
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
reposted_by = unipile.models.get_posts_list_200_response_data_inner_reposted_by.getPostsList_200_response_data_inner_reposted_by(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
@@ -230,23 +264,13 @@ def make_instance(self, include_optional) -> GetPostsList200Response:
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -254,7 +278,41 @@ def make_instance(self, include_optional) -> GetPostsList200Response:
reposts_counter = 1.337,
attachments = [
null
- ], ), )
+ ],
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '', ), ),
+ specifics = unipile.models.get_posts_list_200_response_data_inner_specifics.getPostsList_200_response_data_inner_specifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting.getPostsList_200_response_data_inner_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting_company.getPostsList_200_response_data_inner_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_specifics_article.getPostsList_200_response_data_inner_specifics_article(
+ id = '',
+ title = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', ), ), )
],
)
"""
diff --git a/test/test_get_posts_list200_response_data_inner.py b/test/test_get_posts_list200_response_data_inner.py
index dde9295a4..0170566a6 100644
--- a/test/test_get_posts_list200_response_data_inner.py
+++ b/test/test_get_posts_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -41,23 +41,13 @@ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInner:
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = None,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -98,16 +88,32 @@ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInner:
followers_gained_from_this_post_counter = 1.337,
users_reached_counter = 1.337, ),
is_repost = True,
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
reposted_by = unipile.models.get_posts_list_200_response_data_inner_reposted_by.getPostsList_200_response_data_inner_reposted_by(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
quoted_post = unipile.models.get_posts_list_200_response_data_inner_quoted_post.getPostsList_200_response_data_inner_quoted_post(
object = 'Post',
id = '',
@@ -115,23 +121,13 @@ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInner:
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -170,7 +166,65 @@ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInner:
clickthrough_rate = 1.337,
page_viewers_from_this_post_counter = 1.337,
followers_gained_from_this_post_counter = 1.337,
- users_reached_counter = 1.337, ), )
+ users_reached_counter = 1.337, ),
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ specifics = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics.getPostsList_200_response_data_inner_quoted_post_specifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_job_posting.getPostsList_200_response_data_inner_quoted_post_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_job_posting_company.getPostsList_200_response_data_inner_quoted_post_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_article.getPostsList_200_response_data_inner_quoted_post_specifics_article(
+ id = '',
+ title = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', ), ), ),
+ specifics = unipile.models.get_posts_list_200_response_data_inner_specifics.getPostsList_200_response_data_inner_specifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting.getPostsList_200_response_data_inner_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting_company.getPostsList_200_response_data_inner_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_specifics_article.getPostsList_200_response_data_inner_specifics_article(
+ id = '',
+ title = '',
+ author = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', ), )
)
else:
return GetPostsList200ResponseDataInner(
@@ -179,23 +233,13 @@ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInner:
share_url = '',
created_at = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = None,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -205,6 +249,19 @@ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInner:
null
],
is_repost = True,
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
)
"""
diff --git a/test/test_get_posts_list200_response_data_inner_analytics.py b/test/test_get_posts_list200_response_data_inner_analytics.py
index 32012b70c..e0c41afd6 100644
--- a/test/test_get_posts_list200_response_data_inner_analytics.py
+++ b/test/test_get_posts_list200_response_data_inner_analytics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_posts_list200_response_data_inner_author.py b/test/test_get_posts_list200_response_data_inner_author.py
index 987b9cf34..d190faa58 100644
--- a/test/test_get_posts_list200_response_data_inner_author.py
+++ b/test/test_get_posts_list200_response_data_inner_author.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,10 +40,13 @@ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerAut
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = ''
+ description = '',
+ specifics = None
)
else:
return GetPostsList200ResponseDataInnerAuthor(
diff --git a/test/test_get_posts_list200_response_data_inner_event.py b/test/test_get_posts_list200_response_data_inner_event.py
index 8c55edf37..a8da3cade 100644
--- a/test/test_get_posts_list200_response_data_inner_event.py
+++ b/test/test_get_posts_list200_response_data_inner_event.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_posts_list200_response_data_inner_permissions.py b/test/test_get_posts_list200_response_data_inner_permissions.py
index 9cb75c434..ee700df5b 100644
--- a/test/test_get_posts_list200_response_data_inner_permissions.py
+++ b/test/test_get_posts_list200_response_data_inner_permissions.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_posts_list200_response_data_inner_poll.py b/test/test_get_posts_list200_response_data_inner_poll.py
index 89bf4de64..a38aa79a0 100644
--- a/test/test_get_posts_list200_response_data_inner_poll.py
+++ b/test/test_get_posts_list200_response_data_inner_poll.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_posts_list200_response_data_inner_poll_options_inner.py b/test/test_get_posts_list200_response_data_inner_poll_options_inner.py
index e7401ba7a..bf366a885 100644
--- a/test/test_get_posts_list200_response_data_inner_poll_options_inner.py
+++ b/test/test_get_posts_list200_response_data_inner_poll_options_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_posts_list200_response_data_inner_quoted_post.py b/test/test_get_posts_list200_response_data_inner_quoted_post.py
index abfbebd00..45cddcfc4 100644
--- a/test/test_get_posts_list200_response_data_inner_quoted_post.py
+++ b/test/test_get_posts_list200_response_data_inner_quoted_post.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -41,23 +41,13 @@ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerQuo
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = None,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -96,32 +86,58 @@ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerQuo
clickthrough_rate = 1.337,
page_viewers_from_this_post_counter = 1.337,
followers_gained_from_this_post_counter = 1.337,
- users_reached_counter = 1.337, )
- )
- else:
- return GetPostsList200ResponseDataInnerQuotedPost(
- object = 'Post',
- id = '',
- share_url = '',
- created_at = '',
- text = '',
+ users_reached_counter = 1.337, ),
author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
+ specifics = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics.getPostsList_200_response_data_inner_quoted_post_specifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_job_posting.getPostsList_200_response_data_inner_quoted_post_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_job_posting_company.getPostsList_200_response_data_inner_quoted_post_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_article.getPostsList_200_response_data_inner_quoted_post_specifics_article(
+ id = '',
+ title = '',
+ author = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', ), )
+ )
+ else:
+ return GetPostsList200ResponseDataInnerQuotedPost(
+ object = 'Post',
+ id = '',
+ share_url = '',
+ created_at = '',
+ text = '',
user_reacted = None,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -130,6 +146,19 @@ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerQuo
attachments = [
null
],
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
)
"""
diff --git a/test/test_get_posts_list200_response_data_inner_quoted_post_specifics.py b/test/test_get_posts_list200_response_data_inner_quoted_post_specifics.py
new file mode 100644
index 000000000..9c8bfa2bc
--- /dev/null
+++ b/test/test_get_posts_list200_response_data_inner_quoted_post_specifics.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics import GetPostsList200ResponseDataInnerQuotedPostSpecifics
+
+class TestGetPostsList200ResponseDataInnerQuotedPostSpecifics(unittest.TestCase):
+ """GetPostsList200ResponseDataInnerQuotedPostSpecifics unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerQuotedPostSpecifics:
+ """Test GetPostsList200ResponseDataInnerQuotedPostSpecifics
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetPostsList200ResponseDataInnerQuotedPostSpecifics`
+ """
+ model = GetPostsList200ResponseDataInnerQuotedPostSpecifics()
+ if include_optional:
+ return GetPostsList200ResponseDataInnerQuotedPostSpecifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_job_posting.getPostsList_200_response_data_inner_quoted_post_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_job_posting_company.getPostsList_200_response_data_inner_quoted_post_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_article.getPostsList_200_response_data_inner_quoted_post_specifics_article(
+ id = '',
+ title = '',
+ author = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', )
+ )
+ else:
+ return GetPostsList200ResponseDataInnerQuotedPostSpecifics(
+ )
+ """
+
+ def testGetPostsList200ResponseDataInnerQuotedPostSpecifics(self):
+ """Test GetPostsList200ResponseDataInnerQuotedPostSpecifics"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_article.py b/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_article.py
new file mode 100644
index 000000000..3123249bb
--- /dev/null
+++ b/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_article.py
@@ -0,0 +1,59 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_article import GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle
+
+class TestGetPostsList200ResponseDataInnerQuotedPostSpecificsArticle(unittest.TestCase):
+ """GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle:
+ """Test GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle`
+ """
+ model = GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle()
+ if include_optional:
+ return GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle(
+ id = '',
+ title = '',
+ author = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = ''
+ )
+ else:
+ return GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle(
+ id = '',
+ title = '',
+ )
+ """
+
+ def testGetPostsList200ResponseDataInnerQuotedPostSpecificsArticle(self):
+ """Test GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_job_posting.py b/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_job_posting.py
new file mode 100644
index 000000000..a3a5139b3
--- /dev/null
+++ b/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_job_posting.py
@@ -0,0 +1,64 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_job_posting import GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting
+
+class TestGetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting(unittest.TestCase):
+ """GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting:
+ """Test GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting`
+ """
+ model = GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting()
+ if include_optional:
+ return GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_job_posting_company.getPostsList_200_response_data_inner_quoted_post_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', )
+ )
+ else:
+ return GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_job_posting_company.getPostsList_200_response_data_inner_quoted_post_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ),
+ )
+ """
+
+ def testGetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting(self):
+ """Test GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company.py b/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company.py
new file mode 100644
index 000000000..ce9d37b36
--- /dev/null
+++ b/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company.py
@@ -0,0 +1,55 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company import GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany
+
+class TestGetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany(unittest.TestCase):
+ """GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany:
+ """Test GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany`
+ """
+ model = GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany()
+ if include_optional:
+ return GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany(
+ id = '',
+ name = '',
+ picture_url = ''
+ )
+ else:
+ return GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany(
+ id = '',
+ name = '',
+ )
+ """
+
+ def testGetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany(self):
+ """Test GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner.py b/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner.py
new file mode 100644
index 000000000..b63242ea8
--- /dev/null
+++ b/test/test_get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner.py
@@ -0,0 +1,56 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner import GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner
+
+class TestGetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner(unittest.TestCase):
+ """GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner:
+ """Test GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner`
+ """
+ model = GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner()
+ if include_optional:
+ return GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner(
+ url = '',
+ start = 1.337,
+ length = 1.337
+ )
+ else:
+ return GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner(
+ url = '',
+ start = 1.337,
+ length = 1.337,
+ )
+ """
+
+ def testGetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner(self):
+ """Test GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_posts_list200_response_data_inner_quoted_post_user_reacted.py b/test/test_get_posts_list200_response_data_inner_quoted_post_user_reacted.py
index dd466d850..fb58c81ce 100644
--- a/test/test_get_posts_list200_response_data_inner_quoted_post_user_reacted.py
+++ b/test/test_get_posts_list200_response_data_inner_quoted_post_user_reacted.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_posts_list200_response_data_inner_reposted_by.py b/test/test_get_posts_list200_response_data_inner_reposted_by.py
index 5e58be649..27824006a 100644
--- a/test/test_get_posts_list200_response_data_inner_reposted_by.py
+++ b/test/test_get_posts_list200_response_data_inner_reposted_by.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,10 +40,13 @@ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerRep
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = ''
+ description = '',
+ specifics = None
)
else:
return GetPostsList200ResponseDataInnerRepostedBy(
diff --git a/test/test_get_posts_list200_response_data_inner_specifics.py b/test/test_get_posts_list200_response_data_inner_specifics.py
new file mode 100644
index 000000000..b8dbfeab5
--- /dev/null
+++ b/test/test_get_posts_list200_response_data_inner_specifics.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_posts_list200_response_data_inner_specifics import GetPostsList200ResponseDataInnerSpecifics
+
+class TestGetPostsList200ResponseDataInnerSpecifics(unittest.TestCase):
+ """GetPostsList200ResponseDataInnerSpecifics unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerSpecifics:
+ """Test GetPostsList200ResponseDataInnerSpecifics
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetPostsList200ResponseDataInnerSpecifics`
+ """
+ model = GetPostsList200ResponseDataInnerSpecifics()
+ if include_optional:
+ return GetPostsList200ResponseDataInnerSpecifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting.getPostsList_200_response_data_inner_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting_company.getPostsList_200_response_data_inner_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_specifics_article.getPostsList_200_response_data_inner_specifics_article(
+ id = '',
+ title = '',
+ author = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', )
+ )
+ else:
+ return GetPostsList200ResponseDataInnerSpecifics(
+ )
+ """
+
+ def testGetPostsList200ResponseDataInnerSpecifics(self):
+ """Test GetPostsList200ResponseDataInnerSpecifics"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_posts_list200_response_data_inner_specifics_article.py b/test/test_get_posts_list200_response_data_inner_specifics_article.py
new file mode 100644
index 000000000..c62224791
--- /dev/null
+++ b/test/test_get_posts_list200_response_data_inner_specifics_article.py
@@ -0,0 +1,59 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_posts_list200_response_data_inner_specifics_article import GetPostsList200ResponseDataInnerSpecificsArticle
+
+class TestGetPostsList200ResponseDataInnerSpecificsArticle(unittest.TestCase):
+ """GetPostsList200ResponseDataInnerSpecificsArticle unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerSpecificsArticle:
+ """Test GetPostsList200ResponseDataInnerSpecificsArticle
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetPostsList200ResponseDataInnerSpecificsArticle`
+ """
+ model = GetPostsList200ResponseDataInnerSpecificsArticle()
+ if include_optional:
+ return GetPostsList200ResponseDataInnerSpecificsArticle(
+ id = '',
+ title = '',
+ author = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = ''
+ )
+ else:
+ return GetPostsList200ResponseDataInnerSpecificsArticle(
+ id = '',
+ title = '',
+ )
+ """
+
+ def testGetPostsList200ResponseDataInnerSpecificsArticle(self):
+ """Test GetPostsList200ResponseDataInnerSpecificsArticle"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_posts_list200_response_data_inner_specifics_job_posting.py b/test/test_get_posts_list200_response_data_inner_specifics_job_posting.py
new file mode 100644
index 000000000..8b3a5d0a5
--- /dev/null
+++ b/test/test_get_posts_list200_response_data_inner_specifics_job_posting.py
@@ -0,0 +1,64 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_posts_list200_response_data_inner_specifics_job_posting import GetPostsList200ResponseDataInnerSpecificsJobPosting
+
+class TestGetPostsList200ResponseDataInnerSpecificsJobPosting(unittest.TestCase):
+ """GetPostsList200ResponseDataInnerSpecificsJobPosting unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerSpecificsJobPosting:
+ """Test GetPostsList200ResponseDataInnerSpecificsJobPosting
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetPostsList200ResponseDataInnerSpecificsJobPosting`
+ """
+ model = GetPostsList200ResponseDataInnerSpecificsJobPosting()
+ if include_optional:
+ return GetPostsList200ResponseDataInnerSpecificsJobPosting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting_company.getPostsList_200_response_data_inner_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', )
+ )
+ else:
+ return GetPostsList200ResponseDataInnerSpecificsJobPosting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting_company.getPostsList_200_response_data_inner_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ),
+ )
+ """
+
+ def testGetPostsList200ResponseDataInnerSpecificsJobPosting(self):
+ """Test GetPostsList200ResponseDataInnerSpecificsJobPosting"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_posts_list200_response_data_inner_specifics_job_posting_company.py b/test/test_get_posts_list200_response_data_inner_specifics_job_posting_company.py
new file mode 100644
index 000000000..4aa221f1c
--- /dev/null
+++ b/test/test_get_posts_list200_response_data_inner_specifics_job_posting_company.py
@@ -0,0 +1,55 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_posts_list200_response_data_inner_specifics_job_posting_company import GetPostsList200ResponseDataInnerSpecificsJobPostingCompany
+
+class TestGetPostsList200ResponseDataInnerSpecificsJobPostingCompany(unittest.TestCase):
+ """GetPostsList200ResponseDataInnerSpecificsJobPostingCompany unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetPostsList200ResponseDataInnerSpecificsJobPostingCompany:
+ """Test GetPostsList200ResponseDataInnerSpecificsJobPostingCompany
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetPostsList200ResponseDataInnerSpecificsJobPostingCompany`
+ """
+ model = GetPostsList200ResponseDataInnerSpecificsJobPostingCompany()
+ if include_optional:
+ return GetPostsList200ResponseDataInnerSpecificsJobPostingCompany(
+ id = '',
+ name = '',
+ picture_url = ''
+ )
+ else:
+ return GetPostsList200ResponseDataInnerSpecificsJobPostingCompany(
+ id = '',
+ name = '',
+ )
+ """
+
+ def testGetPostsList200ResponseDataInnerSpecificsJobPostingCompany(self):
+ """Test GetPostsList200ResponseDataInnerSpecificsJobPostingCompany"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_posts_list200_response_data_inner_user_reacted.py b/test/test_get_posts_list200_response_data_inner_user_reacted.py
index 7d6e2af8b..c5f9760b6 100644
--- a/test/test_get_posts_list200_response_data_inner_user_reacted.py
+++ b/test/test_get_posts_list200_response_data_inner_user_reacted.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_hiring_project200_response.py b/test/test_get_recruiter_hiring_project200_response.py
index e73d437ed..3690203d9 100644
--- a/test/test_get_recruiter_hiring_project200_response.py
+++ b/test/test_get_recruiter_hiring_project200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -39,6 +39,7 @@ def make_instance(self, include_optional) -> GetRecruiterHiringProject200Respons
id = '',
name = '',
readonly = True,
+ archived = True,
created_at = '',
last_accessed_at = '',
last_modified_at = '',
@@ -104,6 +105,7 @@ def make_instance(self, include_optional) -> GetRecruiterHiringProject200Respons
id = '',
name = '',
readonly = True,
+ archived = True,
created_at = '',
last_modified_at = '',
visibility = 'PRIVATE',
diff --git a/test/test_get_recruiter_hiring_project200_response_metadata.py b/test/test_get_recruiter_hiring_project200_response_metadata.py
index 2b34940c6..28decfa0e 100644
--- a/test/test_get_recruiter_hiring_project200_response_metadata.py
+++ b/test/test_get_recruiter_hiring_project200_response_metadata.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_hiring_project_list200_response.py b/test/test_get_recruiter_hiring_project_list200_response.py
index 99694aae7..61785fa0b 100644
--- a/test/test_get_recruiter_hiring_project_list200_response.py
+++ b/test/test_get_recruiter_hiring_project_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -41,6 +41,7 @@ def make_instance(self, include_optional) -> GetRecruiterHiringProjectList200Res
id = '',
name = '',
readonly = True,
+ archived = True,
created_at = '',
last_accessed_at = '',
last_modified_at = '',
@@ -111,6 +112,7 @@ def make_instance(self, include_optional) -> GetRecruiterHiringProjectList200Res
id = '',
name = '',
readonly = True,
+ archived = True,
created_at = '',
last_accessed_at = '',
last_modified_at = '',
diff --git a/test/test_get_recruiter_hiring_project_list200_response_data_inner.py b/test/test_get_recruiter_hiring_project_list200_response_data_inner.py
index 413ee9ae1..1bc1e34c9 100644
--- a/test/test_get_recruiter_hiring_project_list200_response_data_inner.py
+++ b/test/test_get_recruiter_hiring_project_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -39,6 +39,7 @@ def make_instance(self, include_optional) -> GetRecruiterHiringProjectList200Res
id = '',
name = '',
readonly = True,
+ archived = True,
created_at = '',
last_accessed_at = '',
last_modified_at = '',
@@ -104,6 +105,7 @@ def make_instance(self, include_optional) -> GetRecruiterHiringProjectList200Res
id = '',
name = '',
readonly = True,
+ archived = True,
created_at = '',
last_modified_at = '',
visibility = 'PRIVATE',
diff --git a/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata.py b/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata.py
index 7d61e9cb2..99cc0a343 100644
--- a/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata.py
+++ b/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata_company.py b/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata_company.py
index df865ea5f..9df41514b 100644
--- a/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata_company.py
+++ b/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata_locations_inner.py b/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata_locations_inner.py
index 62dd5e2d2..ad0844bd0 100644
--- a/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata_locations_inner.py
+++ b/test/test_get_recruiter_hiring_project_list200_response_data_inner_metadata_locations_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -41,7 +41,6 @@ def make_instance(self, include_optional) -> GetRecruiterHiringProjectList200Res
else:
return GetRecruiterHiringProjectList200ResponseDataInnerMetadataLocationsInner(
name = '',
- timezone = '',
)
"""
diff --git a/test/test_get_recruiter_hiring_project_list200_response_data_inner_owner.py b/test/test_get_recruiter_hiring_project_list200_response_data_inner_owner.py
index 06999a65c..bbc935a76 100644
--- a/test/test_get_recruiter_hiring_project_list200_response_data_inner_owner.py
+++ b/test/test_get_recruiter_hiring_project_list200_response_data_inner_owner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -48,7 +48,6 @@ def make_instance(self, include_optional) -> GetRecruiterHiringProjectList200Res
id = '',
seat_id = '',
name = '',
- email = '',
profile_url = '',
profile_headline = '',
)
diff --git a/test/test_get_recruiter_hiring_project_list200_response_data_inner_pipeline.py b/test/test_get_recruiter_hiring_project_list200_response_data_inner_pipeline.py
index 343346f79..589772e77 100644
--- a/test/test_get_recruiter_hiring_project_list200_response_data_inner_pipeline.py
+++ b/test/test_get_recruiter_hiring_project_list200_response_data_inner_pipeline.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_hiring_project_list200_response_data_inner_pipeline_stages_inner.py b/test/test_get_recruiter_hiring_project_list200_response_data_inner_pipeline_stages_inner.py
index eb6954a5b..7bc05440c 100644
--- a/test/test_get_recruiter_hiring_project_list200_response_data_inner_pipeline_stages_inner.py
+++ b/test/test_get_recruiter_hiring_project_list200_response_data_inner_pipeline_stages_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_hiring_project_list200_response_data_inner_talent_pool.py b/test/test_get_recruiter_hiring_project_list200_response_data_inner_talent_pool.py
index e8991163b..299cb6160 100644
--- a/test/test_get_recruiter_hiring_project_list200_response_data_inner_talent_pool.py
+++ b/test/test_get_recruiter_hiring_project_list200_response_data_inner_talent_pool.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_hiring_project_list200_response_data_inner_talent_pool_channels_inner.py b/test/test_get_recruiter_hiring_project_list200_response_data_inner_talent_pool_channels_inner.py
index 1d44fb75f..acdc2131c 100644
--- a/test/test_get_recruiter_hiring_project_list200_response_data_inner_talent_pool_channels_inner.py
+++ b/test/test_get_recruiter_hiring_project_list200_response_data_inner_talent_pool_channels_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_job_posting_budget200_response.py b/test/test_get_recruiter_job_posting_budget200_response.py
index 9d28f900f..732a38674 100644
--- a/test/test_get_recruiter_job_posting_budget200_response.py
+++ b/test/test_get_recruiter_job_posting_budget200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_job_posting_budget200_response_free.py b/test/test_get_recruiter_job_posting_budget200_response_free.py
index a4f7cae3f..1cc16786b 100644
--- a/test/test_get_recruiter_job_posting_budget200_response_free.py
+++ b/test/test_get_recruiter_job_posting_budget200_response_free.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_job_posting_budget200_response_promoted.py b/test/test_get_recruiter_job_posting_budget200_response_promoted.py
index 97a3d4293..7e3a6c7ba 100644
--- a/test/test_get_recruiter_job_posting_budget200_response_promoted.py
+++ b/test/test_get_recruiter_job_posting_budget200_response_promoted.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_job_posting_budget200_response_promoted_daily.py b/test/test_get_recruiter_job_posting_budget200_response_promoted_daily.py
index 56823fe49..2d5c3ef90 100644
--- a/test/test_get_recruiter_job_posting_budget200_response_promoted_daily.py
+++ b/test/test_get_recruiter_job_posting_budget200_response_promoted_daily.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_job_posting_by_project_id200_response.py b/test/test_get_recruiter_job_posting_by_project_id200_response.py
index b6be6365e..42f99317e 100644
--- a/test/test_get_recruiter_job_posting_by_project_id200_response.py
+++ b/test/test_get_recruiter_job_posting_by_project_id200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_job_posting_by_project_id200_response_company.py b/test/test_get_recruiter_job_posting_by_project_id200_response_company.py
index d1fbd96b1..f2e40feb7 100644
--- a/test/test_get_recruiter_job_posting_by_project_id200_response_company.py
+++ b/test/test_get_recruiter_job_posting_by_project_id200_response_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_job_posting_by_project_id200_response_hiring_team_inner.py b/test/test_get_recruiter_job_posting_by_project_id200_response_hiring_team_inner.py
index 735656553..b82505407 100644
--- a/test/test_get_recruiter_job_posting_by_project_id200_response_hiring_team_inner.py
+++ b/test/test_get_recruiter_job_posting_by_project_id200_response_hiring_team_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_job_posting_by_project_id200_response_screening_questions_inner.py b/test/test_get_recruiter_job_posting_by_project_id200_response_screening_questions_inner.py
index 440037644..26133691a 100644
--- a/test/test_get_recruiter_job_posting_by_project_id200_response_screening_questions_inner.py
+++ b/test/test_get_recruiter_job_posting_by_project_id200_response_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -45,9 +45,6 @@ def make_instance(self, include_optional) -> GetRecruiterJobPostingByProjectId20
return GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInner(
question = '',
is_eliminatory = True,
- choices = [
- null
- ],
)
"""
diff --git a/test/test_get_recruiter_job_posting_by_project_id200_response_screening_questions_inner_choices_inner.py b/test/test_get_recruiter_job_posting_by_project_id200_response_screening_questions_inner_choices_inner.py
index 69b8c6cc2..4c406d5d6 100644
--- a/test/test_get_recruiter_job_posting_by_project_id200_response_screening_questions_inner_choices_inner.py
+++ b/test/test_get_recruiter_job_posting_by_project_id200_response_screening_questions_inner_choices_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_job_posting_list200_response.py b/test/test_get_recruiter_job_posting_list200_response.py
index 2a1342306..ca4739331 100644
--- a/test/test_get_recruiter_job_posting_list200_response.py
+++ b/test/test_get_recruiter_job_posting_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_job_posting_list200_response_data_inner.py b/test/test_get_recruiter_job_posting_list200_response_data_inner.py
index eef8a1e85..165ac061b 100644
--- a/test/test_get_recruiter_job_posting_list200_response_data_inner.py
+++ b/test/test_get_recruiter_job_posting_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_pipeline_candidates_request.py b/test/test_get_recruiter_pipeline_candidates_request.py
index 46429a296..f0329d721 100644
--- a/test/test_get_recruiter_pipeline_candidates_request.py
+++ b/test/test_get_recruiter_pipeline_candidates_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_pipeline_candidates_request_recruiting_activity.py b/test/test_get_recruiter_pipeline_candidates_request_recruiting_activity.py
index 605135ad2..cf1b8e540 100644
--- a/test/test_get_recruiter_pipeline_candidates_request_recruiting_activity.py
+++ b/test/test_get_recruiter_pipeline_candidates_request_recruiting_activity.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_search_parameters_request.py b/test/test_get_recruiter_search_parameters_request.py
index a5fd093ac..2c2890c85 100644
--- a/test/test_get_recruiter_search_parameters_request.py
+++ b/test/test_get_recruiter_search_parameters_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,18 +37,14 @@ def make_instance(self, include_optional) -> GetRecruiterSearchParametersRequest
return GetRecruiterSearchParametersRequest(
source = 'JOBS',
project_id = '',
- channel_id = '',
keywords = '',
type = 'SKILL',
- stage_id = '',
- offset = 1.337,
- limit = 1
+ stage_id = ''
)
else:
return GetRecruiterSearchParametersRequest(
source = 'JOBS',
project_id = '',
- channel_id = '',
type = 'SKILL',
)
"""
diff --git a/test/test_get_recruiter_talent_pool_applicants_request.py b/test/test_get_recruiter_talent_pool_applicants_request.py
index 653fdef08..5699ce349 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,7 +35,6 @@ def make_instance(self, include_optional) -> GetRecruiterTalentPoolApplicantsReq
model = GetRecruiterTalentPoolApplicantsRequest()
if include_optional:
return GetRecruiterTalentPoolApplicantsRequest(
- channel_id = '',
keywords = '',
sort_by = 'SCREENING_REQUIREMENTS',
spotlights = [
@@ -127,7 +126,6 @@ def make_instance(self, include_optional) -> GetRecruiterTalentPoolApplicantsReq
)
else:
return GetRecruiterTalentPoolApplicantsRequest(
- channel_id = '',
)
"""
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_company.py b/test/test_get_recruiter_talent_pool_applicants_request_company.py
index c400afc16..816b84f32 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_company.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_company_size_inner.py b/test/test_get_recruiter_talent_pool_applicants_request_company_size_inner.py
index 48924fe2c..3a934f957 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_company_size_inner.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_company_size_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_current_company.py b/test/test_get_recruiter_talent_pool_applicants_request_current_company.py
index e1b78e24a..a15bc8141 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_current_company.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_current_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_degree.py b/test/test_get_recruiter_talent_pool_applicants_request_degree.py
index 5c9724b53..10dc66b29 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_degree.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_degree.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_field_of_study.py b/test/test_get_recruiter_talent_pool_applicants_request_field_of_study.py
index 86de631be..ed2c9e459 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_field_of_study.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_field_of_study.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_network_distance_inner.py b/test/test_get_recruiter_talent_pool_applicants_request_network_distance_inner.py
index 30b95f09f..b1799e85f 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_network_distance_inner.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_network_distance_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_school.py b/test/test_get_recruiter_talent_pool_applicants_request_school.py
index 269e4e505..189e93ea6 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_school.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_school.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_spoken_language_inner.py b/test/test_get_recruiter_talent_pool_applicants_request_spoken_language_inner.py
index d5ad32fff..6a7ad3838 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_spoken_language_inner.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_spoken_language_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_tags.py b/test/test_get_recruiter_talent_pool_applicants_request_tags.py
index b894923d4..5fd28659a 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_tags.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_tags.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_years_in_current_company.py b/test/test_get_recruiter_talent_pool_applicants_request_years_in_current_company.py
index c6559e9bf..5fa4545bd 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_years_in_current_company.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_years_in_current_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_years_in_current_position.py b/test/test_get_recruiter_talent_pool_applicants_request_years_in_current_position.py
index cc5551784..9b95db1b1 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_years_in_current_position.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_years_in_current_position.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_recruiter_talent_pool_applicants_request_years_of_experience.py b/test/test_get_recruiter_talent_pool_applicants_request_years_of_experience.py
index f2ac2c458..75ac2013f 100644
--- a/test/test_get_recruiter_talent_pool_applicants_request_years_of_experience.py
+++ b/test/test_get_recruiter_talent_pool_applicants_request_years_of_experience.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_relation_requests_list200_response.py b/test/test_get_relation_requests_list200_response.py
index b64190ac3..b6c4922a9 100644
--- a/test/test_get_relation_requests_list200_response.py
+++ b/test/test_get_relation_requests_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,22 +36,25 @@ def make_instance(self, include_optional) -> GetRelationRequestsList200Response:
if include_optional:
return GetRelationRequestsList200Response(
data = [
- unipile.models.linked_in_relation_request.LinkedIn_relation_request(
+ unipile.models.get_relation_requests_list_200_response_data_inner.getRelationRequestsList_200_response_data_inner(
object = 'RelationRequest',
- user = unipile.models.linked_in_relation_request_user.LinkedIn_relation_request_user(
+ type = 'sent',
+ id = '',
+ created_at = '',
+ message = '',
+ user = unipile.models.get_relation_requests_list_200_response_data_inner_user.getRelationRequestsList_200_response_data_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- type = 'sent',
- id = '',
- created_at = '',
- message = '', )
+ description = '',
+ specifics = null, ), )
],
total_count = 1.337,
next_cursor = ''
@@ -59,22 +62,25 @@ def make_instance(self, include_optional) -> GetRelationRequestsList200Response:
else:
return GetRelationRequestsList200Response(
data = [
- unipile.models.linked_in_relation_request.LinkedIn_relation_request(
+ unipile.models.get_relation_requests_list_200_response_data_inner.getRelationRequestsList_200_response_data_inner(
object = 'RelationRequest',
- user = unipile.models.linked_in_relation_request_user.LinkedIn_relation_request_user(
+ type = 'sent',
+ id = '',
+ created_at = '',
+ message = '',
+ user = unipile.models.get_relation_requests_list_200_response_data_inner_user.getRelationRequestsList_200_response_data_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- type = 'sent',
- id = '',
- created_at = '',
- message = '', )
+ description = '',
+ specifics = null, ), )
],
)
"""
diff --git a/test/test_get_relation_requests_list200_response_data_inner.py b/test/test_get_relation_requests_list200_response_data_inner.py
new file mode 100644
index 000000000..17bc079e2
--- /dev/null
+++ b/test/test_get_relation_requests_list200_response_data_inner.py
@@ -0,0 +1,71 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_relation_requests_list200_response_data_inner import GetRelationRequestsList200ResponseDataInner
+
+class TestGetRelationRequestsList200ResponseDataInner(unittest.TestCase):
+ """GetRelationRequestsList200ResponseDataInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetRelationRequestsList200ResponseDataInner:
+ """Test GetRelationRequestsList200ResponseDataInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetRelationRequestsList200ResponseDataInner`
+ """
+ model = GetRelationRequestsList200ResponseDataInner()
+ if include_optional:
+ return GetRelationRequestsList200ResponseDataInner(
+ object = 'RelationRequest',
+ type = 'sent',
+ id = '',
+ created_at = '',
+ message = '',
+ user = unipile.models.get_relation_requests_list_200_response_data_inner_user.getRelationRequestsList_200_response_data_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, )
+ )
+ else:
+ return GetRelationRequestsList200ResponseDataInner(
+ object = 'RelationRequest',
+ type = 'sent',
+ id = '',
+ )
+ """
+
+ def testGetRelationRequestsList200ResponseDataInner(self):
+ """Test GetRelationRequestsList200ResponseDataInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_relation_requests_list200_response_data_inner_user.py b/test/test_get_relation_requests_list200_response_data_inner_user.py
new file mode 100644
index 000000000..88a75c97b
--- /dev/null
+++ b/test/test_get_relation_requests_list200_response_data_inner_user.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.get_relation_requests_list200_response_data_inner_user import GetRelationRequestsList200ResponseDataInnerUser
+
+class TestGetRelationRequestsList200ResponseDataInnerUser(unittest.TestCase):
+ """GetRelationRequestsList200ResponseDataInnerUser unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> GetRelationRequestsList200ResponseDataInnerUser:
+ """Test GetRelationRequestsList200ResponseDataInnerUser
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `GetRelationRequestsList200ResponseDataInnerUser`
+ """
+ model = GetRelationRequestsList200ResponseDataInnerUser()
+ if include_optional:
+ return GetRelationRequestsList200ResponseDataInnerUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = None
+ )
+ else:
+ return GetRelationRequestsList200ResponseDataInnerUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testGetRelationRequestsList200ResponseDataInnerUser(self):
+ """Test GetRelationRequestsList200ResponseDataInnerUser"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_get_sales_account_lists200_response.py b/test/test_get_sales_account_lists200_response.py
index 0fb79c711..646606f4d 100644
--- a/test/test_get_sales_account_lists200_response.py
+++ b/test/test_get_sales_account_lists200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_sales_account_lists200_response_data_inner.py b/test/test_get_sales_account_lists200_response_data_inner.py
index b5dab388a..bd71cfcaa 100644
--- a/test/test_get_sales_account_lists200_response_data_inner.py
+++ b/test/test_get_sales_account_lists200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_sales_lead_lists200_response.py b/test/test_get_sales_lead_lists200_response.py
index 399060bc5..2c0703fa2 100644
--- a/test/test_get_sales_lead_lists200_response.py
+++ b/test/test_get_sales_lead_lists200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_sales_lead_lists200_response_data_inner.py b/test/test_get_sales_lead_lists200_response_data_inner.py
index 3cb84e097..112087699 100644
--- a/test/test_get_sales_lead_lists200_response_data_inner.py
+++ b/test/test_get_sales_lead_lists200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_thread200_response.py b/test/test_get_thread200_response.py
index c4955690d..dc91c20ea 100644
--- a/test/test_get_thread200_response.py
+++ b/test/test_get_thread200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_thread200_response_emails_inner.py b/test/test_get_thread200_response_emails_inner.py
index b273d235e..f19157158 100644
--- a/test/test_get_thread200_response_emails_inner.py
+++ b/test/test_get_thread200_response_emails_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_user_chat200_response.py b/test/test_get_user_chat200_response.py
index 66de0fa21..ba4f175e2 100644
--- a/test/test_get_user_chat200_response.py
+++ b/test/test_get_user_chat200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_user_chat200_response_data_inner.py b/test/test_get_user_chat200_response_data_inner.py
index ba195fe37..e575a0b4b 100644
--- a/test/test_get_user_chat200_response_data_inner.py
+++ b/test/test_get_user_chat200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_user_comments_list200_response.py b/test/test_get_user_comments_list200_response.py
index 8f548fee8..b4aeb2247 100644
--- a/test/test_get_user_comments_list200_response.py
+++ b/test/test_get_user_comments_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,27 +40,34 @@ def make_instance(self, include_optional) -> GetUserCommentsList200Response:
object = 'Comment',
id = '',
thread_id = '',
- author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
created_at = '',
text = '',
+ attachments = [
+ null
+ ],
is_sender = True,
can_reply = True,
can_react = True,
reply_counter = 1.337,
+ impressions_counter = 1.337,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
+ author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
parent_post = null, )
],
total_count = 1.337,
@@ -73,27 +80,34 @@ def make_instance(self, include_optional) -> GetUserCommentsList200Response:
object = 'Comment',
id = '',
thread_id = '',
- author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
created_at = '',
text = '',
+ attachments = [
+ null
+ ],
is_sender = True,
can_reply = True,
can_react = True,
reply_counter = 1.337,
+ impressions_counter = 1.337,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
+ author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
parent_post = null, )
],
)
diff --git a/test/test_get_user_comments_list200_response_data_inner.py b/test/test_get_user_comments_list200_response_data_inner.py
index 2794046f6..6b3ba7d18 100644
--- a/test/test_get_user_comments_list200_response_data_inner.py
+++ b/test/test_get_user_comments_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,54 +38,67 @@ def make_instance(self, include_optional) -> GetUserCommentsList200ResponseDataI
object = 'Comment',
id = '',
thread_id = '',
- author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
created_at = '',
text = '',
+ attachments = [
+ null
+ ],
is_sender = True,
can_reply = True,
can_react = True,
reply_counter = 1.337,
+ impressions_counter = 1.337,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
- parent_post = None
- )
- else:
- return GetUserCommentsList200ResponseDataInner(
- object = 'Comment',
- id = '',
author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
+ parent_post = None
+ )
+ else:
+ return GetUserCommentsList200ResponseDataInner(
+ object = 'Comment',
+ id = '',
created_at = '',
text = '',
+ attachments = [
+ null
+ ],
is_sender = True,
can_reply = True,
can_react = True,
reply_counter = 1.337,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
+ author = unipile.models.get_post_comments_list_200_response_data_inner_author.getPostCommentsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
parent_post = None,
)
"""
diff --git a/test/test_get_user_comments_list200_response_data_inner_parent_post.py b/test/test_get_user_comments_list200_response_data_inner_parent_post.py
index 139c48bf3..0baa0af60 100644
--- a/test/test_get_user_comments_list200_response_data_inner_parent_post.py
+++ b/test/test_get_user_comments_list200_response_data_inner_parent_post.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -39,19 +39,22 @@ def make_instance(self, include_optional) -> GetUserCommentsList200ResponseDataI
id = '',
share_url = '',
text = '',
+ attachments = [
+ null
+ ],
author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- attachments = [
- null
- ],
+ description = '',
+ specifics = null, ),
created_at = '',
title = '',
user_reacted = None,
@@ -60,7 +63,7 @@ def make_instance(self, include_optional) -> GetUserCommentsList200ResponseDataI
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -104,34 +107,27 @@ def make_instance(self, include_optional) -> GetUserCommentsList200ResponseDataI
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- quoted_post = unipile.models.get_posts_list_200_response_data_inner_quoted_post.getPostsList_200_response_data_inner_quoted_post(
+ description = '',
+ specifics = null, ),
+ quoted_post = unipile.models.get_post_200_response_quoted_post.getPost_200_response_quoted_post(
object = 'Post',
id = '',
share_url = '',
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -170,7 +166,65 @@ def make_instance(self, include_optional) -> GetUserCommentsList200ResponseDataI
clickthrough_rate = 1.337,
page_viewers_from_this_post_counter = 1.337,
followers_gained_from_this_post_counter = 1.337,
- users_reached_counter = 1.337, ), )
+ users_reached_counter = 1.337, ),
+ author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ specifics = unipile.models.get_posts_list_200_response_data_inner_specifics.getPostsList_200_response_data_inner_specifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting.getPostsList_200_response_data_inner_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting_company.getPostsList_200_response_data_inner_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_specifics_article.getPostsList_200_response_data_inner_specifics_article(
+ id = '',
+ title = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', ), ), ),
+ specifics = unipile.models.get_posts_list_200_response_data_inner_specifics.getPostsList_200_response_data_inner_specifics(
+ mentions = [
+ unipile.models.get_posts_list_200_response_data_inner_quoted_post_specifics_mentions_inner.getPostsList_200_response_data_inner_quoted_post_specifics_mentions_inner(
+ url = '',
+ start = 1.337,
+ length = 1.337, )
+ ],
+ job_posting = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting.getPostsList_200_response_data_inner_specifics_job_posting(
+ id = '',
+ title = '',
+ location = '',
+ company = unipile.models.get_posts_list_200_response_data_inner_specifics_job_posting_company.getPostsList_200_response_data_inner_specifics_job_posting_company(
+ id = '',
+ name = '',
+ picture_url = '', ), ),
+ article = unipile.models.get_posts_list_200_response_data_inner_specifics_article.getPostsList_200_response_data_inner_specifics_article(
+ id = '',
+ title = '',
+ author = '',
+ url = '',
+ published_at = '',
+ excerpt = '',
+ picture_url = '', ), )
)
else:
return GetUserCommentsList200ResponseDataInnerParentPost(
@@ -178,19 +232,22 @@ def make_instance(self, include_optional) -> GetUserCommentsList200ResponseDataI
id = '',
share_url = '',
text = '',
+ attachments = [
+ null
+ ],
author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- attachments = [
- null
- ],
+ description = '',
+ specifics = null, ),
created_at = '',
user_reacted = None,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
@@ -198,7 +255,7 @@ def make_instance(self, include_optional) -> GetUserCommentsList200ResponseDataI
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
diff --git a/test/test_get_user_comments_list200_response_data_inner_parent_post_any_of.py b/test/test_get_user_comments_list200_response_data_inner_parent_post_any_of.py
index 62db7a8da..5789135e3 100644
--- a/test/test_get_user_comments_list200_response_data_inner_parent_post_any_of.py
+++ b/test/test_get_user_comments_list200_response_data_inner_parent_post_any_of.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -39,22 +39,25 @@ def make_instance(self, include_optional) -> GetUserCommentsList200ResponseDataI
id = '',
share_url = '',
text = '',
+ attachments = [
+ unipile.models.get_user_comments_list_200_response_data_inner_parent_post_any_of_attachments_inner.getUserCommentsList_200_response_data_inner_parent_post_anyOf_attachments_inner(
+ object = 'Attachment',
+ type = 'img',
+ url = '', )
+ ],
author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- attachments = [
- unipile.models.get_user_comments_list_200_response_data_inner_parent_post_any_of_attachments_inner.getUserCommentsList_200_response_data_inner_parent_post_anyOf_attachments_inner(
- object = 'Attachment',
- type = 'img',
- url = '', )
- ]
+ description = '',
+ specifics = null, )
)
else:
return GetUserCommentsList200ResponseDataInnerParentPostAnyOf(
diff --git a/test/test_get_user_comments_list200_response_data_inner_parent_post_any_of_attachments_inner.py b/test/test_get_user_comments_list200_response_data_inner_parent_post_any_of_attachments_inner.py
index 496af294b..d660adb0b 100644
--- a/test/test_get_user_comments_list200_response_data_inner_parent_post_any_of_attachments_inner.py
+++ b/test/test_get_user_comments_list200_response_data_inner_parent_post_any_of_attachments_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_get_user_profile200_response.py b/test/test_get_user_profile200_response.py
index cf6393729..3aa797fc4 100644
--- a/test/test_get_user_profile200_response.py
+++ b/test/test_get_user_profile200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,14 +40,15 @@ def make_instance(self, include_optional) -> GetUserProfile200Response:
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
description = '',
+ specifics = None,
background_picture_url = '',
public_picture_url_large = '',
- first_name = '',
- last_name = '',
birth_date = '',
addresses = [
''
@@ -62,7 +63,7 @@ def make_instance(self, include_optional) -> GetUserProfile200Response:
bio = '',
location = '',
muted_until = '',
- following = True,
+ is_following = True,
followers_count = 1.337,
following_count = 1.337,
relations_count = 1.337,
@@ -70,12 +71,11 @@ def make_instance(self, include_optional) -> GetUserProfile200Response:
shared_followers_count = 1.337,
is_blocked = True,
provider = 'mock',
- specifics = None,
- social_handles = unipile.models.get_email_contacts_list_200_response_data_inner_social_handles.getEmailContactsList_200_response_data_inner_social_handles(
- linkedin = unipile.models.get_email_contacts_list_200_response_data_inner_social_handles_linkedin.getEmailContactsList_200_response_data_inner_social_handles_linkedin(
+ social_handles = unipile.models.get_contacts_list_200_response_data_inner_social_handles.getContactsList_200_response_data_inner_social_handles(
+ linkedin = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
url = '',
name = '', ),
- instagram = unipile.models.get_email_contacts_list_200_response_data_inner_social_handles_linkedin.getEmailContactsList_200_response_data_inner_social_handles_linkedin(
+ instagram = unipile.models.get_contacts_list_200_response_data_inner_social_handles_linkedin.getContactsList_200_response_data_inner_social_handles_linkedin(
url = '',
name = '', ),
github = ,
@@ -106,9 +106,9 @@ def make_instance(self, include_optional) -> GetUserProfile200Response:
object = 'UserProfile',
type = 'individual',
display_name = '',
+ specifics = None,
is_blocked = True,
provider = 'mock',
- specifics = None,
)
"""
diff --git a/test/test_get_user_profile200_response_specifics.py b/test/test_get_user_profile200_response_specifics.py
index 20a1d8dda..1ab9715da 100644
--- a/test/test_get_user_profile200_response_specifics.py
+++ b/test/test_get_user_profile200_response_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,18 +38,21 @@ def make_instance(self, include_optional) -> GetUserProfile200ResponseSpecifics:
member_id = '',
can_send_inmail = True,
network_distance = 'SELF',
- relation_request = unipile.models.linked_in_relation_request.LinkedIn_relation_request(
+ relation_request = unipile.models.linked_in_1_relation_request.LinkedIn_1_relation_request(
object = 'RelationRequest',
- user = unipile.models.linked_in_relation_request_user.LinkedIn_relation_request_user(
+ user = unipile.models.linked_in_1_relation_request_user.LinkedIn_1_relation_request_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
type = 'sent',
id = '',
created_at = '',
@@ -70,7 +73,7 @@ def make_instance(self, include_optional) -> GetUserProfile200ResponseSpecifics:
is_saved_lead = True,
is_crm_imported = True,
skills = [
- unipile.models.linked_in_skills_inner.LinkedIn_skills_inner(
+ unipile.models.linked_in_1_skills_inner.LinkedIn_1_skills_inner(
name = '',
endorsement_count = 1.337,
endorsement_id = 1.337,
@@ -80,9 +83,9 @@ def make_instance(self, include_optional) -> GetUserProfile200ResponseSpecifics:
], )
],
experience = [
- unipile.models.linked_in_experience_inner.LinkedIn_experience_inner(
+ unipile.models.linked_in_1_experience_inner.LinkedIn_1_experience_inner(
id = '',
- company = unipile.models.linked_in_experience_inner_company.LinkedIn_experience_inner_company(
+ company = unipile.models.linked_in_1_experience_inner_company.LinkedIn_1_experience_inner_company(
name = '',
id = '',
public_identifier = '',
@@ -104,9 +107,9 @@ def make_instance(self, include_optional) -> GetUserProfile200ResponseSpecifics:
skills_preview = '', )
],
education = [
- unipile.models.linked_in_education_inner.LinkedIn_education_inner(
+ unipile.models.linked_in_1_education_inner.LinkedIn_1_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -126,14 +129,14 @@ def make_instance(self, include_optional) -> GetUserProfile200ResponseSpecifics:
ended_on = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
certifications = [
- unipile.models.linked_in_certifications_inner.LinkedIn_certifications_inner(
+ unipile.models.linked_in_1_certifications_inner.LinkedIn_1_certifications_inner(
title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -152,8 +155,8 @@ def make_instance(self, include_optional) -> GetUserProfile200ResponseSpecifics:
url = '', )
],
volunteer_experience = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -169,20 +172,23 @@ def make_instance(self, include_optional) -> GetUserProfile200ResponseSpecifics:
ended_on = '', )
],
projects = [
- unipile.models.linked_in_projects_inner.LinkedIn_projects_inner(
+ unipile.models.linked_in_1_projects_inner.LinkedIn_1_projects_inner(
name = '',
description = '',
contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
skills = [
''
@@ -191,70 +197,162 @@ def make_instance(self, include_optional) -> GetUserProfile200ResponseSpecifics:
started_on = '',
ended_on = '', )
],
- recommendations = unipile.models.linked_in_recommendations.LinkedIn_recommendations(
+ recommendations = unipile.models.linked_in_1_recommendations.LinkedIn_1_recommendations(
received = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
caption = '',
created_on = '',
text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), )
+ description = '',
+ specifics = null, ), )
],
given = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
caption = '',
created_on = '',
text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), )
+ description = '',
+ specifics = null, ), )
+ ], ),
+ interests = unipile.models.linked_in_1_interests.LinkedIn_1_interests(
+ top_voices = [
+ unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), )
+ ],
+ companies = [
+ unipile.models.linked_in_1_interests_companies_inner.LinkedIn_1_interests_companies_inner(
+ object = 'CompanyLightProfile',
+ id = '',
+ name = '',
+ profile_url = '',
+ public_picture_url = '',
+ public_identifier = '',
+ followers_count = 1.337,
+ is_following = True, )
+ ],
+ schools = [
+ unipile.models.linked_in_1_interests_schools_inner.LinkedIn_1_interests_schools_inner(
+ id = '',
+ name = '',
+ profile_url = '',
+ public_picture_url = '',
+ public_identifier = '',
+ followers_count = 1.337,
+ is_following = True,
+ object = 'SchoolLightProfile', )
+ ],
+ newsletters = [
+ unipile.models.linked_in_1_interests_newsletters_inner.LinkedIn_1_interests_newsletters_inner(
+ id = '',
+ title = '',
+ url = '',
+ description = '',
+ is_subscribed = True,
+ posting_frequency = 'MONTHLY',
+ public_picture_url = '', )
+ ],
+ groups = [
+ unipile.models.linked_in_1_interests_groups_inner.LinkedIn_1_interests_groups_inner(
+ id = '',
+ name = '',
+ url = '',
+ members_count = 1.337,
+ is_member = True,
+ public_picture_url = '', )
], ),
throttled_sections = [
'experience'
],
- recruiting_profile = unipile.models.linked_in_recruiting_profile.LinkedIn_recruiting_profile(
+ recruiting_profile = unipile.models.linked_in_1_recruiting_profile.LinkedIn_1_recruiting_profile(
events = [
null
],
notes = [
- unipile.models.linked_in_recruiting_profile_notes_inner.LinkedIn_recruiting_profile_notes_inner(
+ unipile.models.linked_in_1_recruiting_profile_notes_inner.LinkedIn_1_recruiting_profile_notes_inner(
project_id = '',
content = '',
last_modified_at = '',
- author = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
comments = [
- unipile.models.linked_in_recruiting_profile_notes_inner_comments_inner.LinkedIn_recruiting_profile_notes_inner_comments_inner(
+ unipile.models.linked_in_1_recruiting_profile_notes_inner_comments_inner.LinkedIn_1_recruiting_profile_notes_inner_comments_inner(
content = '',
- author = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
@@ -263,11 +361,12 @@ def make_instance(self, include_optional) -> GetUserProfile200ResponseSpecifics:
], )
],
tags = [
- unipile.models.linked_in_recruiting_profile_tags_inner.LinkedIn_recruiting_profile_tags_inner(
+ unipile.models.linked_in_1_recruiting_profile_tags_inner.LinkedIn_1_recruiting_profile_tags_inner(
id = '',
content = '', )
], ),
- messaging_identifier = ''
+ messaging_identifier = '',
+ contact_name = ''
)
else:
return GetUserProfile200ResponseSpecifics(
diff --git a/test/test_get_user_reactions_list200_response.py b/test/test_get_user_reactions_list200_response.py
index b21393231..575abd97f 100644
--- a/test/test_get_user_reactions_list200_response.py
+++ b/test/test_get_user_reactions_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -39,17 +39,20 @@ def make_instance(self, include_optional) -> GetUserReactionsList200Response:
unipile.models.get_user_reactions_list_200_response_data_inner.getUserReactionsList_200_response_data_inner(
object = 'Reaction',
value = '',
- sender = unipile.models.get_message_reactions_list_200_response_data_inner_sender.getMessageReactionsList_200_response_data_inner_sender(
+ is_sender = True,
+ sender = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_sender = True,
+ description = '',
+ specifics = null, ),
parent_post = null, )
],
total_count = 1.337,
@@ -61,17 +64,20 @@ def make_instance(self, include_optional) -> GetUserReactionsList200Response:
unipile.models.get_user_reactions_list_200_response_data_inner.getUserReactionsList_200_response_data_inner(
object = 'Reaction',
value = '',
- sender = unipile.models.get_message_reactions_list_200_response_data_inner_sender.getMessageReactionsList_200_response_data_inner_sender(
+ is_sender = True,
+ sender = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_sender = True,
+ description = '',
+ specifics = null, ),
parent_post = null, )
],
)
diff --git a/test/test_get_user_reactions_list200_response_data_inner.py b/test/test_get_user_reactions_list200_response_data_inner.py
index 6b56bc318..679392b43 100644
--- a/test/test_get_user_reactions_list200_response_data_inner.py
+++ b/test/test_get_user_reactions_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,34 +37,40 @@ def make_instance(self, include_optional) -> GetUserReactionsList200ResponseData
return GetUserReactionsList200ResponseDataInner(
object = 'Reaction',
value = '',
- sender = unipile.models.get_message_reactions_list_200_response_data_inner_sender.getMessageReactionsList_200_response_data_inner_sender(
+ is_sender = True,
+ sender = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_sender = True,
+ description = '',
+ specifics = null, ),
parent_post = None
)
else:
return GetUserReactionsList200ResponseDataInner(
object = 'Reaction',
value = '',
- sender = unipile.models.get_message_reactions_list_200_response_data_inner_sender.getMessageReactionsList_200_response_data_inner_sender(
+ is_sender = True,
+ sender = unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- is_sender = True,
+ description = '',
+ specifics = null, ),
parent_post = None,
)
"""
diff --git a/test/test_get_user_relations200_response.py b/test/test_get_user_relations200_response.py
index baa3ddefd..d00aed8ca 100644
--- a/test/test_get_user_relations200_response.py
+++ b/test/test_get_user_relations200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -39,17 +39,20 @@ def make_instance(self, include_optional) -> GetUserRelations200Response:
unipile.models.get_user_relations_200_response_data_inner.getUserRelations_200_response_data_inner(
id = '',
object = 'UserRelation',
+ created_at = '',
user = unipile.models.get_user_relations_200_response_data_inner_user.getUserRelations_200_response_data_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- created_at = '', )
+ description = '',
+ specifics = null, ), )
],
total_count = 1.337,
next_cursor = ''
@@ -60,17 +63,20 @@ def make_instance(self, include_optional) -> GetUserRelations200Response:
unipile.models.get_user_relations_200_response_data_inner.getUserRelations_200_response_data_inner(
id = '',
object = 'UserRelation',
+ created_at = '',
user = unipile.models.get_user_relations_200_response_data_inner_user.getUserRelations_200_response_data_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- created_at = '', )
+ description = '',
+ specifics = null, ), )
],
)
"""
diff --git a/test/test_get_user_relations200_response_data_inner.py b/test/test_get_user_relations200_response_data_inner.py
index 26840a34b..d549e15eb 100644
--- a/test/test_get_user_relations200_response_data_inner.py
+++ b/test/test_get_user_relations200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,17 +37,20 @@ def make_instance(self, include_optional) -> GetUserRelations200ResponseDataInne
return GetUserRelations200ResponseDataInner(
id = '',
object = 'UserRelation',
+ created_at = '',
user = unipile.models.get_user_relations_200_response_data_inner_user.getUserRelations_200_response_data_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- created_at = ''
+ description = '',
+ specifics = null, )
)
else:
return GetUserRelations200ResponseDataInner(
@@ -59,10 +62,13 @@ def make_instance(self, include_optional) -> GetUserRelations200ResponseDataInne
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
)
"""
diff --git a/test/test_get_user_relations200_response_data_inner_user.py b/test/test_get_user_relations200_response_data_inner_user.py
index eb393b404..07a112242 100644
--- a/test/test_get_user_relations200_response_data_inner_user.py
+++ b/test/test_get_user_relations200_response_data_inner_user.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,10 +40,13 @@ def make_instance(self, include_optional) -> GetUserRelations200ResponseDataInne
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = ''
+ description = '',
+ specifics = None
)
else:
return GetUserRelations200ResponseDataInnerUser(
diff --git a/test/test_hosted_auth_api.py b/test/test_hosted_auth_api.py
index 846398748..dc91cdf78 100644
--- a/test/test_hosted_auth_api.py
+++ b/test/test_hosted_auth_api.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_image.py b/test/test_image.py
index 43dabaa64..4dd01f2a9 100644
--- a/test/test_image.py
+++ b/test/test_image.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> Image:
object = 'Attachment',
id = '',
file_size = 1.337,
+ is_inline = True,
is_unavailable = True,
mimetype = '',
url = '',
@@ -53,6 +54,7 @@ def make_instance(self, include_optional) -> Image:
return Image(
object = 'Attachment',
id = '',
+ is_inline = True,
mimetype = '',
url = '',
type = 'img',
diff --git a/test/test_image1.py b/test/test_image1.py
index 39dee106a..c3ffba7a5 100644
--- a/test/test_image1.py
+++ b/test/test_image1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> Image1:
object = 'Attachment',
id = '',
file_size = 1.337,
+ is_inline = True,
is_unavailable = True,
mimetype = '',
url = '',
@@ -53,6 +54,7 @@ def make_instance(self, include_optional) -> Image1:
return Image1(
object = 'Attachment',
id = '',
+ is_inline = True,
mimetype = '',
url = '',
type = 'img',
diff --git a/test/test_image1_size.py b/test/test_image1_size.py
index 96ef022d7..73e4c32a4 100644
--- a/test/test_image1_size.py
+++ b/test/test_image1_size.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_image_size.py b/test/test_image_size.py
index 79b178c79..21f50089e 100644
--- a/test/test_image_size.py
+++ b/test/test_image_size.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_imap.py b/test/test_imap.py
index 387ba2223..05ba8f810 100644
--- a/test/test_imap.py
+++ b/test/test_imap.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_imap_config.py b/test/test_imap_config.py
index 9fa368b1e..757a37935 100644
--- a/test/test_imap_config.py
+++ b/test/test_imap_config.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -45,7 +45,6 @@ def make_instance(self, include_optional) -> IMAPConfig:
)
else:
return IMAPConfig(
- initial_sync_enable = True,
)
"""
diff --git a/test/test_imap_connections_parameters.py b/test/test_imap_connections_parameters.py
index e3cc12543..7a1335227 100644
--- a/test/test_imap_connections_parameters.py
+++ b/test/test_imap_connections_parameters.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_imap_credentials.py b/test/test_imap_credentials.py
index 2e19a8ed5..05b4df0a2 100644
--- a/test/test_imap_credentials.py
+++ b/test/test_imap_credentials.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_in_app_validation.py b/test/test_in_app_validation.py
index 904297a08..54058ddfa 100644
--- a/test/test_in_app_validation.py
+++ b/test/test_in_app_validation.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_in_audk.py b/test/test_in_audk.py
index 6b354aa09..de8a4bc19 100644
--- a/test/test_in_audk.py
+++ b/test/test_in_audk.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_in_gbpk.py b/test/test_in_gbpk.py
index 889460f15..d1724887b 100644
--- a/test/test_in_gbpk.py
+++ b/test/test_in_gbpk.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_in_usdk.py b/test/test_in_usdk.py
index 457d67c00..df9432d3a 100644
--- a/test/test_in_usdk.py
+++ b/test/test_in_usdk.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_include_activities.py b/test/test_include_activities.py
index 874947112..38c3e9b2a 100644
--- a/test/test_include_activities.py
+++ b/test/test_include_activities.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_instagram.py b/test/test_instagram.py
index b6b465541..182779456 100644
--- a/test/test_instagram.py
+++ b/test/test_instagram.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_instagram1.py b/test/test_instagram1.py
index c912acc7d..c7e647c3b 100644
--- a/test/test_instagram1.py
+++ b/test/test_instagram1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_instagram1_config.py b/test/test_instagram1_config.py
index 7ca625c5f..4222d854e 100644
--- a/test/test_instagram1_config.py
+++ b/test/test_instagram1_config.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_instagram1_credentials.py b/test/test_instagram1_credentials.py
index 79e076c84..f4783d144 100644
--- a/test/test_instagram1_credentials.py
+++ b/test/test_instagram1_credentials.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_instagram_api.py b/test/test_instagram_api.py
index 670b595f9..5bfc1a924 100644
--- a/test/test_instagram_api.py
+++ b/test/test_instagram_api.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_jobs_search_results.py b/test/test_jobs_search_results.py
index d01754ae4..640ce3e56 100644
--- a/test/test_jobs_search_results.py
+++ b/test/test_jobs_search_results.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_jobs_search_results1.py b/test/test_jobs_search_results1.py
new file mode 100644
index 000000000..50e8a2802
--- /dev/null
+++ b/test/test_jobs_search_results1.py
@@ -0,0 +1,98 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.jobs_search_results1 import JobsSearchResults1
+
+class TestJobsSearchResults1(unittest.TestCase):
+ """JobsSearchResults1 unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> JobsSearchResults1:
+ """Test JobsSearchResults1
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `JobsSearchResults1`
+ """
+ model = JobsSearchResults1()
+ if include_optional:
+ return JobsSearchResults1(
+ data = [
+ unipile.models.jobs_search_results_1_data_inner.Jobs_search_results_1_data_inner(
+ object = 'JobSearchResult',
+ id = '',
+ title = '',
+ location = '',
+ listed_at = '',
+ workplace_type = 'on_site',
+ url = '',
+ is_repost = True,
+ is_promoted = True,
+ easy_apply = True,
+ few_applicants = True,
+ company = unipile.models.jobs_search_results_data_inner_company.Jobs_search_results_data_inner_company(
+ id = '',
+ name = '',
+ public_identifier = '',
+ profile_url = '',
+ public_picture_url = '', ),
+ insights = [
+ ''
+ ], )
+ ],
+ total_count = 1.337,
+ next_cursor = ''
+ )
+ else:
+ return JobsSearchResults1(
+ data = [
+ unipile.models.jobs_search_results_1_data_inner.Jobs_search_results_1_data_inner(
+ object = 'JobSearchResult',
+ id = '',
+ title = '',
+ location = '',
+ listed_at = '',
+ workplace_type = 'on_site',
+ url = '',
+ is_repost = True,
+ is_promoted = True,
+ easy_apply = True,
+ few_applicants = True,
+ company = unipile.models.jobs_search_results_data_inner_company.Jobs_search_results_data_inner_company(
+ id = '',
+ name = '',
+ public_identifier = '',
+ profile_url = '',
+ public_picture_url = '', ),
+ insights = [
+ ''
+ ], )
+ ],
+ )
+ """
+
+ def testJobsSearchResults1(self):
+ """Test JobsSearchResults1"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_jobs_search_results1_data_inner.py b/test/test_jobs_search_results1_data_inner.py
new file mode 100644
index 000000000..209efde70
--- /dev/null
+++ b/test/test_jobs_search_results1_data_inner.py
@@ -0,0 +1,87 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.jobs_search_results1_data_inner import JobsSearchResults1DataInner
+
+class TestJobsSearchResults1DataInner(unittest.TestCase):
+ """JobsSearchResults1DataInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> JobsSearchResults1DataInner:
+ """Test JobsSearchResults1DataInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `JobsSearchResults1DataInner`
+ """
+ model = JobsSearchResults1DataInner()
+ if include_optional:
+ return JobsSearchResults1DataInner(
+ object = 'JobSearchResult',
+ id = '',
+ title = '',
+ location = '',
+ listed_at = '',
+ workplace_type = 'on_site',
+ url = '',
+ is_repost = True,
+ is_promoted = True,
+ easy_apply = True,
+ few_applicants = True,
+ company = unipile.models.jobs_search_results_data_inner_company.Jobs_search_results_data_inner_company(
+ id = '',
+ name = '',
+ public_identifier = '',
+ profile_url = '',
+ public_picture_url = '', ),
+ insights = [
+ ''
+ ]
+ )
+ else:
+ return JobsSearchResults1DataInner(
+ object = 'JobSearchResult',
+ id = '',
+ title = '',
+ url = '',
+ is_repost = True,
+ is_promoted = True,
+ easy_apply = True,
+ few_applicants = True,
+ company = unipile.models.jobs_search_results_data_inner_company.Jobs_search_results_data_inner_company(
+ id = '',
+ name = '',
+ public_identifier = '',
+ profile_url = '',
+ public_picture_url = '', ),
+ insights = [
+ ''
+ ],
+ )
+ """
+
+ def testJobsSearchResults1DataInner(self):
+ """Test JobsSearchResults1DataInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_jobs_search_results_data_inner.py b/test/test_jobs_search_results_data_inner.py
index 5ff800ecf..0c7e7ceb1 100644
--- a/test/test_jobs_search_results_data_inner.py
+++ b/test/test_jobs_search_results_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_jobs_search_results_data_inner_company.py b/test/test_jobs_search_results_data_inner_company.py
index cd602d3b4..90d311cfb 100644
--- a/test/test_jobs_search_results_data_inner_company.py
+++ b/test/test_jobs_search_results_data_inner_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_jobs_sourced.py b/test/test_jobs_sourced.py
index 043a02467..97bb567e5 100644
--- a/test/test_jobs_sourced.py
+++ b/test/test_jobs_sourced.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,9 +37,7 @@ def make_instance(self, include_optional) -> JobsSourced:
return JobsSourced(
source = 'JOBS',
keywords = '',
- type = 'CONTRACT',
- offset = 1.337,
- limit = 1
+ type = 'CONTRACT'
)
else:
return JobsSourced(
diff --git a/test/test_lead_list.py b/test/test_lead_list.py
index 01cfeca25..c322b0c32 100644
--- a/test/test_lead_list.py
+++ b/test/test_lead_list.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_lead_list_data_inner.py b/test/test_lead_list_data_inner.py
index 4f8d2fe0e..adb91bbd4 100644
--- a/test/test_lead_list_data_inner.py
+++ b/test/test_lead_list_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -81,7 +81,7 @@ def make_instance(self, include_optional) -> LeadListDataInner:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -108,7 +108,7 @@ def make_instance(self, include_optional) -> LeadListDataInner:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -130,13 +130,13 @@ def make_instance(self, include_optional) -> LeadListDataInner:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -166,7 +166,6 @@ def make_instance(self, include_optional) -> LeadListDataInner:
return LeadListDataInner(
id = '',
display_name = '',
- headline = '',
network_distance = None,
has_posted_recently = True,
has_viewed_your_profile = True,
@@ -188,7 +187,7 @@ def make_instance(self, include_optional) -> LeadListDataInner:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -215,7 +214,7 @@ def make_instance(self, include_optional) -> LeadListDataInner:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -237,13 +236,13 @@ def make_instance(self, include_optional) -> LeadListDataInner:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_lead_list_data_inner_all_of_all_of_contact_info.py b/test/test_lead_list_data_inner_all_of_all_of_contact_info.py
index 0beaf2d31..63a2ea351 100644
--- a/test/test_lead_list_data_inner_all_of_all_of_contact_info.py
+++ b/test/test_lead_list_data_inner_all_of_all_of_contact_info.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_lead_list_data_inner_all_of_all_of_social_handles.py b/test/test_lead_list_data_inner_all_of_all_of_social_handles.py
index 10b5c3972..a7f8da998 100644
--- a/test/test_lead_list_data_inner_all_of_all_of_social_handles.py
+++ b/test/test_lead_list_data_inner_all_of_all_of_social_handles.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_lead_list_data_inner_all_of_associated_account.py b/test/test_lead_list_data_inner_all_of_associated_account.py
index d5a042d5d..9eb3749f2 100644
--- a/test/test_lead_list_data_inner_all_of_associated_account.py
+++ b/test/test_lead_list_data_inner_all_of_associated_account.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_link.py b/test/test_link.py
index 6278ec882..03120cdbd 100644
--- a/test/test_link.py
+++ b/test/test_link.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,32 +36,62 @@ def make_instance(self, include_optional) -> Link:
if include_optional:
return Link(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'LINK_ADDED',
link_content = ''
)
else:
return Link(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'LINK_ADDED',
link_content = '',
)
diff --git a/test/test_link1.py b/test/test_link1.py
index e14980c77..d55bb235a 100644
--- a/test/test_link1.py
+++ b/test/test_link1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_link_new_account.py b/test/test_link_new_account.py
index 6dad4f6d2..733079ba6 100644
--- a/test/test_link_new_account.py
+++ b/test/test_link_new_account.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -56,9 +56,7 @@ def make_instance(self, include_optional) -> LinkNewAccount:
auto_proxy_config = unipile.models.automatic_proxy_configuration.Automatic proxy configuration(
country = '',
ip = '', ),
- products = [
- 'classic'
- ],
+ products = null,
allow_methods = [
'credentials'
], ),
diff --git a/test/test_link_new_account_config.py b/test/test_link_new_account_config.py
index 47685819e..61bc7d7ed 100644
--- a/test/test_link_new_account_config.py
+++ b/test/test_link_new_account_config.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -51,9 +51,7 @@ def make_instance(self, include_optional) -> LinkNewAccountConfig:
auto_proxy_config = unipile.models.automatic_proxy_configuration.Automatic proxy configuration(
country = '',
ip = '', ),
- products = [
- 'classic'
- ],
+ products = null,
allow_methods = [
'credentials'
], ),
diff --git a/test/test_link_new_account_config_global.py b/test/test_link_new_account_config_global.py
index 8b24109a8..f4ae599b6 100644
--- a/test/test_link_new_account_config_global.py
+++ b/test/test_link_new_account_config_global.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_link_new_account_config_imap.py b/test/test_link_new_account_config_imap.py
index 325cce6dd..ced4070f9 100644
--- a/test/test_link_new_account_config_imap.py
+++ b/test/test_link_new_account_config_imap.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -45,7 +45,6 @@ def make_instance(self, include_optional) -> LinkNewAccountConfigImap:
)
else:
return LinkNewAccountConfigImap(
- initial_sync_enable = True,
)
"""
diff --git a/test/test_link_new_account_config_linkedin.py b/test/test_link_new_account_config_linkedin.py
index c93b598f6..5daa42a07 100644
--- a/test/test_link_new_account_config_linkedin.py
+++ b/test/test_link_new_account_config_linkedin.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -44,9 +44,7 @@ def make_instance(self, include_optional) -> LinkNewAccountConfigLinkedin:
auto_proxy_config = unipile.models.automatic_proxy_configuration.Automatic proxy configuration(
country = '',
ip = '', ),
- products = [
- 'classic'
- ],
+ products = None,
allow_methods = [
'credentials'
]
diff --git a/test/test_link_new_account_providers.py b/test/test_link_new_account_providers.py
index 2fdead329..fc1af9d60 100644
--- a/test/test_link_new_account_providers.py
+++ b/test/test_link_new_account_providers.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_linked_in.py b/test/test_linked_in.py
index f9c0db674..c57128191 100644
--- a/test/test_linked_in.py
+++ b/test/test_linked_in.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,242 +35,21 @@ def make_instance(self, include_optional) -> LinkedIn:
model = LinkedIn()
if include_optional:
return LinkedIn(
- member_id = '',
- can_send_inmail = True,
+ location = '',
network_distance = 'SELF',
- relation_request = unipile.models.linked_in_relation_request.LinkedIn_relation_request(
- object = 'RelationRequest',
- user = unipile.models.linked_in_relation_request_user.LinkedIn_relation_request_user(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
- type = 'sent',
- id = '',
- created_at = '',
- message = '', ),
- relation_request_status = 'PENDING',
- pronoun = '',
- default_locale = '',
- supported_locales = [
- ''
- ],
- notify_visit_token = '',
- is_open_profile = True,
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
is_premium = True,
- is_influencer = True,
- is_creator = True,
- is_hiring = True,
- is_open_to_work = True,
- is_saved_lead = True,
- is_crm_imported = True,
- skills = [
- unipile.models.linked_in_skills_inner.LinkedIn_skills_inner(
- name = '',
- endorsement_count = 1.337,
- endorsement_id = 1.337,
- endorsed = True,
- insights = [
- ''
- ], )
- ],
- experience = [
- unipile.models.linked_in_experience_inner.LinkedIn_experience_inner(
- id = '',
- company = unipile.models.linked_in_experience_inner_company.LinkedIn_experience_inner_company(
- name = '',
- id = '',
- public_identifier = '',
- picture_url = '',
- profile_url = '',
- industries = [
- ''
- ], ),
- job_title = '',
- started_on = '',
- ended_on = '',
- location = '',
- description = '',
- employment_type = 'SELF_EMPLOYED',
- workplace_type = 'ON_SITE',
- skills = [
- ''
- ],
- skills_preview = '', )
- ],
- education = [
- unipile.models.linked_in_education_inner.LinkedIn_education_inner(
- id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
- id = '',
- name = '',
- picture_url = '',
- profile_url = '', ),
- degree = '',
- description = '',
- activities = '',
- skills = [
- ''
- ],
- skills_preview = '',
- grade = '',
- fields_of_study = [
- ''
- ],
- started_on = '',
- ended_on = '', )
- ],
- languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
- language = '',
- proficiency = 'ELEMENTARY', )
- ],
- certifications = [
- unipile.models.linked_in_certifications_inner.LinkedIn_certifications_inner(
- title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
- name = '',
- id = '',
- public_identifier = '',
- picture_url = '',
- profile_url = '',
- industries = [
- ''
- ], ),
- issued_on = '',
- expires_on = '',
- license = '',
- skills = [
- ''
- ],
- skills_preview = '',
- url = '', )
- ],
- volunteer_experience = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
- name = '',
- id = '',
- public_identifier = '',
- picture_url = '',
- profile_url = '',
- industries = [
- ''
- ], ),
- role = '',
- cause = '',
- description = '',
- started_on = '',
- ended_on = '', )
- ],
- projects = [
- unipile.models.linked_in_projects_inner.LinkedIn_projects_inner(
- name = '',
- description = '',
- contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', )
- ],
- skills = [
- ''
- ],
- skills_preview = '',
- started_on = '',
- ended_on = '', )
- ],
- recommendations = unipile.models.linked_in_recommendations.LinkedIn_recommendations(
- received = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
- caption = '',
- created_on = '',
- text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ), )
- ],
- given = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
- caption = '',
- created_on = '',
- text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ), )
- ], ),
- throttled_sections = [
- 'experience'
- ],
- recruiting_profile = unipile.models.linked_in_recruiting_profile.LinkedIn_recruiting_profile(
- events = [
- null
- ],
- notes = [
- unipile.models.linked_in_recruiting_profile_notes_inner.LinkedIn_recruiting_profile_notes_inner(
- project_id = '',
- content = '',
- last_modified_at = '',
- author = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
- comments = [
- unipile.models.linked_in_recruiting_profile_notes_inner_comments_inner.LinkedIn_recruiting_profile_notes_inner_comments_inner(
- content = '',
- author = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
- id = '',
- object = 'User',
- type = 'individual',
- public_identifier = '',
- display_name = '',
- profile_url = '',
- public_picture_url = '',
- private_picture_download_url = '',
- description = '', ),
- last_modified_at = '', )
- ], )
- ],
- tags = [
- unipile.models.linked_in_recruiting_profile_tags_inner.LinkedIn_recruiting_profile_tags_inner(
- id = '',
- content = '', )
- ], )
+ is_verified = True
)
else:
return LinkedIn(
- network_distance = 'SELF',
)
"""
diff --git a/test/test_linked_in1.py b/test/test_linked_in1.py
index 2a3f630eb..3f83f8fbb 100644
--- a/test/test_linked_in1.py
+++ b/test/test_linked_in1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,18 +35,340 @@ def make_instance(self, include_optional) -> LinkedIn1:
model = LinkedIn1()
if include_optional:
return LinkedIn1(
- provider = 'linkedin',
- user_agent = '',
- user_timezone = '',
- credentials = None,
- config = {
- 'key' : null
- }
+ member_id = '',
+ can_send_inmail = True,
+ network_distance = 'SELF',
+ relation_request = unipile.models.linked_in_1_relation_request.LinkedIn_1_relation_request(
+ object = 'RelationRequest',
+ user = unipile.models.linked_in_1_relation_request_user.LinkedIn_1_relation_request_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ type = 'sent',
+ id = '',
+ created_at = '',
+ message = '', ),
+ relation_request_status = 'PENDING',
+ pronoun = '',
+ default_locale = '',
+ supported_locales = [
+ ''
+ ],
+ notify_visit_token = '',
+ is_open_profile = True,
+ is_premium = True,
+ is_influencer = True,
+ is_creator = True,
+ is_hiring = True,
+ is_open_to_work = True,
+ is_saved_lead = True,
+ is_crm_imported = True,
+ skills = [
+ unipile.models.linked_in_1_skills_inner.LinkedIn_1_skills_inner(
+ name = '',
+ endorsement_count = 1.337,
+ endorsement_id = 1.337,
+ endorsed = True,
+ insights = [
+ ''
+ ], )
+ ],
+ experience = [
+ unipile.models.linked_in_1_experience_inner.LinkedIn_1_experience_inner(
+ id = '',
+ company = unipile.models.linked_in_1_experience_inner_company.LinkedIn_1_experience_inner_company(
+ name = '',
+ id = '',
+ public_identifier = '',
+ picture_url = '',
+ profile_url = '',
+ industries = [
+ ''
+ ], ),
+ job_title = '',
+ started_on = '',
+ ended_on = '',
+ location = '',
+ description = '',
+ employment_type = 'SELF_EMPLOYED',
+ workplace_type = 'ON_SITE',
+ skills = [
+ ''
+ ],
+ skills_preview = '', )
+ ],
+ education = [
+ unipile.models.linked_in_1_education_inner.LinkedIn_1_education_inner(
+ id = '',
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
+ id = '',
+ name = '',
+ picture_url = '',
+ profile_url = '', ),
+ degree = '',
+ description = '',
+ activities = '',
+ skills = [
+ ''
+ ],
+ skills_preview = '',
+ grade = '',
+ fields_of_study = [
+ ''
+ ],
+ started_on = '',
+ ended_on = '', )
+ ],
+ languages = [
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
+ language = '',
+ proficiency = 'ELEMENTARY', )
+ ],
+ certifications = [
+ unipile.models.linked_in_1_certifications_inner.LinkedIn_1_certifications_inner(
+ title = '',
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
+ name = '',
+ id = '',
+ public_identifier = '',
+ picture_url = '',
+ profile_url = '',
+ industries = [
+ ''
+ ], ),
+ issued_on = '',
+ expires_on = '',
+ license = '',
+ skills = [
+ ''
+ ],
+ skills_preview = '',
+ url = '', )
+ ],
+ volunteer_experience = [
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
+ name = '',
+ id = '',
+ public_identifier = '',
+ picture_url = '',
+ profile_url = '',
+ industries = [
+ ''
+ ], ),
+ role = '',
+ cause = '',
+ description = '',
+ started_on = '',
+ ended_on = '', )
+ ],
+ projects = [
+ unipile.models.linked_in_1_projects_inner.LinkedIn_1_projects_inner(
+ name = '',
+ description = '',
+ contributors = [
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, )
+ ],
+ skills = [
+ ''
+ ],
+ skills_preview = '',
+ started_on = '',
+ ended_on = '', )
+ ],
+ recommendations = unipile.models.linked_in_1_recommendations.LinkedIn_1_recommendations(
+ received = [
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
+ caption = '',
+ created_on = '',
+ text = '',
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), )
+ ],
+ given = [
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
+ caption = '',
+ created_on = '',
+ text = '',
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), )
+ ], ),
+ interests = unipile.models.linked_in_1_interests.LinkedIn_1_interests(
+ top_voices = [
+ unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), )
+ ],
+ companies = [
+ unipile.models.linked_in_1_interests_companies_inner.LinkedIn_1_interests_companies_inner(
+ object = 'CompanyLightProfile',
+ id = '',
+ name = '',
+ profile_url = '',
+ public_picture_url = '',
+ public_identifier = '',
+ followers_count = 1.337,
+ is_following = True, )
+ ],
+ schools = [
+ unipile.models.linked_in_1_interests_schools_inner.LinkedIn_1_interests_schools_inner(
+ id = '',
+ name = '',
+ profile_url = '',
+ public_picture_url = '',
+ public_identifier = '',
+ followers_count = 1.337,
+ is_following = True,
+ object = 'SchoolLightProfile', )
+ ],
+ newsletters = [
+ unipile.models.linked_in_1_interests_newsletters_inner.LinkedIn_1_interests_newsletters_inner(
+ id = '',
+ title = '',
+ url = '',
+ description = '',
+ is_subscribed = True,
+ posting_frequency = 'MONTHLY',
+ public_picture_url = '', )
+ ],
+ groups = [
+ unipile.models.linked_in_1_interests_groups_inner.LinkedIn_1_interests_groups_inner(
+ id = '',
+ name = '',
+ url = '',
+ members_count = 1.337,
+ is_member = True,
+ public_picture_url = '', )
+ ], ),
+ throttled_sections = [
+ 'experience'
+ ],
+ recruiting_profile = unipile.models.linked_in_1_recruiting_profile.LinkedIn_1_recruiting_profile(
+ events = [
+ null
+ ],
+ notes = [
+ unipile.models.linked_in_1_recruiting_profile_notes_inner.LinkedIn_1_recruiting_profile_notes_inner(
+ project_id = '',
+ content = '',
+ last_modified_at = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
+ comments = [
+ unipile.models.linked_in_1_recruiting_profile_notes_inner_comments_inner.LinkedIn_1_recruiting_profile_notes_inner_comments_inner(
+ content = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '', ),
+ last_modified_at = '', )
+ ], )
+ ],
+ tags = [
+ unipile.models.linked_in_1_recruiting_profile_tags_inner.LinkedIn_1_recruiting_profile_tags_inner(
+ id = '',
+ content = '', )
+ ], )
)
else:
return LinkedIn1(
- provider = 'linkedin',
- credentials = None,
+ network_distance = 'SELF',
)
"""
diff --git a/test/test_linked_in1_certifications_inner.py b/test/test_linked_in1_certifications_inner.py
new file mode 100644
index 000000000..631c16118
--- /dev/null
+++ b/test/test_linked_in1_certifications_inner.py
@@ -0,0 +1,78 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_certifications_inner import LinkedIn1CertificationsInner
+
+class TestLinkedIn1CertificationsInner(unittest.TestCase):
+ """LinkedIn1CertificationsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1CertificationsInner:
+ """Test LinkedIn1CertificationsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1CertificationsInner`
+ """
+ model = LinkedIn1CertificationsInner()
+ if include_optional:
+ return LinkedIn1CertificationsInner(
+ title = '',
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
+ name = '',
+ id = '',
+ public_identifier = '',
+ picture_url = '',
+ profile_url = '',
+ industries = [
+ ''
+ ], ),
+ issued_on = '',
+ expires_on = '',
+ license = '',
+ skills = [
+ ''
+ ],
+ skills_preview = '',
+ url = ''
+ )
+ else:
+ return LinkedIn1CertificationsInner(
+ title = '',
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
+ name = '',
+ id = '',
+ public_identifier = '',
+ picture_url = '',
+ profile_url = '',
+ industries = [
+ ''
+ ], ),
+ )
+ """
+
+ def testLinkedIn1CertificationsInner(self):
+ """Test LinkedIn1CertificationsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_certifications_inner_organization.py b/test/test_linked_in1_certifications_inner_organization.py
new file mode 100644
index 000000000..7f5e080b6
--- /dev/null
+++ b/test/test_linked_in1_certifications_inner_organization.py
@@ -0,0 +1,59 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_certifications_inner_organization import LinkedIn1CertificationsInnerOrganization
+
+class TestLinkedIn1CertificationsInnerOrganization(unittest.TestCase):
+ """LinkedIn1CertificationsInnerOrganization unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1CertificationsInnerOrganization:
+ """Test LinkedIn1CertificationsInnerOrganization
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1CertificationsInnerOrganization`
+ """
+ model = LinkedIn1CertificationsInnerOrganization()
+ if include_optional:
+ return LinkedIn1CertificationsInnerOrganization(
+ name = '',
+ id = '',
+ public_identifier = '',
+ picture_url = '',
+ profile_url = '',
+ industries = [
+ ''
+ ]
+ )
+ else:
+ return LinkedIn1CertificationsInnerOrganization(
+ id = '',
+ )
+ """
+
+ def testLinkedIn1CertificationsInnerOrganization(self):
+ """Test LinkedIn1CertificationsInnerOrganization"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_education_inner.py b/test/test_linked_in1_education_inner.py
new file mode 100644
index 000000000..bbeb5d1a2
--- /dev/null
+++ b/test/test_linked_in1_education_inner.py
@@ -0,0 +1,74 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_education_inner import LinkedIn1EducationInner
+
+class TestLinkedIn1EducationInner(unittest.TestCase):
+ """LinkedIn1EducationInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1EducationInner:
+ """Test LinkedIn1EducationInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1EducationInner`
+ """
+ model = LinkedIn1EducationInner()
+ if include_optional:
+ return LinkedIn1EducationInner(
+ id = '',
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
+ id = '',
+ name = '',
+ picture_url = '',
+ profile_url = '', ),
+ degree = '',
+ description = '',
+ activities = '',
+ skills = [
+ ''
+ ],
+ skills_preview = '',
+ grade = '',
+ fields_of_study = [
+ ''
+ ],
+ started_on = '',
+ ended_on = ''
+ )
+ else:
+ return LinkedIn1EducationInner(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
+ id = '',
+ name = '',
+ picture_url = '',
+ profile_url = '', ),
+ )
+ """
+
+ def testLinkedIn1EducationInner(self):
+ """Test LinkedIn1EducationInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_education_inner_school.py b/test/test_linked_in1_education_inner_school.py
new file mode 100644
index 000000000..a7767841a
--- /dev/null
+++ b/test/test_linked_in1_education_inner_school.py
@@ -0,0 +1,55 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_education_inner_school import LinkedIn1EducationInnerSchool
+
+class TestLinkedIn1EducationInnerSchool(unittest.TestCase):
+ """LinkedIn1EducationInnerSchool unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1EducationInnerSchool:
+ """Test LinkedIn1EducationInnerSchool
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1EducationInnerSchool`
+ """
+ model = LinkedIn1EducationInnerSchool()
+ if include_optional:
+ return LinkedIn1EducationInnerSchool(
+ id = '',
+ name = '',
+ picture_url = '',
+ profile_url = ''
+ )
+ else:
+ return LinkedIn1EducationInnerSchool(
+ id = '',
+ )
+ """
+
+ def testLinkedIn1EducationInnerSchool(self):
+ """Test LinkedIn1EducationInnerSchool"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_experience_inner.py b/test/test_linked_in1_experience_inner.py
new file mode 100644
index 000000000..a6eeb567f
--- /dev/null
+++ b/test/test_linked_in1_experience_inner.py
@@ -0,0 +1,81 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_experience_inner import LinkedIn1ExperienceInner
+
+class TestLinkedIn1ExperienceInner(unittest.TestCase):
+ """LinkedIn1ExperienceInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1ExperienceInner:
+ """Test LinkedIn1ExperienceInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1ExperienceInner`
+ """
+ model = LinkedIn1ExperienceInner()
+ if include_optional:
+ return LinkedIn1ExperienceInner(
+ id = '',
+ company = unipile.models.linked_in_1_experience_inner_company.LinkedIn_1_experience_inner_company(
+ name = '',
+ id = '',
+ public_identifier = '',
+ picture_url = '',
+ profile_url = '',
+ industries = [
+ ''
+ ], ),
+ job_title = '',
+ started_on = '',
+ ended_on = '',
+ location = '',
+ description = '',
+ employment_type = 'SELF_EMPLOYED',
+ workplace_type = 'ON_SITE',
+ skills = [
+ ''
+ ],
+ skills_preview = ''
+ )
+ else:
+ return LinkedIn1ExperienceInner(
+ company = unipile.models.linked_in_1_experience_inner_company.LinkedIn_1_experience_inner_company(
+ name = '',
+ id = '',
+ public_identifier = '',
+ picture_url = '',
+ profile_url = '',
+ industries = [
+ ''
+ ], ),
+ job_title = '',
+ )
+ """
+
+ def testLinkedIn1ExperienceInner(self):
+ """Test LinkedIn1ExperienceInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_experience_inner_company.py b/test/test_linked_in1_experience_inner_company.py
new file mode 100644
index 000000000..f91720329
--- /dev/null
+++ b/test/test_linked_in1_experience_inner_company.py
@@ -0,0 +1,59 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_experience_inner_company import LinkedIn1ExperienceInnerCompany
+
+class TestLinkedIn1ExperienceInnerCompany(unittest.TestCase):
+ """LinkedIn1ExperienceInnerCompany unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1ExperienceInnerCompany:
+ """Test LinkedIn1ExperienceInnerCompany
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1ExperienceInnerCompany`
+ """
+ model = LinkedIn1ExperienceInnerCompany()
+ if include_optional:
+ return LinkedIn1ExperienceInnerCompany(
+ name = '',
+ id = '',
+ public_identifier = '',
+ picture_url = '',
+ profile_url = '',
+ industries = [
+ ''
+ ]
+ )
+ else:
+ return LinkedIn1ExperienceInnerCompany(
+ id = '',
+ )
+ """
+
+ def testLinkedIn1ExperienceInnerCompany(self):
+ """Test LinkedIn1ExperienceInnerCompany"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_interests.py b/test/test_linked_in1_interests.py
new file mode 100644
index 000000000..c75ec18a7
--- /dev/null
+++ b/test/test_linked_in1_interests.py
@@ -0,0 +1,118 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_interests import LinkedIn1Interests
+
+class TestLinkedIn1Interests(unittest.TestCase):
+ """LinkedIn1Interests unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1Interests:
+ """Test LinkedIn1Interests
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1Interests`
+ """
+ model = LinkedIn1Interests()
+ if include_optional:
+ return LinkedIn1Interests(
+ top_voices = [
+ unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), )
+ ],
+ companies = [
+ unipile.models.linked_in_1_interests_companies_inner.LinkedIn_1_interests_companies_inner(
+ object = 'CompanyLightProfile',
+ id = '',
+ name = '',
+ profile_url = '',
+ public_picture_url = '',
+ public_identifier = '',
+ followers_count = 1.337,
+ is_following = True, )
+ ],
+ schools = [
+ unipile.models.linked_in_1_interests_schools_inner.LinkedIn_1_interests_schools_inner(
+ id = '',
+ name = '',
+ profile_url = '',
+ public_picture_url = '',
+ public_identifier = '',
+ followers_count = 1.337,
+ is_following = True,
+ object = 'SchoolLightProfile', )
+ ],
+ newsletters = [
+ unipile.models.linked_in_1_interests_newsletters_inner.LinkedIn_1_interests_newsletters_inner(
+ id = '',
+ title = '',
+ url = '',
+ description = '',
+ is_subscribed = True,
+ posting_frequency = 'MONTHLY',
+ public_picture_url = '', )
+ ],
+ groups = [
+ unipile.models.linked_in_1_interests_groups_inner.LinkedIn_1_interests_groups_inner(
+ id = '',
+ name = '',
+ url = '',
+ members_count = 1.337,
+ is_member = True,
+ public_picture_url = '', )
+ ]
+ )
+ else:
+ return LinkedIn1Interests(
+ )
+ """
+
+ def testLinkedIn1Interests(self):
+ """Test LinkedIn1Interests"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_interests_companies_inner.py b/test/test_linked_in1_interests_companies_inner.py
new file mode 100644
index 000000000..7f6508e40
--- /dev/null
+++ b/test/test_linked_in1_interests_companies_inner.py
@@ -0,0 +1,61 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_interests_companies_inner import LinkedIn1InterestsCompaniesInner
+
+class TestLinkedIn1InterestsCompaniesInner(unittest.TestCase):
+ """LinkedIn1InterestsCompaniesInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1InterestsCompaniesInner:
+ """Test LinkedIn1InterestsCompaniesInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1InterestsCompaniesInner`
+ """
+ model = LinkedIn1InterestsCompaniesInner()
+ if include_optional:
+ return LinkedIn1InterestsCompaniesInner(
+ object = 'CompanyLightProfile',
+ id = '',
+ name = '',
+ profile_url = '',
+ public_picture_url = '',
+ public_identifier = '',
+ followers_count = 1.337,
+ is_following = True
+ )
+ else:
+ return LinkedIn1InterestsCompaniesInner(
+ object = 'CompanyLightProfile',
+ id = '',
+ name = '',
+ )
+ """
+
+ def testLinkedIn1InterestsCompaniesInner(self):
+ """Test LinkedIn1InterestsCompaniesInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_interests_groups_inner.py b/test/test_linked_in1_interests_groups_inner.py
new file mode 100644
index 000000000..0790c569d
--- /dev/null
+++ b/test/test_linked_in1_interests_groups_inner.py
@@ -0,0 +1,58 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_interests_groups_inner import LinkedIn1InterestsGroupsInner
+
+class TestLinkedIn1InterestsGroupsInner(unittest.TestCase):
+ """LinkedIn1InterestsGroupsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1InterestsGroupsInner:
+ """Test LinkedIn1InterestsGroupsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1InterestsGroupsInner`
+ """
+ model = LinkedIn1InterestsGroupsInner()
+ if include_optional:
+ return LinkedIn1InterestsGroupsInner(
+ id = '',
+ name = '',
+ url = '',
+ members_count = 1.337,
+ is_member = True,
+ public_picture_url = ''
+ )
+ else:
+ return LinkedIn1InterestsGroupsInner(
+ name = '',
+ is_member = True,
+ )
+ """
+
+ def testLinkedIn1InterestsGroupsInner(self):
+ """Test LinkedIn1InterestsGroupsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_interests_newsletters_inner.py b/test/test_linked_in1_interests_newsletters_inner.py
new file mode 100644
index 000000000..6a756b87a
--- /dev/null
+++ b/test/test_linked_in1_interests_newsletters_inner.py
@@ -0,0 +1,59 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_interests_newsletters_inner import LinkedIn1InterestsNewslettersInner
+
+class TestLinkedIn1InterestsNewslettersInner(unittest.TestCase):
+ """LinkedIn1InterestsNewslettersInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1InterestsNewslettersInner:
+ """Test LinkedIn1InterestsNewslettersInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1InterestsNewslettersInner`
+ """
+ model = LinkedIn1InterestsNewslettersInner()
+ if include_optional:
+ return LinkedIn1InterestsNewslettersInner(
+ id = '',
+ title = '',
+ url = '',
+ description = '',
+ is_subscribed = True,
+ posting_frequency = 'MONTHLY',
+ public_picture_url = ''
+ )
+ else:
+ return LinkedIn1InterestsNewslettersInner(
+ title = '',
+ is_subscribed = True,
+ )
+ """
+
+ def testLinkedIn1InterestsNewslettersInner(self):
+ """Test LinkedIn1InterestsNewslettersInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_interests_schools_inner.py b/test/test_linked_in1_interests_schools_inner.py
new file mode 100644
index 000000000..7e73c7937
--- /dev/null
+++ b/test/test_linked_in1_interests_schools_inner.py
@@ -0,0 +1,61 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_interests_schools_inner import LinkedIn1InterestsSchoolsInner
+
+class TestLinkedIn1InterestsSchoolsInner(unittest.TestCase):
+ """LinkedIn1InterestsSchoolsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1InterestsSchoolsInner:
+ """Test LinkedIn1InterestsSchoolsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1InterestsSchoolsInner`
+ """
+ model = LinkedIn1InterestsSchoolsInner()
+ if include_optional:
+ return LinkedIn1InterestsSchoolsInner(
+ id = '',
+ name = '',
+ profile_url = '',
+ public_picture_url = '',
+ public_identifier = '',
+ followers_count = 1.337,
+ is_following = True,
+ object = 'SchoolLightProfile'
+ )
+ else:
+ return LinkedIn1InterestsSchoolsInner(
+ id = '',
+ name = '',
+ object = 'SchoolLightProfile',
+ )
+ """
+
+ def testLinkedIn1InterestsSchoolsInner(self):
+ """Test LinkedIn1InterestsSchoolsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_interests_top_voices_inner.py b/test/test_linked_in1_interests_top_voices_inner.py
new file mode 100644
index 000000000..1576ff137
--- /dev/null
+++ b/test/test_linked_in1_interests_top_voices_inner.py
@@ -0,0 +1,78 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
+
+class TestLinkedIn1InterestsTopVoicesInner(unittest.TestCase):
+ """LinkedIn1InterestsTopVoicesInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1InterestsTopVoicesInner:
+ """Test LinkedIn1InterestsTopVoicesInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1InterestsTopVoicesInner`
+ """
+ model = LinkedIn1InterestsTopVoicesInner()
+ if include_optional:
+ return LinkedIn1InterestsTopVoicesInner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, )
+ )
+ else:
+ return LinkedIn1InterestsTopVoicesInner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testLinkedIn1InterestsTopVoicesInner(self):
+ """Test LinkedIn1InterestsTopVoicesInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_languages_inner.py b/test/test_linked_in1_languages_inner.py
new file mode 100644
index 000000000..b23716827
--- /dev/null
+++ b/test/test_linked_in1_languages_inner.py
@@ -0,0 +1,53 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner
+
+class TestLinkedIn1LanguagesInner(unittest.TestCase):
+ """LinkedIn1LanguagesInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1LanguagesInner:
+ """Test LinkedIn1LanguagesInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1LanguagesInner`
+ """
+ model = LinkedIn1LanguagesInner()
+ if include_optional:
+ return LinkedIn1LanguagesInner(
+ language = '',
+ proficiency = 'ELEMENTARY'
+ )
+ else:
+ return LinkedIn1LanguagesInner(
+ language = '',
+ )
+ """
+
+ def testLinkedIn1LanguagesInner(self):
+ """Test LinkedIn1LanguagesInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_projects_inner.py b/test/test_linked_in1_projects_inner.py
new file mode 100644
index 000000000..0dfb02705
--- /dev/null
+++ b/test/test_linked_in1_projects_inner.py
@@ -0,0 +1,89 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_projects_inner import LinkedIn1ProjectsInner
+
+class TestLinkedIn1ProjectsInner(unittest.TestCase):
+ """LinkedIn1ProjectsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1ProjectsInner:
+ """Test LinkedIn1ProjectsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1ProjectsInner`
+ """
+ model = LinkedIn1ProjectsInner()
+ if include_optional:
+ return LinkedIn1ProjectsInner(
+ name = '',
+ description = '',
+ contributors = [
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, )
+ ],
+ skills = [
+ ''
+ ],
+ skills_preview = '',
+ started_on = '',
+ ended_on = ''
+ )
+ else:
+ return LinkedIn1ProjectsInner(
+ name = '',
+ contributors = [
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, )
+ ],
+ )
+ """
+
+ def testLinkedIn1ProjectsInner(self):
+ """Test LinkedIn1ProjectsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_projects_inner_contributors_inner.py b/test/test_linked_in1_projects_inner_contributors_inner.py
new file mode 100644
index 000000000..39dee905b
--- /dev/null
+++ b/test/test_linked_in1_projects_inner_contributors_inner.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_projects_inner_contributors_inner import LinkedIn1ProjectsInnerContributorsInner
+
+class TestLinkedIn1ProjectsInnerContributorsInner(unittest.TestCase):
+ """LinkedIn1ProjectsInnerContributorsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1ProjectsInnerContributorsInner:
+ """Test LinkedIn1ProjectsInnerContributorsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1ProjectsInnerContributorsInner`
+ """
+ model = LinkedIn1ProjectsInnerContributorsInner()
+ if include_optional:
+ return LinkedIn1ProjectsInnerContributorsInner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = None
+ )
+ else:
+ return LinkedIn1ProjectsInnerContributorsInner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testLinkedIn1ProjectsInnerContributorsInner(self):
+ """Test LinkedIn1ProjectsInnerContributorsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_recommendations.py b/test/test_linked_in1_recommendations.py
new file mode 100644
index 000000000..479f372ba
--- /dev/null
+++ b/test/test_linked_in1_recommendations.py
@@ -0,0 +1,126 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_recommendations import LinkedIn1Recommendations
+
+class TestLinkedIn1Recommendations(unittest.TestCase):
+ """LinkedIn1Recommendations unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1Recommendations:
+ """Test LinkedIn1Recommendations
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1Recommendations`
+ """
+ model = LinkedIn1Recommendations()
+ if include_optional:
+ return LinkedIn1Recommendations(
+ received = [
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
+ caption = '',
+ created_on = '',
+ text = '',
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), )
+ ],
+ given = [
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
+ caption = '',
+ created_on = '',
+ text = '',
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), )
+ ]
+ )
+ else:
+ return LinkedIn1Recommendations(
+ received = [
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
+ caption = '',
+ created_on = '',
+ text = '',
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), )
+ ],
+ given = [
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
+ caption = '',
+ created_on = '',
+ text = '',
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ), )
+ ],
+ )
+ """
+
+ def testLinkedIn1Recommendations(self):
+ """Test LinkedIn1Recommendations"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_recommendations_received_inner.py b/test/test_linked_in1_recommendations_received_inner.py
new file mode 100644
index 000000000..be7f846c1
--- /dev/null
+++ b/test/test_linked_in1_recommendations_received_inner.py
@@ -0,0 +1,80 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_recommendations_received_inner import LinkedIn1RecommendationsReceivedInner
+
+class TestLinkedIn1RecommendationsReceivedInner(unittest.TestCase):
+ """LinkedIn1RecommendationsReceivedInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1RecommendationsReceivedInner:
+ """Test LinkedIn1RecommendationsReceivedInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1RecommendationsReceivedInner`
+ """
+ model = LinkedIn1RecommendationsReceivedInner()
+ if include_optional:
+ return LinkedIn1RecommendationsReceivedInner(
+ caption = '',
+ created_on = '',
+ text = '',
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, )
+ )
+ else:
+ return LinkedIn1RecommendationsReceivedInner(
+ text = '',
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ )
+ """
+
+ def testLinkedIn1RecommendationsReceivedInner(self):
+ """Test LinkedIn1RecommendationsReceivedInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_recommendations_received_inner_user.py b/test/test_linked_in1_recommendations_received_inner_user.py
new file mode 100644
index 000000000..e7accb4c8
--- /dev/null
+++ b/test/test_linked_in1_recommendations_received_inner_user.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_recommendations_received_inner_user import LinkedIn1RecommendationsReceivedInnerUser
+
+class TestLinkedIn1RecommendationsReceivedInnerUser(unittest.TestCase):
+ """LinkedIn1RecommendationsReceivedInnerUser unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1RecommendationsReceivedInnerUser:
+ """Test LinkedIn1RecommendationsReceivedInnerUser
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1RecommendationsReceivedInnerUser`
+ """
+ model = LinkedIn1RecommendationsReceivedInnerUser()
+ if include_optional:
+ return LinkedIn1RecommendationsReceivedInnerUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = None
+ )
+ else:
+ return LinkedIn1RecommendationsReceivedInnerUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testLinkedIn1RecommendationsReceivedInnerUser(self):
+ """Test LinkedIn1RecommendationsReceivedInnerUser"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_recruiting_profile.py b/test/test_linked_in1_recruiting_profile.py
new file mode 100644
index 000000000..f3630f280
--- /dev/null
+++ b/test/test_linked_in1_recruiting_profile.py
@@ -0,0 +1,159 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_recruiting_profile import LinkedIn1RecruitingProfile
+
+class TestLinkedIn1RecruitingProfile(unittest.TestCase):
+ """LinkedIn1RecruitingProfile unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1RecruitingProfile:
+ """Test LinkedIn1RecruitingProfile
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1RecruitingProfile`
+ """
+ model = LinkedIn1RecruitingProfile()
+ if include_optional:
+ return LinkedIn1RecruitingProfile(
+ events = [
+ null
+ ],
+ notes = [
+ unipile.models.linked_in_1_recruiting_profile_notes_inner.LinkedIn_1_recruiting_profile_notes_inner(
+ project_id = '',
+ content = '',
+ last_modified_at = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
+ comments = [
+ unipile.models.linked_in_1_recruiting_profile_notes_inner_comments_inner.LinkedIn_1_recruiting_profile_notes_inner_comments_inner(
+ content = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '', ),
+ last_modified_at = '', )
+ ], )
+ ],
+ tags = [
+ unipile.models.linked_in_1_recruiting_profile_tags_inner.LinkedIn_1_recruiting_profile_tags_inner(
+ id = '',
+ content = '', )
+ ]
+ )
+ else:
+ return LinkedIn1RecruitingProfile(
+ notes = [
+ unipile.models.linked_in_1_recruiting_profile_notes_inner.LinkedIn_1_recruiting_profile_notes_inner(
+ project_id = '',
+ content = '',
+ last_modified_at = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
+ comments = [
+ unipile.models.linked_in_1_recruiting_profile_notes_inner_comments_inner.LinkedIn_1_recruiting_profile_notes_inner_comments_inner(
+ content = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '', ),
+ last_modified_at = '', )
+ ], )
+ ],
+ tags = [
+ unipile.models.linked_in_1_recruiting_profile_tags_inner.LinkedIn_1_recruiting_profile_tags_inner(
+ id = '',
+ content = '', )
+ ],
+ )
+ """
+
+ def testLinkedIn1RecruitingProfile(self):
+ """Test LinkedIn1RecruitingProfile"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_recruiting_profile_events_inner.py b/test/test_linked_in1_recruiting_profile_events_inner.py
new file mode 100644
index 000000000..8a70616c8
--- /dev/null
+++ b/test/test_linked_in1_recruiting_profile_events_inner.py
@@ -0,0 +1,117 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_recruiting_profile_events_inner import LinkedIn1RecruitingProfileEventsInner
+
+class TestLinkedIn1RecruitingProfileEventsInner(unittest.TestCase):
+ """LinkedIn1RecruitingProfileEventsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1RecruitingProfileEventsInner:
+ """Test LinkedIn1RecruitingProfileEventsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1RecruitingProfileEventsInner`
+ """
+ model = LinkedIn1RecruitingProfileEventsInner()
+ if include_optional:
+ return LinkedIn1RecruitingProfileEventsInner(
+ last_updated_at = '',
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
+ event = 'UNHANDLED_EVENT',
+ message_content = '',
+ message_status = 'PENDING',
+ note_content = '',
+ link_content = '',
+ project_id = '',
+ project_name = '',
+ pipeline_stage = ''
+ )
+ else:
+ return LinkedIn1RecruitingProfileEventsInner(
+ last_updated_at = '',
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
+ event = 'UNHANDLED_EVENT',
+ message_content = '',
+ message_status = 'PENDING',
+ link_content = '',
+ project_id = '',
+ project_name = '',
+ pipeline_stage = '',
+ )
+ """
+
+ def testLinkedIn1RecruitingProfileEventsInner(self):
+ """Test LinkedIn1RecruitingProfileEventsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_recruiting_profile_notes_inner.py b/test/test_linked_in1_recruiting_profile_notes_inner.py
new file mode 100644
index 000000000..8fae7b7bd
--- /dev/null
+++ b/test/test_linked_in1_recruiting_profile_notes_inner.py
@@ -0,0 +1,165 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_recruiting_profile_notes_inner import LinkedIn1RecruitingProfileNotesInner
+
+class TestLinkedIn1RecruitingProfileNotesInner(unittest.TestCase):
+ """LinkedIn1RecruitingProfileNotesInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1RecruitingProfileNotesInner:
+ """Test LinkedIn1RecruitingProfileNotesInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1RecruitingProfileNotesInner`
+ """
+ model = LinkedIn1RecruitingProfileNotesInner()
+ if include_optional:
+ return LinkedIn1RecruitingProfileNotesInner(
+ project_id = '',
+ content = '',
+ last_modified_at = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
+ comments = [
+ unipile.models.linked_in_1_recruiting_profile_notes_inner_comments_inner.LinkedIn_1_recruiting_profile_notes_inner_comments_inner(
+ content = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
+ last_modified_at = '', )
+ ]
+ )
+ else:
+ return LinkedIn1RecruitingProfileNotesInner(
+ content = '',
+ last_modified_at = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
+ comments = [
+ unipile.models.linked_in_1_recruiting_profile_notes_inner_comments_inner.LinkedIn_1_recruiting_profile_notes_inner_comments_inner(
+ content = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
+ last_modified_at = '', )
+ ],
+ )
+ """
+
+ def testLinkedIn1RecruitingProfileNotesInner(self):
+ """Test LinkedIn1RecruitingProfileNotesInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_recruiting_profile_notes_inner_comments_inner.py b/test/test_linked_in1_recruiting_profile_notes_inner_comments_inner.py
new file mode 100644
index 000000000..d4505a612
--- /dev/null
+++ b/test/test_linked_in1_recruiting_profile_notes_inner_comments_inner.py
@@ -0,0 +1,104 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_recruiting_profile_notes_inner_comments_inner import LinkedIn1RecruitingProfileNotesInnerCommentsInner
+
+class TestLinkedIn1RecruitingProfileNotesInnerCommentsInner(unittest.TestCase):
+ """LinkedIn1RecruitingProfileNotesInnerCommentsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1RecruitingProfileNotesInnerCommentsInner:
+ """Test LinkedIn1RecruitingProfileNotesInnerCommentsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1RecruitingProfileNotesInnerCommentsInner`
+ """
+ model = LinkedIn1RecruitingProfileNotesInnerCommentsInner()
+ if include_optional:
+ return LinkedIn1RecruitingProfileNotesInnerCommentsInner(
+ content = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
+ last_modified_at = ''
+ )
+ else:
+ return LinkedIn1RecruitingProfileNotesInnerCommentsInner(
+ content = '',
+ author = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
+ last_modified_at = '',
+ )
+ """
+
+ def testLinkedIn1RecruitingProfileNotesInnerCommentsInner(self):
+ """Test LinkedIn1RecruitingProfileNotesInnerCommentsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_recruiting_profile_tags_inner.py b/test/test_linked_in1_recruiting_profile_tags_inner.py
new file mode 100644
index 000000000..c0130db80
--- /dev/null
+++ b/test/test_linked_in1_recruiting_profile_tags_inner.py
@@ -0,0 +1,54 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_recruiting_profile_tags_inner import LinkedIn1RecruitingProfileTagsInner
+
+class TestLinkedIn1RecruitingProfileTagsInner(unittest.TestCase):
+ """LinkedIn1RecruitingProfileTagsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1RecruitingProfileTagsInner:
+ """Test LinkedIn1RecruitingProfileTagsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1RecruitingProfileTagsInner`
+ """
+ model = LinkedIn1RecruitingProfileTagsInner()
+ if include_optional:
+ return LinkedIn1RecruitingProfileTagsInner(
+ id = '',
+ content = ''
+ )
+ else:
+ return LinkedIn1RecruitingProfileTagsInner(
+ id = '',
+ content = '',
+ )
+ """
+
+ def testLinkedIn1RecruitingProfileTagsInner(self):
+ """Test LinkedIn1RecruitingProfileTagsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_relation_request.py b/test/test_linked_in1_relation_request.py
new file mode 100644
index 000000000..9f95bdf38
--- /dev/null
+++ b/test/test_linked_in1_relation_request.py
@@ -0,0 +1,71 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_relation_request import LinkedIn1RelationRequest
+
+class TestLinkedIn1RelationRequest(unittest.TestCase):
+ """LinkedIn1RelationRequest unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1RelationRequest:
+ """Test LinkedIn1RelationRequest
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1RelationRequest`
+ """
+ model = LinkedIn1RelationRequest()
+ if include_optional:
+ return LinkedIn1RelationRequest(
+ object = 'RelationRequest',
+ user = unipile.models.linked_in_1_relation_request_user.LinkedIn_1_relation_request_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ type = 'sent',
+ id = '',
+ created_at = '',
+ message = ''
+ )
+ else:
+ return LinkedIn1RelationRequest(
+ object = 'RelationRequest',
+ type = 'sent',
+ id = '',
+ )
+ """
+
+ def testLinkedIn1RelationRequest(self):
+ """Test LinkedIn1RelationRequest"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_relation_request_user.py b/test/test_linked_in1_relation_request_user.py
new file mode 100644
index 000000000..cdf6a8084
--- /dev/null
+++ b/test/test_linked_in1_relation_request_user.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_relation_request_user import LinkedIn1RelationRequestUser
+
+class TestLinkedIn1RelationRequestUser(unittest.TestCase):
+ """LinkedIn1RelationRequestUser unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1RelationRequestUser:
+ """Test LinkedIn1RelationRequestUser
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1RelationRequestUser`
+ """
+ model = LinkedIn1RelationRequestUser()
+ if include_optional:
+ return LinkedIn1RelationRequestUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = None
+ )
+ else:
+ return LinkedIn1RelationRequestUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testLinkedIn1RelationRequestUser(self):
+ """Test LinkedIn1RelationRequestUser"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_skills_inner.py b/test/test_linked_in1_skills_inner.py
new file mode 100644
index 000000000..4e3121a0c
--- /dev/null
+++ b/test/test_linked_in1_skills_inner.py
@@ -0,0 +1,59 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_skills_inner import LinkedIn1SkillsInner
+
+class TestLinkedIn1SkillsInner(unittest.TestCase):
+ """LinkedIn1SkillsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1SkillsInner:
+ """Test LinkedIn1SkillsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1SkillsInner`
+ """
+ model = LinkedIn1SkillsInner()
+ if include_optional:
+ return LinkedIn1SkillsInner(
+ name = '',
+ endorsement_count = 1.337,
+ endorsement_id = 1.337,
+ endorsed = True,
+ insights = [
+ ''
+ ]
+ )
+ else:
+ return LinkedIn1SkillsInner(
+ name = '',
+ endorsement_count = 1.337,
+ )
+ """
+
+ def testLinkedIn1SkillsInner(self):
+ """Test LinkedIn1SkillsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in1_volunteer_experience_inner.py b/test/test_linked_in1_volunteer_experience_inner.py
new file mode 100644
index 000000000..125d27491
--- /dev/null
+++ b/test/test_linked_in1_volunteer_experience_inner.py
@@ -0,0 +1,65 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner
+
+class TestLinkedIn1VolunteerExperienceInner(unittest.TestCase):
+ """LinkedIn1VolunteerExperienceInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn1VolunteerExperienceInner:
+ """Test LinkedIn1VolunteerExperienceInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn1VolunteerExperienceInner`
+ """
+ model = LinkedIn1VolunteerExperienceInner()
+ if include_optional:
+ return LinkedIn1VolunteerExperienceInner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
+ name = '',
+ id = '',
+ public_identifier = '',
+ picture_url = '',
+ profile_url = '',
+ industries = [
+ ''
+ ], ),
+ role = '',
+ cause = '',
+ description = '',
+ started_on = '',
+ ended_on = ''
+ )
+ else:
+ return LinkedIn1VolunteerExperienceInner(
+ role = '',
+ )
+ """
+
+ def testLinkedIn1VolunteerExperienceInner(self):
+ """Test LinkedIn1VolunteerExperienceInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in2.py b/test/test_linked_in2.py
new file mode 100644
index 000000000..78145b128
--- /dev/null
+++ b/test/test_linked_in2.py
@@ -0,0 +1,58 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in2 import LinkedIn2
+
+class TestLinkedIn2(unittest.TestCase):
+ """LinkedIn2 unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn2:
+ """Test LinkedIn2
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn2`
+ """
+ model = LinkedIn2()
+ if include_optional:
+ return LinkedIn2(
+ provider = 'linkedin',
+ user_timezone = '',
+ credentials = None,
+ config = {
+ 'key' : null
+ }
+ )
+ else:
+ return LinkedIn2(
+ provider = 'linkedin',
+ credentials = None,
+ )
+ """
+
+ def testLinkedIn2(self):
+ """Test LinkedIn2"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in2_config.py b/test/test_linked_in2_config.py
new file mode 100644
index 000000000..804dcb884
--- /dev/null
+++ b/test/test_linked_in2_config.py
@@ -0,0 +1,60 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in2_config import LinkedIn2Config
+
+class TestLinkedIn2Config(unittest.TestCase):
+ """LinkedIn2Config unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn2Config:
+ """Test LinkedIn2Config
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn2Config`
+ """
+ model = LinkedIn2Config()
+ if include_optional:
+ return LinkedIn2Config(
+ custom_proxy = unipile.models.custom_proxy.Custom proxy(
+ host = '',
+ port = 1.337,
+ username = '',
+ password = '',
+ protocol = 'https', ),
+ auto_proxy_config = unipile.models.automatic_proxy_configuration.Automatic proxy configuration(
+ country = '',
+ ip = '', ),
+ products = None
+ )
+ else:
+ return LinkedIn2Config(
+ )
+ """
+
+ def testLinkedIn2Config(self):
+ """Test LinkedIn2Config"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in2_config_products.py b/test/test_linked_in2_config_products.py
new file mode 100644
index 000000000..db4eb32e5
--- /dev/null
+++ b/test/test_linked_in2_config_products.py
@@ -0,0 +1,50 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in2_config_products import LinkedIn2ConfigProducts
+
+class TestLinkedIn2ConfigProducts(unittest.TestCase):
+ """LinkedIn2ConfigProducts unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn2ConfigProducts:
+ """Test LinkedIn2ConfigProducts
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn2ConfigProducts`
+ """
+ model = LinkedIn2ConfigProducts()
+ if include_optional:
+ return LinkedIn2ConfigProducts(
+ )
+ else:
+ return LinkedIn2ConfigProducts(
+ )
+ """
+
+ def testLinkedIn2ConfigProducts(self):
+ """Test LinkedIn2ConfigProducts"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in2_credentials.py b/test/test_linked_in2_credentials.py
new file mode 100644
index 000000000..37ef91194
--- /dev/null
+++ b/test/test_linked_in2_credentials.py
@@ -0,0 +1,59 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.linked_in2_credentials import LinkedIn2Credentials
+
+class TestLinkedIn2Credentials(unittest.TestCase):
+ """LinkedIn2Credentials unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> LinkedIn2Credentials:
+ """Test LinkedIn2Credentials
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `LinkedIn2Credentials`
+ """
+ model = LinkedIn2Credentials()
+ if include_optional:
+ return LinkedIn2Credentials(
+ username = '',
+ password = '',
+ user_agent = '',
+ access_token = '',
+ premium_access_token = ''
+ )
+ else:
+ return LinkedIn2Credentials(
+ username = '',
+ password = '',
+ user_agent = '',
+ access_token = '',
+ )
+ """
+
+ def testLinkedIn2Credentials(self):
+ """Test LinkedIn2Credentials"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_linked_in_api.py b/test/test_linked_in_api.py
index edfa6d252..5763432c9 100644
--- a/test/test_linked_in_api.py
+++ b/test/test_linked_in_api.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -173,6 +173,13 @@ def test_get_inmail_credits(self) -> None:
"""
pass
+ def test_get_managed_company_pages(self) -> None:
+ """Test case for get_managed_company_pages
+
+ List Managed Company Pages
+ """
+ pass
+
def test_get_recruiter_applicant_by_id(self) -> None:
"""Test case for get_recruiter_applicant_by_id
diff --git a/test/test_linked_in_classic.py b/test/test_linked_in_classic.py
index e2e39e9d2..8177f49c3 100644
--- a/test/test_linked_in_classic.py
+++ b/test/test_linked_in_classic.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_linked_in_classic_applicant.py b/test/test_linked_in_classic_applicant.py
index ea9c68a22..84d8ae9c6 100644
--- a/test/test_linked_in_classic_applicant.py
+++ b/test/test_linked_in_classic_applicant.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_linked_in_recruiter.py b/test/test_linked_in_recruiter.py
index 97496df3d..014c09406 100644
--- a/test/test_linked_in_recruiter.py
+++ b/test/test_linked_in_recruiter.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_linked_in_recruiter_follow_up.py b/test/test_linked_in_recruiter_follow_up.py
index 33392a64a..0da7b3e8a 100644
--- a/test/test_linked_in_recruiter_follow_up.py
+++ b/test/test_linked_in_recruiter_follow_up.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_linked_in_recruiter_follow_up_scheduled_for.py b/test/test_linked_in_recruiter_follow_up_scheduled_for.py
index 4a57d9f45..89ada4f3a 100644
--- a/test/test_linked_in_recruiter_follow_up_scheduled_for.py
+++ b/test/test_linked_in_recruiter_follow_up_scheduled_for.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_linked_in_sales_navigator.py b/test/test_linked_in_sales_navigator.py
index 01d342753..2594d4610 100644
--- a/test/test_linked_in_sales_navigator.py
+++ b/test/test_linked_in_sales_navigator.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_list_accounts200_response.py b/test/test_list_accounts200_response.py
index 1fcef68fd..33d0e4ee2 100644
--- a/test/test_list_accounts200_response.py
+++ b/test/test_list_accounts200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -45,17 +45,28 @@ def make_instance(self, include_optional) -> ListAccounts200Response:
id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
application_id = 'app_jUR,rZ#UM/?R,Fp^l6$ARj',
status = 'running',
+ is_locked = True,
provider = 'mock',
oauth_scope = '',
- metadata = {
- 'key' : ''
- },
+ metadata = unipile.models.account_1_metadata.Account_1_metadata(
+ auto_proxy_country = '',
+ v1_account_id = '',
+ products_connection_status = {
+ 'running' : 'running'
+ },
+ custom_data = {
+ 'key' : ''
+ }, ),
initial_sync = unipile.models.account_initial_sync.Account_initial_sync(
status = 'pending',
started_at = '', ),
proxy = unipile.models.account_1_proxy.Account_1_proxy(
country = '',
- auto_proxy = True, ), )
+ auto_proxy = True,
+ host = '',
+ port = 1.337,
+ username = '',
+ protocol = '', ), )
],
has_more = True
)
@@ -71,17 +82,28 @@ def make_instance(self, include_optional) -> ListAccounts200Response:
id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
application_id = 'app_jUR,rZ#UM/?R,Fp^l6$ARj',
status = 'running',
+ is_locked = True,
provider = 'mock',
oauth_scope = '',
- metadata = {
- 'key' : ''
- },
+ metadata = unipile.models.account_1_metadata.Account_1_metadata(
+ auto_proxy_country = '',
+ v1_account_id = '',
+ products_connection_status = {
+ 'running' : 'running'
+ },
+ custom_data = {
+ 'key' : ''
+ }, ),
initial_sync = unipile.models.account_initial_sync.Account_initial_sync(
status = 'pending',
started_at = '', ),
proxy = unipile.models.account_1_proxy.Account_1_proxy(
country = '',
- auto_proxy = True, ), )
+ auto_proxy = True,
+ host = '',
+ port = 1.337,
+ username = '',
+ protocol = '', ), )
],
has_more = True,
)
diff --git a/test/test_list_classic_user_job_postings200_response.py b/test/test_list_classic_user_job_postings200_response.py
index 121345557..297bea9c6 100644
--- a/test/test_list_classic_user_job_postings200_response.py
+++ b/test/test_list_classic_user_job_postings200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_list_classic_user_job_postings200_response_data_inner.py b/test/test_list_classic_user_job_postings200_response_data_inner.py
index 3a944503c..8b00c427b 100644
--- a/test/test_list_classic_user_job_postings200_response_data_inner.py
+++ b/test/test_list_classic_user_job_postings200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_list_user_followers200_response.py b/test/test_list_user_followers200_response.py
index e2962e675..7f9275776 100644
--- a/test/test_list_user_followers200_response.py
+++ b/test/test_list_user_followers200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,16 +36,19 @@ def make_instance(self, include_optional) -> ListUserFollowers200Response:
if include_optional:
return ListUserFollowers200Response(
data = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
total_count = 1.337,
next_cursor = ''
@@ -53,16 +56,19 @@ def make_instance(self, include_optional) -> ListUserFollowers200Response:
else:
return ListUserFollowers200Response(
data = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.get_chats_list_200_response_data_inner_participants_inner_user.getChatsList_200_response_data_inner_participants_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
)
"""
diff --git a/test/test_list_webhook_conversations200_response.py b/test/test_list_webhook_conversations200_response.py
index d06df8037..1beb57fbd 100644
--- a/test/test_list_webhook_conversations200_response.py
+++ b/test/test_list_webhook_conversations200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_list_webhook_conversations200_response_data_inner.py b/test/test_list_webhook_conversations200_response_data_inner.py
index 4b769c41d..c893ee59a 100644
--- a/test/test_list_webhook_conversations200_response_data_inner.py
+++ b/test/test_list_webhook_conversations200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_list_webhook_endpoints200_response.py b/test/test_list_webhook_endpoints200_response.py
index 418e835f8..d49831eb1 100644
--- a/test/test_list_webhook_endpoints200_response.py
+++ b/test/test_list_webhook_endpoints200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_list_webhook_endpoints200_response_data_inner.py b/test/test_list_webhook_endpoints200_response_data_inner.py
index b9b487b10..6e068b6a7 100644
--- a/test/test_list_webhook_endpoints200_response_data_inner.py
+++ b/test/test_list_webhook_endpoints200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_list_webhook_endpoints200_response_data_inner_account_targets_inner.py b/test/test_list_webhook_endpoints200_response_data_inner_account_targets_inner.py
index 1161d20dc..6e3c25c1e 100644
--- a/test/test_list_webhook_endpoints200_response_data_inner_account_targets_inner.py
+++ b/test/test_list_webhook_endpoints200_response_data_inner_account_targets_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_loading.py b/test/test_loading.py
new file mode 100644
index 000000000..ae8fd95c2
--- /dev/null
+++ b/test/test_loading.py
@@ -0,0 +1,52 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.loading import Loading
+
+class TestLoading(unittest.TestCase):
+ """Loading unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> Loading:
+ """Test Loading
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `Loading`
+ """
+ model = Loading()
+ if include_optional:
+ return Loading(
+ type = 'LOADING'
+ )
+ else:
+ return Loading(
+ type = 'LOADING',
+ )
+ """
+
+ def testLoading(self):
+ """Test Loading"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_media_share.py b/test/test_media_share.py
index 30f6e6b07..e139c754d 100644
--- a/test/test_media_share.py
+++ b/test/test_media_share.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> MediaShare:
object = 'Attachment',
id = '',
file_size = 1.337,
+ is_inline = True,
is_unavailable = True,
mimetype = '',
url = '',
@@ -52,6 +53,7 @@ def make_instance(self, include_optional) -> MediaShare:
return MediaShare(
object = 'Attachment',
id = '',
+ is_inline = True,
mimetype = '',
url = '',
type = 'shared_content',
diff --git a/test/test_message.py b/test/test_message.py
index 9097f16e7..2514a722f 100644
--- a/test/test_message.py
+++ b/test/test_message.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,16 +36,31 @@ def make_instance(self, include_optional) -> Message:
if include_optional:
return Message(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'MESSAGE',
message_content = '',
message_status = 'PENDING'
@@ -53,16 +68,31 @@ def make_instance(self, include_optional) -> Message:
else:
return Message(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'MESSAGE',
message_content = '',
message_status = 'PENDING',
diff --git a/test/test_message_file.py b/test/test_message_file.py
index be074130c..661e21ea4 100644
--- a/test/test_message_file.py
+++ b/test/test_message_file.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_message_file_metadata.py b/test/test_message_file_metadata.py
index 44cbd165c..3f799dd27 100644
--- a/test/test_message_file_metadata.py
+++ b/test/test_message_file_metadata.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_message_pin_status.py b/test/test_message_pin_status.py
index 937393593..a3364f6c5 100644
--- a/test/test_message_pin_status.py
+++ b/test/test_message_pin_status.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_messaging_api.py b/test/test_messaging_api.py
index 60f4fa7e2..15e9a3832 100644
--- a/test/test_messaging_api.py
+++ b/test/test_messaging_api.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -82,6 +82,13 @@ def test_get_chats_list(self) -> None:
"""
pass
+ def test_get_contacts_list(self) -> None:
+ """Test case for get_contacts_list
+
+ List contacts
+ """
+ pass
+
def test_get_inbox_chats_list(self) -> None:
"""Test case for get_inbox_chats_list
diff --git a/test/test_mock.py b/test/test_mock.py
index 24759b297..697eba267 100644
--- a/test/test_mock.py
+++ b/test/test_mock.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_modify_email_request.py b/test/test_modify_email_request.py
index 60a4c9245..649a4b277 100644
--- a/test/test_modify_email_request.py
+++ b/test/test_modify_email_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> ModifyEmailRequest:
if include_optional:
return ModifyEmailRequest(
folders_ids = [
- ''
+ '0'
],
specifics = None
)
diff --git a/test/test_modify_email_request_specifics.py b/test/test_modify_email_request_specifics.py
index 112892fb4..050d5582c 100644
--- a/test/test_modify_email_request_specifics.py
+++ b/test/test_modify_email_request_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_modify_email_request_specifics_all_of_outlook.py b/test/test_modify_email_request_specifics_all_of_outlook.py
index d32ebee07..09104a668 100644
--- a/test/test_modify_email_request_specifics_all_of_outlook.py
+++ b/test/test_modify_email_request_specifics_all_of_outlook.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_modify_message200_response.py b/test/test_modify_message200_response.py
index 5ce30e2f9..059bde833 100644
--- a/test/test_modify_message200_response.py
+++ b/test/test_modify_message200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -53,56 +53,71 @@ def make_instance(self, include_optional) -> ModifyMessage200Response:
event_type = 0,
event_metadata = None,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
- sender = unipile.models.get_messages_list_200_response_data_inner_sender.getMessagesList_200_response_data_inner_sender(
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
provider = 'mock',
attachments = [
null
],
- quoted = unipile.models.get_messages_list_200_response_data_inner_quoted.getMessagesList_200_response_data_inner_quoted(
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
+ quoted = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_quoted.getChatsList_200_response_data_inner_last_message_anyOf_1_quoted(
object = 'QuotedMessage',
id = '',
text = '',
attachments = [
null
],
- sender = unipile.models.get_messages_list_200_response_data_inner_sender.getMessagesList_200_response_data_inner_sender(
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), ),
- forwarded = unipile.models.get_messages_list_200_response_data_inner_forwarded.getMessagesList_200_response_data_inner_forwarded(
+ description = '',
+ specifics = null, ), ),
+ forwarded = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_forwarded.getChatsList_200_response_data_inner_last_message_anyOf_1_forwarded(
text = '',
attachments = [
null
],
- sender = unipile.models.get_messages_list_200_response_data_inner_sender.getMessagesList_200_response_data_inner_sender(
+ sender = unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_sender.getChatsList_200_response_data_inner_last_message_anyOf_1_sender(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
object = 'ForwardedMessage', ),
specifics = None
)
@@ -123,7 +138,7 @@ def make_instance(self, include_optional) -> ModifyMessage200Response:
is_event = True,
is_mentionned = True,
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -131,6 +146,12 @@ def make_instance(self, include_optional) -> ModifyMessage200Response:
attachments = [
null
],
+ hyperlinks = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_hyperlinks_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_hyperlinks_inner(
+ url = '',
+ starts_at = 1.337,
+ length = 1.337, )
+ ],
)
"""
diff --git a/test/test_modify_message_request.py b/test/test_modify_message_request.py
index fd77095f5..4b89b5156 100644
--- a/test/test_modify_message_request.py
+++ b/test/test_modify_message_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_multiple_choices.py b/test/test_multiple_choices.py
index 36b0f26a2..a17984a3c 100644
--- a/test/test_multiple_choices.py
+++ b/test/test_multiple_choices.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_multiple_choices1.py b/test/test_multiple_choices1.py
index a7bffbde9..7d4fc931b 100644
--- a/test/test_multiple_choices1.py
+++ b/test/test_multiple_choices1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_new_participant_joined_the_chat_group.py b/test/test_new_participant_joined_the_chat_group.py
index 28a847499..95a466f89 100644
--- a/test/test_new_participant_joined_the_chat_group.py
+++ b/test/test_new_participant_joined_the_chat_group.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_note.py b/test/test_note.py
index 56f66309e..510e107df 100644
--- a/test/test_note.py
+++ b/test/test_note.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,32 +36,62 @@ def make_instance(self, include_optional) -> Note:
if include_optional:
return Note(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'NOTE_ADDED',
note_content = ''
)
else:
return Note(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'NOTE_ADDED',
)
"""
diff --git a/test/test_numeric_answer.py b/test/test_numeric_answer.py
index a88cb6a18..96652d4ea 100644
--- a/test/test_numeric_answer.py
+++ b/test/test_numeric_answer.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_oauth_outlook_google.py b/test/test_oauth_outlook_google.py
index 24a97ccb3..166bb6634 100644
--- a/test/test_oauth_outlook_google.py
+++ b/test/test_oauth_outlook_google.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_oauth_outlook_google_config.py b/test/test_oauth_outlook_google_config.py
index f141949d1..f0879ea1d 100644
--- a/test/test_oauth_outlook_google_config.py
+++ b/test/test_oauth_outlook_google_config.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -42,7 +42,7 @@ def make_instance(self, include_optional) -> OauthOutlookGoogleConfig:
password = '',
protocol = 'https', ),
oauth_scope = [
- ''
+ '0'
]
)
else:
diff --git a/test/test_oauth_url.py b/test/test_oauth_url.py
index c5907e461..ad9c62b9e 100644
--- a/test/test_oauth_url.py
+++ b/test/test_oauth_url.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_one_time_password.py b/test/test_one_time_password.py
index f7ff40ba8..5653e493f 100644
--- a/test/test_one_time_password.py
+++ b/test/test_one_time_password.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,7 +35,8 @@ def make_instance(self, include_optional) -> OneTimePassword:
model = OneTimePassword()
if include_optional:
return OneTimePassword(
- type = 'OTP'
+ type = 'OTP',
+ channel = 'EMAIL'
)
else:
return OneTimePassword(
diff --git a/test/test_otpor_in_app_validation.py b/test/test_otpor_in_app_validation.py
index a519fca44..1ab1ce856 100644
--- a/test/test_otpor_in_app_validation.py
+++ b/test/test_otpor_in_app_validation.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,7 +35,8 @@ def make_instance(self, include_optional) -> OTPOrInAppValidation:
model = OTPOrInAppValidation()
if include_optional:
return OTPOrInAppValidation(
- type = 'OTP_OR_IN_APP_VALIDATION'
+ type = 'OTP_OR_IN_APP_VALIDATION',
+ channel = 'EMAIL'
)
else:
return OTPOrInAppValidation(
diff --git a/test/test_partial_profile.py b/test/test_partial_profile.py
index 9a75eb9be..cafd3a08e 100644
--- a/test/test_partial_profile.py
+++ b/test/test_partial_profile.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -50,7 +50,7 @@ def make_instance(self, include_optional) -> PartialProfile:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -75,7 +75,6 @@ def make_instance(self, include_optional) -> PartialProfile:
else:
return PartialProfile(
id = '',
- headline = '',
network_distance = 'SELF',
visibility = 'partial',
candidate_id = '',
@@ -83,7 +82,7 @@ def make_instance(self, include_optional) -> PartialProfile:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_partial_profile1.py b/test/test_partial_profile1.py
index 57857b173..f81e2bd06 100644
--- a/test/test_partial_profile1.py
+++ b/test/test_partial_profile1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -52,7 +52,7 @@ def make_instance(self, include_optional) -> PartialProfile1:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -78,7 +78,6 @@ def make_instance(self, include_optional) -> PartialProfile1:
return PartialProfile1(
object = 'PeopleSearchResult',
id = '',
- headline = '',
network_distance = 'SELF',
product = 'recruiter',
visibility = 'partial',
@@ -87,7 +86,7 @@ def make_instance(self, include_optional) -> PartialProfile1:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_partial_profile_hiring_project.py b/test/test_partial_profile_hiring_project.py
index c7dd1557e..4d93579d8 100644
--- a/test/test_partial_profile_hiring_project.py
+++ b/test/test_partial_profile_hiring_project.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_partial_profile_work_experience_inner.py b/test/test_partial_profile_work_experience_inner.py
index 6b2de56cc..129e23afc 100644
--- a/test/test_partial_profile_work_experience_inner.py
+++ b/test/test_partial_profile_work_experience_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> PartialProfileWorkExperienceInner:
if include_optional:
return PartialProfileWorkExperienceInner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -59,7 +59,7 @@ def make_instance(self, include_optional) -> PartialProfileWorkExperienceInner:
)
else:
return PartialProfileWorkExperienceInner(
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_participant_removed_from_chat_group.py b/test/test_participant_removed_from_chat_group.py
index e4e823227..b00506a91 100644
--- a/test/test_participant_removed_from_chat_group.py
+++ b/test/test_participant_removed_from_chat_group.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_participant_role_updated.py b/test/test_participant_role_updated.py
index 7f9837ae9..1de2e594e 100644
--- a/test/test_participant_role_updated.py
+++ b/test/test_participant_role_updated.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_people_search.py b/test/test_people_search.py
index bc7447a60..3757940e6 100644
--- a/test/test_people_search.py
+++ b/test/test_people_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_people_search1.py b/test/test_people_search1.py
index 336d2b369..9644b7b35 100644
--- a/test/test_people_search1.py
+++ b/test/test_people_search1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -87,7 +87,7 @@ def make_instance(self, include_optional) -> PeopleSearch1:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -114,7 +114,7 @@ def make_instance(self, include_optional) -> PeopleSearch1:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -133,13 +133,13 @@ def make_instance(self, include_optional) -> PeopleSearch1:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -209,7 +209,7 @@ def make_instance(self, include_optional) -> PeopleSearch1:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -236,7 +236,7 @@ def make_instance(self, include_optional) -> PeopleSearch1:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -255,13 +255,13 @@ def make_instance(self, include_optional) -> PeopleSearch1:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_people_search1_data_inner.py b/test/test_people_search1_data_inner.py
index 299f8a339..f5a17f840 100644
--- a/test/test_people_search1_data_inner.py
+++ b/test/test_people_search1_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -85,7 +85,7 @@ def make_instance(self, include_optional) -> PeopleSearch1DataInner:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -112,7 +112,7 @@ def make_instance(self, include_optional) -> PeopleSearch1DataInner:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -134,13 +134,13 @@ def make_instance(self, include_optional) -> PeopleSearch1DataInner:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -161,7 +161,6 @@ def make_instance(self, include_optional) -> PeopleSearch1DataInner:
object = 'PeopleSearchResult',
id = '',
display_name = '',
- headline = '',
network_distance = None,
product = 'sales_navigator',
has_been_viewed = True,
@@ -186,7 +185,7 @@ def make_instance(self, include_optional) -> PeopleSearch1DataInner:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -213,7 +212,7 @@ def make_instance(self, include_optional) -> PeopleSearch1DataInner:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -235,13 +234,13 @@ def make_instance(self, include_optional) -> PeopleSearch1DataInner:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_people_search1_data_inner_contact_info.py b/test/test_people_search1_data_inner_contact_info.py
index 230047d53..783bc5866 100644
--- a/test/test_people_search1_data_inner_contact_info.py
+++ b/test/test_people_search1_data_inner_contact_info.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_people_search1_data_inner_latest_contact.py b/test/test_people_search1_data_inner_latest_contact.py
index 91a79d88e..14747334b 100644
--- a/test/test_people_search1_data_inner_latest_contact.py
+++ b/test/test_people_search1_data_inner_latest_contact.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_people_search1_data_inner_network_distance.py b/test/test_people_search1_data_inner_network_distance.py
index 8eacc606a..20adad069 100644
--- a/test/test_people_search1_data_inner_network_distance.py
+++ b/test/test_people_search1_data_inner_network_distance.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_people_search1_data_inner_social_handles.py b/test/test_people_search1_data_inner_social_handles.py
index 537f54245..c56d745ed 100644
--- a/test/test_people_search1_data_inner_social_handles.py
+++ b/test/test_people_search1_data_inner_social_handles.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_people_search2.py b/test/test_people_search2.py
index 432cd387c..7f44a8491 100644
--- a/test/test_people_search2.py
+++ b/test/test_people_search2.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -87,7 +87,7 @@ def make_instance(self, include_optional) -> PeopleSearch2:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -114,7 +114,7 @@ def make_instance(self, include_optional) -> PeopleSearch2:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -133,13 +133,13 @@ def make_instance(self, include_optional) -> PeopleSearch2:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -209,7 +209,7 @@ def make_instance(self, include_optional) -> PeopleSearch2:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -236,7 +236,7 @@ def make_instance(self, include_optional) -> PeopleSearch2:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -255,13 +255,13 @@ def make_instance(self, include_optional) -> PeopleSearch2:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_people_search2_data_inner.py b/test/test_people_search2_data_inner.py
index c9fc502ef..4b40ed643 100644
--- a/test/test_people_search2_data_inner.py
+++ b/test/test_people_search2_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -85,7 +85,7 @@ def make_instance(self, include_optional) -> PeopleSearch2DataInner:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -112,7 +112,7 @@ def make_instance(self, include_optional) -> PeopleSearch2DataInner:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -134,13 +134,13 @@ def make_instance(self, include_optional) -> PeopleSearch2DataInner:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -161,7 +161,6 @@ def make_instance(self, include_optional) -> PeopleSearch2DataInner:
object = 'PeopleSearchResult',
id = '',
display_name = '',
- headline = '',
network_distance = None,
product = 'sales_navigator',
has_been_viewed = True,
@@ -186,7 +185,7 @@ def make_instance(self, include_optional) -> PeopleSearch2DataInner:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -213,7 +212,7 @@ def make_instance(self, include_optional) -> PeopleSearch2DataInner:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -235,13 +234,13 @@ def make_instance(self, include_optional) -> PeopleSearch2DataInner:
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_people_search_data_inner.py b/test/test_people_search_data_inner.py
index c6b1cd965..1c66950a6 100644
--- a/test/test_people_search_data_inner.py
+++ b/test/test_people_search_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -52,7 +52,7 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -97,7 +97,7 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -117,14 +117,14 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
ended_on = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
certifications = [
unipile.models.full_profile_certifications_inner.Full_profile_certifications_inner(
title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -147,16 +147,19 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
name = '',
description = '',
contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
skills = [
''
@@ -166,8 +169,8 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
ended_on = '', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -183,27 +186,29 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
ended_on = '', )
],
recommendations = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
caption = '',
created_on = '',
text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), )
+ description = '',
+ specifics = null, ), )
]
)
else:
return PeopleSearchDataInner(
object = 'PeopleSearchResult',
id = '',
- headline = '',
network_distance = 'SELF',
product = 'recruiter',
visibility = 'full',
@@ -212,7 +217,7 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -234,7 +239,6 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
skills_preview = '', )
],
display_name = '',
- industry = '',
skills = [
unipile.models.full_profile_skills_inner.Full_profile_skills_inner(
name = '',
@@ -243,7 +247,7 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -263,14 +267,14 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
ended_on = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
certifications = [
unipile.models.full_profile_certifications_inner.Full_profile_certifications_inner(
title = '',
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -293,16 +297,19 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
name = '',
description = '',
contributors = [
- unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ unipile.models.linked_in_1_projects_inner_contributors_inner.LinkedIn_1_projects_inner_contributors_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', )
+ description = '',
+ specifics = null, )
],
skills = [
''
@@ -312,8 +319,8 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
ended_on = '', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -329,20 +336,23 @@ def make_instance(self, include_optional) -> PeopleSearchDataInner:
ended_on = '', )
],
recommendations = [
- unipile.models.linked_in_recommendations_received_inner.LinkedIn_recommendations_received_inner(
+ unipile.models.linked_in_1_recommendations_received_inner.LinkedIn_1_recommendations_received_inner(
caption = '',
created_on = '',
text = '',
- user = unipile.models.linked_in_recommendations_received_inner_user.LinkedIn_recommendations_received_inner_user(
+ user = unipile.models.linked_in_1_recommendations_received_inner_user.LinkedIn_1_recommendations_received_inner_user(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ), )
+ description = '',
+ specifics = null, ), )
],
)
"""
diff --git a/test/test_people_search_results.py b/test/test_people_search_results.py
index 612f53166..b3de3337c 100644
--- a/test/test_people_search_results.py
+++ b/test/test_people_search_results.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -57,7 +57,10 @@ def make_instance(self, include_optional) -> PeopleSearchResults:
keywords_match = '',
is_premium = True,
is_open_profile = True,
- shared_relations_count = 1.337, )
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '', )
],
total_count = 1.337,
next_cursor = ''
@@ -86,7 +89,10 @@ def make_instance(self, include_optional) -> PeopleSearchResults:
keywords_match = '',
is_premium = True,
is_open_profile = True,
- shared_relations_count = 1.337, )
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '', )
],
)
"""
diff --git a/test/test_people_search_results_data_inner.py b/test/test_people_search_results_data_inner.py
index 0acbafd96..7666e0b77 100644
--- a/test/test_people_search_results_data_inner.py
+++ b/test/test_people_search_results_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -55,14 +55,16 @@ def make_instance(self, include_optional) -> PeopleSearchResultsDataInner:
keywords_match = '',
is_premium = True,
is_open_profile = True,
- shared_relations_count = 1.337
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = ''
)
else:
return PeopleSearchResultsDataInner(
object = 'PeopleSearchResult',
id = '',
display_name = '',
- headline = '',
network_distance = 'SELF',
product = 'classic',
)
diff --git a/test/test_perform_classic_companies_search_request.py b/test/test_perform_classic_companies_search_request.py
index 79b001ebf..2c6cde52b 100644
--- a/test/test_perform_classic_companies_search_request.py
+++ b/test/test_perform_classic_companies_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_classic_companies_search_request_headcount_inner.py b/test/test_perform_classic_companies_search_request_headcount_inner.py
index e3f12c076..b3449e46c 100644
--- a/test/test_perform_classic_companies_search_request_headcount_inner.py
+++ b/test/test_perform_classic_companies_search_request_headcount_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_classic_jobs_search_request.py b/test/test_perform_classic_jobs_search_request.py
index 5677a23eb..f8c63a55f 100644
--- a/test/test_perform_classic_jobs_search_request.py
+++ b/test/test_perform_classic_jobs_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_classic_jobs_search_request_salary.py b/test/test_perform_classic_jobs_search_request_salary.py
index 21800d970..08166e363 100644
--- a/test/test_perform_classic_jobs_search_request_salary.py
+++ b/test/test_perform_classic_jobs_search_request_salary.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_classic_people_search_request.py b/test/test_perform_classic_people_search_request.py
index a4873a92f..97484249c 100644
--- a/test/test_perform_classic_people_search_request.py
+++ b/test/test_perform_classic_people_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_classic_people_search_request_advanced_keywords.py b/test/test_perform_classic_people_search_request_advanced_keywords.py
index b03a49b97..f43f52cfa 100644
--- a/test/test_perform_classic_people_search_request_advanced_keywords.py
+++ b/test/test_perform_classic_people_search_request_advanced_keywords.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_classic_posts_search_request.py b/test/test_perform_classic_posts_search_request.py
index 2fdf2288a..792f0002f 100644
--- a/test/test_perform_classic_posts_search_request.py
+++ b/test/test_perform_classic_posts_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_classic_posts_search_request_author.py b/test/test_perform_classic_posts_search_request_author.py
index 60aa516fb..e9e914041 100644
--- a/test/test_perform_classic_posts_search_request_author.py
+++ b/test/test_perform_classic_posts_search_request_author.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_classic_posts_search_request_mentioning.py b/test/test_perform_classic_posts_search_request_mentioning.py
index 2ef18b81b..a93e07506 100644
--- a/test/test_perform_classic_posts_search_request_mentioning.py
+++ b/test/test_perform_classic_posts_search_request_mentioning.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_classic_posts_search_request_posted_by.py b/test/test_perform_classic_posts_search_request_posted_by.py
index 266f87a1e..1188e35d6 100644
--- a/test/test_perform_classic_posts_search_request_posted_by.py
+++ b/test/test_perform_classic_posts_search_request_posted_by.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_classic_search_from_url200_response.py b/test/test_perform_classic_search_from_url200_response.py
index 6513f544e..6a59e3060 100644
--- a/test/test_perform_classic_search_from_url200_response.py
+++ b/test/test_perform_classic_search_from_url200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -43,23 +43,26 @@ def make_instance(self, include_optional) -> PerformClassicSearchFromUrl200Respo
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -99,41 +102,48 @@ def make_instance(self, include_optional) -> PerformClassicSearchFromUrl200Respo
page_viewers_from_this_post_counter = 1.337,
followers_gained_from_this_post_counter = 1.337,
users_reached_counter = 1.337, ),
+ specifics = null,
is_repost = True,
- reposted_by = unipile.models.get_posts_list_200_response_data_inner_reposted_by.getPostsList_200_response_data_inner_reposted_by(
+ reposted_by = unipile.models.update_post_200_response_reposted_by.updatePost_200_response_reposted_by(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- quoted_post = unipile.models.get_posts_list_200_response_data_inner_quoted_post.getPostsList_200_response_data_inner_quoted_post(
+ description = '',
+ specifics = null, ),
+ quoted_post = unipile.models.update_post_200_response_quoted_post.updatePost_200_response_quoted_post(
object = 'Post',
id = '',
share_url = '',
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -141,7 +151,8 @@ def make_instance(self, include_optional) -> PerformClassicSearchFromUrl200Respo
reposts_counter = 1.337,
attachments = [
null
- ], ), )
+ ],
+ specifics = null, ), )
],
total_count = 1.337,
next_cursor = ''
@@ -156,23 +167,26 @@ def make_instance(self, include_optional) -> PerformClassicSearchFromUrl200Respo
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -212,41 +226,48 @@ def make_instance(self, include_optional) -> PerformClassicSearchFromUrl200Respo
page_viewers_from_this_post_counter = 1.337,
followers_gained_from_this_post_counter = 1.337,
users_reached_counter = 1.337, ),
+ specifics = null,
is_repost = True,
- reposted_by = unipile.models.get_posts_list_200_response_data_inner_reposted_by.getPostsList_200_response_data_inner_reposted_by(
+ reposted_by = unipile.models.update_post_200_response_reposted_by.updatePost_200_response_reposted_by(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- quoted_post = unipile.models.get_posts_list_200_response_data_inner_quoted_post.getPostsList_200_response_data_inner_quoted_post(
+ description = '',
+ specifics = null, ),
+ quoted_post = unipile.models.update_post_200_response_quoted_post.updatePost_200_response_quoted_post(
object = 'Post',
id = '',
share_url = '',
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -254,7 +275,8 @@ def make_instance(self, include_optional) -> PerformClassicSearchFromUrl200Respo
reposts_counter = 1.337,
attachments = [
null
- ], ), )
+ ],
+ specifics = null, ), )
],
)
"""
diff --git a/test/test_perform_classic_search_from_url_request.py b/test/test_perform_classic_search_from_url_request.py
index 02a6ca1c4..40d60abff 100644
--- a/test/test_perform_classic_search_from_url_request.py
+++ b/test/test_perform_classic_search_from_url_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request.py b/test/test_perform_recruiter_people_search_from_talent_pool_request.py
index 4864dc9f8..84cbffe7d 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_company_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_company_inner.py
index 353d06783..70bde894c 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_company_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_company_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_current_company_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_current_company_inner.py
index 1436ac491..beb5b4ec4 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_current_company_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_current_company_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_degree.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_degree.py
index 6ab2a147e..262255144 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_degree.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_degree.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_field_of_study_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_field_of_study_inner.py
index f0c209b1d..6232990f0 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_field_of_study_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_field_of_study_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_graduation_year.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_graduation_year.py
index ff9a6421c..622448890 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_graduation_year.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_graduation_year.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_hide_previously_viewed.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_hide_previously_viewed.py
index c80b943b3..ac963ac49 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_hide_previously_viewed.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_hide_previously_viewed.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_industry.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_industry.py
index a2e56751e..8fe702df5 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_industry.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_industry.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_job_title_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_job_title_inner.py
index 6d0ffec83..60e91862d 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_job_title_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_job_title_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_load_custom_filter.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_load_custom_filter.py
index a8c6ec783..b4c5a8b03 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_load_custom_filter.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_load_custom_filter.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_load_saved_search.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_load_saved_search.py
index a344fe879..f97a3c42c 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_load_saved_search.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_load_saved_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_location_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_location_inner.py
index 46efe4755..60d7f6135 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_location_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_location_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_occupation_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_occupation_inner.py
index 724667ce5..391fe64ee 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_occupation_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_occupation_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_postal_code_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_postal_code_inner.py
index fc4bfad34..097456ae5 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_postal_code_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_postal_code_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_project.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_project.py
index 2a94bfa61..f0932fea7 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_project.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_project.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_project_include_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_project_include_inner.py
index 0fac18906..07d2bfc11 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_project_include_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_project_include_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_recently_joined_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_recently_joined_inner.py
index 9da539a17..ca7622e82 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_recently_joined_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_recently_joined_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_recruiting_activity_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_recruiting_activity_inner.py
index 77f72ceb2..115e2a234 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_recruiting_activity_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_recruiting_activity_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_save_custom_filter.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_save_custom_filter.py
index 6798f31c0..c17e161c5 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_save_custom_filter.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_save_custom_filter.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_save_search.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_save_search.py
index dfb78e289..c0957af1b 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_save_search.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_save_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_school_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_school_inner.py
index b8f6e2cc4..047ae326f 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_school_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_school_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_skills_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_skills_inner.py
index 868d72f93..ce6ba8f4e 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_skills_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_skills_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_spoken_language_inner.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_spoken_language_inner.py
index 046a32293..09f809db1 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_spoken_language_inner.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_spoken_language_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_from_talent_pool_request_tags.py b/test/test_perform_recruiter_people_search_from_talent_pool_request_tags.py
index 0407065e7..050277b26 100644
--- a/test/test_perform_recruiter_people_search_from_talent_pool_request_tags.py
+++ b/test/test_perform_recruiter_people_search_from_talent_pool_request_tags.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_request.py b/test/test_perform_recruiter_people_search_request.py
index 8727adc13..1de33360d 100644
--- a/test/test_perform_recruiter_people_search_request.py
+++ b/test/test_perform_recruiter_people_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_people_search_request_industry.py b/test/test_perform_recruiter_people_search_request_industry.py
index 3e415c640..eb7cf7cde 100644
--- a/test/test_perform_recruiter_people_search_request_industry.py
+++ b/test/test_perform_recruiter_people_search_request_industry.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_recruiter_search_from_url200_response.py b/test/test_perform_recruiter_search_from_url200_response.py
index b33b1458a..14523bb98 100644
--- a/test/test_perform_recruiter_search_from_url200_response.py
+++ b/test/test_perform_recruiter_search_from_url200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request.py b/test/test_perform_sales_companies_search_request.py
index d35d1bd49..c7ff0a687 100644
--- a/test/test_perform_sales_companies_search_request.py
+++ b/test/test_perform_sales_companies_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request_account_list.py b/test/test_perform_sales_companies_search_request_account_list.py
index 0ba2762b1..e6b8d86df 100644
--- a/test/test_perform_sales_companies_search_request_account_list.py
+++ b/test/test_perform_sales_companies_search_request_account_list.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request_annual_revenue.py b/test/test_perform_sales_companies_search_request_annual_revenue.py
index ccc4fdf87..9d05dfea5 100644
--- a/test/test_perform_sales_companies_search_request_annual_revenue.py
+++ b/test/test_perform_sales_companies_search_request_annual_revenue.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request_department_headcount.py b/test/test_perform_sales_companies_search_request_department_headcount.py
index 68ff78010..a77cb9525 100644
--- a/test/test_perform_sales_companies_search_request_department_headcount.py
+++ b/test/test_perform_sales_companies_search_request_department_headcount.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request_department_headcount_growth.py b/test/test_perform_sales_companies_search_request_department_headcount_growth.py
index 01605f8ae..1e8ee7040 100644
--- a/test/test_perform_sales_companies_search_request_department_headcount_growth.py
+++ b/test/test_perform_sales_companies_search_request_department_headcount_growth.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request_followers_inner.py b/test/test_perform_sales_companies_search_request_followers_inner.py
index 4f98fe446..919f174f7 100644
--- a/test/test_perform_sales_companies_search_request_followers_inner.py
+++ b/test/test_perform_sales_companies_search_request_followers_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request_fortune_inner.py b/test/test_perform_sales_companies_search_request_fortune_inner.py
index f6f68d075..fb2e9ba55 100644
--- a/test/test_perform_sales_companies_search_request_fortune_inner.py
+++ b/test/test_perform_sales_companies_search_request_fortune_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request_headcount_growth.py b/test/test_perform_sales_companies_search_request_headcount_growth.py
index bfc147f67..acfe4e978 100644
--- a/test/test_perform_sales_companies_search_request_headcount_growth.py
+++ b/test/test_perform_sales_companies_search_request_headcount_growth.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request_headcount_inner.py b/test/test_perform_sales_companies_search_request_headcount_inner.py
index 9f3367de2..f7f5b4471 100644
--- a/test/test_perform_sales_companies_search_request_headcount_inner.py
+++ b/test/test_perform_sales_companies_search_request_headcount_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request_industry.py b/test/test_perform_sales_companies_search_request_industry.py
index 007061f0f..f747e49f0 100644
--- a/test/test_perform_sales_companies_search_request_industry.py
+++ b/test/test_perform_sales_companies_search_request_industry.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request_location.py b/test/test_perform_sales_companies_search_request_location.py
index 275dae1cd..45a1063e3 100644
--- a/test/test_perform_sales_companies_search_request_location.py
+++ b/test/test_perform_sales_companies_search_request_location.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_companies_search_request_postal_code.py b/test/test_perform_sales_companies_search_request_postal_code.py
index b4a2eebf1..234a0a1f3 100644
--- a/test/test_perform_sales_companies_search_request_postal_code.py
+++ b/test/test_perform_sales_companies_search_request_postal_code.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request.py b/test/test_perform_sales_people_search_request.py
index c6c4ef1c3..e2b503a54 100644
--- a/test/test_perform_sales_people_search_request.py
+++ b/test/test_perform_sales_people_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_account_list.py b/test/test_perform_sales_people_search_request_account_list.py
index dc59e6dfa..0b67dfe18 100644
--- a/test/test_perform_sales_people_search_request_account_list.py
+++ b/test/test_perform_sales_people_search_request_account_list.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_company_headcount_inner.py b/test/test_perform_sales_people_search_request_company_headcount_inner.py
index 85aa2f004..97c8b473f 100644
--- a/test/test_perform_sales_people_search_request_company_headcount_inner.py
+++ b/test/test_perform_sales_people_search_request_company_headcount_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_company_location.py b/test/test_perform_sales_people_search_request_company_location.py
index 610e5080e..7a12a2b04 100644
--- a/test/test_perform_sales_people_search_request_company_location.py
+++ b/test/test_perform_sales_people_search_request_company_location.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_current_company.py b/test/test_perform_sales_people_search_request_current_company.py
index 0656c85ee..3450469c0 100644
--- a/test/test_perform_sales_people_search_request_current_company.py
+++ b/test/test_perform_sales_people_search_request_current_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_current_job_title.py b/test/test_perform_sales_people_search_request_current_job_title.py
index 1d0255791..f79897027 100644
--- a/test/test_perform_sales_people_search_request_current_job_title.py
+++ b/test/test_perform_sales_people_search_request_current_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_function.py b/test/test_perform_sales_people_search_request_function.py
index 808851751..85ffa3c1e 100644
--- a/test/test_perform_sales_people_search_request_function.py
+++ b/test/test_perform_sales_people_search_request_function.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_group.py b/test/test_perform_sales_people_search_request_group.py
index e369d82d4..3fe8a45db 100644
--- a/test/test_perform_sales_people_search_request_group.py
+++ b/test/test_perform_sales_people_search_request_group.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_industry.py b/test/test_perform_sales_people_search_request_industry.py
index 4459aba5f..077a1c24d 100644
--- a/test/test_perform_sales_people_search_request_industry.py
+++ b/test/test_perform_sales_people_search_request_industry.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_lead_list.py b/test/test_perform_sales_people_search_request_lead_list.py
index 8d70bd99a..599fa59ab 100644
--- a/test/test_perform_sales_people_search_request_lead_list.py
+++ b/test/test_perform_sales_people_search_request_lead_list.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_load_recent_search.py b/test/test_perform_sales_people_search_request_load_recent_search.py
index f3b788407..5b5166f8b 100644
--- a/test/test_perform_sales_people_search_request_load_recent_search.py
+++ b/test/test_perform_sales_people_search_request_load_recent_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_load_saved_search.py b/test/test_perform_sales_people_search_request_load_saved_search.py
index 8249f447e..a9f5c728c 100644
--- a/test/test_perform_sales_people_search_request_load_saved_search.py
+++ b/test/test_perform_sales_people_search_request_load_saved_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_location.py b/test/test_perform_sales_people_search_request_location.py
index 77574b082..03f4cd383 100644
--- a/test/test_perform_sales_people_search_request_location.py
+++ b/test/test_perform_sales_people_search_request_location.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_past_company.py b/test/test_perform_sales_people_search_request_past_company.py
index a2938dd5d..a30169089 100644
--- a/test/test_perform_sales_people_search_request_past_company.py
+++ b/test/test_perform_sales_people_search_request_past_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_past_job_title.py b/test/test_perform_sales_people_search_request_past_job_title.py
index 86c2d6a62..790adee24 100644
--- a/test/test_perform_sales_people_search_request_past_job_title.py
+++ b/test/test_perform_sales_people_search_request_past_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_postal_code.py b/test/test_perform_sales_people_search_request_postal_code.py
index 73e59d6ec..9bc48a2d2 100644
--- a/test/test_perform_sales_people_search_request_postal_code.py
+++ b/test/test_perform_sales_people_search_request_postal_code.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_recent_interaction.py b/test/test_perform_sales_people_search_request_recent_interaction.py
index 47ca7c9d0..4a2256a33 100644
--- a/test/test_perform_sales_people_search_request_recent_interaction.py
+++ b/test/test_perform_sales_people_search_request_recent_interaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_save_search.py b/test/test_perform_sales_people_search_request_save_search.py
index 6b07d9e29..4b365626d 100644
--- a/test/test_perform_sales_people_search_request_save_search.py
+++ b/test/test_perform_sales_people_search_request_save_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_saved_resources.py b/test/test_perform_sales_people_search_request_saved_resources.py
index ba2d52de0..797c81c11 100644
--- a/test/test_perform_sales_people_search_request_saved_resources.py
+++ b/test/test_perform_sales_people_search_request_saved_resources.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_school.py b/test/test_perform_sales_people_search_request_school.py
index 9aa7785f1..188f516d6 100644
--- a/test/test_perform_sales_people_search_request_school.py
+++ b/test/test_perform_sales_people_search_request_school.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_seniority.py b/test/test_perform_sales_people_search_request_seniority.py
index 4a39214db..af0c5dbc0 100644
--- a/test/test_perform_sales_people_search_request_seniority.py
+++ b/test/test_perform_sales_people_search_request_seniority.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_years_in_company_inner.py b/test/test_perform_sales_people_search_request_years_in_company_inner.py
index f653275e1..3d51a1e95 100644
--- a/test/test_perform_sales_people_search_request_years_in_company_inner.py
+++ b/test/test_perform_sales_people_search_request_years_in_company_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_years_in_position_inner.py b/test/test_perform_sales_people_search_request_years_in_position_inner.py
index 8d28544bb..f88bb7fd4 100644
--- a/test/test_perform_sales_people_search_request_years_in_position_inner.py
+++ b/test/test_perform_sales_people_search_request_years_in_position_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_people_search_request_years_of_experience_inner.py b/test/test_perform_sales_people_search_request_years_of_experience_inner.py
index 197de1327..5f933bdc3 100644
--- a/test/test_perform_sales_people_search_request_years_of_experience_inner.py
+++ b/test/test_perform_sales_people_search_request_years_of_experience_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_perform_sales_search_from_url200_response.py b/test/test_perform_sales_search_from_url200_response.py
index 29c2921d2..4935b83fa 100644
--- a/test/test_perform_sales_search_from_url200_response.py
+++ b/test/test_perform_sales_search_from_url200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -106,7 +106,7 @@ def make_instance(self, include_optional) -> PerformSalesSearchFromUrl200Respons
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -133,7 +133,7 @@ def make_instance(self, include_optional) -> PerformSalesSearchFromUrl200Respons
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -152,13 +152,13 @@ def make_instance(self, include_optional) -> PerformSalesSearchFromUrl200Respons
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -248,7 +248,7 @@ def make_instance(self, include_optional) -> PerformSalesSearchFromUrl200Respons
education = [
unipile.models.full_profile_education_inner.Full_profile_education_inner(
id = '',
- school = unipile.models.linked_in_education_inner_school.LinkedIn_education_inner_school(
+ school = unipile.models.linked_in_1_education_inner_school.LinkedIn_1_education_inner_school(
id = '',
name = '',
picture_url = '',
@@ -275,7 +275,7 @@ def make_instance(self, include_optional) -> PerformSalesSearchFromUrl200Respons
work_experience = [
unipile.models.partial_profile_work_experience_inner.Partial_profile_work_experience_inner(
id = '',
- company = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ company = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
@@ -294,13 +294,13 @@ def make_instance(self, include_optional) -> PerformSalesSearchFromUrl200Respons
skills_preview = '', )
],
languages = [
- unipile.models.linked_in_languages_inner.LinkedIn_languages_inner(
+ unipile.models.linked_in_1_languages_inner.LinkedIn_1_languages_inner(
language = '',
proficiency = 'ELEMENTARY', )
],
volunteering = [
- unipile.models.linked_in_volunteer_experience_inner.LinkedIn_volunteer_experience_inner(
- organization = unipile.models.linked_in_certifications_inner_organization.LinkedIn_certifications_inner_organization(
+ unipile.models.linked_in_1_volunteer_experience_inner.LinkedIn_1_volunteer_experience_inner(
+ organization = unipile.models.linked_in_1_certifications_inner_organization.LinkedIn_1_certifications_inner_organization(
name = '',
id = '',
public_identifier = '',
diff --git a/test/test_phone_register.py b/test/test_phone_register.py
index 864cbf39f..991df6cda 100644
--- a/test/test_phone_register.py
+++ b/test/test_phone_register.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_pipeline_candidates_search.py b/test/test_pipeline_candidates_search.py
index efd716918..b6ddc8781 100644
--- a/test/test_pipeline_candidates_search.py
+++ b/test/test_pipeline_candidates_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_pipeline_candidates_search_data_inner.py b/test/test_pipeline_candidates_search_data_inner.py
index 96e4bc0f5..18868ab66 100644
--- a/test/test_pipeline_candidates_search_data_inner.py
+++ b/test/test_pipeline_candidates_search_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_pipeline_change.py b/test/test_pipeline_change.py
index b3cc4191a..20e3f6c73 100644
--- a/test/test_pipeline_change.py
+++ b/test/test_pipeline_change.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,16 +36,31 @@ def make_instance(self, include_optional) -> PipelineChange:
if include_optional:
return PipelineChange(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'CANDIDATE_ADDED',
project_id = '',
project_name = '',
@@ -54,16 +69,31 @@ def make_instance(self, include_optional) -> PipelineChange:
else:
return PipelineChange(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'CANDIDATE_ADDED',
project_id = '',
project_name = '',
diff --git a/test/test_pipeline_sourced.py b/test/test_pipeline_sourced.py
index 2932c1ba0..71493df51 100644
--- a/test/test_pipeline_sourced.py
+++ b/test/test_pipeline_sourced.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_posts_api.py b/test/test_posts_api.py
index 39025b51b..bfaf21396 100644
--- a/test/test_posts_api.py
+++ b/test/test_posts_api.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_posts_search_results.py b/test/test_posts_search_results.py
index 9bac7001c..2cd77a480 100644
--- a/test/test_posts_search_results.py
+++ b/test/test_posts_search_results.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -43,23 +43,26 @@ def make_instance(self, include_optional) -> PostsSearchResults:
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -99,41 +102,48 @@ def make_instance(self, include_optional) -> PostsSearchResults:
page_viewers_from_this_post_counter = 1.337,
followers_gained_from_this_post_counter = 1.337,
users_reached_counter = 1.337, ),
+ specifics = null,
is_repost = True,
- reposted_by = unipile.models.get_posts_list_200_response_data_inner_reposted_by.getPostsList_200_response_data_inner_reposted_by(
+ reposted_by = unipile.models.update_post_200_response_reposted_by.updatePost_200_response_reposted_by(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- quoted_post = unipile.models.get_posts_list_200_response_data_inner_quoted_post.getPostsList_200_response_data_inner_quoted_post(
+ description = '',
+ specifics = null, ),
+ quoted_post = unipile.models.update_post_200_response_quoted_post.updatePost_200_response_quoted_post(
object = 'Post',
id = '',
share_url = '',
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -141,7 +151,8 @@ def make_instance(self, include_optional) -> PostsSearchResults:
reposts_counter = 1.337,
attachments = [
null
- ], ), )
+ ],
+ specifics = null, ), )
],
total_count = 1.337,
next_cursor = ''
@@ -156,23 +167,26 @@ def make_instance(self, include_optional) -> PostsSearchResults:
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -212,41 +226,48 @@ def make_instance(self, include_optional) -> PostsSearchResults:
page_viewers_from_this_post_counter = 1.337,
followers_gained_from_this_post_counter = 1.337,
users_reached_counter = 1.337, ),
+ specifics = null,
is_repost = True,
- reposted_by = unipile.models.get_posts_list_200_response_data_inner_reposted_by.getPostsList_200_response_data_inner_reposted_by(
+ reposted_by = unipile.models.update_post_200_response_reposted_by.updatePost_200_response_reposted_by(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- quoted_post = unipile.models.get_posts_list_200_response_data_inner_quoted_post.getPostsList_200_response_data_inner_quoted_post(
+ description = '',
+ specifics = null, ),
+ quoted_post = unipile.models.update_post_200_response_quoted_post.updatePost_200_response_quoted_post(
object = 'Post',
id = '',
share_url = '',
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -254,7 +275,8 @@ def make_instance(self, include_optional) -> PostsSearchResults:
reposts_counter = 1.337,
attachments = [
null
- ], ), )
+ ],
+ specifics = null, ), )
],
)
"""
diff --git a/test/test_posts_search_results_data_inner.py b/test/test_posts_search_results_data_inner.py
index 57075d09e..9e9fc2a7b 100644
--- a/test/test_posts_search_results_data_inner.py
+++ b/test/test_posts_search_results_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -41,23 +41,26 @@ def make_instance(self, include_optional) -> PostsSearchResultsDataInner:
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
user_reacted = None,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -97,41 +100,48 @@ def make_instance(self, include_optional) -> PostsSearchResultsDataInner:
page_viewers_from_this_post_counter = 1.337,
followers_gained_from_this_post_counter = 1.337,
users_reached_counter = 1.337, ),
+ specifics = None,
is_repost = True,
- reposted_by = unipile.models.get_posts_list_200_response_data_inner_reposted_by.getPostsList_200_response_data_inner_reposted_by(
+ reposted_by = unipile.models.update_post_200_response_reposted_by.updatePost_200_response_reposted_by(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
- quoted_post = unipile.models.get_posts_list_200_response_data_inner_quoted_post.getPostsList_200_response_data_inner_quoted_post(
+ description = '',
+ specifics = null, ),
+ quoted_post = unipile.models.update_post_200_response_quoted_post.updatePost_200_response_quoted_post(
object = 'Post',
id = '',
share_url = '',
created_at = '',
title = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
user_reacted = null,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
@@ -170,7 +180,8 @@ def make_instance(self, include_optional) -> PostsSearchResultsDataInner:
clickthrough_rate = 1.337,
page_viewers_from_this_post_counter = 1.337,
followers_gained_from_this_post_counter = 1.337,
- users_reached_counter = 1.337, ), )
+ users_reached_counter = 1.337, ),
+ specifics = null, )
)
else:
return PostsSearchResultsDataInner(
@@ -179,23 +190,26 @@ def make_instance(self, include_optional) -> PostsSearchResultsDataInner:
share_url = '',
created_at = '',
text = '',
- author = unipile.models.get_posts_list_200_response_data_inner_author.getPostsList_200_response_data_inner_author(
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = null, ),
user_reacted = None,
permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
can_share = True,
can_react = True,
can_post_comments = True, ),
reactions_counter = [
- unipile.models.get_messages_list_200_response_data_inner_reactions_counter_inner.getMessagesList_200_response_data_inner_reactions_counter_inner(
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
reaction = '',
count = 1.337, )
],
diff --git a/test/test_profile_view.py b/test/test_profile_view.py
index d6489483f..5b3ba3042 100644
--- a/test/test_profile_view.py
+++ b/test/test_profile_view.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,31 +36,61 @@ def make_instance(self, include_optional) -> ProfileView:
if include_optional:
return ProfileView(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'PROFILE_VIEW'
)
else:
return ProfileView(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'PROFILE_VIEW',
)
"""
diff --git a/test/test_proxy_request200_response.py b/test/test_proxy_request200_response.py
index 8bf749655..7835f6597 100644
--- a/test/test_proxy_request200_response.py
+++ b/test/test_proxy_request200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_proxy_request_request.py b/test/test_proxy_request_request.py
index b6ef2ce25..d75afb102 100644
--- a/test/test_proxy_request_request.py
+++ b/test/test_proxy_request_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_publish_classic_job_posting200_response.py b/test/test_publish_classic_job_posting200_response.py
index bd8247045..ce6af3ec0 100644
--- a/test/test_publish_classic_job_posting200_response.py
+++ b/test/test_publish_classic_job_posting200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_publish_classic_job_posting_request.py b/test/test_publish_classic_job_posting_request.py
index 95cc95d20..203448acf 100644
--- a/test/test_publish_classic_job_posting_request.py
+++ b/test/test_publish_classic_job_posting_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_publish_in_free_mode.py b/test/test_publish_in_free_mode.py
index 42664b230..0fb73fb04 100644
--- a/test/test_publish_in_free_mode.py
+++ b/test/test_publish_in_free_mode.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_publish_in_free_mode1.py b/test/test_publish_in_free_mode1.py
index f858bc8f6..fb26d6e6d 100644
--- a/test/test_publish_in_free_mode1.py
+++ b/test/test_publish_in_free_mode1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_publish_in_promoted_mode.py b/test/test_publish_in_promoted_mode.py
index af08e73ce..0d5aa2918 100644
--- a/test/test_publish_in_promoted_mode.py
+++ b/test/test_publish_in_promoted_mode.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_publish_in_promoted_mode1.py b/test/test_publish_in_promoted_mode1.py
index 4cb9036ad..d13a9f27b 100644
--- a/test/test_publish_in_promoted_mode1.py
+++ b/test/test_publish_in_promoted_mode1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_publish_in_promoted_mode1_budget.py b/test/test_publish_in_promoted_mode1_budget.py
index 554e8eb00..458b255be 100644
--- a/test/test_publish_in_promoted_mode1_budget.py
+++ b/test/test_publish_in_promoted_mode1_budget.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_publish_in_promoted_mode_budget.py b/test/test_publish_in_promoted_mode_budget.py
index 8d70d9e82..18355034c 100644
--- a/test/test_publish_in_promoted_mode_budget.py
+++ b/test/test_publish_in_promoted_mode_budget.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_publish_recruiter_job_posting_request.py b/test/test_publish_recruiter_job_posting_request.py
index 0a465076d..bd31d7dc5 100644
--- a/test/test_publish_recruiter_job_posting_request.py
+++ b/test/test_publish_recruiter_job_posting_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_qr_code.py b/test/test_qr_code.py
index 4c5b23e68..7d380f931 100644
--- a/test/test_qr_code.py
+++ b/test/test_qr_code.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_re_authenticate_existing_account.py b/test/test_re_authenticate_existing_account.py
index b75c44c45..30a7742ea 100644
--- a/test/test_re_authenticate_existing_account.py
+++ b/test/test_re_authenticate_existing_account.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -56,9 +56,7 @@ def make_instance(self, include_optional) -> ReAuthenticateExistingAccount:
auto_proxy_config = unipile.models.automatic_proxy_configuration.Automatic proxy configuration(
country = '',
ip = '', ),
- products = [
- 'classic'
- ],
+ products = null,
allow_methods = [
'credentials'
], ),
diff --git a/test/test_reaction.py b/test/test_reaction.py
index 763bec517..d52893e09 100644
--- a/test/test_reaction.py
+++ b/test/test_reaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_read_email200_response.py b/test/test_read_email200_response.py
index 6ad7d29b5..eede9eb0b 100644
--- a/test/test_read_email200_response.py
+++ b/test/test_read_email200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_read_message200_response.py b/test/test_read_message200_response.py
index b080c5394..eb0d4725a 100644
--- a/test/test_read_message200_response.py
+++ b/test/test_read_message200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_recruiter_saved_search.py b/test/test_recruiter_saved_search.py
index 183be8972..0659e0655 100644
--- a/test/test_recruiter_saved_search.py
+++ b/test/test_recruiter_saved_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_recruiter_saved_search_project.py b/test/test_recruiter_saved_search_project.py
index 78a979aa2..f0c25a258 100644
--- a/test/test_recruiter_saved_search_project.py
+++ b/test/test_recruiter_saved_search_project.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_remove_account200_response.py b/test/test_remove_account200_response.py
index fdca2c5df..fa6909ef1 100644
--- a/test/test_remove_account200_response.py
+++ b/test/test_remove_account200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_remove_message_reaction200_response.py b/test/test_remove_message_reaction200_response.py
index a4108deb4..0a6d642b0 100644
--- a/test/test_remove_message_reaction200_response.py
+++ b/test/test_remove_message_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_remove_message_reaction_request.py b/test/test_remove_message_reaction_request.py
index 49a69908f..a417507b4 100644
--- a/test/test_remove_message_reaction_request.py
+++ b/test/test_remove_message_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_remove_participant200_response.py b/test/test_remove_participant200_response.py
index 3cec33dee..6c0cad8c7 100644
--- a/test/test_remove_participant200_response.py
+++ b/test/test_remove_participant200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_remove_post_comment_reaction200_response.py b/test/test_remove_post_comment_reaction200_response.py
index a35631956..9c6994263 100644
--- a/test/test_remove_post_comment_reaction200_response.py
+++ b/test/test_remove_post_comment_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_remove_post_comment_reaction_request.py b/test/test_remove_post_comment_reaction_request.py
index 70380b79c..3cd7f3726 100644
--- a/test/test_remove_post_comment_reaction_request.py
+++ b/test/test_remove_post_comment_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_remove_post_comment_reaction_request_reaction.py b/test/test_remove_post_comment_reaction_request_reaction.py
index fb0b1267d..28000c628 100644
--- a/test/test_remove_post_comment_reaction_request_reaction.py
+++ b/test/test_remove_post_comment_reaction_request_reaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_remove_post_reaction200_response.py b/test/test_remove_post_reaction200_response.py
index 91014de84..b348083da 100644
--- a/test/test_remove_post_reaction200_response.py
+++ b/test/test_remove_post_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_remove_post_reaction_request.py b/test/test_remove_post_reaction_request.py
index 43d8df070..ede6a33fc 100644
--- a/test/test_remove_post_reaction_request.py
+++ b/test/test_remove_post_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_remove_post_reaction_request_reaction.py b/test/test_remove_post_reaction_request_reaction.py
index 1ef5d8d16..18847b948 100644
--- a/test/test_remove_post_reaction_request_reaction.py
+++ b/test/test_remove_post_reaction_request_reaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_request_checkpoint200_response.py b/test/test_request_checkpoint200_response.py
new file mode 100644
index 000000000..d234abd6a
--- /dev/null
+++ b/test/test_request_checkpoint200_response.py
@@ -0,0 +1,58 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.request_checkpoint200_response import RequestCheckpoint200Response
+
+class TestRequestCheckpoint200Response(unittest.TestCase):
+ """RequestCheckpoint200Response unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> RequestCheckpoint200Response:
+ """Test RequestCheckpoint200Response
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `RequestCheckpoint200Response`
+ """
+ model = RequestCheckpoint200Response()
+ if include_optional:
+ return RequestCheckpoint200Response(
+ object = 'AuthenticationQrCode',
+ checkpoint = None,
+ intent_id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
+ qrcode = ''
+ )
+ else:
+ return RequestCheckpoint200Response(
+ object = 'AuthenticationQrCode',
+ checkpoint = None,
+ intent_id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
+ qrcode = '',
+ )
+ """
+
+ def testRequestCheckpoint200Response(self):
+ """Test RequestCheckpoint200Response"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_request_checkpoint_request.py b/test/test_request_checkpoint_request.py
new file mode 100644
index 000000000..c026a8dd8
--- /dev/null
+++ b/test/test_request_checkpoint_request.py
@@ -0,0 +1,53 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.request_checkpoint_request import RequestCheckpointRequest
+
+class TestRequestCheckpointRequest(unittest.TestCase):
+ """RequestCheckpointRequest unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> RequestCheckpointRequest:
+ """Test RequestCheckpointRequest
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `RequestCheckpointRequest`
+ """
+ model = RequestCheckpointRequest()
+ if include_optional:
+ return RequestCheckpointRequest(
+ intent_id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
+ challenge = 'EMAIL'
+ )
+ else:
+ return RequestCheckpointRequest(
+ intent_id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
+ )
+ """
+
+ def testRequestCheckpointRequest(self):
+ """Test RequestCheckpointRequest"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_resend_checkpoint_request.py b/test/test_resend_checkpoint_request.py
new file mode 100644
index 000000000..4103b7760
--- /dev/null
+++ b/test/test_resend_checkpoint_request.py
@@ -0,0 +1,52 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.resend_checkpoint_request import ResendCheckpointRequest
+
+class TestResendCheckpointRequest(unittest.TestCase):
+ """ResendCheckpointRequest unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> ResendCheckpointRequest:
+ """Test ResendCheckpointRequest
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `ResendCheckpointRequest`
+ """
+ model = ResendCheckpointRequest()
+ if include_optional:
+ return ResendCheckpointRequest(
+ intent_id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj'
+ )
+ else:
+ return ResendCheckpointRequest(
+ intent_id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
+ )
+ """
+
+ def testResendCheckpointRequest(self):
+ """Test ResendCheckpointRequest"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_sales_navigator_saved_search.py b/test/test_sales_navigator_saved_search.py
index 4349f44fc..e78eb478a 100644
--- a/test/test_sales_navigator_saved_search.py
+++ b/test/test_sales_navigator_saved_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_save_recruiter_candidate_to_pipeline200_response.py b/test/test_save_recruiter_candidate_to_pipeline200_response.py
index 5ffe89173..f4a49aa83 100644
--- a/test/test_save_recruiter_candidate_to_pipeline200_response.py
+++ b/test/test_save_recruiter_candidate_to_pipeline200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_save_recruiter_candidate_to_pipeline_request.py b/test/test_save_recruiter_candidate_to_pipeline_request.py
index ffb3d5efd..b71a261ef 100644
--- a/test/test_save_recruiter_candidate_to_pipeline_request.py
+++ b/test/test_save_recruiter_candidate_to_pipeline_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_save_sales_account_to_list200_response.py b/test/test_save_sales_account_to_list200_response.py
index ecee273b2..b93dd6743 100644
--- a/test/test_save_sales_account_to_list200_response.py
+++ b/test/test_save_sales_account_to_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_save_sales_account_to_list_request.py b/test/test_save_sales_account_to_list_request.py
index acff81d05..2bc2e51ae 100644
--- a/test/test_save_sales_account_to_list_request.py
+++ b/test/test_save_sales_account_to_list_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_save_sales_lead_to_list200_response.py b/test/test_save_sales_lead_to_list200_response.py
index fb0258b74..b7c7dfa0e 100644
--- a/test/test_save_sales_lead_to_list200_response.py
+++ b/test/test_save_sales_lead_to_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_save_sales_lead_to_list_request.py b/test/test_save_sales_lead_to_list_request.py
index 251105634..78a65ed31 100644
--- a/test/test_save_sales_lead_to_list_request.py
+++ b/test/test_save_sales_lead_to_list_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_scheduled_call_cancelled.py b/test/test_scheduled_call_cancelled.py
index 10c27fa9e..407a67b8e 100644
--- a/test/test_scheduled_call_cancelled.py
+++ b/test/test_scheduled_call_cancelled.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_scheduled_call_created.py b/test/test_scheduled_call_created.py
index 855db8cb6..5ac799493 100644
--- a/test/test_scheduled_call_created.py
+++ b/test/test_scheduled_call_created.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_scheduled_call_started.py b/test/test_scheduled_call_started.py
index cef0ff3f2..c204bda27 100644
--- a/test/test_scheduled_call_started.py
+++ b/test/test_scheduled_call_started.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_search_locations200_response_inner.py b/test/test_search_locations200_response_inner.py
index bdc7852f2..30f2a7e4d 100644
--- a/test/test_search_locations200_response_inner.py
+++ b/test/test_search_locations200_response_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_search_or_job_posting_sourced.py b/test/test_search_or_job_posting_sourced.py
index 0e3fc0966..69732100d 100644
--- a/test/test_search_or_job_posting_sourced.py
+++ b/test/test_search_or_job_posting_sourced.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,9 +37,7 @@ def make_instance(self, include_optional) -> SearchOrJobPostingSourced:
return SearchOrJobPostingSourced(
source = 'SEARCH',
keywords = '',
- type = 'OCCUPATION',
- offset = 1.337,
- limit = 1
+ type = 'OCCUPATION'
)
else:
return SearchOrJobPostingSourced(
diff --git a/test/test_search_parameters_list.py b/test/test_search_parameters_list.py
new file mode 100644
index 000000000..66fd79864
--- /dev/null
+++ b/test/test_search_parameters_list.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.search_parameters_list import SearchParametersList
+
+class TestSearchParametersList(unittest.TestCase):
+ """SearchParametersList unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> SearchParametersList:
+ """Test SearchParametersList
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `SearchParametersList`
+ """
+ model = SearchParametersList()
+ if include_optional:
+ return SearchParametersList(
+ data = [
+ unipile.models.search_parameters_list_data_inner.Search_parameters_list_data_inner(
+ object = 'SearchParameter',
+ id = '',
+ name = '',
+ metadata = null, )
+ ],
+ total_count = 1.337,
+ next_cursor = ''
+ )
+ else:
+ return SearchParametersList(
+ data = [
+ unipile.models.search_parameters_list_data_inner.Search_parameters_list_data_inner(
+ object = 'SearchParameter',
+ id = '',
+ name = '',
+ metadata = null, )
+ ],
+ )
+ """
+
+ def testSearchParametersList(self):
+ """Test SearchParametersList"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_search_parameters_list_data_inner.py b/test/test_search_parameters_list_data_inner.py
new file mode 100644
index 000000000..07e63e21f
--- /dev/null
+++ b/test/test_search_parameters_list_data_inner.py
@@ -0,0 +1,57 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.search_parameters_list_data_inner import SearchParametersListDataInner
+
+class TestSearchParametersListDataInner(unittest.TestCase):
+ """SearchParametersListDataInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> SearchParametersListDataInner:
+ """Test SearchParametersListDataInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `SearchParametersListDataInner`
+ """
+ model = SearchParametersListDataInner()
+ if include_optional:
+ return SearchParametersListDataInner(
+ object = 'SearchParameter',
+ id = '',
+ name = '',
+ metadata = None
+ )
+ else:
+ return SearchParametersListDataInner(
+ object = 'SearchParameter',
+ id = '',
+ name = '',
+ )
+ """
+
+ def testSearchParametersListDataInner(self):
+ """Test SearchParametersListDataInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_search_parameters_list_data_inner_metadata.py b/test/test_search_parameters_list_data_inner_metadata.py
new file mode 100644
index 000000000..466a822e6
--- /dev/null
+++ b/test/test_search_parameters_list_data_inner_metadata.py
@@ -0,0 +1,63 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.search_parameters_list_data_inner_metadata import SearchParametersListDataInnerMetadata
+
+class TestSearchParametersListDataInnerMetadata(unittest.TestCase):
+ """SearchParametersListDataInnerMetadata unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> SearchParametersListDataInnerMetadata:
+ """Test SearchParametersListDataInnerMetadata
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `SearchParametersListDataInnerMetadata`
+ """
+ model = SearchParametersListDataInnerMetadata()
+ if include_optional:
+ return SearchParametersListDataInnerMetadata(
+ object = 'SavedSearchMetadata',
+ product = 'recruiter',
+ last_viewed_at = 1.337,
+ new_results_count = 1.337,
+ query = '',
+ project = unipile.models.recruiter_saved_search_project.Recruiter_saved_search_project(
+ id = '',
+ name = '', )
+ )
+ else:
+ return SearchParametersListDataInnerMetadata(
+ object = 'SavedSearchMetadata',
+ product = 'recruiter',
+ last_viewed_at = 1.337,
+ new_results_count = 1.337,
+ query = '',
+ )
+ """
+
+ def testSearchParametersListDataInnerMetadata(self):
+ """Test SearchParametersListDataInnerMetadata"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_select_contract200_response.py b/test/test_select_contract200_response.py
index c09261f17..9ba433d12 100644
--- a/test/test_select_contract200_response.py
+++ b/test/test_select_contract200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_send_email200_response.py b/test/test_send_email200_response.py
index b102b0e0c..117391146 100644
--- a/test/test_send_email200_response.py
+++ b/test/test_send_email200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -43,7 +43,6 @@ def make_instance(self, include_optional) -> SendEmail200Response:
return SendEmail200Response(
object = 'EmailSent',
id = '',
- message_id = '',
)
"""
diff --git a/test/test_send_email_request.py b/test/test_send_email_request.py
index 07f6bfa3d..3a1703b19 100644
--- a/test/test_send_email_request.py
+++ b/test/test_send_email_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -56,7 +56,12 @@ def make_instance(self, include_optional) -> SendEmailRequest:
email = '',
display_name = '', )
],
- reply_to = '',
+ reply_to = [
+ unipile.models.get_emails_list_200_response_data_inner_from_inner.getEmailsList_200_response_data_inner_from_inner(
+ email = '',
+ display_name = '', )
+ ],
+ reply_to_message_id = '0',
attachments = [
unipile.models.send_email_request_attachments_inner.sendEmail_request_attachments_inner(
content = '',
@@ -72,7 +77,7 @@ def make_instance(self, include_optional) -> SendEmailRequest:
],
tracking_options = unipile.models.send_email_request_tracking_options.sendEmail_request_tracking_options(
opens = True,
- links = True,
+ clicks = True,
label = '',
custom_domain = '', )
)
diff --git a/test/test_send_email_request_attachments_inner.py b/test/test_send_email_request_attachments_inner.py
index f64240348..cd6d42982 100644
--- a/test/test_send_email_request_attachments_inner.py
+++ b/test/test_send_email_request_attachments_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_send_email_request_custom_headers_inner.py b/test/test_send_email_request_custom_headers_inner.py
index 1ebd275ba..992dbbb59 100644
--- a/test/test_send_email_request_custom_headers_inner.py
+++ b/test/test_send_email_request_custom_headers_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_send_email_request_tracking_options.py b/test/test_send_email_request_tracking_options.py
index 307d4b71f..b1216486e 100644
--- a/test/test_send_email_request_tracking_options.py
+++ b/test/test_send_email_request_tracking_options.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> SendEmailRequestTrackingOptions:
if include_optional:
return SendEmailRequestTrackingOptions(
opens = True,
- links = True,
+ clicks = True,
label = '',
custom_domain = ''
)
diff --git a/test/test_send_message200_response.py b/test/test_send_message200_response.py
index 43dbbdd63..90cf97639 100644
--- a/test/test_send_message200_response.py
+++ b/test/test_send_message200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_send_message200_response_message_id.py b/test/test_send_message200_response_message_id.py
index 377a53560..e363902c1 100644
--- a/test/test_send_message200_response_message_id.py
+++ b/test/test_send_message200_response_message_id.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_send_message_request.py b/test/test_send_message_request.py
index 65a15fd5e..8e1b5d599 100644
--- a/test/test_send_message_request.py
+++ b/test/test_send_message_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> SendMessageRequest:
if include_optional:
return SendMessageRequest(
text = '',
- quote_id = '',
+ quote_id = '0',
attachments = [
unipile.models.message_file.Message File(
content = '',
diff --git a/test/test_set_composing_status200_response.py b/test/test_set_composing_status200_response.py
index 6f711a500..d476d95d2 100644
--- a/test/test_set_composing_status200_response.py
+++ b/test/test_set_composing_status200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_set_presence200_response.py b/test/test_set_presence200_response.py
index 68f3104d5..304a8d33b 100644
--- a/test/test_set_presence200_response.py
+++ b/test/test_set_presence200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_set_presence_request.py b/test/test_set_presence_request.py
index 34e04a945..6db21a55a 100644
--- a/test/test_set_presence_request.py
+++ b/test/test_set_presence_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_smtp_connections_parameters.py b/test/test_smtp_connections_parameters.py
index e7d452fc5..e38dd5ed3 100644
--- a/test/test_smtp_connections_parameters.py
+++ b/test/test_smtp_connections_parameters.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_solve_checkpoint200_response.py b/test/test_solve_checkpoint200_response.py
index 36874171f..d12502db6 100644
--- a/test/test_solve_checkpoint200_response.py
+++ b/test/test_solve_checkpoint200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -46,17 +46,28 @@ def make_instance(self, include_optional) -> SolveCheckpoint200Response:
id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
application_id = 'app_jUR,rZ#UM/?R,Fp^l6$ARj',
status = 'running',
+ is_locked = True,
provider = 'mock',
oauth_scope = '',
- metadata = {
- 'key' : ''
- },
+ metadata = unipile.models.account_metadata.Account_metadata(
+ auto_proxy_country = '',
+ v1_account_id = '',
+ products_connection_status = {
+ 'running' : 'running'
+ },
+ custom_data = {
+ 'key' : ''
+ }, ),
initial_sync = unipile.models.account_initial_sync.Account_initial_sync(
status = 'pending',
started_at = '', ),
proxy = unipile.models.account_proxy.Account_proxy(
country = '',
- auto_proxy = True, )
+ auto_proxy = True,
+ host = '',
+ port = 1.337,
+ username = '',
+ protocol = '', )
)
else:
return SolveCheckpoint200Response(
@@ -70,7 +81,17 @@ def make_instance(self, include_optional) -> SolveCheckpoint200Response:
id = 'acc_jUR,rZ#UM/?R,Fp^l6$ARj',
application_id = 'app_jUR,rZ#UM/?R,Fp^l6$ARj',
status = 'running',
+ is_locked = True,
provider = 'mock',
+ metadata = unipile.models.account_metadata.Account_metadata(
+ auto_proxy_country = '',
+ v1_account_id = '',
+ products_connection_status = {
+ 'running' : 'running'
+ },
+ custom_data = {
+ 'key' : ''
+ }, ),
)
"""
diff --git a/test/test_solve_checkpoint_request.py b/test/test_solve_checkpoint_request.py
index 6f061aad4..e73391291 100644
--- a/test/test_solve_checkpoint_request.py
+++ b/test/test_solve_checkpoint_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_start_auth_intent_request.py b/test/test_start_auth_intent_request.py
index f6fa604e9..10dda53ff 100644
--- a/test/test_start_auth_intent_request.py
+++ b/test/test_start_auth_intent_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,7 +40,6 @@ def make_instance(self, include_optional) -> StartAuthIntentRequest:
config = {
'key' : null
},
- user_agent = '',
user_timezone = '',
oauth_callback_redirect_uri = '',
login_hint = '',
diff --git a/test/test_start_chat200_response.py b/test/test_start_chat200_response.py
index 26e1296b8..7015bccf3 100644
--- a/test/test_start_chat200_response.py
+++ b/test/test_start_chat200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_start_chat200_response_message_id.py b/test/test_start_chat200_response_message_id.py
index c0cd58a6d..3be09718a 100644
--- a/test/test_start_chat200_response_message_id.py
+++ b/test/test_start_chat200_response_message_id.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_start_chat_request.py b/test/test_start_chat_request.py
index 38b5e1122..9bc7e35a6 100644
--- a/test/test_start_chat_request.py
+++ b/test/test_start_chat_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_start_chat_request_specifics.py b/test/test_start_chat_request_specifics.py
index 5d3972bcd..0708a41fb 100644
--- a/test/test_start_chat_request_specifics.py
+++ b/test/test_start_chat_request_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_start_chat_request_specifics_linkedin.py b/test/test_start_chat_request_specifics_linkedin.py
index b367a834d..d14d8ad33 100644
--- a/test/test_start_chat_request_specifics_linkedin.py
+++ b/test/test_start_chat_request_specifics_linkedin.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_start_chat_request_users_ids.py b/test/test_start_chat_request_users_ids.py
index 6889124f3..62cefd12f 100644
--- a/test/test_start_chat_request_users_ids.py
+++ b/test/test_start_chat_request_users_ids.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_submit_classic_company_otp_code200_response.py b/test/test_submit_classic_company_otp_code200_response.py
index 34977a7eb..4fecce3a7 100644
--- a/test/test_submit_classic_company_otp_code200_response.py
+++ b/test/test_submit_classic_company_otp_code200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_submit_classic_company_otp_code_request.py b/test/test_submit_classic_company_otp_code_request.py
index dd628da0c..a63e2d0ea 100644
--- a/test/test_submit_classic_company_otp_code_request.py
+++ b/test/test_submit_classic_company_otp_code_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_telegram.py b/test/test_telegram.py
index 8783af9df..f0047b07b 100644
--- a/test/test_telegram.py
+++ b/test/test_telegram.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_telegram_config.py b/test/test_telegram_config.py
index b406418ce..eb83dd975 100644
--- a/test/test_telegram_config.py
+++ b/test/test_telegram_config.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_telegram_credentials.py b/test/test_telegram_credentials.py
index a85993496..b37e571cd 100644
--- a/test/test_telegram_credentials.py
+++ b/test/test_telegram_credentials.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_trash_email200_response.py b/test/test_trash_email200_response.py
index 52d27add9..2ffe3ee13 100644
--- a/test/test_trash_email200_response.py
+++ b/test/test_trash_email200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_two_factor_authentication.py b/test/test_two_factor_authentication.py
index 1856bb77d..c17167cf8 100644
--- a/test/test_two_factor_authentication.py
+++ b/test/test_two_factor_authentication.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_unfollow_user200_response.py b/test/test_unfollow_user200_response.py
index 04aaea2c3..8e2eb6a91 100644
--- a/test/test_unfollow_user200_response.py
+++ b/test/test_unfollow_user200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_unhandled.py b/test/test_unhandled.py
index 5bb2d8e6b..fc19790a4 100644
--- a/test/test_unhandled.py
+++ b/test/test_unhandled.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,31 +36,61 @@ def make_instance(self, include_optional) -> Unhandled:
if include_optional:
return Unhandled(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'UNHANDLED_EVENT'
)
else:
return Unhandled(
last_updated_at = '',
- last_updated_by = unipile.models.linked_in_projects_inner_contributors_inner.LinkedIn_projects_inner_contributors_inner(
+ last_updated_by = unipile.models.linked_in_1_interests_top_voices_inner.LinkedIn_1_interests_top_voices_inner(
id = '',
object = 'User',
type = 'individual',
public_identifier = '',
display_name = '',
+ first_name = '',
+ last_name = '',
profile_url = '',
public_picture_url = '',
private_picture_download_url = '',
- description = '', ),
+ description = '',
+ specifics = unipile.models.linked_in.LinkedIn(
+ location = '',
+ network_distance = 'SELF',
+ industry = '',
+ is_following = True,
+ followers_count = 1.337,
+ relations_count = 1.337,
+ shared_relations_count = 1.337,
+ website_url = '',
+ portfolio_url = '',
+ services_page_url = '',
+ is_premium = True,
+ is_verified = True, ), ),
event = 'UNHANDLED_EVENT',
)
"""
diff --git a/test/test_unread_email200_response.py b/test/test_unread_email200_response.py
index fcc0f5722..c138b4732 100644
--- a/test/test_unread_email200_response.py
+++ b/test/test_unread_email200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_account_request.py b/test/test_update_account_request.py
index ccbe064c6..809477cd6 100644
--- a/test/test_update_account_request.py
+++ b/test/test_update_account_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> UpdateAccountRequest:
metadata = {
'key' : ''
},
+ auto_proxy_country = '',
proxy = unipile.models.custom_proxy.Custom proxy(
host = '',
port = 1.337,
@@ -47,9 +48,6 @@ def make_instance(self, include_optional) -> UpdateAccountRequest:
)
else:
return UpdateAccountRequest(
- metadata = {
- 'key' : ''
- },
)
"""
diff --git a/test/test_update_calendar_event_request.py b/test/test_update_calendar_event_request.py
index 94136c755..f44a8052f 100644
--- a/test/test_update_calendar_event_request.py
+++ b/test/test_update_calendar_event_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -54,7 +54,8 @@ def make_instance(self, include_optional) -> UpdateCalendarEventRequest:
],
start = None,
end = None,
- notify = 'all'
+ notify = 'all',
+ timezone = ''
)
else:
return UpdateCalendarEventRequest(
diff --git a/test/test_update_calendar_request.py b/test/test_update_calendar_request.py
index a6784ae60..92a61db2a 100644
--- a/test/test_update_calendar_request.py
+++ b/test/test_update_calendar_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,7 +37,8 @@ def make_instance(self, include_optional) -> UpdateCalendarRequest:
return UpdateCalendarRequest(
name = '',
description = '',
- background_color = ''
+ background_color = '',
+ timezone = ''
)
else:
return UpdateCalendarRequest(
diff --git a/test/test_update_chat200_response.py b/test/test_update_chat200_response.py
new file mode 100644
index 000000000..bd21f02a8
--- /dev/null
+++ b/test/test_update_chat200_response.py
@@ -0,0 +1,128 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.update_chat200_response import UpdateChat200Response
+
+class TestUpdateChat200Response(unittest.TestCase):
+ """UpdateChat200Response unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> UpdateChat200Response:
+ """Test UpdateChat200Response
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `UpdateChat200Response`
+ """
+ model = UpdateChat200Response()
+ if include_optional:
+ return UpdateChat200Response(
+ object = 'Chat',
+ id = '',
+ name = '',
+ label = '',
+ description = '',
+ image_url = '',
+ created_at = '',
+ updated_at = '',
+ last_message_timestamp = '',
+ muted_until = None,
+ creator_id = '',
+ user_id = '',
+ is_group = True,
+ is_1to1 = True,
+ is_channel = True,
+ type = 'group',
+ is_pinned = True,
+ is_readonly = True,
+ is_archived = True,
+ folders = [
+ ''
+ ],
+ participants_count = 1,
+ unread_count = -1,
+ restrictions = [
+ 'send_message'
+ ],
+ participants = [
+ unipile.models.update_chat_200_response_participants_inner.updateChat_200_response_participants_inner(
+ object = 'GroupParticipant',
+ user = unipile.models.update_chat_200_response_participants_inner_user.updateChat_200_response_participants_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ is_self = True,
+ is_admin = True, )
+ ],
+ last_message = None,
+ user = unipile.models.update_chat_200_response_user.updateChat_200_response_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ provider = 'mock',
+ specifics = None
+ )
+ else:
+ return UpdateChat200Response(
+ object = 'Chat',
+ id = '',
+ name = '',
+ muted_until = None,
+ is_group = True,
+ is_1to1 = True,
+ is_channel = True,
+ type = 'group',
+ is_pinned = True,
+ is_readonly = True,
+ is_archived = True,
+ folders = [
+ ''
+ ],
+ unread_count = -1,
+ provider = 'mock',
+ )
+ """
+
+ def testUpdateChat200Response(self):
+ """Test UpdateChat200Response"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_update_chat200_response_participants_inner.py b/test/test_update_chat200_response_participants_inner.py
new file mode 100644
index 000000000..9f089dd20
--- /dev/null
+++ b/test/test_update_chat200_response_participants_inner.py
@@ -0,0 +1,82 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.update_chat200_response_participants_inner import UpdateChat200ResponseParticipantsInner
+
+class TestUpdateChat200ResponseParticipantsInner(unittest.TestCase):
+ """UpdateChat200ResponseParticipantsInner unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> UpdateChat200ResponseParticipantsInner:
+ """Test UpdateChat200ResponseParticipantsInner
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `UpdateChat200ResponseParticipantsInner`
+ """
+ model = UpdateChat200ResponseParticipantsInner()
+ if include_optional:
+ return UpdateChat200ResponseParticipantsInner(
+ object = 'GroupParticipant',
+ user = unipile.models.update_chat_200_response_participants_inner_user.updateChat_200_response_participants_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ is_self = True,
+ is_admin = True
+ )
+ else:
+ return UpdateChat200ResponseParticipantsInner(
+ object = 'GroupParticipant',
+ user = unipile.models.update_chat_200_response_participants_inner_user.updateChat_200_response_participants_inner_user(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ is_self = True,
+ is_admin = True,
+ )
+ """
+
+ def testUpdateChat200ResponseParticipantsInner(self):
+ """Test UpdateChat200ResponseParticipantsInner"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_update_chat200_response_participants_inner_user.py b/test/test_update_chat200_response_participants_inner_user.py
new file mode 100644
index 000000000..fd6fdf7a8
--- /dev/null
+++ b/test/test_update_chat200_response_participants_inner_user.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.update_chat200_response_participants_inner_user import UpdateChat200ResponseParticipantsInnerUser
+
+class TestUpdateChat200ResponseParticipantsInnerUser(unittest.TestCase):
+ """UpdateChat200ResponseParticipantsInnerUser unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> UpdateChat200ResponseParticipantsInnerUser:
+ """Test UpdateChat200ResponseParticipantsInnerUser
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `UpdateChat200ResponseParticipantsInnerUser`
+ """
+ model = UpdateChat200ResponseParticipantsInnerUser()
+ if include_optional:
+ return UpdateChat200ResponseParticipantsInnerUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = None
+ )
+ else:
+ return UpdateChat200ResponseParticipantsInnerUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testUpdateChat200ResponseParticipantsInnerUser(self):
+ """Test UpdateChat200ResponseParticipantsInnerUser"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_update_chat200_response_user.py b/test/test_update_chat200_response_user.py
new file mode 100644
index 000000000..d78c4da78
--- /dev/null
+++ b/test/test_update_chat200_response_user.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.update_chat200_response_user import UpdateChat200ResponseUser
+
+class TestUpdateChat200ResponseUser(unittest.TestCase):
+ """UpdateChat200ResponseUser unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> UpdateChat200ResponseUser:
+ """Test UpdateChat200ResponseUser
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `UpdateChat200ResponseUser`
+ """
+ model = UpdateChat200ResponseUser()
+ if include_optional:
+ return UpdateChat200ResponseUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = None
+ )
+ else:
+ return UpdateChat200ResponseUser(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testUpdateChat200ResponseUser(self):
+ """Test UpdateChat200ResponseUser"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_update_chat_request.py b/test/test_update_chat_request.py
index 0c155e0f3..5be848ed6 100644
--- a/test/test_update_chat_request.py
+++ b/test/test_update_chat_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_chat_request_muted_until.py b/test/test_update_chat_request_muted_until.py
index 9c4d0645a..53777c46f 100644
--- a/test/test_update_chat_request_muted_until.py
+++ b/test/test_update_chat_request_muted_until.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_draft_request.py b/test/test_update_draft_request.py
index a385e4e2a..89b3bbbe5 100644
--- a/test/test_update_draft_request.py
+++ b/test/test_update_draft_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -56,6 +56,12 @@ def make_instance(self, include_optional) -> UpdateDraftRequest:
email = '',
display_name = '', )
],
+ reply_to = [
+ unipile.models.get_emails_list_200_response_data_inner_from_inner.getEmailsList_200_response_data_inner_from_inner(
+ email = '',
+ display_name = '', )
+ ],
+ reply_to_message_id = '0',
attachments = [
unipile.models.send_email_request_attachments_inner.sendEmail_request_attachments_inner(
content = '',
@@ -66,7 +72,7 @@ def make_instance(self, include_optional) -> UpdateDraftRequest:
],
tracking_options = unipile.models.send_email_request_tracking_options.sendEmail_request_tracking_options(
opens = True,
- links = True,
+ clicks = True,
label = '',
custom_domain = '', ),
specifics = None
diff --git a/test/test_update_draft_request_specifics.py b/test/test_update_draft_request_specifics.py
index 62b8b53d4..1d3e92c70 100644
--- a/test/test_update_draft_request_specifics.py
+++ b/test/test_update_draft_request_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_draft_request_specifics_all_of_outlook.py b/test/test_update_draft_request_specifics_all_of_outlook.py
index 6d70e22f5..5c83d881b 100644
--- a/test/test_update_draft_request_specifics_all_of_outlook.py
+++ b/test/test_update_draft_request_specifics_all_of_outlook.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_folder_request.py b/test/test_update_folder_request.py
index 293ac9f3c..656a5745d 100644
--- a/test/test_update_folder_request.py
+++ b/test/test_update_folder_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_post200_response.py b/test/test_update_post200_response.py
new file mode 100644
index 000000000..1dfb22411
--- /dev/null
+++ b/test/test_update_post200_response.py
@@ -0,0 +1,231 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.update_post200_response import UpdatePost200Response
+
+class TestUpdatePost200Response(unittest.TestCase):
+ """UpdatePost200Response unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> UpdatePost200Response:
+ """Test UpdatePost200Response
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `UpdatePost200Response`
+ """
+ model = UpdatePost200Response()
+ if include_optional:
+ return UpdatePost200Response(
+ object = 'Post',
+ id = '',
+ share_url = '',
+ created_at = '',
+ title = '',
+ text = '',
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ user_reacted = None,
+ permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
+ can_share = True,
+ can_react = True,
+ can_post_comments = True, ),
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ comments_counter = 1.337,
+ reposts_counter = 1.337,
+ poll = unipile.models.get_posts_list_200_response_data_inner_poll.getPostsList_200_response_data_inner_poll(
+ id = '',
+ total_votes_count = 1.337,
+ question = '',
+ is_open = True,
+ options = [
+ unipile.models.get_posts_list_200_response_data_inner_poll_options_inner.getPostsList_200_response_data_inner_poll_options_inner(
+ id = '',
+ text = '',
+ win = True,
+ votes_count = 1.337, )
+ ], ),
+ event = unipile.models.get_posts_list_200_response_data_inner_event.getPostsList_200_response_data_inner_event(
+ id = '',
+ name = '',
+ url = '',
+ online = True,
+ location = '',
+ description = '',
+ public_picture_url = '',
+ starts_on = '',
+ ends_on = '', ),
+ attachments = [
+ null
+ ],
+ analytics = unipile.models.get_posts_list_200_response_data_inner_analytics.getPostsList_200_response_data_inner_analytics(
+ impressions_counter = 1.337,
+ engagements_counter = 1.337,
+ engagement_rate = 1.337,
+ clicks_counter = 1.337,
+ clickthrough_rate = 1.337,
+ page_viewers_from_this_post_counter = 1.337,
+ followers_gained_from_this_post_counter = 1.337,
+ users_reached_counter = 1.337, ),
+ specifics = None,
+ is_repost = True,
+ reposted_by = unipile.models.update_post_200_response_reposted_by.updatePost_200_response_reposted_by(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ quoted_post = unipile.models.update_post_200_response_quoted_post.updatePost_200_response_quoted_post(
+ object = 'Post',
+ id = '',
+ share_url = '',
+ created_at = '',
+ title = '',
+ text = '',
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ user_reacted = null,
+ permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
+ can_share = True,
+ can_react = True,
+ can_post_comments = True, ),
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ comments_counter = 1.337,
+ reposts_counter = 1.337,
+ poll = unipile.models.get_posts_list_200_response_data_inner_poll.getPostsList_200_response_data_inner_poll(
+ id = '',
+ total_votes_count = 1.337,
+ question = '',
+ is_open = True,
+ options = [
+ unipile.models.get_posts_list_200_response_data_inner_poll_options_inner.getPostsList_200_response_data_inner_poll_options_inner(
+ id = '',
+ text = '',
+ win = True,
+ votes_count = 1.337, )
+ ], ),
+ event = unipile.models.get_posts_list_200_response_data_inner_event.getPostsList_200_response_data_inner_event(
+ id = '',
+ name = '',
+ url = '',
+ online = True,
+ location = '',
+ description = '',
+ public_picture_url = '',
+ starts_on = '',
+ ends_on = '', ),
+ attachments = [
+ null
+ ],
+ analytics = unipile.models.get_posts_list_200_response_data_inner_analytics.getPostsList_200_response_data_inner_analytics(
+ impressions_counter = 1.337,
+ engagements_counter = 1.337,
+ engagement_rate = 1.337,
+ clicks_counter = 1.337,
+ clickthrough_rate = 1.337,
+ page_viewers_from_this_post_counter = 1.337,
+ followers_gained_from_this_post_counter = 1.337,
+ users_reached_counter = 1.337, ),
+ specifics = null, )
+ )
+ else:
+ return UpdatePost200Response(
+ object = 'Post',
+ id = '',
+ share_url = '',
+ created_at = '',
+ text = '',
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ user_reacted = None,
+ permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
+ can_share = True,
+ can_react = True,
+ can_post_comments = True, ),
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ comments_counter = 1.337,
+ reposts_counter = 1.337,
+ attachments = [
+ null
+ ],
+ is_repost = True,
+ )
+ """
+
+ def testUpdatePost200Response(self):
+ """Test UpdatePost200Response"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_update_post200_response_author.py b/test/test_update_post200_response_author.py
new file mode 100644
index 000000000..c96fb5dd4
--- /dev/null
+++ b/test/test_update_post200_response_author.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.update_post200_response_author import UpdatePost200ResponseAuthor
+
+class TestUpdatePost200ResponseAuthor(unittest.TestCase):
+ """UpdatePost200ResponseAuthor unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> UpdatePost200ResponseAuthor:
+ """Test UpdatePost200ResponseAuthor
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `UpdatePost200ResponseAuthor`
+ """
+ model = UpdatePost200ResponseAuthor()
+ if include_optional:
+ return UpdatePost200ResponseAuthor(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = None
+ )
+ else:
+ return UpdatePost200ResponseAuthor(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testUpdatePost200ResponseAuthor(self):
+ """Test UpdatePost200ResponseAuthor"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_update_post200_response_quoted_post.py b/test/test_update_post200_response_quoted_post.py
new file mode 100644
index 000000000..09268deda
--- /dev/null
+++ b/test/test_update_post200_response_quoted_post.py
@@ -0,0 +1,149 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.update_post200_response_quoted_post import UpdatePost200ResponseQuotedPost
+
+class TestUpdatePost200ResponseQuotedPost(unittest.TestCase):
+ """UpdatePost200ResponseQuotedPost unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> UpdatePost200ResponseQuotedPost:
+ """Test UpdatePost200ResponseQuotedPost
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `UpdatePost200ResponseQuotedPost`
+ """
+ model = UpdatePost200ResponseQuotedPost()
+ if include_optional:
+ return UpdatePost200ResponseQuotedPost(
+ object = 'Post',
+ id = '',
+ share_url = '',
+ created_at = '',
+ title = '',
+ text = '',
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ user_reacted = None,
+ permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
+ can_share = True,
+ can_react = True,
+ can_post_comments = True, ),
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ comments_counter = 1.337,
+ reposts_counter = 1.337,
+ poll = unipile.models.get_posts_list_200_response_data_inner_poll.getPostsList_200_response_data_inner_poll(
+ id = '',
+ total_votes_count = 1.337,
+ question = '',
+ is_open = True,
+ options = [
+ unipile.models.get_posts_list_200_response_data_inner_poll_options_inner.getPostsList_200_response_data_inner_poll_options_inner(
+ id = '',
+ text = '',
+ win = True,
+ votes_count = 1.337, )
+ ], ),
+ event = unipile.models.get_posts_list_200_response_data_inner_event.getPostsList_200_response_data_inner_event(
+ id = '',
+ name = '',
+ url = '',
+ online = True,
+ location = '',
+ description = '',
+ public_picture_url = '',
+ starts_on = '',
+ ends_on = '', ),
+ attachments = [
+ null
+ ],
+ analytics = unipile.models.get_posts_list_200_response_data_inner_analytics.getPostsList_200_response_data_inner_analytics(
+ impressions_counter = 1.337,
+ engagements_counter = 1.337,
+ engagement_rate = 1.337,
+ clicks_counter = 1.337,
+ clickthrough_rate = 1.337,
+ page_viewers_from_this_post_counter = 1.337,
+ followers_gained_from_this_post_counter = 1.337,
+ users_reached_counter = 1.337, ),
+ specifics = None
+ )
+ else:
+ return UpdatePost200ResponseQuotedPost(
+ object = 'Post',
+ id = '',
+ share_url = '',
+ created_at = '',
+ text = '',
+ author = unipile.models.update_post_200_response_author.updatePost_200_response_author(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = null, ),
+ user_reacted = None,
+ permissions = unipile.models.get_posts_list_200_response_data_inner_permissions.getPostsList_200_response_data_inner_permissions(
+ can_share = True,
+ can_react = True,
+ can_post_comments = True, ),
+ reactions_counter = [
+ unipile.models.get_chats_list_200_response_data_inner_last_message_any_of_1_reactions_counter_inner.getChatsList_200_response_data_inner_last_message_anyOf_1_reactions_counter_inner(
+ reaction = '',
+ count = 1.337, )
+ ],
+ comments_counter = 1.337,
+ reposts_counter = 1.337,
+ attachments = [
+ null
+ ],
+ )
+ """
+
+ def testUpdatePost200ResponseQuotedPost(self):
+ """Test UpdatePost200ResponseQuotedPost"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_update_post200_response_reposted_by.py b/test/test_update_post200_response_reposted_by.py
new file mode 100644
index 000000000..5c65bde06
--- /dev/null
+++ b/test/test_update_post200_response_reposted_by.py
@@ -0,0 +1,66 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.update_post200_response_reposted_by import UpdatePost200ResponseRepostedBy
+
+class TestUpdatePost200ResponseRepostedBy(unittest.TestCase):
+ """UpdatePost200ResponseRepostedBy unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> UpdatePost200ResponseRepostedBy:
+ """Test UpdatePost200ResponseRepostedBy
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `UpdatePost200ResponseRepostedBy`
+ """
+ model = UpdatePost200ResponseRepostedBy()
+ if include_optional:
+ return UpdatePost200ResponseRepostedBy(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ public_identifier = '',
+ display_name = '',
+ first_name = '',
+ last_name = '',
+ profile_url = '',
+ public_picture_url = '',
+ private_picture_download_url = '',
+ description = '',
+ specifics = None
+ )
+ else:
+ return UpdatePost200ResponseRepostedBy(
+ id = '',
+ object = 'User',
+ type = 'individual',
+ display_name = '',
+ )
+ """
+
+ def testUpdatePost200ResponseRepostedBy(self):
+ """Test UpdatePost200ResponseRepostedBy"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_update_post_comment_request.py b/test/test_update_post_comment_request.py
index e8e76b7fd..126d0266e 100644
--- a/test/test_update_post_comment_request.py
+++ b/test/test_update_post_comment_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_post_request.py b/test/test_update_post_request.py
index 838a4e1b8..7c2cbe54a 100644
--- a/test/test_update_post_request.py
+++ b/test/test_update_post_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile200_response.py b/test/test_update_user_profile200_response.py
index a617da3f2..937db68e8 100644
--- a/test/test_update_user_profile200_response.py
+++ b/test/test_update_user_profile200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request.py b/test/test_update_user_profile_request.py
index 40cb2aa8a..a3bd5d01a 100644
--- a/test/test_update_user_profile_request.py
+++ b/test/test_update_user_profile_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics.py b/test/test_update_user_profile_request_specifics.py
index c63983e6a..80925b89e 100644
--- a/test/test_update_user_profile_request_specifics.py
+++ b/test/test_update_user_profile_request_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics_all_of_linkedin.py b/test/test_update_user_profile_request_specifics_all_of_linkedin.py
index db6069108..22c037295 100644
--- a/test/test_update_user_profile_request_specifics_all_of_linkedin.py
+++ b/test/test_update_user_profile_request_specifics_all_of_linkedin.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics_all_of_linkedin_custom_link.py b/test/test_update_user_profile_request_specifics_all_of_linkedin_custom_link.py
index 3790beff1..eedd22fcf 100644
--- a/test/test_update_user_profile_request_specifics_all_of_linkedin_custom_link.py
+++ b/test/test_update_user_profile_request_specifics_all_of_linkedin_custom_link.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics_all_of_linkedin_education.py b/test/test_update_user_profile_request_specifics_all_of_linkedin_education.py
index fb2689f43..9a176251c 100644
--- a/test/test_update_user_profile_request_specifics_all_of_linkedin_education.py
+++ b/test/test_update_user_profile_request_specifics_all_of_linkedin_education.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics_all_of_linkedin_experience.py b/test/test_update_user_profile_request_specifics_all_of_linkedin_experience.py
index 0c62f6d23..c5023ffae 100644
--- a/test/test_update_user_profile_request_specifics_all_of_linkedin_experience.py
+++ b/test/test_update_user_profile_request_specifics_all_of_linkedin_experience.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work.py b/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work.py
index 03e68670b..2c73a984b 100644
--- a/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work.py
+++ b/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work_job_title_inner.py b/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work_job_title_inner.py
index 4bfe83881..c4026c7c5 100644
--- a/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work_job_title_inner.py
+++ b/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work_job_title_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work_workplace_inner.py b/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work_workplace_inner.py
index 06fc91fc3..64cc50a61 100644
--- a/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work_workplace_inner.py
+++ b/test/test_update_user_profile_request_specifics_all_of_linkedin_open_to_work_workplace_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options.py b/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options.py
index 642369d30..a17989c78 100644
--- a/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options.py
+++ b/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options_layout.py b/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options_layout.py
index c78ae179b..03a654e3d 100644
--- a/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options_layout.py
+++ b/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options_layout.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options_layout_bottom_left.py b/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options_layout_bottom_left.py
index 56f49620a..a3a62efa0 100644
--- a/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options_layout_bottom_left.py
+++ b/test/test_update_user_profile_request_specifics_all_of_linkedin_picture_options_layout_bottom_left.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_user_profile_request_specifics_all_of_linkedin_skills_inner.py b/test/test_update_user_profile_request_specifics_all_of_linkedin_skills_inner.py
index 45623fe13..1789001d5 100644
--- a/test/test_update_user_profile_request_specifics_all_of_linkedin_skills_inner.py
+++ b/test/test_update_user_profile_request_specifics_all_of_linkedin_skills_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_update_webhook_endpoint_request.py b/test/test_update_webhook_endpoint_request.py
index bf21aa6be..1f1f62a5e 100644
--- a/test/test_update_webhook_endpoint_request.py
+++ b/test/test_update_webhook_endpoint_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -41,7 +41,7 @@ def make_instance(self, include_optional) -> UpdateWebhookEndpointRequest:
account_ids = [
'acc_jUR,rZ#UM/?R,Fp^l6$ARj'
],
- url = '',
+ url = 'https:/',
description = '',
enabled = True
)
diff --git a/test/test_users_api.py b/test/test_users_api.py
index 4ad27f77c..9c2742d45 100644
--- a/test/test_users_api.py
+++ b/test/test_users_api.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_verify_classic_company_member_identity200_response.py b/test/test_verify_classic_company_member_identity200_response.py
index d95a9e4fc..44ee30f72 100644
--- a/test/test_verify_classic_company_member_identity200_response.py
+++ b/test/test_verify_classic_company_member_identity200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_verify_classic_company_member_identity_request.py b/test/test_verify_classic_company_member_identity_request.py
index 62a5ea858..18648e1ca 100644
--- a/test/test_verify_classic_company_member_identity_request.py
+++ b/test/test_verify_classic_company_member_identity_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_video.py b/test/test_video.py
index 6a7f4a583..572594791 100644
--- a/test/test_video.py
+++ b/test/test_video.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> Video:
object = 'Attachment',
id = '',
file_size = 1.337,
+ is_inline = True,
is_unavailable = True,
mimetype = '',
url = '',
@@ -54,6 +55,7 @@ def make_instance(self, include_optional) -> Video:
return Video(
object = 'Attachment',
id = '',
+ is_inline = True,
mimetype = '',
url = '',
type = 'video',
diff --git a/test/test_video1.py b/test/test_video1.py
index d1b22e002..67b8f175e 100644
--- a/test/test_video1.py
+++ b/test/test_video1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> Video1:
object = 'Attachment',
id = '',
file_size = 1.337,
+ is_inline = True,
is_unavailable = True,
mimetype = '',
url = '',
@@ -54,6 +55,7 @@ def make_instance(self, include_optional) -> Video1:
return Video1(
object = 'Attachment',
id = '',
+ is_inline = True,
mimetype = '',
url = '',
type = 'video',
diff --git a/test/test_video1_size.py b/test/test_video1_size.py
index 749944ae9..49aa2fa03 100644
--- a/test/test_video1_size.py
+++ b/test/test_video1_size.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_video_size.py b/test/test_video_size.py
index de4ca0654..38852f2d6 100644
--- a/test/test_video_size.py
+++ b/test/test_video_size.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_visit_user_profile200_response.py b/test/test_visit_user_profile200_response.py
index 72735d19a..a5b530bb5 100644
--- a/test/test_visit_user_profile200_response.py
+++ b/test/test_visit_user_profile200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_webhooks_api.py b/test/test_webhooks_api.py
index 560349447..8a0fc3b0d 100644
--- a/test/test_webhooks_api.py
+++ b/test/test_webhooks_api.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_weeks_based.py b/test/test_weeks_based.py
index cd69f1b57..0536bc319 100644
--- a/test/test_weeks_based.py
+++ b/test/test_weeks_based.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/test/test_whats_app.py b/test/test_whats_app.py
index 8dc08eeb0..4acbee505 100644
--- a/test/test_whats_app.py
+++ b/test/test_whats_app.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,18 +35,11 @@ def make_instance(self, include_optional) -> WhatsApp:
model = WhatsApp()
if include_optional:
return WhatsApp(
- provider = 'whatsapp',
- credentials = unipile.models.whats_app_credentials.WhatsApp_credentials(
- qrcode = True, ),
- config = {
- 'key' : null
- }
+ contact_name = ''
)
else:
return WhatsApp(
- provider = 'whatsapp',
- credentials = unipile.models.whats_app_credentials.WhatsApp_credentials(
- qrcode = True, ),
+ contact_name = '',
)
"""
diff --git a/test/test_whats_app1.py b/test/test_whats_app1.py
new file mode 100644
index 000000000..c45fdc485
--- /dev/null
+++ b/test/test_whats_app1.py
@@ -0,0 +1,51 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.whats_app1 import WhatsApp1
+
+class TestWhatsApp1(unittest.TestCase):
+ """WhatsApp1 unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> WhatsApp1:
+ """Test WhatsApp1
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `WhatsApp1`
+ """
+ model = WhatsApp1()
+ if include_optional:
+ return WhatsApp1(
+ contact_name = ''
+ )
+ else:
+ return WhatsApp1(
+ )
+ """
+
+ def testWhatsApp1(self):
+ """Test WhatsApp1"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_whats_app2.py b/test/test_whats_app2.py
new file mode 100644
index 000000000..511854ffe
--- /dev/null
+++ b/test/test_whats_app2.py
@@ -0,0 +1,59 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.whats_app2 import WhatsApp2
+
+class TestWhatsApp2(unittest.TestCase):
+ """WhatsApp2 unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> WhatsApp2:
+ """Test WhatsApp2
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `WhatsApp2`
+ """
+ model = WhatsApp2()
+ if include_optional:
+ return WhatsApp2(
+ provider = 'whatsapp',
+ credentials = unipile.models.whats_app_2_credentials.WhatsApp_2_credentials(
+ qrcode = True, ),
+ config = {
+ 'key' : null
+ }
+ )
+ else:
+ return WhatsApp2(
+ provider = 'whatsapp',
+ credentials = unipile.models.whats_app_2_credentials.WhatsApp_2_credentials(
+ qrcode = True, ),
+ )
+ """
+
+ def testWhatsApp2(self):
+ """Test WhatsApp2"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_whats_app2_config.py b/test/test_whats_app2_config.py
new file mode 100644
index 000000000..76addeec1
--- /dev/null
+++ b/test/test_whats_app2_config.py
@@ -0,0 +1,59 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.whats_app2_config import WhatsApp2Config
+
+class TestWhatsApp2Config(unittest.TestCase):
+ """WhatsApp2Config unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> WhatsApp2Config:
+ """Test WhatsApp2Config
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `WhatsApp2Config`
+ """
+ model = WhatsApp2Config()
+ if include_optional:
+ return WhatsApp2Config(
+ custom_proxy = unipile.models.custom_proxy.Custom proxy(
+ host = '',
+ port = 1.337,
+ username = '',
+ password = '',
+ protocol = 'https', ),
+ auto_proxy_config = unipile.models.automatic_proxy_configuration.Automatic proxy configuration(
+ country = '',
+ ip = '', )
+ )
+ else:
+ return WhatsApp2Config(
+ )
+ """
+
+ def testWhatsApp2Config(self):
+ """Test WhatsApp2Config"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_whats_app2_credentials.py b/test/test_whats_app2_credentials.py
new file mode 100644
index 000000000..e65ebb3e6
--- /dev/null
+++ b/test/test_whats_app2_credentials.py
@@ -0,0 +1,52 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+
+from unipile.models.whats_app2_credentials import WhatsApp2Credentials
+
+class TestWhatsApp2Credentials(unittest.TestCase):
+ """WhatsApp2Credentials unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> WhatsApp2Credentials:
+ """Test WhatsApp2Credentials
+ include_optional is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `WhatsApp2Credentials`
+ """
+ model = WhatsApp2Credentials()
+ if include_optional:
+ return WhatsApp2Credentials(
+ qrcode = True
+ )
+ else:
+ return WhatsApp2Credentials(
+ qrcode = True,
+ )
+ """
+
+ def testWhatsApp2Credentials(self):
+ """Test WhatsApp2Credentials"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/unipile/__init__.py b/unipile/__init__.py
index 504ffac60..ad86c5f5e 100644
--- a/unipile/__init__.py
+++ b/unipile/__init__.py
@@ -7,14 +7,14 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
-__version__ = "2.0.0"
+__version__ = "2.34.0"
# Define package exports
__all__ = [
@@ -29,6 +29,7 @@
"PostsApi",
"UsersApi",
"WebhooksApi",
+ "DefaultApi",
"ApiResponse",
"ApiClient",
"Configuration",
@@ -41,16 +42,20 @@
"AcceptRelationRequest200Response",
"Account",
"Account1",
+ "Account1Metadata",
"Account1Proxy",
"AccountInitialSync",
"AccountList",
"AccountListDataInner",
"AccountListDataInnerRecommendedLead",
+ "AccountMetadata",
"AccountProxy",
"AddMessageReaction200Response",
"AddMessageReactionRequest",
"AddParticipant200Response",
"AddParticipantRequest",
+ "AddPostComment201Response",
+ "AddPostComment201ResponseAuthor",
"AddPostCommentReaction200Response",
"AddPostCommentReactionRequest",
"AddPostCommentReactionRequestReaction",
@@ -61,6 +66,7 @@
"ApplicantsSearch",
"ApplicantsSearchDataInner",
"ApplicantsSearchDataInnerProfile",
+ "ApplicantsSearchDataInnerScreeningQuestionsInner",
"ApplicantsSourced",
"ApplyOnExternalWebsite",
"ApplyOnLinkedin",
@@ -77,6 +83,8 @@
"CallStarted",
"CancelRelationRequest200Response",
"Captcha",
+ "ChallengeSelection",
+ "ChallengeSelectionChallengesInner",
"ChatDescriptionUpdated",
"ChatNameUpdated",
"ChatSubjectUpdated",
@@ -89,6 +97,8 @@
"CompaniesSearchDataInner",
"CompaniesSearchResults",
"CompaniesSearchResultsDataInner",
+ "ContractSelection",
+ "ContractSelectionContractsInner",
"CookieAuthentication",
"CookieAuthentication1",
"CreateAuthLink200Response",
@@ -133,10 +143,12 @@
"CreateRecruiterHiringProjectRequestJobTitle",
"CreateRecruiterJobPostingDraftInExistingProject200Response",
"CreateRecruiterJobPostingDraftInExistingProjectRequest",
+ "CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation",
"CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod",
"CreateRecruiterJobPostingDraftInExistingProjectRequestCompany",
"CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle",
"CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings",
+ "CreateRecruiterJobPostingDraftInExistingProjectRequestSalary",
"CreateRecruiterJobPostingDraftInNewProjectRequest",
"CreateRelationRequestRequest",
"CreateWebhookEndpoint200Response",
@@ -188,14 +200,27 @@
"GetCalendarsList200Response",
"GetCalendarsList200ResponseDataInner",
"GetChat200Response",
+ "GetChat200ResponseLastMessage",
+ "GetChat200ResponseLastMessageAnyOf",
"GetChat200ResponseMutedUntil",
"GetChatsList200Response",
"GetChatsList200ResponseDataInner",
"GetChatsList200ResponseDataInnerLastMessage",
+ "GetChatsList200ResponseDataInnerLastMessageAnyOf",
+ "GetChatsList200ResponseDataInnerLastMessageAnyOf1",
+ "GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner",
+ "GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata",
+ "GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded",
+ "GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner",
+ "GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted",
+ "GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner",
+ "GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner",
+ "GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender",
"GetChatsList200ResponseDataInnerMutedUntil",
"GetChatsList200ResponseDataInnerParticipantsInner",
"GetChatsList200ResponseDataInnerParticipantsInnerUser",
"GetChatsList200ResponseDataInnerUser",
+ "GetChatsList200ResponseDataInnerUserSpecifics",
"GetClassicApplicantById200Response",
"GetClassicApplicantById200ResponseProfile",
"GetClassicApplicantById200ResponseScreeningQuestionsInner",
@@ -236,17 +261,17 @@
"GetClassicJobPostingBudget200ResponsePromoted",
"GetClassicJobPostingBudget200ResponsePromotedDaily",
"GetClassicJobPostingBudget200ResponsePromotedTotal",
- "GetClassicSearchParameters200Response",
- "GetClassicSearchParameters200ResponseDataInner",
- "GetClassicSearchParameters200ResponseDataInnerMetadata",
+ "GetContactsList200Response",
+ "GetContactsList200ResponseDataInner",
+ "GetContactsList200ResponseDataInnerAddressesInner",
+ "GetContactsList200ResponseDataInnerGroupsInner",
+ "GetContactsList200ResponseDataInnerSocialHandles",
+ "GetContactsList200ResponseDataInnerSocialHandlesLinkedin",
+ "GetContactsList200ResponseDataInnerUser",
"GetDraftsList200Response",
"GetDraftsList200ResponseDataInner",
- "GetEmailContactsList200Response",
- "GetEmailContactsList200ResponseDataInner",
- "GetEmailContactsList200ResponseDataInnerAddressesInner",
- "GetEmailContactsList200ResponseDataInnerGroupsInner",
- "GetEmailContactsList200ResponseDataInnerSocialHandles",
- "GetEmailContactsList200ResponseDataInnerSocialHandlesLinkedin",
+ "GetEmailSenders200Response",
+ "GetEmailSenders200ResponseDataInner",
"GetEmailsList200Response",
"GetEmailsList200ResponseDataInner",
"GetEmailsList200ResponseDataInnerFromInner",
@@ -257,22 +282,20 @@
"GetInboxesList200ResponseDataInner",
"GetInmailCredits200Response",
"GetInmailCredits200ResponseCredits",
+ "GetManagedCompanyPages200Response",
+ "GetManagedCompanyPages200ResponseDataInner",
"GetMessage200Response",
"GetMessageReactionsList200Response",
"GetMessageReactionsList200ResponseDataInner",
- "GetMessageReactionsList200ResponseDataInnerSender",
"GetMessagesList200Response",
"GetMessagesList200ResponseDataInner",
- "GetMessagesList200ResponseDataInnerAttachmentsInner",
- "GetMessagesList200ResponseDataInnerEventMetadata",
"GetMessagesList200ResponseDataInnerForwarded",
"GetMessagesList200ResponseDataInnerQuoted",
- "GetMessagesList200ResponseDataInnerQuotedAttachmentsInner",
- "GetMessagesList200ResponseDataInnerReactionsCounterInner",
"GetMessagesList200ResponseDataInnerSender",
"GetMessagesList200ResponseDataInnerSpecifics",
"GetParticipantsList200Response",
"GetPost200Response",
+ "GetPost200ResponseQuotedPost",
"GetPostCommentsList200Response",
"GetPostCommentsList200ResponseDataInner",
"GetPostCommentsList200ResponseDataInnerAuthor",
@@ -285,8 +308,17 @@
"GetPostsList200ResponseDataInnerPoll",
"GetPostsList200ResponseDataInnerPollOptionsInner",
"GetPostsList200ResponseDataInnerQuotedPost",
+ "GetPostsList200ResponseDataInnerQuotedPostSpecifics",
+ "GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle",
+ "GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting",
+ "GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany",
+ "GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner",
"GetPostsList200ResponseDataInnerQuotedPostUserReacted",
"GetPostsList200ResponseDataInnerRepostedBy",
+ "GetPostsList200ResponseDataInnerSpecifics",
+ "GetPostsList200ResponseDataInnerSpecificsArticle",
+ "GetPostsList200ResponseDataInnerSpecificsJobPosting",
+ "GetPostsList200ResponseDataInnerSpecificsJobPostingCompany",
"GetPostsList200ResponseDataInnerUserReacted",
"GetRecruiterHiringProject200Response",
"GetRecruiterHiringProject200ResponseMetadata",
@@ -328,6 +360,8 @@
"GetRecruiterTalentPoolApplicantsRequestYearsInCurrentPosition",
"GetRecruiterTalentPoolApplicantsRequestYearsOfExperience",
"GetRelationRequestsList200Response",
+ "GetRelationRequestsList200ResponseDataInner",
+ "GetRelationRequestsList200ResponseDataInnerUser",
"GetSalesAccountLists200Response",
"GetSalesAccountLists200ResponseDataInner",
"GetSalesLeadLists200Response",
@@ -366,6 +400,8 @@
"Instagram1Config",
"Instagram1Credentials",
"JobsSearchResults",
+ "JobsSearchResults1",
+ "JobsSearchResults1DataInner",
"JobsSearchResultsDataInner",
"JobsSearchResultsDataInnerCompany",
"JobsSourced",
@@ -379,41 +415,48 @@
"LinkNewAccount",
"LinkNewAccountConfig",
"LinkNewAccountConfigGlobal",
- "LinkNewAccountConfigGoogle",
"LinkNewAccountConfigImap",
"LinkNewAccountConfigLinkedin",
"LinkNewAccountProviders",
"LinkedIn",
"LinkedIn1",
- "LinkedIn1Config",
- "LinkedIn1Credentials",
- "LinkedInCertificationsInner",
- "LinkedInCertificationsInnerOrganization",
+ "LinkedIn1CertificationsInner",
+ "LinkedIn1CertificationsInnerOrganization",
+ "LinkedIn1EducationInner",
+ "LinkedIn1EducationInnerSchool",
+ "LinkedIn1ExperienceInner",
+ "LinkedIn1ExperienceInnerCompany",
+ "LinkedIn1Interests",
+ "LinkedIn1InterestsCompaniesInner",
+ "LinkedIn1InterestsGroupsInner",
+ "LinkedIn1InterestsNewslettersInner",
+ "LinkedIn1InterestsSchoolsInner",
+ "LinkedIn1InterestsTopVoicesInner",
+ "LinkedIn1LanguagesInner",
+ "LinkedIn1ProjectsInner",
+ "LinkedIn1ProjectsInnerContributorsInner",
+ "LinkedIn1Recommendations",
+ "LinkedIn1RecommendationsReceivedInner",
+ "LinkedIn1RecommendationsReceivedInnerUser",
+ "LinkedIn1RecruitingProfile",
+ "LinkedIn1RecruitingProfileEventsInner",
+ "LinkedIn1RecruitingProfileNotesInner",
+ "LinkedIn1RecruitingProfileNotesInnerCommentsInner",
+ "LinkedIn1RecruitingProfileTagsInner",
+ "LinkedIn1RelationRequest",
+ "LinkedIn1RelationRequestUser",
+ "LinkedIn1SkillsInner",
+ "LinkedIn1VolunteerExperienceInner",
+ "LinkedIn2",
+ "LinkedIn2Config",
+ "LinkedIn2ConfigProducts",
+ "LinkedIn2Credentials",
"LinkedInClassic",
"LinkedInClassicApplicant",
- "LinkedInEducationInner",
- "LinkedInEducationInnerSchool",
- "LinkedInExperienceInner",
- "LinkedInExperienceInnerCompany",
- "LinkedInLanguagesInner",
- "LinkedInProjectsInner",
- "LinkedInProjectsInnerContributorsInner",
- "LinkedInRecommendations",
- "LinkedInRecommendationsReceivedInner",
- "LinkedInRecommendationsReceivedInnerUser",
"LinkedInRecruiter",
"LinkedInRecruiterFollowUp",
"LinkedInRecruiterFollowUpScheduledFor",
- "LinkedInRecruitingProfile",
- "LinkedInRecruitingProfileEventsInner",
- "LinkedInRecruitingProfileNotesInner",
- "LinkedInRecruitingProfileNotesInnerCommentsInner",
- "LinkedInRecruitingProfileTagsInner",
- "LinkedInRelationRequest",
- "LinkedInRelationRequestUser",
"LinkedInSalesNavigator",
- "LinkedInSkillsInner",
- "LinkedInVolunteerExperienceInner",
"ListAccounts200Response",
"ListClassicUserJobPostings200Response",
"ListClassicUserJobPostings200ResponseDataInner",
@@ -423,6 +466,7 @@
"ListWebhookEndpoints200Response",
"ListWebhookEndpoints200ResponseDataInner",
"ListWebhookEndpoints200ResponseDataInnerAccountTargetsInner",
+ "Loading",
"MediaShare",
"Message",
"MessageFile",
@@ -462,17 +506,12 @@
"PeopleSearchDataInner",
"PeopleSearchResults",
"PeopleSearchResultsDataInner",
- "PerformClassicCompaniesSearch200Response",
"PerformClassicCompaniesSearchRequest",
"PerformClassicCompaniesSearchRequestHeadcountInner",
- "PerformClassicJobsSearch200Response",
- "PerformClassicJobsSearch200ResponseDataInner",
"PerformClassicJobsSearchRequest",
"PerformClassicJobsSearchRequestSalary",
- "PerformClassicPeopleSearch200Response",
"PerformClassicPeopleSearchRequest",
"PerformClassicPeopleSearchRequestAdvancedKeywords",
- "PerformClassicPostsSearch200Response",
"PerformClassicPostsSearchRequest",
"PerformClassicPostsSearchRequestAuthor",
"PerformClassicPostsSearchRequestMentioning",
@@ -579,6 +618,9 @@
"RemovePostReaction200Response",
"RemovePostReactionRequest",
"RemovePostReactionRequestReaction",
+ "RequestCheckpoint200Response",
+ "RequestCheckpointRequest",
+ "ResendCheckpointRequest",
"SMTPConnectionsParameters",
"SalesNavigatorSavedSearch",
"SaveRecruiterCandidateToPipeline200Response",
@@ -592,6 +634,9 @@
"ScheduledCallStarted",
"SearchLocations200ResponseInner",
"SearchOrJobPostingSourced",
+ "SearchParametersList",
+ "SearchParametersListDataInner",
+ "SearchParametersListDataInnerMetadata",
"SelectContract200Response",
"SendEmail200Response",
"SendEmailRequest",
@@ -609,8 +654,6 @@
"StartAuthIntentRequest",
"StartChat200Response",
"StartChat200ResponseMessageId",
- "StartChatFromInboxRequest",
- "StartChatFromInboxRequestUsersIds",
"StartChatRequest",
"StartChatRequestSpecifics",
"StartChatRequestSpecificsLinkedin",
@@ -628,12 +671,20 @@
"UpdateAccountRequest",
"UpdateCalendarEventRequest",
"UpdateCalendarRequest",
+ "UpdateChat200Response",
+ "UpdateChat200ResponseParticipantsInner",
+ "UpdateChat200ResponseParticipantsInnerUser",
+ "UpdateChat200ResponseUser",
"UpdateChatRequest",
"UpdateChatRequestMutedUntil",
"UpdateDraftRequest",
"UpdateDraftRequestSpecifics",
"UpdateDraftRequestSpecificsAllOfOutlook",
"UpdateFolderRequest",
+ "UpdatePost200Response",
+ "UpdatePost200ResponseAuthor",
+ "UpdatePost200ResponseQuotedPost",
+ "UpdatePost200ResponseRepostedBy",
"UpdatePostCommentRequest",
"UpdatePostRequest",
"UpdateUserProfile200Response",
@@ -660,8 +711,10 @@
"VisitUserProfile200Response",
"WeeksBased",
"WhatsApp",
- "WhatsAppConfig",
- "WhatsAppCredentials",
+ "WhatsApp1",
+ "WhatsApp2",
+ "WhatsApp2Config",
+ "WhatsApp2Credentials",
]
# import apis into sdk package
@@ -676,6 +729,7 @@
from unipile.api.posts_api import PostsApi as PostsApi
from unipile.api.users_api import UsersApi as UsersApi
from unipile.api.webhooks_api import WebhooksApi as WebhooksApi
+from unipile.api.default_api import DefaultApi as DefaultApi
# import ApiClient
from unipile.api_response import ApiResponse as ApiResponse
@@ -692,16 +746,20 @@
from unipile.models.accept_relation_request200_response import AcceptRelationRequest200Response as AcceptRelationRequest200Response
from unipile.models.account import Account as Account
from unipile.models.account1 import Account1 as Account1
+from unipile.models.account1_metadata import Account1Metadata as Account1Metadata
from unipile.models.account1_proxy import Account1Proxy as Account1Proxy
from unipile.models.account_initial_sync import AccountInitialSync as AccountInitialSync
from unipile.models.account_list import AccountList as AccountList
from unipile.models.account_list_data_inner import AccountListDataInner as AccountListDataInner
from unipile.models.account_list_data_inner_recommended_lead import AccountListDataInnerRecommendedLead as AccountListDataInnerRecommendedLead
+from unipile.models.account_metadata import AccountMetadata as AccountMetadata
from unipile.models.account_proxy import AccountProxy as AccountProxy
from unipile.models.add_message_reaction200_response import AddMessageReaction200Response as AddMessageReaction200Response
from unipile.models.add_message_reaction_request import AddMessageReactionRequest as AddMessageReactionRequest
from unipile.models.add_participant200_response import AddParticipant200Response as AddParticipant200Response
from unipile.models.add_participant_request import AddParticipantRequest as AddParticipantRequest
+from unipile.models.add_post_comment201_response import AddPostComment201Response as AddPostComment201Response
+from unipile.models.add_post_comment201_response_author import AddPostComment201ResponseAuthor as AddPostComment201ResponseAuthor
from unipile.models.add_post_comment_reaction200_response import AddPostCommentReaction200Response as AddPostCommentReaction200Response
from unipile.models.add_post_comment_reaction_request import AddPostCommentReactionRequest as AddPostCommentReactionRequest
from unipile.models.add_post_comment_reaction_request_reaction import AddPostCommentReactionRequestReaction as AddPostCommentReactionRequestReaction
@@ -712,6 +770,7 @@
from unipile.models.applicants_search import ApplicantsSearch as ApplicantsSearch
from unipile.models.applicants_search_data_inner import ApplicantsSearchDataInner as ApplicantsSearchDataInner
from unipile.models.applicants_search_data_inner_profile import ApplicantsSearchDataInnerProfile as ApplicantsSearchDataInnerProfile
+from unipile.models.applicants_search_data_inner_screening_questions_inner import ApplicantsSearchDataInnerScreeningQuestionsInner as ApplicantsSearchDataInnerScreeningQuestionsInner
from unipile.models.applicants_sourced import ApplicantsSourced as ApplicantsSourced
from unipile.models.apply_on_external_website import ApplyOnExternalWebsite as ApplyOnExternalWebsite
from unipile.models.apply_on_linkedin import ApplyOnLinkedin as ApplyOnLinkedin
@@ -728,6 +787,8 @@
from unipile.models.call_started import CallStarted as CallStarted
from unipile.models.cancel_relation_request200_response import CancelRelationRequest200Response as CancelRelationRequest200Response
from unipile.models.captcha import Captcha as Captcha
+from unipile.models.challenge_selection import ChallengeSelection as ChallengeSelection
+from unipile.models.challenge_selection_challenges_inner import ChallengeSelectionChallengesInner as ChallengeSelectionChallengesInner
from unipile.models.chat_description_updated import ChatDescriptionUpdated as ChatDescriptionUpdated
from unipile.models.chat_name_updated import ChatNameUpdated as ChatNameUpdated
from unipile.models.chat_subject_updated import ChatSubjectUpdated as ChatSubjectUpdated
@@ -740,6 +801,8 @@
from unipile.models.companies_search_data_inner import CompaniesSearchDataInner as CompaniesSearchDataInner
from unipile.models.companies_search_results import CompaniesSearchResults as CompaniesSearchResults
from unipile.models.companies_search_results_data_inner import CompaniesSearchResultsDataInner as CompaniesSearchResultsDataInner
+from unipile.models.contract_selection import ContractSelection as ContractSelection
+from unipile.models.contract_selection_contracts_inner import ContractSelectionContractsInner as ContractSelectionContractsInner
from unipile.models.cookie_authentication import CookieAuthentication as CookieAuthentication
from unipile.models.cookie_authentication1 import CookieAuthentication1 as CookieAuthentication1
from unipile.models.create_auth_link200_response import CreateAuthLink200Response as CreateAuthLink200Response
@@ -784,10 +847,12 @@
from unipile.models.create_recruiter_hiring_project_request_job_title import CreateRecruiterHiringProjectRequestJobTitle as CreateRecruiterHiringProjectRequestJobTitle
from unipile.models.create_recruiter_job_posting_draft_in_existing_project200_response import CreateRecruiterJobPostingDraftInExistingProject200Response as CreateRecruiterJobPostingDraftInExistingProject200Response
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request import CreateRecruiterJobPostingDraftInExistingProjectRequest as CreateRecruiterJobPostingDraftInExistingProjectRequest
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation import CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation as CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_apply_method import CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod as CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_company import CreateRecruiterJobPostingDraftInExistingProjectRequestCompany as CreateRecruiterJobPostingDraftInExistingProjectRequestCompany
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_job_title import CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle as CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings import CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings as CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_salary import CreateRecruiterJobPostingDraftInExistingProjectRequestSalary as CreateRecruiterJobPostingDraftInExistingProjectRequestSalary
from unipile.models.create_recruiter_job_posting_draft_in_new_project_request import CreateRecruiterJobPostingDraftInNewProjectRequest as CreateRecruiterJobPostingDraftInNewProjectRequest
from unipile.models.create_relation_request_request import CreateRelationRequestRequest as CreateRelationRequestRequest
from unipile.models.create_webhook_endpoint200_response import CreateWebhookEndpoint200Response as CreateWebhookEndpoint200Response
@@ -839,14 +904,27 @@
from unipile.models.get_calendars_list200_response import GetCalendarsList200Response as GetCalendarsList200Response
from unipile.models.get_calendars_list200_response_data_inner import GetCalendarsList200ResponseDataInner as GetCalendarsList200ResponseDataInner
from unipile.models.get_chat200_response import GetChat200Response as GetChat200Response
+from unipile.models.get_chat200_response_last_message import GetChat200ResponseLastMessage as GetChat200ResponseLastMessage
+from unipile.models.get_chat200_response_last_message_any_of import GetChat200ResponseLastMessageAnyOf as GetChat200ResponseLastMessageAnyOf
from unipile.models.get_chat200_response_muted_until import GetChat200ResponseMutedUntil as GetChat200ResponseMutedUntil
from unipile.models.get_chats_list200_response import GetChatsList200Response as GetChatsList200Response
from unipile.models.get_chats_list200_response_data_inner import GetChatsList200ResponseDataInner as GetChatsList200ResponseDataInner
from unipile.models.get_chats_list200_response_data_inner_last_message import GetChatsList200ResponseDataInnerLastMessage as GetChatsList200ResponseDataInnerLastMessage
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of import GetChatsList200ResponseDataInnerLastMessageAnyOf as GetChatsList200ResponseDataInnerLastMessageAnyOf
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1 import GetChatsList200ResponseDataInnerLastMessageAnyOf1 as GetChatsList200ResponseDataInnerLastMessageAnyOf1
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner as GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_event_metadata import GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata as GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_forwarded import GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded as GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner as GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted import GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted as GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner as GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner as GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_sender import GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender as GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender
from unipile.models.get_chats_list200_response_data_inner_muted_until import GetChatsList200ResponseDataInnerMutedUntil as GetChatsList200ResponseDataInnerMutedUntil
from unipile.models.get_chats_list200_response_data_inner_participants_inner import GetChatsList200ResponseDataInnerParticipantsInner as GetChatsList200ResponseDataInnerParticipantsInner
from unipile.models.get_chats_list200_response_data_inner_participants_inner_user import GetChatsList200ResponseDataInnerParticipantsInnerUser as GetChatsList200ResponseDataInnerParticipantsInnerUser
from unipile.models.get_chats_list200_response_data_inner_user import GetChatsList200ResponseDataInnerUser as GetChatsList200ResponseDataInnerUser
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics as GetChatsList200ResponseDataInnerUserSpecifics
from unipile.models.get_classic_applicant_by_id200_response import GetClassicApplicantById200Response as GetClassicApplicantById200Response
from unipile.models.get_classic_applicant_by_id200_response_profile import GetClassicApplicantById200ResponseProfile as GetClassicApplicantById200ResponseProfile
from unipile.models.get_classic_applicant_by_id200_response_screening_questions_inner import GetClassicApplicantById200ResponseScreeningQuestionsInner as GetClassicApplicantById200ResponseScreeningQuestionsInner
@@ -887,17 +965,17 @@
from unipile.models.get_classic_job_posting_budget200_response_promoted import GetClassicJobPostingBudget200ResponsePromoted as GetClassicJobPostingBudget200ResponsePromoted
from unipile.models.get_classic_job_posting_budget200_response_promoted_daily import GetClassicJobPostingBudget200ResponsePromotedDaily as GetClassicJobPostingBudget200ResponsePromotedDaily
from unipile.models.get_classic_job_posting_budget200_response_promoted_total import GetClassicJobPostingBudget200ResponsePromotedTotal as GetClassicJobPostingBudget200ResponsePromotedTotal
-from unipile.models.get_classic_search_parameters200_response import GetClassicSearchParameters200Response as GetClassicSearchParameters200Response
-from unipile.models.get_classic_search_parameters200_response_data_inner import GetClassicSearchParameters200ResponseDataInner as GetClassicSearchParameters200ResponseDataInner
-from unipile.models.get_classic_search_parameters200_response_data_inner_metadata import GetClassicSearchParameters200ResponseDataInnerMetadata as GetClassicSearchParameters200ResponseDataInnerMetadata
+from unipile.models.get_contacts_list200_response import GetContactsList200Response as GetContactsList200Response
+from unipile.models.get_contacts_list200_response_data_inner import GetContactsList200ResponseDataInner as GetContactsList200ResponseDataInner
+from unipile.models.get_contacts_list200_response_data_inner_addresses_inner import GetContactsList200ResponseDataInnerAddressesInner as GetContactsList200ResponseDataInnerAddressesInner
+from unipile.models.get_contacts_list200_response_data_inner_groups_inner import GetContactsList200ResponseDataInnerGroupsInner as GetContactsList200ResponseDataInnerGroupsInner
+from unipile.models.get_contacts_list200_response_data_inner_social_handles import GetContactsList200ResponseDataInnerSocialHandles as GetContactsList200ResponseDataInnerSocialHandles
+from unipile.models.get_contacts_list200_response_data_inner_social_handles_linkedin import GetContactsList200ResponseDataInnerSocialHandlesLinkedin as GetContactsList200ResponseDataInnerSocialHandlesLinkedin
+from unipile.models.get_contacts_list200_response_data_inner_user import GetContactsList200ResponseDataInnerUser as GetContactsList200ResponseDataInnerUser
from unipile.models.get_drafts_list200_response import GetDraftsList200Response as GetDraftsList200Response
from unipile.models.get_drafts_list200_response_data_inner import GetDraftsList200ResponseDataInner as GetDraftsList200ResponseDataInner
-from unipile.models.get_email_contacts_list200_response import GetEmailContactsList200Response as GetEmailContactsList200Response
-from unipile.models.get_email_contacts_list200_response_data_inner import GetEmailContactsList200ResponseDataInner as GetEmailContactsList200ResponseDataInner
-from unipile.models.get_email_contacts_list200_response_data_inner_addresses_inner import GetEmailContactsList200ResponseDataInnerAddressesInner as GetEmailContactsList200ResponseDataInnerAddressesInner
-from unipile.models.get_email_contacts_list200_response_data_inner_groups_inner import GetEmailContactsList200ResponseDataInnerGroupsInner as GetEmailContactsList200ResponseDataInnerGroupsInner
-from unipile.models.get_email_contacts_list200_response_data_inner_social_handles import GetEmailContactsList200ResponseDataInnerSocialHandles as GetEmailContactsList200ResponseDataInnerSocialHandles
-from unipile.models.get_email_contacts_list200_response_data_inner_social_handles_linkedin import GetEmailContactsList200ResponseDataInnerSocialHandlesLinkedin as GetEmailContactsList200ResponseDataInnerSocialHandlesLinkedin
+from unipile.models.get_email_senders200_response import GetEmailSenders200Response as GetEmailSenders200Response
+from unipile.models.get_email_senders200_response_data_inner import GetEmailSenders200ResponseDataInner as GetEmailSenders200ResponseDataInner
from unipile.models.get_emails_list200_response import GetEmailsList200Response as GetEmailsList200Response
from unipile.models.get_emails_list200_response_data_inner import GetEmailsList200ResponseDataInner as GetEmailsList200ResponseDataInner
from unipile.models.get_emails_list200_response_data_inner_from_inner import GetEmailsList200ResponseDataInnerFromInner as GetEmailsList200ResponseDataInnerFromInner
@@ -908,22 +986,20 @@
from unipile.models.get_inboxes_list200_response_data_inner import GetInboxesList200ResponseDataInner as GetInboxesList200ResponseDataInner
from unipile.models.get_inmail_credits200_response import GetInmailCredits200Response as GetInmailCredits200Response
from unipile.models.get_inmail_credits200_response_credits import GetInmailCredits200ResponseCredits as GetInmailCredits200ResponseCredits
+from unipile.models.get_managed_company_pages200_response import GetManagedCompanyPages200Response as GetManagedCompanyPages200Response
+from unipile.models.get_managed_company_pages200_response_data_inner import GetManagedCompanyPages200ResponseDataInner as GetManagedCompanyPages200ResponseDataInner
from unipile.models.get_message200_response import GetMessage200Response as GetMessage200Response
from unipile.models.get_message_reactions_list200_response import GetMessageReactionsList200Response as GetMessageReactionsList200Response
from unipile.models.get_message_reactions_list200_response_data_inner import GetMessageReactionsList200ResponseDataInner as GetMessageReactionsList200ResponseDataInner
-from unipile.models.get_message_reactions_list200_response_data_inner_sender import GetMessageReactionsList200ResponseDataInnerSender as GetMessageReactionsList200ResponseDataInnerSender
from unipile.models.get_messages_list200_response import GetMessagesList200Response as GetMessagesList200Response
from unipile.models.get_messages_list200_response_data_inner import GetMessagesList200ResponseDataInner as GetMessagesList200ResponseDataInner
-from unipile.models.get_messages_list200_response_data_inner_attachments_inner import GetMessagesList200ResponseDataInnerAttachmentsInner as GetMessagesList200ResponseDataInnerAttachmentsInner
-from unipile.models.get_messages_list200_response_data_inner_event_metadata import GetMessagesList200ResponseDataInnerEventMetadata as GetMessagesList200ResponseDataInnerEventMetadata
from unipile.models.get_messages_list200_response_data_inner_forwarded import GetMessagesList200ResponseDataInnerForwarded as GetMessagesList200ResponseDataInnerForwarded
from unipile.models.get_messages_list200_response_data_inner_quoted import GetMessagesList200ResponseDataInnerQuoted as GetMessagesList200ResponseDataInnerQuoted
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner as GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
-from unipile.models.get_messages_list200_response_data_inner_reactions_counter_inner import GetMessagesList200ResponseDataInnerReactionsCounterInner as GetMessagesList200ResponseDataInnerReactionsCounterInner
from unipile.models.get_messages_list200_response_data_inner_sender import GetMessagesList200ResponseDataInnerSender as GetMessagesList200ResponseDataInnerSender
from unipile.models.get_messages_list200_response_data_inner_specifics import GetMessagesList200ResponseDataInnerSpecifics as GetMessagesList200ResponseDataInnerSpecifics
from unipile.models.get_participants_list200_response import GetParticipantsList200Response as GetParticipantsList200Response
from unipile.models.get_post200_response import GetPost200Response as GetPost200Response
+from unipile.models.get_post200_response_quoted_post import GetPost200ResponseQuotedPost as GetPost200ResponseQuotedPost
from unipile.models.get_post_comments_list200_response import GetPostCommentsList200Response as GetPostCommentsList200Response
from unipile.models.get_post_comments_list200_response_data_inner import GetPostCommentsList200ResponseDataInner as GetPostCommentsList200ResponseDataInner
from unipile.models.get_post_comments_list200_response_data_inner_author import GetPostCommentsList200ResponseDataInnerAuthor as GetPostCommentsList200ResponseDataInnerAuthor
@@ -936,8 +1012,17 @@
from unipile.models.get_posts_list200_response_data_inner_poll import GetPostsList200ResponseDataInnerPoll as GetPostsList200ResponseDataInnerPoll
from unipile.models.get_posts_list200_response_data_inner_poll_options_inner import GetPostsList200ResponseDataInnerPollOptionsInner as GetPostsList200ResponseDataInnerPollOptionsInner
from unipile.models.get_posts_list200_response_data_inner_quoted_post import GetPostsList200ResponseDataInnerQuotedPost as GetPostsList200ResponseDataInnerQuotedPost
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics import GetPostsList200ResponseDataInnerQuotedPostSpecifics as GetPostsList200ResponseDataInnerQuotedPostSpecifics
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_article import GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle as GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_job_posting import GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting as GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company import GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany as GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner import GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner as GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner
from unipile.models.get_posts_list200_response_data_inner_quoted_post_user_reacted import GetPostsList200ResponseDataInnerQuotedPostUserReacted as GetPostsList200ResponseDataInnerQuotedPostUserReacted
from unipile.models.get_posts_list200_response_data_inner_reposted_by import GetPostsList200ResponseDataInnerRepostedBy as GetPostsList200ResponseDataInnerRepostedBy
+from unipile.models.get_posts_list200_response_data_inner_specifics import GetPostsList200ResponseDataInnerSpecifics as GetPostsList200ResponseDataInnerSpecifics
+from unipile.models.get_posts_list200_response_data_inner_specifics_article import GetPostsList200ResponseDataInnerSpecificsArticle as GetPostsList200ResponseDataInnerSpecificsArticle
+from unipile.models.get_posts_list200_response_data_inner_specifics_job_posting import GetPostsList200ResponseDataInnerSpecificsJobPosting as GetPostsList200ResponseDataInnerSpecificsJobPosting
+from unipile.models.get_posts_list200_response_data_inner_specifics_job_posting_company import GetPostsList200ResponseDataInnerSpecificsJobPostingCompany as GetPostsList200ResponseDataInnerSpecificsJobPostingCompany
from unipile.models.get_posts_list200_response_data_inner_user_reacted import GetPostsList200ResponseDataInnerUserReacted as GetPostsList200ResponseDataInnerUserReacted
from unipile.models.get_recruiter_hiring_project200_response import GetRecruiterHiringProject200Response as GetRecruiterHiringProject200Response
from unipile.models.get_recruiter_hiring_project200_response_metadata import GetRecruiterHiringProject200ResponseMetadata as GetRecruiterHiringProject200ResponseMetadata
@@ -979,6 +1064,8 @@
from unipile.models.get_recruiter_talent_pool_applicants_request_years_in_current_position import GetRecruiterTalentPoolApplicantsRequestYearsInCurrentPosition as GetRecruiterTalentPoolApplicantsRequestYearsInCurrentPosition
from unipile.models.get_recruiter_talent_pool_applicants_request_years_of_experience import GetRecruiterTalentPoolApplicantsRequestYearsOfExperience as GetRecruiterTalentPoolApplicantsRequestYearsOfExperience
from unipile.models.get_relation_requests_list200_response import GetRelationRequestsList200Response as GetRelationRequestsList200Response
+from unipile.models.get_relation_requests_list200_response_data_inner import GetRelationRequestsList200ResponseDataInner as GetRelationRequestsList200ResponseDataInner
+from unipile.models.get_relation_requests_list200_response_data_inner_user import GetRelationRequestsList200ResponseDataInnerUser as GetRelationRequestsList200ResponseDataInnerUser
from unipile.models.get_sales_account_lists200_response import GetSalesAccountLists200Response as GetSalesAccountLists200Response
from unipile.models.get_sales_account_lists200_response_data_inner import GetSalesAccountLists200ResponseDataInner as GetSalesAccountLists200ResponseDataInner
from unipile.models.get_sales_lead_lists200_response import GetSalesLeadLists200Response as GetSalesLeadLists200Response
@@ -1017,6 +1104,8 @@
from unipile.models.instagram1_config import Instagram1Config as Instagram1Config
from unipile.models.instagram1_credentials import Instagram1Credentials as Instagram1Credentials
from unipile.models.jobs_search_results import JobsSearchResults as JobsSearchResults
+from unipile.models.jobs_search_results1 import JobsSearchResults1 as JobsSearchResults1
+from unipile.models.jobs_search_results1_data_inner import JobsSearchResults1DataInner as JobsSearchResults1DataInner
from unipile.models.jobs_search_results_data_inner import JobsSearchResultsDataInner as JobsSearchResultsDataInner
from unipile.models.jobs_search_results_data_inner_company import JobsSearchResultsDataInnerCompany as JobsSearchResultsDataInnerCompany
from unipile.models.jobs_sourced import JobsSourced as JobsSourced
@@ -1030,41 +1119,48 @@
from unipile.models.link_new_account import LinkNewAccount as LinkNewAccount
from unipile.models.link_new_account_config import LinkNewAccountConfig as LinkNewAccountConfig
from unipile.models.link_new_account_config_global import LinkNewAccountConfigGlobal as LinkNewAccountConfigGlobal
-from unipile.models.link_new_account_config_google import LinkNewAccountConfigGoogle as LinkNewAccountConfigGoogle
from unipile.models.link_new_account_config_imap import LinkNewAccountConfigImap as LinkNewAccountConfigImap
from unipile.models.link_new_account_config_linkedin import LinkNewAccountConfigLinkedin as LinkNewAccountConfigLinkedin
from unipile.models.link_new_account_providers import LinkNewAccountProviders as LinkNewAccountProviders
from unipile.models.linked_in import LinkedIn as LinkedIn
from unipile.models.linked_in1 import LinkedIn1 as LinkedIn1
-from unipile.models.linked_in1_config import LinkedIn1Config as LinkedIn1Config
-from unipile.models.linked_in1_credentials import LinkedIn1Credentials as LinkedIn1Credentials
-from unipile.models.linked_in_certifications_inner import LinkedInCertificationsInner as LinkedInCertificationsInner
-from unipile.models.linked_in_certifications_inner_organization import LinkedInCertificationsInnerOrganization as LinkedInCertificationsInnerOrganization
+from unipile.models.linked_in1_certifications_inner import LinkedIn1CertificationsInner as LinkedIn1CertificationsInner
+from unipile.models.linked_in1_certifications_inner_organization import LinkedIn1CertificationsInnerOrganization as LinkedIn1CertificationsInnerOrganization
+from unipile.models.linked_in1_education_inner import LinkedIn1EducationInner as LinkedIn1EducationInner
+from unipile.models.linked_in1_education_inner_school import LinkedIn1EducationInnerSchool as LinkedIn1EducationInnerSchool
+from unipile.models.linked_in1_experience_inner import LinkedIn1ExperienceInner as LinkedIn1ExperienceInner
+from unipile.models.linked_in1_experience_inner_company import LinkedIn1ExperienceInnerCompany as LinkedIn1ExperienceInnerCompany
+from unipile.models.linked_in1_interests import LinkedIn1Interests as LinkedIn1Interests
+from unipile.models.linked_in1_interests_companies_inner import LinkedIn1InterestsCompaniesInner as LinkedIn1InterestsCompaniesInner
+from unipile.models.linked_in1_interests_groups_inner import LinkedIn1InterestsGroupsInner as LinkedIn1InterestsGroupsInner
+from unipile.models.linked_in1_interests_newsletters_inner import LinkedIn1InterestsNewslettersInner as LinkedIn1InterestsNewslettersInner
+from unipile.models.linked_in1_interests_schools_inner import LinkedIn1InterestsSchoolsInner as LinkedIn1InterestsSchoolsInner
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner as LinkedIn1InterestsTopVoicesInner
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner as LinkedIn1LanguagesInner
+from unipile.models.linked_in1_projects_inner import LinkedIn1ProjectsInner as LinkedIn1ProjectsInner
+from unipile.models.linked_in1_projects_inner_contributors_inner import LinkedIn1ProjectsInnerContributorsInner as LinkedIn1ProjectsInnerContributorsInner
+from unipile.models.linked_in1_recommendations import LinkedIn1Recommendations as LinkedIn1Recommendations
+from unipile.models.linked_in1_recommendations_received_inner import LinkedIn1RecommendationsReceivedInner as LinkedIn1RecommendationsReceivedInner
+from unipile.models.linked_in1_recommendations_received_inner_user import LinkedIn1RecommendationsReceivedInnerUser as LinkedIn1RecommendationsReceivedInnerUser
+from unipile.models.linked_in1_recruiting_profile import LinkedIn1RecruitingProfile as LinkedIn1RecruitingProfile
+from unipile.models.linked_in1_recruiting_profile_events_inner import LinkedIn1RecruitingProfileEventsInner as LinkedIn1RecruitingProfileEventsInner
+from unipile.models.linked_in1_recruiting_profile_notes_inner import LinkedIn1RecruitingProfileNotesInner as LinkedIn1RecruitingProfileNotesInner
+from unipile.models.linked_in1_recruiting_profile_notes_inner_comments_inner import LinkedIn1RecruitingProfileNotesInnerCommentsInner as LinkedIn1RecruitingProfileNotesInnerCommentsInner
+from unipile.models.linked_in1_recruiting_profile_tags_inner import LinkedIn1RecruitingProfileTagsInner as LinkedIn1RecruitingProfileTagsInner
+from unipile.models.linked_in1_relation_request import LinkedIn1RelationRequest as LinkedIn1RelationRequest
+from unipile.models.linked_in1_relation_request_user import LinkedIn1RelationRequestUser as LinkedIn1RelationRequestUser
+from unipile.models.linked_in1_skills_inner import LinkedIn1SkillsInner as LinkedIn1SkillsInner
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner as LinkedIn1VolunteerExperienceInner
+from unipile.models.linked_in2 import LinkedIn2 as LinkedIn2
+from unipile.models.linked_in2_config import LinkedIn2Config as LinkedIn2Config
+from unipile.models.linked_in2_config_products import LinkedIn2ConfigProducts as LinkedIn2ConfigProducts
+from unipile.models.linked_in2_credentials import LinkedIn2Credentials as LinkedIn2Credentials
from unipile.models.linked_in_classic import LinkedInClassic as LinkedInClassic
from unipile.models.linked_in_classic_applicant import LinkedInClassicApplicant as LinkedInClassicApplicant
-from unipile.models.linked_in_education_inner import LinkedInEducationInner as LinkedInEducationInner
-from unipile.models.linked_in_education_inner_school import LinkedInEducationInnerSchool as LinkedInEducationInnerSchool
-from unipile.models.linked_in_experience_inner import LinkedInExperienceInner as LinkedInExperienceInner
-from unipile.models.linked_in_experience_inner_company import LinkedInExperienceInnerCompany as LinkedInExperienceInnerCompany
-from unipile.models.linked_in_languages_inner import LinkedInLanguagesInner as LinkedInLanguagesInner
-from unipile.models.linked_in_projects_inner import LinkedInProjectsInner as LinkedInProjectsInner
-from unipile.models.linked_in_projects_inner_contributors_inner import LinkedInProjectsInnerContributorsInner as LinkedInProjectsInnerContributorsInner
-from unipile.models.linked_in_recommendations import LinkedInRecommendations as LinkedInRecommendations
-from unipile.models.linked_in_recommendations_received_inner import LinkedInRecommendationsReceivedInner as LinkedInRecommendationsReceivedInner
-from unipile.models.linked_in_recommendations_received_inner_user import LinkedInRecommendationsReceivedInnerUser as LinkedInRecommendationsReceivedInnerUser
from unipile.models.linked_in_recruiter import LinkedInRecruiter as LinkedInRecruiter
from unipile.models.linked_in_recruiter_follow_up import LinkedInRecruiterFollowUp as LinkedInRecruiterFollowUp
from unipile.models.linked_in_recruiter_follow_up_scheduled_for import LinkedInRecruiterFollowUpScheduledFor as LinkedInRecruiterFollowUpScheduledFor
-from unipile.models.linked_in_recruiting_profile import LinkedInRecruitingProfile as LinkedInRecruitingProfile
-from unipile.models.linked_in_recruiting_profile_events_inner import LinkedInRecruitingProfileEventsInner as LinkedInRecruitingProfileEventsInner
-from unipile.models.linked_in_recruiting_profile_notes_inner import LinkedInRecruitingProfileNotesInner as LinkedInRecruitingProfileNotesInner
-from unipile.models.linked_in_recruiting_profile_notes_inner_comments_inner import LinkedInRecruitingProfileNotesInnerCommentsInner as LinkedInRecruitingProfileNotesInnerCommentsInner
-from unipile.models.linked_in_recruiting_profile_tags_inner import LinkedInRecruitingProfileTagsInner as LinkedInRecruitingProfileTagsInner
-from unipile.models.linked_in_relation_request import LinkedInRelationRequest as LinkedInRelationRequest
-from unipile.models.linked_in_relation_request_user import LinkedInRelationRequestUser as LinkedInRelationRequestUser
from unipile.models.linked_in_sales_navigator import LinkedInSalesNavigator as LinkedInSalesNavigator
-from unipile.models.linked_in_skills_inner import LinkedInSkillsInner as LinkedInSkillsInner
-from unipile.models.linked_in_volunteer_experience_inner import LinkedInVolunteerExperienceInner as LinkedInVolunteerExperienceInner
from unipile.models.list_accounts200_response import ListAccounts200Response as ListAccounts200Response
from unipile.models.list_classic_user_job_postings200_response import ListClassicUserJobPostings200Response as ListClassicUserJobPostings200Response
from unipile.models.list_classic_user_job_postings200_response_data_inner import ListClassicUserJobPostings200ResponseDataInner as ListClassicUserJobPostings200ResponseDataInner
@@ -1074,6 +1170,7 @@
from unipile.models.list_webhook_endpoints200_response import ListWebhookEndpoints200Response as ListWebhookEndpoints200Response
from unipile.models.list_webhook_endpoints200_response_data_inner import ListWebhookEndpoints200ResponseDataInner as ListWebhookEndpoints200ResponseDataInner
from unipile.models.list_webhook_endpoints200_response_data_inner_account_targets_inner import ListWebhookEndpoints200ResponseDataInnerAccountTargetsInner as ListWebhookEndpoints200ResponseDataInnerAccountTargetsInner
+from unipile.models.loading import Loading as Loading
from unipile.models.media_share import MediaShare as MediaShare
from unipile.models.message import Message as Message
from unipile.models.message_file import MessageFile as MessageFile
@@ -1113,17 +1210,12 @@
from unipile.models.people_search_data_inner import PeopleSearchDataInner as PeopleSearchDataInner
from unipile.models.people_search_results import PeopleSearchResults as PeopleSearchResults
from unipile.models.people_search_results_data_inner import PeopleSearchResultsDataInner as PeopleSearchResultsDataInner
-from unipile.models.perform_classic_companies_search200_response import PerformClassicCompaniesSearch200Response as PerformClassicCompaniesSearch200Response
from unipile.models.perform_classic_companies_search_request import PerformClassicCompaniesSearchRequest as PerformClassicCompaniesSearchRequest
from unipile.models.perform_classic_companies_search_request_headcount_inner import PerformClassicCompaniesSearchRequestHeadcountInner as PerformClassicCompaniesSearchRequestHeadcountInner
-from unipile.models.perform_classic_jobs_search200_response import PerformClassicJobsSearch200Response as PerformClassicJobsSearch200Response
-from unipile.models.perform_classic_jobs_search200_response_data_inner import PerformClassicJobsSearch200ResponseDataInner as PerformClassicJobsSearch200ResponseDataInner
from unipile.models.perform_classic_jobs_search_request import PerformClassicJobsSearchRequest as PerformClassicJobsSearchRequest
from unipile.models.perform_classic_jobs_search_request_salary import PerformClassicJobsSearchRequestSalary as PerformClassicJobsSearchRequestSalary
-from unipile.models.perform_classic_people_search200_response import PerformClassicPeopleSearch200Response as PerformClassicPeopleSearch200Response
from unipile.models.perform_classic_people_search_request import PerformClassicPeopleSearchRequest as PerformClassicPeopleSearchRequest
from unipile.models.perform_classic_people_search_request_advanced_keywords import PerformClassicPeopleSearchRequestAdvancedKeywords as PerformClassicPeopleSearchRequestAdvancedKeywords
-from unipile.models.perform_classic_posts_search200_response import PerformClassicPostsSearch200Response as PerformClassicPostsSearch200Response
from unipile.models.perform_classic_posts_search_request import PerformClassicPostsSearchRequest as PerformClassicPostsSearchRequest
from unipile.models.perform_classic_posts_search_request_author import PerformClassicPostsSearchRequestAuthor as PerformClassicPostsSearchRequestAuthor
from unipile.models.perform_classic_posts_search_request_mentioning import PerformClassicPostsSearchRequestMentioning as PerformClassicPostsSearchRequestMentioning
@@ -1230,6 +1322,9 @@
from unipile.models.remove_post_reaction200_response import RemovePostReaction200Response as RemovePostReaction200Response
from unipile.models.remove_post_reaction_request import RemovePostReactionRequest as RemovePostReactionRequest
from unipile.models.remove_post_reaction_request_reaction import RemovePostReactionRequestReaction as RemovePostReactionRequestReaction
+from unipile.models.request_checkpoint200_response import RequestCheckpoint200Response as RequestCheckpoint200Response
+from unipile.models.request_checkpoint_request import RequestCheckpointRequest as RequestCheckpointRequest
+from unipile.models.resend_checkpoint_request import ResendCheckpointRequest as ResendCheckpointRequest
from unipile.models.smtp_connections_parameters import SMTPConnectionsParameters as SMTPConnectionsParameters
from unipile.models.sales_navigator_saved_search import SalesNavigatorSavedSearch as SalesNavigatorSavedSearch
from unipile.models.save_recruiter_candidate_to_pipeline200_response import SaveRecruiterCandidateToPipeline200Response as SaveRecruiterCandidateToPipeline200Response
@@ -1243,6 +1338,9 @@
from unipile.models.scheduled_call_started import ScheduledCallStarted as ScheduledCallStarted
from unipile.models.search_locations200_response_inner import SearchLocations200ResponseInner as SearchLocations200ResponseInner
from unipile.models.search_or_job_posting_sourced import SearchOrJobPostingSourced as SearchOrJobPostingSourced
+from unipile.models.search_parameters_list import SearchParametersList as SearchParametersList
+from unipile.models.search_parameters_list_data_inner import SearchParametersListDataInner as SearchParametersListDataInner
+from unipile.models.search_parameters_list_data_inner_metadata import SearchParametersListDataInnerMetadata as SearchParametersListDataInnerMetadata
from unipile.models.select_contract200_response import SelectContract200Response as SelectContract200Response
from unipile.models.send_email200_response import SendEmail200Response as SendEmail200Response
from unipile.models.send_email_request import SendEmailRequest as SendEmailRequest
@@ -1260,8 +1358,6 @@
from unipile.models.start_auth_intent_request import StartAuthIntentRequest as StartAuthIntentRequest
from unipile.models.start_chat200_response import StartChat200Response as StartChat200Response
from unipile.models.start_chat200_response_message_id import StartChat200ResponseMessageId as StartChat200ResponseMessageId
-from unipile.models.start_chat_from_inbox_request import StartChatFromInboxRequest as StartChatFromInboxRequest
-from unipile.models.start_chat_from_inbox_request_users_ids import StartChatFromInboxRequestUsersIds as StartChatFromInboxRequestUsersIds
from unipile.models.start_chat_request import StartChatRequest as StartChatRequest
from unipile.models.start_chat_request_specifics import StartChatRequestSpecifics as StartChatRequestSpecifics
from unipile.models.start_chat_request_specifics_linkedin import StartChatRequestSpecificsLinkedin as StartChatRequestSpecificsLinkedin
@@ -1279,12 +1375,20 @@
from unipile.models.update_account_request import UpdateAccountRequest as UpdateAccountRequest
from unipile.models.update_calendar_event_request import UpdateCalendarEventRequest as UpdateCalendarEventRequest
from unipile.models.update_calendar_request import UpdateCalendarRequest as UpdateCalendarRequest
+from unipile.models.update_chat200_response import UpdateChat200Response as UpdateChat200Response
+from unipile.models.update_chat200_response_participants_inner import UpdateChat200ResponseParticipantsInner as UpdateChat200ResponseParticipantsInner
+from unipile.models.update_chat200_response_participants_inner_user import UpdateChat200ResponseParticipantsInnerUser as UpdateChat200ResponseParticipantsInnerUser
+from unipile.models.update_chat200_response_user import UpdateChat200ResponseUser as UpdateChat200ResponseUser
from unipile.models.update_chat_request import UpdateChatRequest as UpdateChatRequest
from unipile.models.update_chat_request_muted_until import UpdateChatRequestMutedUntil as UpdateChatRequestMutedUntil
from unipile.models.update_draft_request import UpdateDraftRequest as UpdateDraftRequest
from unipile.models.update_draft_request_specifics import UpdateDraftRequestSpecifics as UpdateDraftRequestSpecifics
from unipile.models.update_draft_request_specifics_all_of_outlook import UpdateDraftRequestSpecificsAllOfOutlook as UpdateDraftRequestSpecificsAllOfOutlook
from unipile.models.update_folder_request import UpdateFolderRequest as UpdateFolderRequest
+from unipile.models.update_post200_response import UpdatePost200Response as UpdatePost200Response
+from unipile.models.update_post200_response_author import UpdatePost200ResponseAuthor as UpdatePost200ResponseAuthor
+from unipile.models.update_post200_response_quoted_post import UpdatePost200ResponseQuotedPost as UpdatePost200ResponseQuotedPost
+from unipile.models.update_post200_response_reposted_by import UpdatePost200ResponseRepostedBy as UpdatePost200ResponseRepostedBy
from unipile.models.update_post_comment_request import UpdatePostCommentRequest as UpdatePostCommentRequest
from unipile.models.update_post_request import UpdatePostRequest as UpdatePostRequest
from unipile.models.update_user_profile200_response import UpdateUserProfile200Response as UpdateUserProfile200Response
@@ -1311,6 +1415,8 @@
from unipile.models.visit_user_profile200_response import VisitUserProfile200Response as VisitUserProfile200Response
from unipile.models.weeks_based import WeeksBased as WeeksBased
from unipile.models.whats_app import WhatsApp as WhatsApp
-from unipile.models.whats_app_config import WhatsAppConfig as WhatsAppConfig
-from unipile.models.whats_app_credentials import WhatsAppCredentials as WhatsAppCredentials
+from unipile.models.whats_app1 import WhatsApp1 as WhatsApp1
+from unipile.models.whats_app2 import WhatsApp2 as WhatsApp2
+from unipile.models.whats_app2_config import WhatsApp2Config as WhatsApp2Config
+from unipile.models.whats_app2_credentials import WhatsApp2Credentials as WhatsApp2Credentials
diff --git a/unipile/api/__init__.py b/unipile/api/__init__.py
index 590317b84..5295a3a2d 100644
--- a/unipile/api/__init__.py
+++ b/unipile/api/__init__.py
@@ -12,4 +12,5 @@
from unipile.api.posts_api import PostsApi
from unipile.api.users_api import UsersApi
from unipile.api.webhooks_api import WebhooksApi
+from unipile.api.default_api import DefaultApi
diff --git a/unipile/api/accounts_api.py b/unipile/api/accounts_api.py
index 3ca4d506d..13a87d9a5 100644
--- a/unipile/api/accounts_api.py
+++ b/unipile/api/accounts_api.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -898,7 +898,7 @@ def _remove_account_serialize(
def update_account(
self,
account_id: Annotated[str, Field(strict=True, description="The ID of the Account to update.")],
- update_account_request: UpdateAccountRequest,
+ update_account_request: Optional[UpdateAccountRequest] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -918,7 +918,7 @@ def update_account(
:param account_id: The ID of the Account to update. (required)
:type account_id: str
- :param update_account_request: (required)
+ :param update_account_request:
:type update_account_request: UpdateAccountRequest
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -969,7 +969,7 @@ def update_account(
def update_account_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="The ID of the Account to update.")],
- update_account_request: UpdateAccountRequest,
+ update_account_request: Optional[UpdateAccountRequest] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -989,7 +989,7 @@ def update_account_with_http_info(
:param account_id: The ID of the Account to update. (required)
:type account_id: str
- :param update_account_request: (required)
+ :param update_account_request:
:type update_account_request: UpdateAccountRequest
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -1040,7 +1040,7 @@ def update_account_with_http_info(
def update_account_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="The ID of the Account to update.")],
- update_account_request: UpdateAccountRequest,
+ update_account_request: Optional[UpdateAccountRequest] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1060,7 +1060,7 @@ def update_account_without_preload_content(
:param account_id: The ID of the Account to update. (required)
:type account_id: str
- :param update_account_request: (required)
+ :param update_account_request:
:type update_account_request: UpdateAccountRequest
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
diff --git a/unipile/api/calendar_api.py b/unipile/api/calendar_api.py
index 41ca886bb..c5afe7735 100644
--- a/unipile/api/calendar_api.py
+++ b/unipile/api/calendar_api.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -337,7 +337,7 @@ def _create_calendar_serialize(
@validate_call
def create_calendar_event(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="Identifier of the parent calendar.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
create_calendar_event_request: CreateCalendarEventRequest,
_request_timeout: Union[
@@ -412,7 +412,7 @@ def create_calendar_event(
@validate_call
def create_calendar_event_with_http_info(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="Identifier of the parent calendar.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
create_calendar_event_request: CreateCalendarEventRequest,
_request_timeout: Union[
@@ -487,7 +487,7 @@ def create_calendar_event_with_http_info(
@validate_call
def create_calendar_event_without_preload_content(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="Identifier of the parent calendar.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
create_calendar_event_request: CreateCalendarEventRequest,
_request_timeout: Union[
@@ -641,7 +641,7 @@ def _create_calendar_event_serialize(
@validate_call
def delete_calendar(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="ID of the calendar to delete.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the calendar to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -712,7 +712,7 @@ def delete_calendar(
@validate_call
def delete_calendar_with_http_info(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="ID of the calendar to delete.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the calendar to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -783,7 +783,7 @@ def delete_calendar_with_http_info(
@validate_call
def delete_calendar_without_preload_content(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="ID of the calendar to delete.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the calendar to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -910,8 +910,8 @@ def _delete_calendar_serialize(
@validate_call
def delete_calendar_event(
self,
- calendar_id: Annotated[StrictStr, Field(description="Identifier of the parent calendar.")],
- event_id: Annotated[Optional[StrictStr], Field(description="ID of the event to delete.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
+ event_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the event to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -985,8 +985,8 @@ def delete_calendar_event(
@validate_call
def delete_calendar_event_with_http_info(
self,
- calendar_id: Annotated[StrictStr, Field(description="Identifier of the parent calendar.")],
- event_id: Annotated[Optional[StrictStr], Field(description="ID of the event to delete.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
+ event_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the event to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1060,8 +1060,8 @@ def delete_calendar_event_with_http_info(
@validate_call
def delete_calendar_event_without_preload_content(
self,
- calendar_id: Annotated[StrictStr, Field(description="Identifier of the parent calendar.")],
- event_id: Annotated[Optional[StrictStr], Field(description="ID of the event to delete.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
+ event_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the event to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1194,7 +1194,7 @@ def _delete_calendar_event_serialize(
@validate_call
def get_calendar(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="Identifier of the calendar to retrieve ")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the calendar to retrieve ")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1265,7 +1265,7 @@ def get_calendar(
@validate_call
def get_calendar_with_http_info(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="Identifier of the calendar to retrieve ")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the calendar to retrieve ")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1336,7 +1336,7 @@ def get_calendar_with_http_info(
@validate_call
def get_calendar_without_preload_content(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="Identifier of the calendar to retrieve ")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the calendar to retrieve ")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1470,8 +1470,8 @@ def _get_calendar_serialize(
@validate_call
def get_calendar_event(
self,
- calendar_id: Annotated[StrictStr, Field(description="Identifier of the parent calendar.")],
- event_id: Annotated[Optional[StrictStr], Field(description="Identifier of the event to retrieve ")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
+ event_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the event to retrieve ")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1545,8 +1545,8 @@ def get_calendar_event(
@validate_call
def get_calendar_event_with_http_info(
self,
- calendar_id: Annotated[StrictStr, Field(description="Identifier of the parent calendar.")],
- event_id: Annotated[Optional[StrictStr], Field(description="Identifier of the event to retrieve ")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
+ event_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the event to retrieve ")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1620,8 +1620,8 @@ def get_calendar_event_with_http_info(
@validate_call
def get_calendar_event_without_preload_content(
self,
- calendar_id: Annotated[StrictStr, Field(description="Identifier of the parent calendar.")],
- event_id: Annotated[Optional[StrictStr], Field(description="Identifier of the event to retrieve ")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
+ event_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the event to retrieve ")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1761,7 +1761,7 @@ def _get_calendar_event_serialize(
@validate_call
def get_calendar_event_list(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="Identifier of the calendar.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the calendar.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
is_cancelled: Annotated[Optional[StrictBool], Field(description="Whether you want to retrieve the cancelled events.")] = None,
title: Annotated[Optional[StrictStr], Field(description="Filter for events matching the specified title.")] = None,
@@ -1777,8 +1777,8 @@ def get_calendar_event_list(
event_type: Annotated[Optional[StrictStr], Field(description="Filter events by event type. This parameter accepts a comma-delimited list of event type.")] = None,
expand_recurring: Annotated[Optional[StrictBool], Field(description="Filter events by type (single or occurence).")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1828,10 +1828,10 @@ def get_calendar_event_list(
:type expand_recurring: bool
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -1871,8 +1871,8 @@ def get_calendar_event_list(
event_type=event_type,
expand_recurring=expand_recurring,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -1896,7 +1896,7 @@ def get_calendar_event_list(
@validate_call
def get_calendar_event_list_with_http_info(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="Identifier of the calendar.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the calendar.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
is_cancelled: Annotated[Optional[StrictBool], Field(description="Whether you want to retrieve the cancelled events.")] = None,
title: Annotated[Optional[StrictStr], Field(description="Filter for events matching the specified title.")] = None,
@@ -1912,8 +1912,8 @@ def get_calendar_event_list_with_http_info(
event_type: Annotated[Optional[StrictStr], Field(description="Filter events by event type. This parameter accepts a comma-delimited list of event type.")] = None,
expand_recurring: Annotated[Optional[StrictBool], Field(description="Filter events by type (single or occurence).")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1963,10 +1963,10 @@ def get_calendar_event_list_with_http_info(
:type expand_recurring: bool
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2006,8 +2006,8 @@ def get_calendar_event_list_with_http_info(
event_type=event_type,
expand_recurring=expand_recurring,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2031,7 +2031,7 @@ def get_calendar_event_list_with_http_info(
@validate_call
def get_calendar_event_list_without_preload_content(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="Identifier of the calendar.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the calendar.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
is_cancelled: Annotated[Optional[StrictBool], Field(description="Whether you want to retrieve the cancelled events.")] = None,
title: Annotated[Optional[StrictStr], Field(description="Filter for events matching the specified title.")] = None,
@@ -2047,8 +2047,8 @@ def get_calendar_event_list_without_preload_content(
event_type: Annotated[Optional[StrictStr], Field(description="Filter events by event type. This parameter accepts a comma-delimited list of event type.")] = None,
expand_recurring: Annotated[Optional[StrictBool], Field(description="Filter events by type (single or occurence).")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2098,10 +2098,10 @@ def get_calendar_event_list_without_preload_content(
:type expand_recurring: bool
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2141,8 +2141,8 @@ def get_calendar_event_list_without_preload_content(
event_type=event_type,
expand_recurring=expand_recurring,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2177,8 +2177,8 @@ def _get_calendar_event_list_serialize(
event_type,
expand_recurring,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -2261,14 +2261,14 @@ def _get_calendar_event_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -2311,8 +2311,8 @@ def get_calendars_list(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2334,10 +2334,10 @@ def get_calendars_list(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2363,8 +2363,8 @@ def get_calendars_list(
_param = self._get_calendars_list_serialize(
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2390,8 +2390,8 @@ def get_calendars_list_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2413,10 +2413,10 @@ def get_calendars_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2442,8 +2442,8 @@ def get_calendars_list_with_http_info(
_param = self._get_calendars_list_serialize(
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2469,8 +2469,8 @@ def get_calendars_list_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2492,10 +2492,10 @@ def get_calendars_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2521,8 +2521,8 @@ def get_calendars_list_without_preload_content(
_param = self._get_calendars_list_serialize(
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2543,8 +2543,8 @@ def _get_calendars_list_serialize(
self,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -2573,14 +2573,14 @@ def _get_calendars_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -2621,7 +2621,7 @@ def _get_calendars_list_serialize(
@validate_call
def update_calendar(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="ID of the Calendar to update.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Calendar to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_calendar_request: Optional[UpdateCalendarRequest] = None,
_request_timeout: Union[
@@ -2696,7 +2696,7 @@ def update_calendar(
@validate_call
def update_calendar_with_http_info(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="ID of the Calendar to update.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Calendar to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_calendar_request: Optional[UpdateCalendarRequest] = None,
_request_timeout: Union[
@@ -2771,7 +2771,7 @@ def update_calendar_with_http_info(
@validate_call
def update_calendar_without_preload_content(
self,
- calendar_id: Annotated[Optional[StrictStr], Field(description="ID of the Calendar to update.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Calendar to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_calendar_request: Optional[UpdateCalendarRequest] = None,
_request_timeout: Union[
@@ -2925,8 +2925,8 @@ def _update_calendar_serialize(
@validate_call
def update_calendar_event(
self,
- calendar_id: Annotated[StrictStr, Field(description="Identifier of the parent calendar.")],
- event_id: Annotated[Optional[StrictStr], Field(description="ID of the event to update.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
+ event_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the event to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_calendar_event_request: Optional[UpdateCalendarEventRequest] = None,
_request_timeout: Union[
@@ -3004,8 +3004,8 @@ def update_calendar_event(
@validate_call
def update_calendar_event_with_http_info(
self,
- calendar_id: Annotated[StrictStr, Field(description="Identifier of the parent calendar.")],
- event_id: Annotated[Optional[StrictStr], Field(description="ID of the event to update.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
+ event_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the event to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_calendar_event_request: Optional[UpdateCalendarEventRequest] = None,
_request_timeout: Union[
@@ -3083,8 +3083,8 @@ def update_calendar_event_with_http_info(
@validate_call
def update_calendar_event_without_preload_content(
self,
- calendar_id: Annotated[StrictStr, Field(description="Identifier of the parent calendar.")],
- event_id: Annotated[Optional[StrictStr], Field(description="ID of the event to update.")],
+ calendar_id: Annotated[str, Field(min_length=1, strict=True, description="Identifier of the parent calendar.")],
+ event_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the event to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_calendar_event_request: Optional[UpdateCalendarEventRequest] = None,
_request_timeout: Union[
diff --git a/unipile/api/custom_auth_api.py b/unipile/api/custom_auth_api.py
index f5fb765fd..413a6c264 100644
--- a/unipile/api/custom_auth_api.py
+++ b/unipile/api/custom_auth_api.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -16,6 +16,9 @@
from typing_extensions import Annotated
from typing import Optional
+from unipile.models.request_checkpoint200_response import RequestCheckpoint200Response
+from unipile.models.request_checkpoint_request import RequestCheckpointRequest
+from unipile.models.resend_checkpoint_request import ResendCheckpointRequest
from unipile.models.solve_checkpoint200_response import SolveCheckpoint200Response
from unipile.models.solve_checkpoint_request import SolveCheckpointRequest
from unipile.models.start_auth_intent_request import StartAuthIntentRequest
@@ -38,6 +41,547 @@ def __init__(self, api_client=None) -> None:
self.api_client = api_client
+ @validate_call
+ def request_checkpoint(
+ self,
+ request_checkpoint_request: RequestCheckpointRequest,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> RequestCheckpoint200Response:
+ """Request Checkpoint
+
+ Request a checkpoint for the given authentication intent. This can be used to request a different type of checkpoint if the first one was not successful.
+
+ :param request_checkpoint_request: (required)
+ :type request_checkpoint_request: RequestCheckpointRequest
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._request_checkpoint_serialize(
+ request_checkpoint_request=request_checkpoint_request,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "RequestCheckpoint200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ ).data
+
+
+ @validate_call
+ def request_checkpoint_with_http_info(
+ self,
+ request_checkpoint_request: RequestCheckpointRequest,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> ApiResponse[RequestCheckpoint200Response]:
+ """Request Checkpoint
+
+ Request a checkpoint for the given authentication intent. This can be used to request a different type of checkpoint if the first one was not successful.
+
+ :param request_checkpoint_request: (required)
+ :type request_checkpoint_request: RequestCheckpointRequest
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._request_checkpoint_serialize(
+ request_checkpoint_request=request_checkpoint_request,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "RequestCheckpoint200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ )
+
+
+ @validate_call
+ def request_checkpoint_without_preload_content(
+ self,
+ request_checkpoint_request: RequestCheckpointRequest,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> RESTResponseType:
+ """Request Checkpoint
+
+ Request a checkpoint for the given authentication intent. This can be used to request a different type of checkpoint if the first one was not successful.
+
+ :param request_checkpoint_request: (required)
+ :type request_checkpoint_request: RequestCheckpointRequest
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._request_checkpoint_serialize(
+ request_checkpoint_request=request_checkpoint_request,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "RequestCheckpoint200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ return response_data.response
+
+
+ def _request_checkpoint_serialize(
+ self,
+ request_checkpoint_request,
+ _request_auth,
+ _content_type,
+ _headers,
+ _host_index,
+ ) -> RequestSerialized:
+
+ _host = None
+
+ _collection_formats: Dict[str, str] = {
+ }
+
+ _path_params: Dict[str, str] = {}
+ _query_params: List[Tuple[str, str]] = []
+ _header_params: Dict[str, Optional[str]] = _headers or {}
+ _form_params: List[Tuple[str, str]] = []
+ _files: Dict[
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
+ ] = {}
+ _body_params: Optional[bytes] = None
+
+ # process the path parameters
+ # process the query parameters
+ # process the header parameters
+ # process the form parameters
+ # process the body parameter
+ if request_checkpoint_request is not None:
+ _body_params = request_checkpoint_request
+
+
+ # set the HTTP header `Accept`
+ if 'Accept' not in _header_params:
+ _header_params['Accept'] = self.api_client.select_header_accept(
+ [
+ 'application/json'
+ ]
+ )
+
+ # set the HTTP header `Content-Type`
+ if _content_type:
+ _header_params['Content-Type'] = _content_type
+ else:
+ _default_content_type = (
+ self.api_client.select_header_content_type(
+ [
+ 'application/json'
+ ]
+ )
+ )
+ if _default_content_type is not None:
+ _header_params['Content-Type'] = _default_content_type
+
+ # authentication setting
+ _auth_settings: List[str] = [
+ 'apiKey'
+ ]
+
+ return self.api_client.param_serialize(
+ method='POST',
+ resource_path='/v2/auth/checkpoint/request',
+ path_params=_path_params,
+ query_params=_query_params,
+ header_params=_header_params,
+ body=_body_params,
+ post_params=_form_params,
+ files=_files,
+ auth_settings=_auth_settings,
+ collection_formats=_collection_formats,
+ _host=_host,
+ _request_auth=_request_auth
+ )
+
+
+
+
+ @validate_call
+ def resend_checkpoint(
+ self,
+ resend_checkpoint_request: ResendCheckpointRequest,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> None:
+ """Resend Checkpoint Notification or Code
+
+ Resend the notification or code for the current checkpoint of the given authentication intent. Use Request Checkpoint to request a different checkpoint.
+
+ :param resend_checkpoint_request: (required)
+ :type resend_checkpoint_request: ResendCheckpointRequest
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._resend_checkpoint_serialize(
+ resend_checkpoint_request=resend_checkpoint_request,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '204': None,
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ ).data
+
+
+ @validate_call
+ def resend_checkpoint_with_http_info(
+ self,
+ resend_checkpoint_request: ResendCheckpointRequest,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> ApiResponse[None]:
+ """Resend Checkpoint Notification or Code
+
+ Resend the notification or code for the current checkpoint of the given authentication intent. Use Request Checkpoint to request a different checkpoint.
+
+ :param resend_checkpoint_request: (required)
+ :type resend_checkpoint_request: ResendCheckpointRequest
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._resend_checkpoint_serialize(
+ resend_checkpoint_request=resend_checkpoint_request,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '204': None,
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ )
+
+
+ @validate_call
+ def resend_checkpoint_without_preload_content(
+ self,
+ resend_checkpoint_request: ResendCheckpointRequest,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> RESTResponseType:
+ """Resend Checkpoint Notification or Code
+
+ Resend the notification or code for the current checkpoint of the given authentication intent. Use Request Checkpoint to request a different checkpoint.
+
+ :param resend_checkpoint_request: (required)
+ :type resend_checkpoint_request: ResendCheckpointRequest
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._resend_checkpoint_serialize(
+ resend_checkpoint_request=resend_checkpoint_request,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '204': None,
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ return response_data.response
+
+
+ def _resend_checkpoint_serialize(
+ self,
+ resend_checkpoint_request,
+ _request_auth,
+ _content_type,
+ _headers,
+ _host_index,
+ ) -> RequestSerialized:
+
+ _host = None
+
+ _collection_formats: Dict[str, str] = {
+ }
+
+ _path_params: Dict[str, str] = {}
+ _query_params: List[Tuple[str, str]] = []
+ _header_params: Dict[str, Optional[str]] = _headers or {}
+ _form_params: List[Tuple[str, str]] = []
+ _files: Dict[
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
+ ] = {}
+ _body_params: Optional[bytes] = None
+
+ # process the path parameters
+ # process the query parameters
+ # process the header parameters
+ # process the form parameters
+ # process the body parameter
+ if resend_checkpoint_request is not None:
+ _body_params = resend_checkpoint_request
+
+
+
+ # set the HTTP header `Content-Type`
+ if _content_type:
+ _header_params['Content-Type'] = _content_type
+ else:
+ _default_content_type = (
+ self.api_client.select_header_content_type(
+ [
+ 'application/json'
+ ]
+ )
+ )
+ if _default_content_type is not None:
+ _header_params['Content-Type'] = _default_content_type
+
+ # authentication setting
+ _auth_settings: List[str] = [
+ 'apiKey'
+ ]
+
+ return self.api_client.param_serialize(
+ method='POST',
+ resource_path='/v2/auth/checkpoint/resend',
+ path_params=_path_params,
+ query_params=_query_params,
+ header_params=_header_params,
+ body=_body_params,
+ post_params=_form_params,
+ files=_files,
+ auth_settings=_auth_settings,
+ collection_formats=_collection_formats,
+ _host=_host,
+ _request_auth=_request_auth
+ )
+
+
+
+
@validate_call
def solve_checkpoint(
self,
@@ -331,7 +875,7 @@ def start_auth_intent(
) -> SolveCheckpoint200Response:
"""Start Auth Intent
- Start an auth intent for a provider. This might require handling of checkpoints and oauth flows depending on the provider. Use Create Auth Link to let Unipile handle everything for you.
+ Start an auth intent for a provider. This might require handling of checkpoints and oauth flows depending on the provider. Use Create Auth Link to let Unipile handle everything for you.
:param start_auth_intent_request:
:type start_auth_intent_request: StartAuthIntentRequest
@@ -398,7 +942,7 @@ def start_auth_intent_with_http_info(
) -> ApiResponse[SolveCheckpoint200Response]:
"""Start Auth Intent
- Start an auth intent for a provider. This might require handling of checkpoints and oauth flows depending on the provider. Use Create Auth Link to let Unipile handle everything for you.
+ Start an auth intent for a provider. This might require handling of checkpoints and oauth flows depending on the provider. Use Create Auth Link to let Unipile handle everything for you.
:param start_auth_intent_request:
:type start_auth_intent_request: StartAuthIntentRequest
@@ -465,7 +1009,7 @@ def start_auth_intent_without_preload_content(
) -> RESTResponseType:
"""Start Auth Intent
- Start an auth intent for a provider. This might require handling of checkpoints and oauth flows depending on the provider. Use Create Auth Link to let Unipile handle everything for you.
+ Start an auth intent for a provider. This might require handling of checkpoints and oauth flows depending on the provider. Use Create Auth Link to let Unipile handle everything for you.
:param start_auth_intent_request:
:type start_auth_intent_request: StartAuthIntentRequest
diff --git a/unipile/api/default_api.py b/unipile/api/default_api.py
new file mode 100644
index 000000000..ed2455bac
--- /dev/null
+++ b/unipile/api/default_api.py
@@ -0,0 +1,270 @@
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import warnings
+from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
+from typing import Any, Dict, List, Optional, Tuple, Union
+from typing_extensions import Annotated
+
+
+from unipile.api_client import ApiClient, RequestSerialized
+from unipile.api_response import ApiResponse
+from unipile.rest import RESTResponseType
+
+
+class DefaultApi:
+ """NOTE: This class is auto generated by OpenAPI Generator
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+ """
+
+ def __init__(self, api_client=None) -> None:
+ if api_client is None:
+ api_client = ApiClient.get_default()
+ self.api_client = api_client
+
+
+ @validate_call
+ def v2_get(
+ self,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> None:
+ """v2_get
+
+
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._v2_get_serialize(
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': None,
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ ).data
+
+
+ @validate_call
+ def v2_get_with_http_info(
+ self,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> ApiResponse[None]:
+ """v2_get
+
+
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._v2_get_serialize(
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': None,
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ )
+
+
+ @validate_call
+ def v2_get_without_preload_content(
+ self,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> RESTResponseType:
+ """v2_get
+
+
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._v2_get_serialize(
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': None,
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ return response_data.response
+
+
+ def _v2_get_serialize(
+ self,
+ _request_auth,
+ _content_type,
+ _headers,
+ _host_index,
+ ) -> RequestSerialized:
+
+ _host = None
+
+ _collection_formats: Dict[str, str] = {
+ }
+
+ _path_params: Dict[str, str] = {}
+ _query_params: List[Tuple[str, str]] = []
+ _header_params: Dict[str, Optional[str]] = _headers or {}
+ _form_params: List[Tuple[str, str]] = []
+ _files: Dict[
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
+ ] = {}
+ _body_params: Optional[bytes] = None
+
+ # process the path parameters
+ # process the query parameters
+ # process the header parameters
+ # process the form parameters
+ # process the body parameter
+
+
+
+
+ # authentication setting
+ _auth_settings: List[str] = [
+ 'apiKey'
+ ]
+
+ return self.api_client.param_serialize(
+ method='GET',
+ resource_path='/v2/',
+ path_params=_path_params,
+ query_params=_query_params,
+ header_params=_header_params,
+ body=_body_params,
+ post_params=_form_params,
+ files=_files,
+ auth_settings=_auth_settings,
+ collection_formats=_collection_formats,
+ _host=_host,
+ _request_auth=_request_auth
+ )
+
+
diff --git a/unipile/api/emails_api.py b/unipile/api/emails_api.py
index 04e6b7062..5d62e2d33 100644
--- a/unipile/api/emails_api.py
+++ b/unipile/api/emails_api.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -22,8 +22,9 @@
from unipile.models.create_draft_request import CreateDraftRequest
from unipile.models.create_folder201_response import CreateFolder201Response
from unipile.models.create_folder_request import CreateFolderRequest
+from unipile.models.get_contacts_list200_response import GetContactsList200Response
from unipile.models.get_drafts_list200_response import GetDraftsList200Response
-from unipile.models.get_email_contacts_list200_response import GetEmailContactsList200Response
+from unipile.models.get_email_senders200_response import GetEmailSenders200Response
from unipile.models.get_emails_list200_response import GetEmailsList200Response
from unipile.models.get_folders_list200_response import GetFoldersList200Response
from unipile.models.get_folders_list200_response_data_inner import GetFoldersList200ResponseDataInner
@@ -76,7 +77,7 @@ def create_draft(
) -> CreateDraft201Response:
"""Create a Draft
- Creates a new Draft in the draft folder of the provider. Use Send a Draft to send the Email later.
Multipart supported, refer to Sending Files.
+ Creates a new Draft in the draft folder of the provider. Use Send a Draft to send the Email later.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -147,7 +148,7 @@ def create_draft_with_http_info(
) -> ApiResponse[CreateDraft201Response]:
"""Create a Draft
- Creates a new Draft in the draft folder of the provider. Use Send a Draft to send the Email later.
Multipart supported, refer to Sending Files.
+ Creates a new Draft in the draft folder of the provider. Use Send a Draft to send the Email later.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -218,7 +219,7 @@ def create_draft_without_preload_content(
) -> RESTResponseType:
"""Create a Draft
- Creates a new Draft in the draft folder of the provider. Use Send a Draft to send the Email later.
Multipart supported, refer to Sending Files.
+ Creates a new Draft in the draft folder of the provider. Use Send a Draft to send the Email later.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1175,8 +1176,8 @@ def _delete_folder_serialize(
@validate_call
def get_attachment1(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the parent Email.")],
- attachment_id: Annotated[Optional[StrictStr], Field(description="ID of the Email Attachment to retrieve.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the parent Email.")],
+ attachment_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email Attachment to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1250,8 +1251,8 @@ def get_attachment1(
@validate_call
def get_attachment1_with_http_info(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the parent Email.")],
- attachment_id: Annotated[Optional[StrictStr], Field(description="ID of the Email Attachment to retrieve.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the parent Email.")],
+ attachment_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email Attachment to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1325,8 +1326,8 @@ def get_attachment1_with_http_info(
@validate_call
def get_attachment1_without_preload_content(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the parent Email.")],
- attachment_id: Annotated[Optional[StrictStr], Field(description="ID of the Email Attachment to retrieve.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the parent Email.")],
+ attachment_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email Attachment to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1456,6 +1457,318 @@ def _get_attachment1_serialize(
+ @validate_call
+ def get_contacts_list(
+ self,
+ account_id: StrictStr,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> GetContactsList200Response:
+ """List contacts
+
+ Returns a list of contacts for the connected account. Served by the email provider for email accounts and by the messaging provider for messaging accounts (e.g. WhatsApp). On providers where a contact is an overlay over a user, the contact carries the account owner's chosen name while the nested `user` object carries the user's own identity.
+
+ :param account_id: (required)
+ :type account_id: str
+ :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :type offset: float
+ :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._get_contacts_list_serialize(
+ account_id=account_id,
+ offset=offset,
+ cursor=cursor,
+ limit=limit,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "GetContactsList200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ ).data
+
+
+ @validate_call
+ def get_contacts_list_with_http_info(
+ self,
+ account_id: StrictStr,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> ApiResponse[GetContactsList200Response]:
+ """List contacts
+
+ Returns a list of contacts for the connected account. Served by the email provider for email accounts and by the messaging provider for messaging accounts (e.g. WhatsApp). On providers where a contact is an overlay over a user, the contact carries the account owner's chosen name while the nested `user` object carries the user's own identity.
+
+ :param account_id: (required)
+ :type account_id: str
+ :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :type offset: float
+ :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._get_contacts_list_serialize(
+ account_id=account_id,
+ offset=offset,
+ cursor=cursor,
+ limit=limit,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "GetContactsList200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ )
+
+
+ @validate_call
+ def get_contacts_list_without_preload_content(
+ self,
+ account_id: StrictStr,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> RESTResponseType:
+ """List contacts
+
+ Returns a list of contacts for the connected account. Served by the email provider for email accounts and by the messaging provider for messaging accounts (e.g. WhatsApp). On providers where a contact is an overlay over a user, the contact carries the account owner's chosen name while the nested `user` object carries the user's own identity.
+
+ :param account_id: (required)
+ :type account_id: str
+ :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :type offset: float
+ :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._get_contacts_list_serialize(
+ account_id=account_id,
+ offset=offset,
+ cursor=cursor,
+ limit=limit,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "GetContactsList200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ return response_data.response
+
+
+ def _get_contacts_list_serialize(
+ self,
+ account_id,
+ offset,
+ cursor,
+ limit,
+ _request_auth,
+ _content_type,
+ _headers,
+ _host_index,
+ ) -> RequestSerialized:
+
+ _host = None
+
+ _collection_formats: Dict[str, str] = {
+ }
+
+ _path_params: Dict[str, str] = {}
+ _query_params: List[Tuple[str, str]] = []
+ _header_params: Dict[str, Optional[str]] = _headers or {}
+ _form_params: List[Tuple[str, str]] = []
+ _files: Dict[
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
+ ] = {}
+ _body_params: Optional[bytes] = None
+
+ # process the path parameters
+ if account_id is not None:
+ _path_params['account_id'] = account_id
+ # process the query parameters
+ if offset is not None:
+
+ _query_params.append(('offset', offset))
+
+ if cursor is not None:
+
+ _query_params.append(('cursor', cursor))
+
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
+ # process the header parameters
+ # process the form parameters
+ # process the body parameter
+
+
+ # set the HTTP header `Accept`
+ if 'Accept' not in _header_params:
+ _header_params['Accept'] = self.api_client.select_header_accept(
+ [
+ 'application/json'
+ ]
+ )
+
+
+ # authentication setting
+ _auth_settings: List[str] = [
+ 'apiKey'
+ ]
+
+ return self.api_client.param_serialize(
+ method='GET',
+ resource_path='/v2/{account_id}/contacts',
+ path_params=_path_params,
+ query_params=_query_params,
+ header_params=_header_params,
+ body=_body_params,
+ post_params=_form_params,
+ files=_files,
+ auth_settings=_auth_settings,
+ collection_formats=_collection_formats,
+ _host=_host,
+ _request_auth=_request_auth
+ )
+
+
+
+
@validate_call
def get_draft(
self,
@@ -1740,8 +2053,8 @@ def get_drafts_list(
var_from: Annotated[Optional[StrictStr], Field(description="Filter to only return drafts with the given email address in from.")] = None,
any_email: Annotated[Optional[StrictStr], Field(description="Filter to only return drafts related to a comma-separated list of email addresses.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1769,10 +2082,10 @@ def get_drafts_list(
:type any_email: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -1801,8 +2114,8 @@ def get_drafts_list(
var_from=var_from,
any_email=any_email,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -1831,8 +2144,8 @@ def get_drafts_list_with_http_info(
var_from: Annotated[Optional[StrictStr], Field(description="Filter to only return drafts with the given email address in from.")] = None,
any_email: Annotated[Optional[StrictStr], Field(description="Filter to only return drafts related to a comma-separated list of email addresses.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1860,10 +2173,10 @@ def get_drafts_list_with_http_info(
:type any_email: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -1892,8 +2205,8 @@ def get_drafts_list_with_http_info(
var_from=var_from,
any_email=any_email,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -1922,8 +2235,8 @@ def get_drafts_list_without_preload_content(
var_from: Annotated[Optional[StrictStr], Field(description="Filter to only return drafts with the given email address in from.")] = None,
any_email: Annotated[Optional[StrictStr], Field(description="Filter to only return drafts related to a comma-separated list of email addresses.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1951,10 +2264,10 @@ def get_drafts_list_without_preload_content(
:type any_email: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -1983,8 +2296,8 @@ def get_drafts_list_without_preload_content(
var_from=var_from,
any_email=any_email,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2008,8 +2321,8 @@ def _get_drafts_list_serialize(
var_from,
any_email,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -2050,14 +2363,14 @@ def _get_drafts_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -2098,7 +2411,7 @@ def _get_drafts_list_serialize(
@validate_call
def get_email(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to retrieve.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
_request_timeout: Union[
@@ -2173,7 +2486,7 @@ def get_email(
@validate_call
def get_email_with_http_info(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to retrieve.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
_request_timeout: Union[
@@ -2248,7 +2561,7 @@ def get_email_with_http_info(
@validate_call
def get_email_without_preload_content(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to retrieve.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
_request_timeout: Union[
@@ -2389,11 +2702,9 @@ def _get_email_serialize(
@validate_call
- def get_email_contacts_list(
+ def get_email_senders(
self,
- account_id: StrictStr,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2406,17 +2717,13 @@ def get_email_contacts_list(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> GetEmailContactsList200Response:
- """List email contacts
+ ) -> GetEmailSenders200Response:
+ """List email senders
- Returns a list of contacts from the email provider.
+ Returns the email senders available for the connected account, so you can discover the valid values to pass as `from` when sending emails or creating drafts. The list includes the primary address as well as any configured additional addresses. Supported for Google and Outlook accounts. For Outlook, additional addresses are only available on Microsoft 365 / Exchange accounts; personal Microsoft accounts return the primary address only.
- :param account_id: (required)
+ :param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
- :type cursor: str
- :param limit: The limit of items to be returned.
- :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2439,10 +2746,8 @@ def get_email_contacts_list(
:return: Returns the result object.
""" # noqa: E501
- _param = self._get_email_contacts_list_serialize(
+ _param = self._get_email_senders_serialize(
account_id=account_id,
- cursor=cursor,
- limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2450,7 +2755,7 @@ def get_email_contacts_list(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetEmailContactsList200Response",
+ '200': "GetEmailSenders200Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -2464,11 +2769,9 @@ def get_email_contacts_list(
@validate_call
- def get_email_contacts_list_with_http_info(
+ def get_email_senders_with_http_info(
self,
- account_id: StrictStr,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2481,17 +2784,13 @@ def get_email_contacts_list_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[GetEmailContactsList200Response]:
- """List email contacts
+ ) -> ApiResponse[GetEmailSenders200Response]:
+ """List email senders
- Returns a list of contacts from the email provider.
+ Returns the email senders available for the connected account, so you can discover the valid values to pass as `from` when sending emails or creating drafts. The list includes the primary address as well as any configured additional addresses. Supported for Google and Outlook accounts. For Outlook, additional addresses are only available on Microsoft 365 / Exchange accounts; personal Microsoft accounts return the primary address only.
- :param account_id: (required)
+ :param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
- :type cursor: str
- :param limit: The limit of items to be returned.
- :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2514,10 +2813,8 @@ def get_email_contacts_list_with_http_info(
:return: Returns the result object.
""" # noqa: E501
- _param = self._get_email_contacts_list_serialize(
+ _param = self._get_email_senders_serialize(
account_id=account_id,
- cursor=cursor,
- limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2525,7 +2822,7 @@ def get_email_contacts_list_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetEmailContactsList200Response",
+ '200': "GetEmailSenders200Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -2539,11 +2836,9 @@ def get_email_contacts_list_with_http_info(
@validate_call
- def get_email_contacts_list_without_preload_content(
+ def get_email_senders_without_preload_content(
self,
- account_id: StrictStr,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2557,16 +2852,12 @@ def get_email_contacts_list_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
- """List email contacts
+ """List email senders
- Returns a list of contacts from the email provider.
+ Returns the email senders available for the connected account, so you can discover the valid values to pass as `from` when sending emails or creating drafts. The list includes the primary address as well as any configured additional addresses. Supported for Google and Outlook accounts. For Outlook, additional addresses are only available on Microsoft 365 / Exchange accounts; personal Microsoft accounts return the primary address only.
- :param account_id: (required)
+ :param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
- :type cursor: str
- :param limit: The limit of items to be returned.
- :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2589,10 +2880,8 @@ def get_email_contacts_list_without_preload_content(
:return: Returns the result object.
""" # noqa: E501
- _param = self._get_email_contacts_list_serialize(
+ _param = self._get_email_senders_serialize(
account_id=account_id,
- cursor=cursor,
- limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2600,7 +2889,7 @@ def get_email_contacts_list_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetEmailContactsList200Response",
+ '200': "GetEmailSenders200Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -2609,11 +2898,9 @@ def get_email_contacts_list_without_preload_content(
return response_data.response
- def _get_email_contacts_list_serialize(
+ def _get_email_senders_serialize(
self,
account_id,
- cursor,
- limit,
_request_auth,
_content_type,
_headers,
@@ -2638,14 +2925,6 @@ def _get_email_contacts_list_serialize(
if account_id is not None:
_path_params['account_id'] = account_id
# process the query parameters
- if cursor is not None:
-
- _query_params.append(('cursor', cursor))
-
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
# process the header parameters
# process the form parameters
# process the body parameter
@@ -2667,7 +2946,7 @@ def _get_email_contacts_list_serialize(
return self.api_client.param_serialize(
method='GET',
- resource_path='/v2/{account_id}/contacts',
+ resource_path='/v2/{account_id}/email-senders',
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
@@ -2687,17 +2966,20 @@ def _get_email_contacts_list_serialize(
def get_emails_list(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- to: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent to the given email address, either in the to, cc or bcc field.")] = None,
- subject: Annotated[Optional[StrictStr], Field(description="Filter to only return emails with the given string in the subject.")] = None,
- var_from: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent from the given email address.")] = None,
- any_email: Annotated[Optional[StrictStr], Field(description="Filter to only return emails related to a comma-separated list of email addresses.")] = None,
+ q: Annotated[Optional[StrictStr], Field(description="Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.")] = None,
+ meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
+ to: Annotated[Optional[StrictStr], Field(description="Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ var_from: Annotated[Optional[StrictStr], Field(description="Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ any_email: Annotated[Optional[StrictStr], Field(description="Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ has_attachment: Annotated[Optional[StrictBool], Field(description="Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.")] = None,
+ is_starred: Annotated[Optional[StrictBool], Field(description="Filter to only return starred or unstarred emails.")] = None,
+ is_unread: Annotated[Optional[StrictBool], Field(description="Filter to only return unread or read emails.")] = None,
before: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
exclude_folder: Annotated[Optional[StrictStr], Field(description="Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.")] = None,
after: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
- meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2713,32 +2995,38 @@ def get_emails_list(
) -> GetEmailsList200Response:
"""List all Emails
- Returns a list of emails in the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first.
+ Returns a list of emails in the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first. Search mode applies when `q`, `from`, `to`, or `any_email` is set. Filter mode applies for browse-only queries (dates, folder scope, read/starred/attachment status).
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param to: Filter to only return emails sent to the given email address, either in the to, cc or bcc field.
+ :param q: Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.
+ :type q: str
+ :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
+ :type meta_only: bool
+ :param to: Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type to: str
- :param subject: Filter to only return emails with the given string in the subject.
- :type subject: str
- :param var_from: Filter to only return emails sent from the given email address.
+ :param var_from: Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type var_from: str
- :param any_email: Filter to only return emails related to a comma-separated list of email addresses.
+ :param any_email: Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type any_email: str
+ :param has_attachment: Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.
+ :type has_attachment: bool
+ :param is_starred: Filter to only return starred or unstarred emails.
+ :type is_starred: bool
+ :param is_unread: Filter to only return unread or read emails.
+ :type is_unread: bool
:param before: Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type before: str
:param exclude_folder: Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.
:type exclude_folder: str
:param after: Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type after: str
- :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
- :type meta_only: bool
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2763,17 +3051,20 @@ def get_emails_list(
_param = self._get_emails_list_serialize(
account_id=account_id,
+ q=q,
+ meta_only=meta_only,
to=to,
- subject=subject,
var_from=var_from,
any_email=any_email,
+ has_attachment=has_attachment,
+ is_starred=is_starred,
+ is_unread=is_unread,
before=before,
exclude_folder=exclude_folder,
after=after,
- meta_only=meta_only,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2798,17 +3089,20 @@ def get_emails_list(
def get_emails_list_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- to: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent to the given email address, either in the to, cc or bcc field.")] = None,
- subject: Annotated[Optional[StrictStr], Field(description="Filter to only return emails with the given string in the subject.")] = None,
- var_from: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent from the given email address.")] = None,
- any_email: Annotated[Optional[StrictStr], Field(description="Filter to only return emails related to a comma-separated list of email addresses.")] = None,
+ q: Annotated[Optional[StrictStr], Field(description="Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.")] = None,
+ meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
+ to: Annotated[Optional[StrictStr], Field(description="Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ var_from: Annotated[Optional[StrictStr], Field(description="Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ any_email: Annotated[Optional[StrictStr], Field(description="Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ has_attachment: Annotated[Optional[StrictBool], Field(description="Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.")] = None,
+ is_starred: Annotated[Optional[StrictBool], Field(description="Filter to only return starred or unstarred emails.")] = None,
+ is_unread: Annotated[Optional[StrictBool], Field(description="Filter to only return unread or read emails.")] = None,
before: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
exclude_folder: Annotated[Optional[StrictStr], Field(description="Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.")] = None,
after: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
- meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2824,32 +3118,38 @@ def get_emails_list_with_http_info(
) -> ApiResponse[GetEmailsList200Response]:
"""List all Emails
- Returns a list of emails in the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first.
+ Returns a list of emails in the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first. Search mode applies when `q`, `from`, `to`, or `any_email` is set. Filter mode applies for browse-only queries (dates, folder scope, read/starred/attachment status).
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param to: Filter to only return emails sent to the given email address, either in the to, cc or bcc field.
+ :param q: Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.
+ :type q: str
+ :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
+ :type meta_only: bool
+ :param to: Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type to: str
- :param subject: Filter to only return emails with the given string in the subject.
- :type subject: str
- :param var_from: Filter to only return emails sent from the given email address.
+ :param var_from: Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type var_from: str
- :param any_email: Filter to only return emails related to a comma-separated list of email addresses.
+ :param any_email: Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type any_email: str
+ :param has_attachment: Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.
+ :type has_attachment: bool
+ :param is_starred: Filter to only return starred or unstarred emails.
+ :type is_starred: bool
+ :param is_unread: Filter to only return unread or read emails.
+ :type is_unread: bool
:param before: Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type before: str
:param exclude_folder: Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.
:type exclude_folder: str
:param after: Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type after: str
- :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
- :type meta_only: bool
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2874,17 +3174,20 @@ def get_emails_list_with_http_info(
_param = self._get_emails_list_serialize(
account_id=account_id,
+ q=q,
+ meta_only=meta_only,
to=to,
- subject=subject,
var_from=var_from,
any_email=any_email,
+ has_attachment=has_attachment,
+ is_starred=is_starred,
+ is_unread=is_unread,
before=before,
exclude_folder=exclude_folder,
after=after,
- meta_only=meta_only,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2909,17 +3212,20 @@ def get_emails_list_with_http_info(
def get_emails_list_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- to: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent to the given email address, either in the to, cc or bcc field.")] = None,
- subject: Annotated[Optional[StrictStr], Field(description="Filter to only return emails with the given string in the subject.")] = None,
- var_from: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent from the given email address.")] = None,
- any_email: Annotated[Optional[StrictStr], Field(description="Filter to only return emails related to a comma-separated list of email addresses.")] = None,
+ q: Annotated[Optional[StrictStr], Field(description="Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.")] = None,
+ meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
+ to: Annotated[Optional[StrictStr], Field(description="Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ var_from: Annotated[Optional[StrictStr], Field(description="Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ any_email: Annotated[Optional[StrictStr], Field(description="Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ has_attachment: Annotated[Optional[StrictBool], Field(description="Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.")] = None,
+ is_starred: Annotated[Optional[StrictBool], Field(description="Filter to only return starred or unstarred emails.")] = None,
+ is_unread: Annotated[Optional[StrictBool], Field(description="Filter to only return unread or read emails.")] = None,
before: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
exclude_folder: Annotated[Optional[StrictStr], Field(description="Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.")] = None,
after: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
- meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2935,32 +3241,38 @@ def get_emails_list_without_preload_content(
) -> RESTResponseType:
"""List all Emails
- Returns a list of emails in the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first.
+ Returns a list of emails in the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first. Search mode applies when `q`, `from`, `to`, or `any_email` is set. Filter mode applies for browse-only queries (dates, folder scope, read/starred/attachment status).
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param to: Filter to only return emails sent to the given email address, either in the to, cc or bcc field.
+ :param q: Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.
+ :type q: str
+ :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
+ :type meta_only: bool
+ :param to: Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type to: str
- :param subject: Filter to only return emails with the given string in the subject.
- :type subject: str
- :param var_from: Filter to only return emails sent from the given email address.
+ :param var_from: Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type var_from: str
- :param any_email: Filter to only return emails related to a comma-separated list of email addresses.
+ :param any_email: Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type any_email: str
+ :param has_attachment: Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.
+ :type has_attachment: bool
+ :param is_starred: Filter to only return starred or unstarred emails.
+ :type is_starred: bool
+ :param is_unread: Filter to only return unread or read emails.
+ :type is_unread: bool
:param before: Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type before: str
:param exclude_folder: Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.
:type exclude_folder: str
:param after: Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type after: str
- :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
- :type meta_only: bool
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2985,17 +3297,20 @@ def get_emails_list_without_preload_content(
_param = self._get_emails_list_serialize(
account_id=account_id,
+ q=q,
+ meta_only=meta_only,
to=to,
- subject=subject,
var_from=var_from,
any_email=any_email,
+ has_attachment=has_attachment,
+ is_starred=is_starred,
+ is_unread=is_unread,
before=before,
exclude_folder=exclude_folder,
after=after,
- meta_only=meta_only,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3015,17 +3330,20 @@ def get_emails_list_without_preload_content(
def _get_emails_list_serialize(
self,
account_id,
+ q,
+ meta_only,
to,
- subject,
var_from,
any_email,
+ has_attachment,
+ is_starred,
+ is_unread,
before,
exclude_folder,
after,
- meta_only,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -3050,13 +3368,17 @@ def _get_emails_list_serialize(
if account_id is not None:
_path_params['account_id'] = account_id
# process the query parameters
- if to is not None:
+ if q is not None:
- _query_params.append(('to', to))
+ _query_params.append(('q', q))
+
+ if meta_only is not None:
- if subject is not None:
+ _query_params.append(('meta_only', meta_only))
+
+ if to is not None:
- _query_params.append(('subject', subject))
+ _query_params.append(('to', to))
if var_from is not None:
@@ -3066,6 +3388,18 @@ def _get_emails_list_serialize(
_query_params.append(('any_email', any_email))
+ if has_attachment is not None:
+
+ _query_params.append(('has_attachment', has_attachment))
+
+ if is_starred is not None:
+
+ _query_params.append(('is_starred', is_starred))
+
+ if is_unread is not None:
+
+ _query_params.append(('is_unread', is_unread))
+
if before is not None:
_query_params.append(('before', before))
@@ -3078,22 +3412,18 @@ def _get_emails_list_serialize(
_query_params.append(('after', after))
- if meta_only is not None:
-
- _query_params.append(('meta_only', meta_only))
-
if offset is not None:
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -3410,19 +3740,22 @@ def _get_folder_serialize(
@validate_call
def get_folder_emails_list(
self,
- folder_id: Annotated[Optional[StrictStr], Field(description="ID of the Folder to retrieve emails from.")],
+ folder_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Folder to retrieve emails from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- to: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent to the given email address, either in the to, cc or bcc field.")] = None,
- subject: Annotated[Optional[StrictStr], Field(description="Filter to only return emails with the given string in the subject.")] = None,
- var_from: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent from the given email address.")] = None,
- any_email: Annotated[Optional[StrictStr], Field(description="Filter to only return emails related to a comma-separated list of email addresses.")] = None,
+ q: Annotated[Optional[StrictStr], Field(description="Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.")] = None,
+ meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
+ to: Annotated[Optional[StrictStr], Field(description="Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ var_from: Annotated[Optional[StrictStr], Field(description="Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ any_email: Annotated[Optional[StrictStr], Field(description="Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ has_attachment: Annotated[Optional[StrictBool], Field(description="Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.")] = None,
+ is_starred: Annotated[Optional[StrictBool], Field(description="Filter to only return starred or unstarred emails.")] = None,
+ is_unread: Annotated[Optional[StrictBool], Field(description="Filter to only return unread or read emails.")] = None,
before: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
exclude_folder: Annotated[Optional[StrictStr], Field(description="Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.")] = None,
after: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
- meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3438,34 +3771,40 @@ def get_folder_emails_list(
) -> GetEmailsList200Response:
"""List folder Emails
- Returns a list of emails in the specific folder of the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first.
+ Returns a list of emails in the specific folder of the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first. Search mode applies when `q`, `from`, `to`, or `any_email` is set. Filter mode applies for browse-only queries (dates, read/starred/attachment status).
:param folder_id: ID of the Folder to retrieve emails from. (required)
:type folder_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param to: Filter to only return emails sent to the given email address, either in the to, cc or bcc field.
+ :param q: Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.
+ :type q: str
+ :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
+ :type meta_only: bool
+ :param to: Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type to: str
- :param subject: Filter to only return emails with the given string in the subject.
- :type subject: str
- :param var_from: Filter to only return emails sent from the given email address.
+ :param var_from: Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type var_from: str
- :param any_email: Filter to only return emails related to a comma-separated list of email addresses.
+ :param any_email: Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type any_email: str
+ :param has_attachment: Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.
+ :type has_attachment: bool
+ :param is_starred: Filter to only return starred or unstarred emails.
+ :type is_starred: bool
+ :param is_unread: Filter to only return unread or read emails.
+ :type is_unread: bool
:param before: Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type before: str
:param exclude_folder: Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.
:type exclude_folder: str
:param after: Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type after: str
- :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
- :type meta_only: bool
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3491,17 +3830,20 @@ def get_folder_emails_list(
_param = self._get_folder_emails_list_serialize(
folder_id=folder_id,
account_id=account_id,
+ q=q,
+ meta_only=meta_only,
to=to,
- subject=subject,
var_from=var_from,
any_email=any_email,
+ has_attachment=has_attachment,
+ is_starred=is_starred,
+ is_unread=is_unread,
before=before,
exclude_folder=exclude_folder,
after=after,
- meta_only=meta_only,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3525,19 +3867,22 @@ def get_folder_emails_list(
@validate_call
def get_folder_emails_list_with_http_info(
self,
- folder_id: Annotated[Optional[StrictStr], Field(description="ID of the Folder to retrieve emails from.")],
+ folder_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Folder to retrieve emails from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- to: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent to the given email address, either in the to, cc or bcc field.")] = None,
- subject: Annotated[Optional[StrictStr], Field(description="Filter to only return emails with the given string in the subject.")] = None,
- var_from: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent from the given email address.")] = None,
- any_email: Annotated[Optional[StrictStr], Field(description="Filter to only return emails related to a comma-separated list of email addresses.")] = None,
+ q: Annotated[Optional[StrictStr], Field(description="Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.")] = None,
+ meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
+ to: Annotated[Optional[StrictStr], Field(description="Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ var_from: Annotated[Optional[StrictStr], Field(description="Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ any_email: Annotated[Optional[StrictStr], Field(description="Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ has_attachment: Annotated[Optional[StrictBool], Field(description="Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.")] = None,
+ is_starred: Annotated[Optional[StrictBool], Field(description="Filter to only return starred or unstarred emails.")] = None,
+ is_unread: Annotated[Optional[StrictBool], Field(description="Filter to only return unread or read emails.")] = None,
before: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
exclude_folder: Annotated[Optional[StrictStr], Field(description="Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.")] = None,
after: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
- meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3553,34 +3898,40 @@ def get_folder_emails_list_with_http_info(
) -> ApiResponse[GetEmailsList200Response]:
"""List folder Emails
- Returns a list of emails in the specific folder of the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first.
+ Returns a list of emails in the specific folder of the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first. Search mode applies when `q`, `from`, `to`, or `any_email` is set. Filter mode applies for browse-only queries (dates, read/starred/attachment status).
:param folder_id: ID of the Folder to retrieve emails from. (required)
:type folder_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param to: Filter to only return emails sent to the given email address, either in the to, cc or bcc field.
+ :param q: Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.
+ :type q: str
+ :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
+ :type meta_only: bool
+ :param to: Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type to: str
- :param subject: Filter to only return emails with the given string in the subject.
- :type subject: str
- :param var_from: Filter to only return emails sent from the given email address.
+ :param var_from: Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type var_from: str
- :param any_email: Filter to only return emails related to a comma-separated list of email addresses.
+ :param any_email: Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type any_email: str
+ :param has_attachment: Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.
+ :type has_attachment: bool
+ :param is_starred: Filter to only return starred or unstarred emails.
+ :type is_starred: bool
+ :param is_unread: Filter to only return unread or read emails.
+ :type is_unread: bool
:param before: Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type before: str
:param exclude_folder: Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.
:type exclude_folder: str
:param after: Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type after: str
- :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
- :type meta_only: bool
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3606,17 +3957,20 @@ def get_folder_emails_list_with_http_info(
_param = self._get_folder_emails_list_serialize(
folder_id=folder_id,
account_id=account_id,
+ q=q,
+ meta_only=meta_only,
to=to,
- subject=subject,
var_from=var_from,
any_email=any_email,
+ has_attachment=has_attachment,
+ is_starred=is_starred,
+ is_unread=is_unread,
before=before,
exclude_folder=exclude_folder,
after=after,
- meta_only=meta_only,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3640,19 +3994,22 @@ def get_folder_emails_list_with_http_info(
@validate_call
def get_folder_emails_list_without_preload_content(
self,
- folder_id: Annotated[Optional[StrictStr], Field(description="ID of the Folder to retrieve emails from.")],
+ folder_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Folder to retrieve emails from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- to: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent to the given email address, either in the to, cc or bcc field.")] = None,
- subject: Annotated[Optional[StrictStr], Field(description="Filter to only return emails with the given string in the subject.")] = None,
- var_from: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent from the given email address.")] = None,
- any_email: Annotated[Optional[StrictStr], Field(description="Filter to only return emails related to a comma-separated list of email addresses.")] = None,
+ q: Annotated[Optional[StrictStr], Field(description="Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.")] = None,
+ meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
+ to: Annotated[Optional[StrictStr], Field(description="Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ var_from: Annotated[Optional[StrictStr], Field(description="Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ any_email: Annotated[Optional[StrictStr], Field(description="Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).")] = None,
+ has_attachment: Annotated[Optional[StrictBool], Field(description="Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.")] = None,
+ is_starred: Annotated[Optional[StrictBool], Field(description="Filter to only return starred or unstarred emails.")] = None,
+ is_unread: Annotated[Optional[StrictBool], Field(description="Filter to only return unread or read emails.")] = None,
before: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
exclude_folder: Annotated[Optional[StrictStr], Field(description="Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.")] = None,
after: Annotated[Optional[StrictStr], Field(description="Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.")] = None,
- meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3668,34 +4025,40 @@ def get_folder_emails_list_without_preload_content(
) -> RESTResponseType:
"""List folder Emails
- Returns a list of emails in the specific folder of the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first.
+ Returns a list of emails in the specific folder of the account mailbox. Emails are returned sorted by their `date`, with the most recent appearing first. Search mode applies when `q`, `from`, `to`, or `any_email` is set. Filter mode applies for browse-only queries (dates, read/starred/attachment status).
:param folder_id: ID of the Folder to retrieve emails from. (required)
:type folder_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param to: Filter to only return emails sent to the given email address, either in the to, cc or bcc field.
+ :param q: Full-text search in the email subject and body (case-insensitive, partial match). Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook). Combine with `from`, `to`, or `any_email` to narrow by participant address.
+ :type q: str
+ :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
+ :type meta_only: bool
+ :param to: Return messages sent to the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type to: str
- :param subject: Filter to only return emails with the given string in the subject.
- :type subject: str
- :param var_from: Filter to only return emails sent from the given email address.
+ :param var_from: Return messages sent from the given email address. For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type var_from: str
- :param any_email: Filter to only return emails related to a comma-separated list of email addresses.
+ :param any_email: Return messages where at least one of the given comma-separated email addresses appears as a participant (from, to, cc, or bcc). For Outlook, some messages matching this filter may be missing due to a provider limitation. Use `GET /threads/:thread_id` to retrieve a specific conversation. Activates search mode: results may be approximate and non-exhaustive (provider-dependent, ~1000 results on Outlook).
:type any_email: str
+ :param has_attachment: Filter to only return emails with or without attachments. For Outlook with `meta_only=true`, this uses the provider attachment flag, which excludes inline attachments.
+ :type has_attachment: bool
+ :param is_starred: Filter to only return starred or unstarred emails.
+ :type is_starred: bool
+ :param is_unread: Filter to only return unread or read emails.
+ :type is_unread: bool
:param before: Filter to only return emails sent before the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type before: str
:param exclude_folder: Filter to only return emails that are not in any of the folders specified in the comma-separated list of folder IDs.
:type exclude_folder: str
:param after: Filter to only return emails sent after the given datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). For Gmail, only the date is used, the time is ignored.
:type after: str
- :param meta_only: Speed up the response by only returning the email metadata, excluding the body and attachments metadata.
- :type meta_only: bool
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3721,17 +4084,20 @@ def get_folder_emails_list_without_preload_content(
_param = self._get_folder_emails_list_serialize(
folder_id=folder_id,
account_id=account_id,
+ q=q,
+ meta_only=meta_only,
to=to,
- subject=subject,
var_from=var_from,
any_email=any_email,
+ has_attachment=has_attachment,
+ is_starred=is_starred,
+ is_unread=is_unread,
before=before,
exclude_folder=exclude_folder,
after=after,
- meta_only=meta_only,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3752,17 +4118,20 @@ def _get_folder_emails_list_serialize(
self,
folder_id,
account_id,
+ q,
+ meta_only,
to,
- subject,
var_from,
any_email,
+ has_attachment,
+ is_starred,
+ is_unread,
before,
exclude_folder,
after,
- meta_only,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -3789,13 +4158,17 @@ def _get_folder_emails_list_serialize(
if account_id is not None:
_path_params['account_id'] = account_id
# process the query parameters
- if to is not None:
+ if q is not None:
- _query_params.append(('to', to))
+ _query_params.append(('q', q))
+
+ if meta_only is not None:
+
+ _query_params.append(('meta_only', meta_only))
- if subject is not None:
+ if to is not None:
- _query_params.append(('subject', subject))
+ _query_params.append(('to', to))
if var_from is not None:
@@ -3805,6 +4178,18 @@ def _get_folder_emails_list_serialize(
_query_params.append(('any_email', any_email))
+ if has_attachment is not None:
+
+ _query_params.append(('has_attachment', has_attachment))
+
+ if is_starred is not None:
+
+ _query_params.append(('is_starred', is_starred))
+
+ if is_unread is not None:
+
+ _query_params.append(('is_unread', is_unread))
+
if before is not None:
_query_params.append(('before', before))
@@ -3817,22 +4202,18 @@ def _get_folder_emails_list_serialize(
_query_params.append(('after', after))
- if meta_only is not None:
-
- _query_params.append(('meta_only', meta_only))
-
if offset is not None:
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -3875,8 +4256,8 @@ def get_folders_list(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3898,10 +4279,10 @@ def get_folders_list(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3927,8 +4308,8 @@ def get_folders_list(
_param = self._get_folders_list_serialize(
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3954,8 +4335,8 @@ def get_folders_list_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3977,10 +4358,10 @@ def get_folders_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -4006,8 +4387,8 @@ def get_folders_list_with_http_info(
_param = self._get_folders_list_serialize(
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -4033,8 +4414,8 @@ def get_folders_list_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -4056,10 +4437,10 @@ def get_folders_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -4085,8 +4466,8 @@ def get_folders_list_without_preload_content(
_param = self._get_folders_list_serialize(
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -4107,8 +4488,8 @@ def _get_folders_list_serialize(
self,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -4137,14 +4518,14 @@ def _get_folders_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -4185,7 +4566,7 @@ def _get_folders_list_serialize(
@validate_call
def get_thread(
self,
- thread_id: Annotated[Optional[StrictStr], Field(description="ID of the Thread to retrieve.")],
+ thread_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Thread to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
_request_timeout: Union[
@@ -4260,7 +4641,7 @@ def get_thread(
@validate_call
def get_thread_with_http_info(
self,
- thread_id: Annotated[Optional[StrictStr], Field(description="ID of the Thread to retrieve.")],
+ thread_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Thread to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
_request_timeout: Union[
@@ -4335,7 +4716,7 @@ def get_thread_with_http_info(
@validate_call
def get_thread_without_preload_content(
self,
- thread_id: Annotated[Optional[StrictStr], Field(description="ID of the Thread to retrieve.")],
+ thread_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Thread to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
meta_only: Annotated[Optional[StrictBool], Field(description="Speed up the response by only returning the email metadata, excluding the body and attachments metadata.")] = None,
_request_timeout: Union[
@@ -4478,7 +4859,7 @@ def _get_thread_serialize(
@validate_call
def modify_email(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to modify.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to modify.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
modify_email_request: Optional[ModifyEmailRequest] = None,
_request_timeout: Union[
@@ -4553,7 +4934,7 @@ def modify_email(
@validate_call
def modify_email_with_http_info(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to modify.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to modify.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
modify_email_request: Optional[ModifyEmailRequest] = None,
_request_timeout: Union[
@@ -4628,7 +5009,7 @@ def modify_email_with_http_info(
@validate_call
def modify_email_without_preload_content(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to modify.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to modify.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
modify_email_request: Optional[ModifyEmailRequest] = None,
_request_timeout: Union[
@@ -4782,7 +5163,7 @@ def _modify_email_serialize(
@validate_call
def read_email(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to mark as read.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to mark as read.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -4853,7 +5234,7 @@ def read_email(
@validate_call
def read_email_with_http_info(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to mark as read.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to mark as read.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -4924,7 +5305,7 @@ def read_email_with_http_info(
@validate_call
def read_email_without_preload_content(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to mark as read.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to mark as read.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -5351,7 +5732,7 @@ def send_email(
) -> SendEmail200Response:
"""Send an Email
- Sends an Email to the recipients in the `to`, `cc`, and `bcc`.
Multipart supported, refer to Sending Files.
+ Sends an Email to the recipients in the `to`, `cc`, and `bcc`.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -5422,7 +5803,7 @@ def send_email_with_http_info(
) -> ApiResponse[SendEmail200Response]:
"""Send an Email
- Sends an Email to the recipients in the `to`, `cc`, and `bcc`.
Multipart supported, refer to Sending Files.
+ Sends an Email to the recipients in the `to`, `cc`, and `bcc`.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -5493,7 +5874,7 @@ def send_email_without_preload_content(
) -> RESTResponseType:
"""Send an Email
- Sends an Email to the recipients in the `to`, `cc`, and `bcc`.
Multipart supported, refer to Sending Files.
+ Sends an Email to the recipients in the `to`, `cc`, and `bcc`.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -5623,7 +6004,7 @@ def _send_email_serialize(
@validate_call
def trash_email(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to trash.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to trash.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -5694,7 +6075,7 @@ def trash_email(
@validate_call
def trash_email_with_http_info(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to trash.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to trash.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -5765,7 +6146,7 @@ def trash_email_with_http_info(
@validate_call
def trash_email_without_preload_content(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to trash.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to trash.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -5899,7 +6280,7 @@ def _trash_email_serialize(
@validate_call
def unread_email(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to mark as unread.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to mark as unread.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -5970,7 +6351,7 @@ def unread_email(
@validate_call
def unread_email_with_http_info(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to mark as unread.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to mark as unread.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -6041,7 +6422,7 @@ def unread_email_with_http_info(
@validate_call
def unread_email_without_preload_content(
self,
- email_id: Annotated[Optional[StrictStr], Field(description="ID of the Email to mark as unread.")],
+ email_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Email to mark as unread.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -6193,7 +6574,7 @@ def update_draft(
) -> CreateDraft201Response:
"""Update a Draft
- Updates the specified Draft by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Multipart supported, refer to Sending Files.
+ Updates the specified Draft by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Multipart supported, refer to Sending Files.
:param draft_id: (required)
:type draft_id: str
@@ -6268,7 +6649,7 @@ def update_draft_with_http_info(
) -> ApiResponse[CreateDraft201Response]:
"""Update a Draft
- Updates the specified Draft by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Multipart supported, refer to Sending Files.
+ Updates the specified Draft by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Multipart supported, refer to Sending Files.
:param draft_id: (required)
:type draft_id: str
@@ -6343,7 +6724,7 @@ def update_draft_without_preload_content(
) -> RESTResponseType:
"""Update a Draft
- Updates the specified Draft by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Multipart supported, refer to Sending Files.
+ Updates the specified Draft by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Multipart supported, refer to Sending Files.
:param draft_id: (required)
:type draft_id: str
diff --git a/unipile/api/hosted_auth_api.py b/unipile/api/hosted_auth_api.py
index 72b1fadb4..9db228203 100644
--- a/unipile/api/hosted_auth_api.py
+++ b/unipile/api/hosted_auth_api.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/api/instagram_api.py b/unipile/api/instagram_api.py
index 2b19577b8..f4689e83c 100644
--- a/unipile/api/instagram_api.py
+++ b/unipile/api/instagram_api.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/api/linked_in_api.py b/unipile/api/linked_in_api.py
index 7430f4dbe..98a5fdab3 100644
--- a/unipile/api/linked_in_api.py
+++ b/unipile/api/linked_in_api.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -25,6 +25,7 @@
from unipile.models.browse_sales_lead_list_request import BrowseSalesLeadListRequest
from unipile.models.close_classic_job_posting200_response import CloseClassicJobPosting200Response
from unipile.models.companies_search1 import CompaniesSearch1
+from unipile.models.companies_search_results import CompaniesSearchResults
from unipile.models.create_classic_job_posting_draft201_response import CreateClassicJobPostingDraft201Response
from unipile.models.create_classic_job_posting_draft_request import CreateClassicJobPostingDraftRequest
from unipile.models.create_recruiter_hiring_project201_response import CreateRecruiterHiringProject201Response
@@ -46,8 +47,8 @@
from unipile.models.get_classic_company_profile200_response import GetClassicCompanyProfile200Response
from unipile.models.get_classic_job_posting200_response import GetClassicJobPosting200Response
from unipile.models.get_classic_job_posting_budget200_response import GetClassicJobPostingBudget200Response
-from unipile.models.get_classic_search_parameters200_response import GetClassicSearchParameters200Response
from unipile.models.get_inmail_credits200_response import GetInmailCredits200Response
+from unipile.models.get_managed_company_pages200_response import GetManagedCompanyPages200Response
from unipile.models.get_recruiter_hiring_project200_response import GetRecruiterHiringProject200Response
from unipile.models.get_recruiter_hiring_project_list200_response import GetRecruiterHiringProjectList200Response
from unipile.models.get_recruiter_job_posting_budget200_response import GetRecruiterJobPostingBudget200Response
@@ -58,17 +59,15 @@
from unipile.models.get_recruiter_talent_pool_applicants_request import GetRecruiterTalentPoolApplicantsRequest
from unipile.models.get_sales_account_lists200_response import GetSalesAccountLists200Response
from unipile.models.get_sales_lead_lists200_response import GetSalesLeadLists200Response
+from unipile.models.jobs_search_results1 import JobsSearchResults1
from unipile.models.lead_list import LeadList
from unipile.models.list_classic_user_job_postings200_response import ListClassicUserJobPostings200Response
from unipile.models.people_search import PeopleSearch
from unipile.models.people_search2 import PeopleSearch2
-from unipile.models.perform_classic_companies_search200_response import PerformClassicCompaniesSearch200Response
+from unipile.models.people_search_results import PeopleSearchResults
from unipile.models.perform_classic_companies_search_request import PerformClassicCompaniesSearchRequest
-from unipile.models.perform_classic_jobs_search200_response import PerformClassicJobsSearch200Response
from unipile.models.perform_classic_jobs_search_request import PerformClassicJobsSearchRequest
-from unipile.models.perform_classic_people_search200_response import PerformClassicPeopleSearch200Response
from unipile.models.perform_classic_people_search_request import PerformClassicPeopleSearchRequest
-from unipile.models.perform_classic_posts_search200_response import PerformClassicPostsSearch200Response
from unipile.models.perform_classic_posts_search_request import PerformClassicPostsSearchRequest
from unipile.models.perform_classic_search_from_url200_response import PerformClassicSearchFromUrl200Response
from unipile.models.perform_classic_search_from_url_request import PerformClassicSearchFromUrlRequest
@@ -79,6 +78,7 @@
from unipile.models.perform_sales_people_search_request import PerformSalesPeopleSearchRequest
from unipile.models.perform_sales_search_from_url200_response import PerformSalesSearchFromUrl200Response
from unipile.models.pipeline_candidates_search import PipelineCandidatesSearch
+from unipile.models.posts_search_results import PostsSearchResults
from unipile.models.proxy_request200_response import ProxyRequest200Response
from unipile.models.proxy_request_request import ProxyRequestRequest
from unipile.models.publish_classic_job_posting200_response import PublishClassicJobPosting200Response
@@ -90,6 +90,7 @@
from unipile.models.save_sales_account_to_list_request import SaveSalesAccountToListRequest
from unipile.models.save_sales_lead_to_list200_response import SaveSalesLeadToList200Response
from unipile.models.save_sales_lead_to_list_request import SaveSalesLeadToListRequest
+from unipile.models.search_parameters_list import SearchParametersList
from unipile.models.select_contract200_response import SelectContract200Response
from unipile.models.submit_classic_company_otp_code200_response import SubmitClassicCompanyOtpCode200Response
from unipile.models.submit_classic_company_otp_code_request import SubmitClassicCompanyOtpCodeRequest
@@ -120,7 +121,7 @@ def browse_sales_account_list(
list_id: Annotated[StrictStr, Field(description="The ID of the list to be browsed.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
browse_sales_account_list_request: Optional[BrowseSalesAccountListRequest] = None,
_request_timeout: Union[
None,
@@ -145,7 +146,7 @@ def browse_sales_account_list(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param browse_sales_account_list_request:
:type browse_sales_account_list_request: BrowseSalesAccountListRequest
@@ -203,7 +204,7 @@ def browse_sales_account_list_with_http_info(
list_id: Annotated[StrictStr, Field(description="The ID of the list to be browsed.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
browse_sales_account_list_request: Optional[BrowseSalesAccountListRequest] = None,
_request_timeout: Union[
None,
@@ -228,7 +229,7 @@ def browse_sales_account_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param browse_sales_account_list_request:
:type browse_sales_account_list_request: BrowseSalesAccountListRequest
@@ -286,7 +287,7 @@ def browse_sales_account_list_without_preload_content(
list_id: Annotated[StrictStr, Field(description="The ID of the list to be browsed.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
browse_sales_account_list_request: Optional[BrowseSalesAccountListRequest] = None,
_request_timeout: Union[
None,
@@ -311,7 +312,7 @@ def browse_sales_account_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param browse_sales_account_list_request:
:type browse_sales_account_list_request: BrowseSalesAccountListRequest
@@ -458,7 +459,7 @@ def browse_sales_lead_list(
list_id: Annotated[Optional[StrictStr], Field(description="The ID of the list to be browsed.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
browse_sales_lead_list_request: Optional[BrowseSalesLeadListRequest] = None,
_request_timeout: Union[
None,
@@ -483,7 +484,7 @@ def browse_sales_lead_list(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param browse_sales_lead_list_request:
:type browse_sales_lead_list_request: BrowseSalesLeadListRequest
@@ -541,7 +542,7 @@ def browse_sales_lead_list_with_http_info(
list_id: Annotated[Optional[StrictStr], Field(description="The ID of the list to be browsed.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
browse_sales_lead_list_request: Optional[BrowseSalesLeadListRequest] = None,
_request_timeout: Union[
None,
@@ -566,7 +567,7 @@ def browse_sales_lead_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param browse_sales_lead_list_request:
:type browse_sales_lead_list_request: BrowseSalesLeadListRequest
@@ -624,7 +625,7 @@ def browse_sales_lead_list_without_preload_content(
list_id: Annotated[Optional[StrictStr], Field(description="The ID of the list to be browsed.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
browse_sales_lead_list_request: Optional[BrowseSalesLeadListRequest] = None,
_request_timeout: Union[
None,
@@ -649,7 +650,7 @@ def browse_sales_lead_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param browse_sales_lead_list_request:
:type browse_sales_lead_list_request: BrowseSalesLeadListRequest
@@ -1377,7 +1378,7 @@ def create_classic_job_posting_draft(
) -> CreateClassicJobPostingDraft201Response:
"""Create a Job Posting Draft
- Creates a new job posting as draft.
Use Publish a Job Posting Draft to publish the job once you are ready.
+ Creates a new job posting as draft. Use Publish a Job Posting to publish the job once you are ready.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1448,7 +1449,7 @@ def create_classic_job_posting_draft_with_http_info(
) -> ApiResponse[CreateClassicJobPostingDraft201Response]:
"""Create a Job Posting Draft
- Creates a new job posting as draft.
Use Publish a Job Posting Draft to publish the job once you are ready.
+ Creates a new job posting as draft. Use Publish a Job Posting to publish the job once you are ready.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1519,7 +1520,7 @@ def create_classic_job_posting_draft_without_preload_content(
) -> RESTResponseType:
"""Create a Job Posting Draft
- Creates a new job posting as draft.
Use Publish a Job Posting Draft to publish the job once you are ready.
+ Creates a new job posting as draft. Use Publish a Job Posting to publish the job once you are ready.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1956,7 +1957,7 @@ def create_recruiter_job_posting_draft_in_existing_project(
) -> CreateRecruiterJobPostingDraftInExistingProject200Response:
"""Create a Job Posting Draft in an Existing Project
- Creates a new job posting as draft in a new project.
+ Creates a new job posting as draft in a new project. Use Publish a Job Posting to publish the job once you are ready.
:param project_id: The ID of the project in which to create the job posting. (required)
:type project_id: str
@@ -2031,7 +2032,7 @@ def create_recruiter_job_posting_draft_in_existing_project_with_http_info(
) -> ApiResponse[CreateRecruiterJobPostingDraftInExistingProject200Response]:
"""Create a Job Posting Draft in an Existing Project
- Creates a new job posting as draft in a new project.
+ Creates a new job posting as draft in a new project. Use Publish a Job Posting to publish the job once you are ready.
:param project_id: The ID of the project in which to create the job posting. (required)
:type project_id: str
@@ -2106,7 +2107,7 @@ def create_recruiter_job_posting_draft_in_existing_project_without_preload_conte
) -> RESTResponseType:
"""Create a Job Posting Draft in an Existing Project
- Creates a new job posting as draft in a new project.
+ Creates a new job posting as draft in a new project. Use Publish a Job Posting to publish the job once you are ready.
:param project_id: The ID of the project in which to create the job posting. (required)
:type project_id: str
@@ -2259,7 +2260,7 @@ def create_recruiter_job_posting_draft_in_new_project(
) -> CreateRecruiterJobPostingDraftInExistingProject200Response:
"""Create a Job Posting Draft in a New Project
- Creates a new job posting as draft in a new project.
Use Publish a Job Posting Draft to publish the job once you are ready.
+ Creates a new job posting as draft in a new project. Use Publish a Job Posting to publish the job once you are ready.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -2330,7 +2331,7 @@ def create_recruiter_job_posting_draft_in_new_project_with_http_info(
) -> ApiResponse[CreateRecruiterJobPostingDraftInExistingProject200Response]:
"""Create a Job Posting Draft in a New Project
- Creates a new job posting as draft in a new project.
Use Publish a Job Posting Draft to publish the job once you are ready.
+ Creates a new job posting as draft in a new project. Use Publish a Job Posting to publish the job once you are ready.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -2401,7 +2402,7 @@ def create_recruiter_job_posting_draft_in_new_project_without_preload_content(
) -> RESTResponseType:
"""Create a Job Posting Draft in a New Project
- Creates a new job posting as draft in a new project.
Use Publish a Job Posting Draft to publish the job once you are ready.
+ Creates a new job posting as draft in a new project. Use Publish a Job Posting to publish the job once you are ready.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -4600,8 +4601,8 @@ def get_classic_applicants(
self,
job_id: Annotated[Optional[StrictStr], Field(description="The ID of the Job for which to retrieve the applicants.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
get_classic_applicants_request: Optional[GetClassicApplicantsRequest] = None,
_request_timeout: Union[
None,
@@ -4624,9 +4625,9 @@ def get_classic_applicants(
:type job_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param get_classic_applicants_request:
:type get_classic_applicants_request: GetClassicApplicantsRequest
@@ -4683,8 +4684,8 @@ def get_classic_applicants_with_http_info(
self,
job_id: Annotated[Optional[StrictStr], Field(description="The ID of the Job for which to retrieve the applicants.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
get_classic_applicants_request: Optional[GetClassicApplicantsRequest] = None,
_request_timeout: Union[
None,
@@ -4707,9 +4708,9 @@ def get_classic_applicants_with_http_info(
:type job_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param get_classic_applicants_request:
:type get_classic_applicants_request: GetClassicApplicantsRequest
@@ -4766,8 +4767,8 @@ def get_classic_applicants_without_preload_content(
self,
job_id: Annotated[Optional[StrictStr], Field(description="The ID of the Job for which to retrieve the applicants.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
get_classic_applicants_request: Optional[GetClassicApplicantsRequest] = None,
_request_timeout: Union[
None,
@@ -4790,9 +4791,9 @@ def get_classic_applicants_without_preload_content(
:type job_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param get_classic_applicants_request:
:type get_classic_applicants_request: GetClassicApplicantsRequest
@@ -5803,7 +5804,7 @@ def get_classic_search_parameters(
keywords: Annotated[Optional[StrictStr], Field(description="A keyword or group of keywords to filter results.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -5816,7 +5817,7 @@ def get_classic_search_parameters(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> GetClassicSearchParameters200Response:
+ ) -> SearchParametersList:
"""List Search Parameters
Returns a list of parameters to be used in the search route.
@@ -5829,7 +5830,7 @@ def get_classic_search_parameters(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -5866,7 +5867,7 @@ def get_classic_search_parameters(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetClassicSearchParameters200Response",
+ '200': "SearchParametersList",
}
response_data = self.api_client.call_api(
*_param,
@@ -5886,7 +5887,7 @@ def get_classic_search_parameters_with_http_info(
keywords: Annotated[Optional[StrictStr], Field(description="A keyword or group of keywords to filter results.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -5899,7 +5900,7 @@ def get_classic_search_parameters_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[GetClassicSearchParameters200Response]:
+ ) -> ApiResponse[SearchParametersList]:
"""List Search Parameters
Returns a list of parameters to be used in the search route.
@@ -5912,7 +5913,7 @@ def get_classic_search_parameters_with_http_info(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -5949,7 +5950,7 @@ def get_classic_search_parameters_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetClassicSearchParameters200Response",
+ '200': "SearchParametersList",
}
response_data = self.api_client.call_api(
*_param,
@@ -5969,7 +5970,7 @@ def get_classic_search_parameters_without_preload_content(
keywords: Annotated[Optional[StrictStr], Field(description="A keyword or group of keywords to filter results.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -5995,7 +5996,7 @@ def get_classic_search_parameters_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -6032,7 +6033,7 @@ def get_classic_search_parameters_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetClassicSearchParameters200Response",
+ '200': "SearchParametersList",
}
response_data = self.api_client.call_api(
*_param,
@@ -6403,6 +6404,267 @@ def _get_inmail_credits_serialize(
+ @validate_call
+ def get_managed_company_pages(
+ self,
+ account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> GetManagedCompanyPages200Response:
+ """List Managed Company Pages
+
+ Returns a list of company pages for which the account user is an administrator.
+
+ :param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
+ :type account_id: str
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._get_managed_company_pages_serialize(
+ account_id=account_id,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "GetManagedCompanyPages200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ ).data
+
+
+ @validate_call
+ def get_managed_company_pages_with_http_info(
+ self,
+ account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> ApiResponse[GetManagedCompanyPages200Response]:
+ """List Managed Company Pages
+
+ Returns a list of company pages for which the account user is an administrator.
+
+ :param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
+ :type account_id: str
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._get_managed_company_pages_serialize(
+ account_id=account_id,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "GetManagedCompanyPages200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ )
+
+
+ @validate_call
+ def get_managed_company_pages_without_preload_content(
+ self,
+ account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> RESTResponseType:
+ """List Managed Company Pages
+
+ Returns a list of company pages for which the account user is an administrator.
+
+ :param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
+ :type account_id: str
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._get_managed_company_pages_serialize(
+ account_id=account_id,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "GetManagedCompanyPages200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ return response_data.response
+
+
+ def _get_managed_company_pages_serialize(
+ self,
+ account_id,
+ _request_auth,
+ _content_type,
+ _headers,
+ _host_index,
+ ) -> RequestSerialized:
+
+ _host = None
+
+ _collection_formats: Dict[str, str] = {
+ }
+
+ _path_params: Dict[str, str] = {}
+ _query_params: List[Tuple[str, str]] = []
+ _header_params: Dict[str, Optional[str]] = _headers or {}
+ _form_params: List[Tuple[str, str]] = []
+ _files: Dict[
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
+ ] = {}
+ _body_params: Optional[bytes] = None
+
+ # process the path parameters
+ if account_id is not None:
+ _path_params['account_id'] = account_id
+ # process the query parameters
+ # process the header parameters
+ # process the form parameters
+ # process the body parameter
+
+
+ # set the HTTP header `Accept`
+ if 'Accept' not in _header_params:
+ _header_params['Accept'] = self.api_client.select_header_accept(
+ [
+ 'application/json'
+ ]
+ )
+
+
+ # authentication setting
+ _auth_settings: List[str] = [
+ 'apiKey'
+ ]
+
+ return self.api_client.param_serialize(
+ method='GET',
+ resource_path='/v2/{account_id}/linkedin/company/pages',
+ path_params=_path_params,
+ query_params=_query_params,
+ header_params=_header_params,
+ body=_body_params,
+ post_params=_form_params,
+ files=_files,
+ auth_settings=_auth_settings,
+ collection_formats=_collection_formats,
+ _host=_host,
+ _request_auth=_request_auth
+ )
+
+
+
+
@validate_call
def get_recruiter_applicant_by_id(
self,
@@ -6698,7 +6960,7 @@ def _get_recruiter_applicant_by_id_serialize(
def get_recruiter_applicant_resume(
self,
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Talent Pool.")],
- applicant_id: Annotated[str, Field(min_length=1, strict=True, description="The Profile ID of the Applicant for which the get the resume.")],
+ applicant_profile_id: Annotated[str, Field(min_length=1, strict=True, description="The Profile ID of the Applicant for which the get the resume (AEM...).")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -6719,8 +6981,8 @@ def get_recruiter_applicant_resume(
:param project_id: The ID of the Hiring Project from which to browse the Talent Pool. (required)
:type project_id: str
- :param applicant_id: The Profile ID of the Applicant for which the get the resume. (required)
- :type applicant_id: str
+ :param applicant_profile_id: The Profile ID of the Applicant for which the get the resume (AEM...). (required)
+ :type applicant_profile_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param _request_timeout: timeout setting for this request. If one
@@ -6747,7 +7009,7 @@ def get_recruiter_applicant_resume(
_param = self._get_recruiter_applicant_resume_serialize(
project_id=project_id,
- applicant_id=applicant_id,
+ applicant_profile_id=applicant_profile_id,
account_id=account_id,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -6773,7 +7035,7 @@ def get_recruiter_applicant_resume(
def get_recruiter_applicant_resume_with_http_info(
self,
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Talent Pool.")],
- applicant_id: Annotated[str, Field(min_length=1, strict=True, description="The Profile ID of the Applicant for which the get the resume.")],
+ applicant_profile_id: Annotated[str, Field(min_length=1, strict=True, description="The Profile ID of the Applicant for which the get the resume (AEM...).")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -6794,8 +7056,8 @@ def get_recruiter_applicant_resume_with_http_info(
:param project_id: The ID of the Hiring Project from which to browse the Talent Pool. (required)
:type project_id: str
- :param applicant_id: The Profile ID of the Applicant for which the get the resume. (required)
- :type applicant_id: str
+ :param applicant_profile_id: The Profile ID of the Applicant for which the get the resume (AEM...). (required)
+ :type applicant_profile_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param _request_timeout: timeout setting for this request. If one
@@ -6822,7 +7084,7 @@ def get_recruiter_applicant_resume_with_http_info(
_param = self._get_recruiter_applicant_resume_serialize(
project_id=project_id,
- applicant_id=applicant_id,
+ applicant_profile_id=applicant_profile_id,
account_id=account_id,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -6848,7 +7110,7 @@ def get_recruiter_applicant_resume_with_http_info(
def get_recruiter_applicant_resume_without_preload_content(
self,
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Talent Pool.")],
- applicant_id: Annotated[str, Field(min_length=1, strict=True, description="The Profile ID of the Applicant for which the get the resume.")],
+ applicant_profile_id: Annotated[str, Field(min_length=1, strict=True, description="The Profile ID of the Applicant for which the get the resume (AEM...).")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -6869,8 +7131,8 @@ def get_recruiter_applicant_resume_without_preload_content(
:param project_id: The ID of the Hiring Project from which to browse the Talent Pool. (required)
:type project_id: str
- :param applicant_id: The Profile ID of the Applicant for which the get the resume. (required)
- :type applicant_id: str
+ :param applicant_profile_id: The Profile ID of the Applicant for which the get the resume (AEM...). (required)
+ :type applicant_profile_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param _request_timeout: timeout setting for this request. If one
@@ -6897,7 +7159,7 @@ def get_recruiter_applicant_resume_without_preload_content(
_param = self._get_recruiter_applicant_resume_serialize(
project_id=project_id,
- applicant_id=applicant_id,
+ applicant_profile_id=applicant_profile_id,
account_id=account_id,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -6918,7 +7180,7 @@ def get_recruiter_applicant_resume_without_preload_content(
def _get_recruiter_applicant_resume_serialize(
self,
project_id,
- applicant_id,
+ applicant_profile_id,
account_id,
_request_auth,
_content_type,
@@ -6943,8 +7205,8 @@ def _get_recruiter_applicant_resume_serialize(
# process the path parameters
if project_id is not None:
_path_params['project_id'] = project_id
- if applicant_id is not None:
- _path_params['applicant_id'] = applicant_id
+ if applicant_profile_id is not None:
+ _path_params['applicant_profile_id'] = applicant_profile_id
if account_id is not None:
_path_params['account_id'] = account_id
# process the query parameters
@@ -6962,7 +7224,7 @@ def _get_recruiter_applicant_resume_serialize(
return self.api_client.param_serialize(
method='GET',
- resource_path='/v2/{account_id}/linkedin/recruiter/projects/{project_id}/talent-pool/applicants/{applicant_id}/resume',
+ resource_path='/v2/{account_id}/linkedin/recruiter/projects/{project_id}/talent-pool/applicants/{applicant_profile_id}/resume',
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
@@ -7258,11 +7520,11 @@ def _get_recruiter_hiring_project_serialize(
def get_recruiter_hiring_project_list(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- status: Annotated[Optional[List[StrictStr]], Field(description="A list of statuses that the job posting of the project must match.")] = None,
+ status: Annotated[Optional[List[StrictStr]], Field(description="A list of statuses that the project must match.")] = None,
sort_by: Annotated[Optional[StrictStr], Field(description="The sort method.")] = None,
keywords: Annotated[Optional[StrictStr], Field(description="A keyword or group of keywords to filter projects by name.")] = None,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7282,15 +7544,15 @@ def get_recruiter_hiring_project_list(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param status: A list of statuses that the job posting of the project must match.
+ :param status: A list of statuses that the project must match.
:type status: List[str]
:param sort_by: The sort method.
:type sort_by: str
:param keywords: A keyword or group of keywords to filter projects by name.
:type keywords: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7345,11 +7607,11 @@ def get_recruiter_hiring_project_list(
def get_recruiter_hiring_project_list_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- status: Annotated[Optional[List[StrictStr]], Field(description="A list of statuses that the job posting of the project must match.")] = None,
+ status: Annotated[Optional[List[StrictStr]], Field(description="A list of statuses that the project must match.")] = None,
sort_by: Annotated[Optional[StrictStr], Field(description="The sort method.")] = None,
keywords: Annotated[Optional[StrictStr], Field(description="A keyword or group of keywords to filter projects by name.")] = None,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7369,15 +7631,15 @@ def get_recruiter_hiring_project_list_with_http_info(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param status: A list of statuses that the job posting of the project must match.
+ :param status: A list of statuses that the project must match.
:type status: List[str]
:param sort_by: The sort method.
:type sort_by: str
:param keywords: A keyword or group of keywords to filter projects by name.
:type keywords: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7432,11 +7694,11 @@ def get_recruiter_hiring_project_list_with_http_info(
def get_recruiter_hiring_project_list_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- status: Annotated[Optional[List[StrictStr]], Field(description="A list of statuses that the job posting of the project must match.")] = None,
+ status: Annotated[Optional[List[StrictStr]], Field(description="A list of statuses that the project must match.")] = None,
sort_by: Annotated[Optional[StrictStr], Field(description="The sort method.")] = None,
keywords: Annotated[Optional[StrictStr], Field(description="A keyword or group of keywords to filter projects by name.")] = None,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7456,15 +7718,15 @@ def get_recruiter_hiring_project_list_without_preload_content(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param status: A list of statuses that the job posting of the project must match.
+ :param status: A list of statuses that the project must match.
:type status: List[str]
:param sort_by: The sort method.
:type sort_by: str
:param keywords: A keyword or group of keywords to filter projects by name.
:type keywords: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8450,12 +8712,12 @@ def get_recruiter_job_posting_list(
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
state: Annotated[Optional[List[StrictStr]], Field(description="A list of job posting states.")] = None,
sort_by: Annotated[Optional[StrictStr], Field(description="The sort method. Native filter : Sort by ")] = None,
- location: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location ")] = None,
- job_poster: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster ")] = None,
- contract: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract ")] = None,
+ location: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location ")] = None,
+ job_poster: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster ")] = None,
+ contract: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract ")] = None,
workplace_type: Annotated[Optional[List[StrictStr]], Field(description="A list of workplace types. Native filter : Workplace type ")] = None,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8479,17 +8741,17 @@ def get_recruiter_job_posting_list(
:type state: List[str]
:param sort_by: The sort method. Native filter : Sort by
:type sort_by: str
- :param location: A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location
+ :param location: A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location
:type location: List[str]
- :param job_poster: A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster
+ :param job_poster: A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster
:type job_poster: List[str]
- :param contract: A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract
+ :param contract: A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract
:type contract: List[str]
:param workplace_type: A list of workplace types. Native filter : Workplace type
:type workplace_type: List[str]
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8549,12 +8811,12 @@ def get_recruiter_job_posting_list_with_http_info(
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
state: Annotated[Optional[List[StrictStr]], Field(description="A list of job posting states.")] = None,
sort_by: Annotated[Optional[StrictStr], Field(description="The sort method. Native filter : Sort by ")] = None,
- location: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location ")] = None,
- job_poster: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster ")] = None,
- contract: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract ")] = None,
+ location: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location ")] = None,
+ job_poster: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster ")] = None,
+ contract: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract ")] = None,
workplace_type: Annotated[Optional[List[StrictStr]], Field(description="A list of workplace types. Native filter : Workplace type ")] = None,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8578,17 +8840,17 @@ def get_recruiter_job_posting_list_with_http_info(
:type state: List[str]
:param sort_by: The sort method. Native filter : Sort by
:type sort_by: str
- :param location: A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location
+ :param location: A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location
:type location: List[str]
- :param job_poster: A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster
+ :param job_poster: A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster
:type job_poster: List[str]
- :param contract: A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract
+ :param contract: A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract
:type contract: List[str]
:param workplace_type: A list of workplace types. Native filter : Workplace type
:type workplace_type: List[str]
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8648,12 +8910,12 @@ def get_recruiter_job_posting_list_without_preload_content(
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
state: Annotated[Optional[List[StrictStr]], Field(description="A list of job posting states.")] = None,
sort_by: Annotated[Optional[StrictStr], Field(description="The sort method. Native filter : Sort by ")] = None,
- location: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location ")] = None,
- job_poster: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster ")] = None,
- contract: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract ")] = None,
+ location: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location ")] = None,
+ job_poster: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster ")] = None,
+ contract: Annotated[Optional[List[StrictStr]], Field(description="A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract ")] = None,
workplace_type: Annotated[Optional[List[StrictStr]], Field(description="A list of workplace types. Native filter : Workplace type ")] = None,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8677,17 +8939,17 @@ def get_recruiter_job_posting_list_without_preload_content(
:type state: List[str]
:param sort_by: The sort method. Native filter : Sort by
:type sort_by: str
- :param location: A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location
+ :param location: A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location
:type location: List[str]
- :param job_poster: A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster
+ :param job_poster: A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Job poster
:type job_poster: List[str]
- :param contract: A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract
+ :param contract: A list of parameter IDs. Use List Search Parameters with `CONTRACT` type to find out the possible values. Native filter : Contract
:type contract: List[str]
:param workplace_type: A list of workplace types. Native filter : Workplace type
:type workplace_type: List[str]
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8851,8 +9113,8 @@ def get_recruiter_pipeline_candidates(
self,
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Pipeline.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=5000, strict=True, ge=1)], Annotated[int, Field(le=5000, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
get_recruiter_pipeline_candidates_request: Optional[GetRecruiterPipelineCandidatesRequest] = None,
_request_timeout: Union[
None,
@@ -8875,9 +9137,9 @@ def get_recruiter_pipeline_candidates(
:type project_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param get_recruiter_pipeline_candidates_request:
:type get_recruiter_pipeline_candidates_request: GetRecruiterPipelineCandidatesRequest
@@ -8934,8 +9196,8 @@ def get_recruiter_pipeline_candidates_with_http_info(
self,
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Pipeline.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=5000, strict=True, ge=1)], Annotated[int, Field(le=5000, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
get_recruiter_pipeline_candidates_request: Optional[GetRecruiterPipelineCandidatesRequest] = None,
_request_timeout: Union[
None,
@@ -8958,9 +9220,9 @@ def get_recruiter_pipeline_candidates_with_http_info(
:type project_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param get_recruiter_pipeline_candidates_request:
:type get_recruiter_pipeline_candidates_request: GetRecruiterPipelineCandidatesRequest
@@ -9017,8 +9279,8 @@ def get_recruiter_pipeline_candidates_without_preload_content(
self,
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Pipeline.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=5000, strict=True, ge=1)], Annotated[int, Field(le=5000, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
get_recruiter_pipeline_candidates_request: Optional[GetRecruiterPipelineCandidatesRequest] = None,
_request_timeout: Union[
None,
@@ -9041,9 +9303,9 @@ def get_recruiter_pipeline_candidates_without_preload_content(
:type project_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param get_recruiter_pipeline_candidates_request:
:type get_recruiter_pipeline_candidates_request: GetRecruiterPipelineCandidatesRequest
@@ -9188,6 +9450,8 @@ def _get_recruiter_pipeline_candidates_serialize(
def get_recruiter_search_parameters(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
get_recruiter_search_parameters_request: Optional[GetRecruiterSearchParametersRequest] = None,
_request_timeout: Union[
None,
@@ -9201,13 +9465,17 @@ def get_recruiter_search_parameters(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> GetClassicSearchParameters200Response:
+ ) -> SearchParametersList:
"""List Search Parameters
Returns a list of parameters to be used in Recruiter search endpoints.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
+ :param offset: An offset used for pagination.
+ :type offset: float
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param get_recruiter_search_parameters_request:
:type get_recruiter_search_parameters_request: GetRecruiterSearchParametersRequest
:param _request_timeout: timeout setting for this request. If one
@@ -9234,6 +9502,8 @@ def get_recruiter_search_parameters(
_param = self._get_recruiter_search_parameters_serialize(
account_id=account_id,
+ offset=offset,
+ limit=limit,
get_recruiter_search_parameters_request=get_recruiter_search_parameters_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -9242,7 +9512,7 @@ def get_recruiter_search_parameters(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetClassicSearchParameters200Response",
+ '200': "SearchParametersList",
}
response_data = self.api_client.call_api(
*_param,
@@ -9259,6 +9529,8 @@ def get_recruiter_search_parameters(
def get_recruiter_search_parameters_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
get_recruiter_search_parameters_request: Optional[GetRecruiterSearchParametersRequest] = None,
_request_timeout: Union[
None,
@@ -9272,13 +9544,17 @@ def get_recruiter_search_parameters_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[GetClassicSearchParameters200Response]:
+ ) -> ApiResponse[SearchParametersList]:
"""List Search Parameters
Returns a list of parameters to be used in Recruiter search endpoints.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
+ :param offset: An offset used for pagination.
+ :type offset: float
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param get_recruiter_search_parameters_request:
:type get_recruiter_search_parameters_request: GetRecruiterSearchParametersRequest
:param _request_timeout: timeout setting for this request. If one
@@ -9305,6 +9581,8 @@ def get_recruiter_search_parameters_with_http_info(
_param = self._get_recruiter_search_parameters_serialize(
account_id=account_id,
+ offset=offset,
+ limit=limit,
get_recruiter_search_parameters_request=get_recruiter_search_parameters_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -9313,7 +9591,7 @@ def get_recruiter_search_parameters_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetClassicSearchParameters200Response",
+ '200': "SearchParametersList",
}
response_data = self.api_client.call_api(
*_param,
@@ -9330,6 +9608,8 @@ def get_recruiter_search_parameters_with_http_info(
def get_recruiter_search_parameters_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
get_recruiter_search_parameters_request: Optional[GetRecruiterSearchParametersRequest] = None,
_request_timeout: Union[
None,
@@ -9350,6 +9630,10 @@ def get_recruiter_search_parameters_without_preload_content(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
+ :param offset: An offset used for pagination.
+ :type offset: float
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param get_recruiter_search_parameters_request:
:type get_recruiter_search_parameters_request: GetRecruiterSearchParametersRequest
:param _request_timeout: timeout setting for this request. If one
@@ -9376,6 +9660,8 @@ def get_recruiter_search_parameters_without_preload_content(
_param = self._get_recruiter_search_parameters_serialize(
account_id=account_id,
+ offset=offset,
+ limit=limit,
get_recruiter_search_parameters_request=get_recruiter_search_parameters_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -9384,7 +9670,7 @@ def get_recruiter_search_parameters_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetClassicSearchParameters200Response",
+ '200': "SearchParametersList",
}
response_data = self.api_client.call_api(
*_param,
@@ -9396,6 +9682,8 @@ def get_recruiter_search_parameters_without_preload_content(
def _get_recruiter_search_parameters_serialize(
self,
account_id,
+ offset,
+ limit,
get_recruiter_search_parameters_request,
_request_auth,
_content_type,
@@ -9421,6 +9709,14 @@ def _get_recruiter_search_parameters_serialize(
if account_id is not None:
_path_params['account_id'] = account_id
# process the query parameters
+ if offset is not None:
+
+ _query_params.append(('offset', offset))
+
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -9478,9 +9774,9 @@ def get_recruiter_talent_pool_applicants(
self,
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Talent Pool.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- get_recruiter_talent_pool_applicants_request: GetRecruiterTalentPoolApplicantsRequest,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ get_recruiter_talent_pool_applicants_request: Optional[GetRecruiterTalentPoolApplicantsRequest] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9502,12 +9798,12 @@ def get_recruiter_talent_pool_applicants(
:type project_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param get_recruiter_talent_pool_applicants_request: (required)
- :type get_recruiter_talent_pool_applicants_request: GetRecruiterTalentPoolApplicantsRequest
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
+ :param get_recruiter_talent_pool_applicants_request:
+ :type get_recruiter_talent_pool_applicants_request: GetRecruiterTalentPoolApplicantsRequest
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -9533,9 +9829,9 @@ def get_recruiter_talent_pool_applicants(
_param = self._get_recruiter_talent_pool_applicants_serialize(
project_id=project_id,
account_id=account_id,
- get_recruiter_talent_pool_applicants_request=get_recruiter_talent_pool_applicants_request,
cursor=cursor,
limit=limit,
+ get_recruiter_talent_pool_applicants_request=get_recruiter_talent_pool_applicants_request,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -9561,9 +9857,9 @@ def get_recruiter_talent_pool_applicants_with_http_info(
self,
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Talent Pool.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- get_recruiter_talent_pool_applicants_request: GetRecruiterTalentPoolApplicantsRequest,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ get_recruiter_talent_pool_applicants_request: Optional[GetRecruiterTalentPoolApplicantsRequest] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9585,12 +9881,12 @@ def get_recruiter_talent_pool_applicants_with_http_info(
:type project_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param get_recruiter_talent_pool_applicants_request: (required)
- :type get_recruiter_talent_pool_applicants_request: GetRecruiterTalentPoolApplicantsRequest
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
+ :param get_recruiter_talent_pool_applicants_request:
+ :type get_recruiter_talent_pool_applicants_request: GetRecruiterTalentPoolApplicantsRequest
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -9616,9 +9912,9 @@ def get_recruiter_talent_pool_applicants_with_http_info(
_param = self._get_recruiter_talent_pool_applicants_serialize(
project_id=project_id,
account_id=account_id,
- get_recruiter_talent_pool_applicants_request=get_recruiter_talent_pool_applicants_request,
cursor=cursor,
limit=limit,
+ get_recruiter_talent_pool_applicants_request=get_recruiter_talent_pool_applicants_request,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -9644,9 +9940,9 @@ def get_recruiter_talent_pool_applicants_without_preload_content(
self,
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Talent Pool.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- get_recruiter_talent_pool_applicants_request: GetRecruiterTalentPoolApplicantsRequest,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ get_recruiter_talent_pool_applicants_request: Optional[GetRecruiterTalentPoolApplicantsRequest] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9668,12 +9964,12 @@ def get_recruiter_talent_pool_applicants_without_preload_content(
:type project_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param get_recruiter_talent_pool_applicants_request: (required)
- :type get_recruiter_talent_pool_applicants_request: GetRecruiterTalentPoolApplicantsRequest
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
+ :param get_recruiter_talent_pool_applicants_request:
+ :type get_recruiter_talent_pool_applicants_request: GetRecruiterTalentPoolApplicantsRequest
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -9699,9 +9995,9 @@ def get_recruiter_talent_pool_applicants_without_preload_content(
_param = self._get_recruiter_talent_pool_applicants_serialize(
project_id=project_id,
account_id=account_id,
- get_recruiter_talent_pool_applicants_request=get_recruiter_talent_pool_applicants_request,
cursor=cursor,
limit=limit,
+ get_recruiter_talent_pool_applicants_request=get_recruiter_talent_pool_applicants_request,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -9722,9 +10018,9 @@ def _get_recruiter_talent_pool_applicants_serialize(
self,
project_id,
account_id,
- get_recruiter_talent_pool_applicants_request,
cursor,
limit,
+ get_recruiter_talent_pool_applicants_request,
_request_auth,
_content_type,
_headers,
@@ -9816,7 +10112,7 @@ def get_sales_account_lists(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9838,7 +10134,7 @@ def get_sales_account_lists(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -9891,7 +10187,7 @@ def get_sales_account_lists_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9913,7 +10209,7 @@ def get_sales_account_lists_with_http_info(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -9966,7 +10262,7 @@ def get_sales_account_lists_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9988,7 +10284,7 @@ def get_sales_account_lists_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -10111,7 +10407,7 @@ def get_sales_lead_lists(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -10133,7 +10429,7 @@ def get_sales_lead_lists(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -10186,7 +10482,7 @@ def get_sales_lead_lists_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -10208,7 +10504,7 @@ def get_sales_lead_lists_with_http_info(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -10261,7 +10557,7 @@ def get_sales_lead_lists_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -10283,7 +10579,7 @@ def get_sales_lead_lists_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -10408,7 +10704,7 @@ def get_sales_search_parameters(
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
keywords: Annotated[Optional[StrictStr], Field(description="A keyword or group of keywords to filter results.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -10421,7 +10717,7 @@ def get_sales_search_parameters(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> GetClassicSearchParameters200Response:
+ ) -> SearchParametersList:
"""List Search Parameters
Returns a list of parameters to be used in Sales navigator search endpoints.
@@ -10434,7 +10730,7 @@ def get_sales_search_parameters(
:type keywords: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -10471,7 +10767,7 @@ def get_sales_search_parameters(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetClassicSearchParameters200Response",
+ '200': "SearchParametersList",
}
response_data = self.api_client.call_api(
*_param,
@@ -10491,7 +10787,7 @@ def get_sales_search_parameters_with_http_info(
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
keywords: Annotated[Optional[StrictStr], Field(description="A keyword or group of keywords to filter results.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -10504,7 +10800,7 @@ def get_sales_search_parameters_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[GetClassicSearchParameters200Response]:
+ ) -> ApiResponse[SearchParametersList]:
"""List Search Parameters
Returns a list of parameters to be used in Sales navigator search endpoints.
@@ -10517,7 +10813,7 @@ def get_sales_search_parameters_with_http_info(
:type keywords: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -10554,7 +10850,7 @@ def get_sales_search_parameters_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetClassicSearchParameters200Response",
+ '200': "SearchParametersList",
}
response_data = self.api_client.call_api(
*_param,
@@ -10574,7 +10870,7 @@ def get_sales_search_parameters_without_preload_content(
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
keywords: Annotated[Optional[StrictStr], Field(description="A keyword or group of keywords to filter results.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
- limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -10600,7 +10896,7 @@ def get_sales_search_parameters_without_preload_content(
:type keywords: str
:param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -10637,7 +10933,7 @@ def get_sales_search_parameters_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetClassicSearchParameters200Response",
+ '200': "SearchParametersList",
}
response_data = self.api_client.call_api(
*_param,
@@ -10733,10 +11029,10 @@ def _get_sales_search_parameters_serialize(
@validate_call
def list_classic_user_job_postings(
self,
- state: Annotated[StrictStr, Field(description="A list of Job posting states.")],
+ state: Annotated[List[StrictStr], Field(description="A list of Job posting states.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -10755,12 +11051,12 @@ def list_classic_user_job_postings(
Returns a list of job postings created by the current user.
:param state: A list of Job posting states. (required)
- :type state: str
+ :type state: List[str]
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -10812,10 +11108,10 @@ def list_classic_user_job_postings(
@validate_call
def list_classic_user_job_postings_with_http_info(
self,
- state: Annotated[StrictStr, Field(description="A list of Job posting states.")],
+ state: Annotated[List[StrictStr], Field(description="A list of Job posting states.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -10834,12 +11130,12 @@ def list_classic_user_job_postings_with_http_info(
Returns a list of job postings created by the current user.
:param state: A list of Job posting states. (required)
- :type state: str
+ :type state: List[str]
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -10891,10 +11187,10 @@ def list_classic_user_job_postings_with_http_info(
@validate_call
def list_classic_user_job_postings_without_preload_content(
self,
- state: Annotated[StrictStr, Field(description="A list of Job posting states.")],
+ state: Annotated[List[StrictStr], Field(description="A list of Job posting states.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -10913,12 +11209,12 @@ def list_classic_user_job_postings_without_preload_content(
Returns a list of job postings created by the current user.
:param state: A list of Job posting states. (required)
- :type state: str
+ :type state: List[str]
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -10978,6 +11274,7 @@ def _list_classic_user_job_postings_serialize(
_host = None
_collection_formats: Dict[str, str] = {
+ 'state': 'multi',
}
_path_params: Dict[str, str] = {}
@@ -11046,8 +11343,7 @@ def _list_classic_user_job_postings_serialize(
def perform_classic_companies_search(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
perform_classic_companies_search_request: Optional[PerformClassicCompaniesSearchRequest] = None,
_request_timeout: Union[
None,
@@ -11061,17 +11357,15 @@ def perform_classic_companies_search(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> PerformClassicCompaniesSearch200Response:
+ ) -> CompaniesSearchResults:
"""Perform Companies Search
Returns a list of companies from search results.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
- :type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param perform_classic_companies_search_request:
:type perform_classic_companies_search_request: PerformClassicCompaniesSearchRequest
:param _request_timeout: timeout setting for this request. If one
@@ -11098,8 +11392,7 @@ def perform_classic_companies_search(
_param = self._perform_classic_companies_search_serialize(
account_id=account_id,
- offset=offset,
- limit=limit,
+ cursor=cursor,
perform_classic_companies_search_request=perform_classic_companies_search_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -11108,7 +11401,7 @@ def perform_classic_companies_search(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicCompaniesSearch200Response",
+ '200': "CompaniesSearchResults",
}
response_data = self.api_client.call_api(
*_param,
@@ -11125,8 +11418,7 @@ def perform_classic_companies_search(
def perform_classic_companies_search_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
perform_classic_companies_search_request: Optional[PerformClassicCompaniesSearchRequest] = None,
_request_timeout: Union[
None,
@@ -11140,17 +11432,15 @@ def perform_classic_companies_search_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[PerformClassicCompaniesSearch200Response]:
+ ) -> ApiResponse[CompaniesSearchResults]:
"""Perform Companies Search
Returns a list of companies from search results.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
- :type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param perform_classic_companies_search_request:
:type perform_classic_companies_search_request: PerformClassicCompaniesSearchRequest
:param _request_timeout: timeout setting for this request. If one
@@ -11177,8 +11467,7 @@ def perform_classic_companies_search_with_http_info(
_param = self._perform_classic_companies_search_serialize(
account_id=account_id,
- offset=offset,
- limit=limit,
+ cursor=cursor,
perform_classic_companies_search_request=perform_classic_companies_search_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -11187,7 +11476,7 @@ def perform_classic_companies_search_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicCompaniesSearch200Response",
+ '200': "CompaniesSearchResults",
}
response_data = self.api_client.call_api(
*_param,
@@ -11204,8 +11493,7 @@ def perform_classic_companies_search_with_http_info(
def perform_classic_companies_search_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
perform_classic_companies_search_request: Optional[PerformClassicCompaniesSearchRequest] = None,
_request_timeout: Union[
None,
@@ -11226,10 +11514,8 @@ def perform_classic_companies_search_without_preload_content(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
- :type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param perform_classic_companies_search_request:
:type perform_classic_companies_search_request: PerformClassicCompaniesSearchRequest
:param _request_timeout: timeout setting for this request. If one
@@ -11256,8 +11542,7 @@ def perform_classic_companies_search_without_preload_content(
_param = self._perform_classic_companies_search_serialize(
account_id=account_id,
- offset=offset,
- limit=limit,
+ cursor=cursor,
perform_classic_companies_search_request=perform_classic_companies_search_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -11266,7 +11551,7 @@ def perform_classic_companies_search_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicCompaniesSearch200Response",
+ '200': "CompaniesSearchResults",
}
response_data = self.api_client.call_api(
*_param,
@@ -11278,8 +11563,7 @@ def perform_classic_companies_search_without_preload_content(
def _perform_classic_companies_search_serialize(
self,
account_id,
- offset,
- limit,
+ cursor,
perform_classic_companies_search_request,
_request_auth,
_content_type,
@@ -11305,13 +11589,9 @@ def _perform_classic_companies_search_serialize(
if account_id is not None:
_path_params['account_id'] = account_id
# process the query parameters
- if offset is not None:
-
- _query_params.append(('offset', offset))
-
- if limit is not None:
+ if cursor is not None:
- _query_params.append(('limit', limit))
+ _query_params.append(('cursor', cursor))
# process the header parameters
# process the form parameters
@@ -11369,8 +11649,8 @@ def _perform_classic_companies_search_serialize(
def perform_classic_jobs_search(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_classic_jobs_search_request: Optional[PerformClassicJobsSearchRequest] = None,
_request_timeout: Union[
None,
@@ -11384,16 +11664,16 @@ def perform_classic_jobs_search(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> PerformClassicJobsSearch200Response:
+ ) -> JobsSearchResults1:
"""Perform Jobs Search
Returns a list of job postings from search results.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_classic_jobs_search_request:
:type perform_classic_jobs_search_request: PerformClassicJobsSearchRequest
@@ -11431,7 +11711,7 @@ def perform_classic_jobs_search(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicJobsSearch200Response",
+ '200': "JobsSearchResults1",
}
response_data = self.api_client.call_api(
*_param,
@@ -11448,8 +11728,8 @@ def perform_classic_jobs_search(
def perform_classic_jobs_search_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_classic_jobs_search_request: Optional[PerformClassicJobsSearchRequest] = None,
_request_timeout: Union[
None,
@@ -11463,16 +11743,16 @@ def perform_classic_jobs_search_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[PerformClassicJobsSearch200Response]:
+ ) -> ApiResponse[JobsSearchResults1]:
"""Perform Jobs Search
Returns a list of job postings from search results.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_classic_jobs_search_request:
:type perform_classic_jobs_search_request: PerformClassicJobsSearchRequest
@@ -11510,7 +11790,7 @@ def perform_classic_jobs_search_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicJobsSearch200Response",
+ '200': "JobsSearchResults1",
}
response_data = self.api_client.call_api(
*_param,
@@ -11527,8 +11807,8 @@ def perform_classic_jobs_search_with_http_info(
def perform_classic_jobs_search_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_classic_jobs_search_request: Optional[PerformClassicJobsSearchRequest] = None,
_request_timeout: Union[
None,
@@ -11549,9 +11829,9 @@ def perform_classic_jobs_search_without_preload_content(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_classic_jobs_search_request:
:type perform_classic_jobs_search_request: PerformClassicJobsSearchRequest
@@ -11589,7 +11869,7 @@ def perform_classic_jobs_search_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicJobsSearch200Response",
+ '200': "JobsSearchResults1",
}
response_data = self.api_client.call_api(
*_param,
@@ -11692,8 +11972,7 @@ def _perform_classic_jobs_search_serialize(
def perform_classic_people_search(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
perform_classic_people_search_request: Optional[PerformClassicPeopleSearchRequest] = None,
_request_timeout: Union[
None,
@@ -11707,17 +11986,15 @@ def perform_classic_people_search(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> PerformClassicPeopleSearch200Response:
+ ) -> PeopleSearchResults:
"""Perform People Search
Returns a list of people from search results.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
- :type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param perform_classic_people_search_request:
:type perform_classic_people_search_request: PerformClassicPeopleSearchRequest
:param _request_timeout: timeout setting for this request. If one
@@ -11744,8 +12021,7 @@ def perform_classic_people_search(
_param = self._perform_classic_people_search_serialize(
account_id=account_id,
- offset=offset,
- limit=limit,
+ cursor=cursor,
perform_classic_people_search_request=perform_classic_people_search_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -11754,7 +12030,7 @@ def perform_classic_people_search(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicPeopleSearch200Response",
+ '200': "PeopleSearchResults",
}
response_data = self.api_client.call_api(
*_param,
@@ -11771,8 +12047,7 @@ def perform_classic_people_search(
def perform_classic_people_search_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
perform_classic_people_search_request: Optional[PerformClassicPeopleSearchRequest] = None,
_request_timeout: Union[
None,
@@ -11786,17 +12061,15 @@ def perform_classic_people_search_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[PerformClassicPeopleSearch200Response]:
+ ) -> ApiResponse[PeopleSearchResults]:
"""Perform People Search
Returns a list of people from search results.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
- :type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param perform_classic_people_search_request:
:type perform_classic_people_search_request: PerformClassicPeopleSearchRequest
:param _request_timeout: timeout setting for this request. If one
@@ -11823,8 +12096,7 @@ def perform_classic_people_search_with_http_info(
_param = self._perform_classic_people_search_serialize(
account_id=account_id,
- offset=offset,
- limit=limit,
+ cursor=cursor,
perform_classic_people_search_request=perform_classic_people_search_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -11833,7 +12105,7 @@ def perform_classic_people_search_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicPeopleSearch200Response",
+ '200': "PeopleSearchResults",
}
response_data = self.api_client.call_api(
*_param,
@@ -11850,8 +12122,7 @@ def perform_classic_people_search_with_http_info(
def perform_classic_people_search_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
perform_classic_people_search_request: Optional[PerformClassicPeopleSearchRequest] = None,
_request_timeout: Union[
None,
@@ -11872,10 +12143,8 @@ def perform_classic_people_search_without_preload_content(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
- :type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param perform_classic_people_search_request:
:type perform_classic_people_search_request: PerformClassicPeopleSearchRequest
:param _request_timeout: timeout setting for this request. If one
@@ -11902,8 +12171,7 @@ def perform_classic_people_search_without_preload_content(
_param = self._perform_classic_people_search_serialize(
account_id=account_id,
- offset=offset,
- limit=limit,
+ cursor=cursor,
perform_classic_people_search_request=perform_classic_people_search_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -11912,7 +12180,7 @@ def perform_classic_people_search_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicPeopleSearch200Response",
+ '200': "PeopleSearchResults",
}
response_data = self.api_client.call_api(
*_param,
@@ -11924,8 +12192,7 @@ def perform_classic_people_search_without_preload_content(
def _perform_classic_people_search_serialize(
self,
account_id,
- offset,
- limit,
+ cursor,
perform_classic_people_search_request,
_request_auth,
_content_type,
@@ -11951,13 +12218,9 @@ def _perform_classic_people_search_serialize(
if account_id is not None:
_path_params['account_id'] = account_id
# process the query parameters
- if offset is not None:
-
- _query_params.append(('offset', offset))
-
- if limit is not None:
+ if cursor is not None:
- _query_params.append(('limit', limit))
+ _query_params.append(('cursor', cursor))
# process the header parameters
# process the form parameters
@@ -12015,8 +12278,7 @@ def _perform_classic_people_search_serialize(
def perform_classic_posts_search(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
perform_classic_posts_search_request: Optional[PerformClassicPostsSearchRequest] = None,
_request_timeout: Union[
None,
@@ -12030,17 +12292,15 @@ def perform_classic_posts_search(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> PerformClassicPostsSearch200Response:
+ ) -> PostsSearchResults:
"""Perform Posts Search
Returns a list of posts from search results.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
- :type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param perform_classic_posts_search_request:
:type perform_classic_posts_search_request: PerformClassicPostsSearchRequest
:param _request_timeout: timeout setting for this request. If one
@@ -12067,8 +12327,7 @@ def perform_classic_posts_search(
_param = self._perform_classic_posts_search_serialize(
account_id=account_id,
- offset=offset,
- limit=limit,
+ cursor=cursor,
perform_classic_posts_search_request=perform_classic_posts_search_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -12077,7 +12336,7 @@ def perform_classic_posts_search(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicPostsSearch200Response",
+ '200': "PostsSearchResults",
}
response_data = self.api_client.call_api(
*_param,
@@ -12094,8 +12353,7 @@ def perform_classic_posts_search(
def perform_classic_posts_search_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
perform_classic_posts_search_request: Optional[PerformClassicPostsSearchRequest] = None,
_request_timeout: Union[
None,
@@ -12109,17 +12367,15 @@ def perform_classic_posts_search_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[PerformClassicPostsSearch200Response]:
+ ) -> ApiResponse[PostsSearchResults]:
"""Perform Posts Search
Returns a list of posts from search results.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
- :type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param perform_classic_posts_search_request:
:type perform_classic_posts_search_request: PerformClassicPostsSearchRequest
:param _request_timeout: timeout setting for this request. If one
@@ -12146,8 +12402,7 @@ def perform_classic_posts_search_with_http_info(
_param = self._perform_classic_posts_search_serialize(
account_id=account_id,
- offset=offset,
- limit=limit,
+ cursor=cursor,
perform_classic_posts_search_request=perform_classic_posts_search_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -12156,7 +12411,7 @@ def perform_classic_posts_search_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicPostsSearch200Response",
+ '200': "PostsSearchResults",
}
response_data = self.api_client.call_api(
*_param,
@@ -12173,8 +12428,7 @@ def perform_classic_posts_search_with_http_info(
def perform_classic_posts_search_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
perform_classic_posts_search_request: Optional[PerformClassicPostsSearchRequest] = None,
_request_timeout: Union[
None,
@@ -12195,10 +12449,8 @@ def perform_classic_posts_search_without_preload_content(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
- :type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param perform_classic_posts_search_request:
:type perform_classic_posts_search_request: PerformClassicPostsSearchRequest
:param _request_timeout: timeout setting for this request. If one
@@ -12225,8 +12477,7 @@ def perform_classic_posts_search_without_preload_content(
_param = self._perform_classic_posts_search_serialize(
account_id=account_id,
- offset=offset,
- limit=limit,
+ cursor=cursor,
perform_classic_posts_search_request=perform_classic_posts_search_request,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -12235,7 +12486,7 @@ def perform_classic_posts_search_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "PerformClassicPostsSearch200Response",
+ '200': "PostsSearchResults",
}
response_data = self.api_client.call_api(
*_param,
@@ -12247,8 +12498,7 @@ def perform_classic_posts_search_without_preload_content(
def _perform_classic_posts_search_serialize(
self,
account_id,
- offset,
- limit,
+ cursor,
perform_classic_posts_search_request,
_request_auth,
_content_type,
@@ -12274,13 +12524,9 @@ def _perform_classic_posts_search_serialize(
if account_id is not None:
_path_params['account_id'] = account_id
# process the query parameters
- if offset is not None:
-
- _query_params.append(('offset', offset))
-
- if limit is not None:
+ if cursor is not None:
- _query_params.append(('limit', limit))
+ _query_params.append(('cursor', cursor))
# process the header parameters
# process the form parameters
@@ -12339,8 +12585,9 @@ def perform_classic_search_from_url(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -12362,10 +12609,12 @@ def perform_classic_search_from_url(
:type account_id: str
:param perform_classic_search_from_url_request: (required)
:type perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -12393,6 +12642,7 @@ def perform_classic_search_from_url(
perform_classic_search_from_url_request=perform_classic_search_from_url_request,
offset=offset,
limit=limit,
+ cursor=cursor,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -12418,8 +12668,9 @@ def perform_classic_search_from_url_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -12441,10 +12692,12 @@ def perform_classic_search_from_url_with_http_info(
:type account_id: str
:param perform_classic_search_from_url_request: (required)
:type perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -12472,6 +12725,7 @@ def perform_classic_search_from_url_with_http_info(
perform_classic_search_from_url_request=perform_classic_search_from_url_request,
offset=offset,
limit=limit,
+ cursor=cursor,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -12497,8 +12751,9 @@ def perform_classic_search_from_url_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -12520,10 +12775,12 @@ def perform_classic_search_from_url_without_preload_content(
:type account_id: str
:param perform_classic_search_from_url_request: (required)
:type perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
+ :type cursor: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -12551,6 +12808,7 @@ def perform_classic_search_from_url_without_preload_content(
perform_classic_search_from_url_request=perform_classic_search_from_url_request,
offset=offset,
limit=limit,
+ cursor=cursor,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -12573,6 +12831,7 @@ def _perform_classic_search_from_url_serialize(
perform_classic_search_from_url_request,
offset,
limit,
+ cursor,
_request_auth,
_content_type,
_headers,
@@ -12605,6 +12864,10 @@ def _perform_classic_search_from_url_serialize(
_query_params.append(('limit', limit))
+ if cursor is not None:
+
+ _query_params.append(('cursor', cursor))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -12661,8 +12924,8 @@ def _perform_classic_search_from_url_serialize(
def perform_recruiter_people_search(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_recruiter_people_search_request: Optional[PerformRecruiterPeopleSearchRequest] = None,
_request_timeout: Union[
None,
@@ -12683,9 +12946,9 @@ def perform_recruiter_people_search(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_recruiter_people_search_request:
:type perform_recruiter_people_search_request: PerformRecruiterPeopleSearchRequest
@@ -12740,8 +13003,8 @@ def perform_recruiter_people_search(
def perform_recruiter_people_search_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_recruiter_people_search_request: Optional[PerformRecruiterPeopleSearchRequest] = None,
_request_timeout: Union[
None,
@@ -12762,9 +13025,9 @@ def perform_recruiter_people_search_with_http_info(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_recruiter_people_search_request:
:type perform_recruiter_people_search_request: PerformRecruiterPeopleSearchRequest
@@ -12819,8 +13082,8 @@ def perform_recruiter_people_search_with_http_info(
def perform_recruiter_people_search_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_recruiter_people_search_request: Optional[PerformRecruiterPeopleSearchRequest] = None,
_request_timeout: Union[
None,
@@ -12841,9 +13104,9 @@ def perform_recruiter_people_search_without_preload_content(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_recruiter_people_search_request:
:type perform_recruiter_people_search_request: PerformRecruiterPeopleSearchRequest
@@ -12986,8 +13249,8 @@ def perform_recruiter_people_search_from_talent_pool(
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Talent Pool.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_recruiter_people_search_from_talent_pool_request: PerformRecruiterPeopleSearchFromTalentPoolRequest,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -13011,9 +13274,9 @@ def perform_recruiter_people_search_from_talent_pool(
:type account_id: str
:param perform_recruiter_people_search_from_talent_pool_request: (required)
:type perform_recruiter_people_search_from_talent_pool_request: PerformRecruiterPeopleSearchFromTalentPoolRequest
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -13069,8 +13332,8 @@ def perform_recruiter_people_search_from_talent_pool_with_http_info(
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Talent Pool.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_recruiter_people_search_from_talent_pool_request: PerformRecruiterPeopleSearchFromTalentPoolRequest,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -13094,9 +13357,9 @@ def perform_recruiter_people_search_from_talent_pool_with_http_info(
:type account_id: str
:param perform_recruiter_people_search_from_talent_pool_request: (required)
:type perform_recruiter_people_search_from_talent_pool_request: PerformRecruiterPeopleSearchFromTalentPoolRequest
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -13152,8 +13415,8 @@ def perform_recruiter_people_search_from_talent_pool_without_preload_content(
project_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Hiring Project from which to browse the Talent Pool.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_recruiter_people_search_from_talent_pool_request: PerformRecruiterPeopleSearchFromTalentPoolRequest,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -13177,9 +13440,9 @@ def perform_recruiter_people_search_from_talent_pool_without_preload_content(
:type account_id: str
:param perform_recruiter_people_search_from_talent_pool_request: (required)
:type perform_recruiter_people_search_from_talent_pool_request: PerformRecruiterPeopleSearchFromTalentPoolRequest
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -13323,8 +13586,8 @@ def perform_recruiter_search_from_url(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=5000, strict=True, ge=1)], Annotated[int, Field(le=5000, strict=True, ge=1)]]], Field(description=" `search` and `applicants` channels maximum is 100
`pipeline` channel maximum is 5000")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -13346,9 +13609,9 @@ def perform_recruiter_search_from_url(
:type account_id: str
:param perform_classic_search_from_url_request: (required)
:type perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: `search` and `applicants` channels maximum is 100
`pipeline` channel maximum is 5000
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -13402,8 +13665,8 @@ def perform_recruiter_search_from_url_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=5000, strict=True, ge=1)], Annotated[int, Field(le=5000, strict=True, ge=1)]]], Field(description=" `search` and `applicants` channels maximum is 100
`pipeline` channel maximum is 5000")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -13425,9 +13688,9 @@ def perform_recruiter_search_from_url_with_http_info(
:type account_id: str
:param perform_classic_search_from_url_request: (required)
:type perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: `search` and `applicants` channels maximum is 100
`pipeline` channel maximum is 5000
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -13481,8 +13744,8 @@ def perform_recruiter_search_from_url_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest,
- cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. Use `next_cursor` given by the previous page of the list.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=5000, strict=True, ge=1)], Annotated[int, Field(le=5000, strict=True, ge=1)]]], Field(description=" `search` and `applicants` channels maximum is 100
`pipeline` channel maximum is 5000")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -13504,9 +13767,9 @@ def perform_recruiter_search_from_url_without_preload_content(
:type account_id: str
:param perform_classic_search_from_url_request: (required)
:type perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest
- :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :param cursor: A cursor used for pagination. Use `next_cursor` given by the previous page of the list.
:type cursor: str
- :param limit: The limit of items to be returned.
+ :param limit: `search` and `applicants` channels maximum is 100
`pipeline` channel maximum is 5000
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -13645,8 +13908,8 @@ def _perform_recruiter_search_from_url_serialize(
def perform_sales_companies_search(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_sales_companies_search_request: Optional[PerformSalesCompaniesSearchRequest] = None,
_request_timeout: Union[
None,
@@ -13667,9 +13930,9 @@ def perform_sales_companies_search(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_sales_companies_search_request:
:type perform_sales_companies_search_request: PerformSalesCompaniesSearchRequest
@@ -13724,8 +13987,8 @@ def perform_sales_companies_search(
def perform_sales_companies_search_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_sales_companies_search_request: Optional[PerformSalesCompaniesSearchRequest] = None,
_request_timeout: Union[
None,
@@ -13746,9 +14009,9 @@ def perform_sales_companies_search_with_http_info(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_sales_companies_search_request:
:type perform_sales_companies_search_request: PerformSalesCompaniesSearchRequest
@@ -13803,8 +14066,8 @@ def perform_sales_companies_search_with_http_info(
def perform_sales_companies_search_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_sales_companies_search_request: Optional[PerformSalesCompaniesSearchRequest] = None,
_request_timeout: Union[
None,
@@ -13825,9 +14088,9 @@ def perform_sales_companies_search_without_preload_content(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_sales_companies_search_request:
:type perform_sales_companies_search_request: PerformSalesCompaniesSearchRequest
@@ -13968,8 +14231,8 @@ def _perform_sales_companies_search_serialize(
def perform_sales_people_search(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_sales_people_search_request: Optional[PerformSalesPeopleSearchRequest] = None,
_request_timeout: Union[
None,
@@ -13990,9 +14253,9 @@ def perform_sales_people_search(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_sales_people_search_request:
:type perform_sales_people_search_request: PerformSalesPeopleSearchRequest
@@ -14047,8 +14310,8 @@ def perform_sales_people_search(
def perform_sales_people_search_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_sales_people_search_request: Optional[PerformSalesPeopleSearchRequest] = None,
_request_timeout: Union[
None,
@@ -14069,9 +14332,9 @@ def perform_sales_people_search_with_http_info(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_sales_people_search_request:
:type perform_sales_people_search_request: PerformSalesPeopleSearchRequest
@@ -14126,8 +14389,8 @@ def perform_sales_people_search_with_http_info(
def perform_sales_people_search_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
perform_sales_people_search_request: Optional[PerformSalesPeopleSearchRequest] = None,
_request_timeout: Union[
None,
@@ -14148,9 +14411,9 @@ def perform_sales_people_search_without_preload_content(
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param perform_sales_people_search_request:
:type perform_sales_people_search_request: PerformSalesPeopleSearchRequest
@@ -14292,8 +14555,8 @@ def perform_sales_search_from_url(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=50, strict=True, ge=1)], Annotated[int, Field(le=50, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -14315,9 +14578,9 @@ def perform_sales_search_from_url(
:type account_id: str
:param perform_classic_search_from_url_request: (required)
:type perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -14371,8 +14634,8 @@ def perform_sales_search_from_url_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=50, strict=True, ge=1)], Annotated[int, Field(le=50, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -14394,9 +14657,9 @@ def perform_sales_search_from_url_with_http_info(
:type account_id: str
:param perform_classic_search_from_url_request: (required)
:type perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -14450,8 +14713,8 @@ def perform_sales_search_from_url_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest,
- offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(le=50, strict=True, ge=1)], Annotated[int, Field(le=50, strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -14473,9 +14736,9 @@ def perform_sales_search_from_url_without_preload_content(
:type account_id: str
:param perform_classic_search_from_url_request: (required)
:type perform_classic_search_from_url_request: PerformClassicSearchFromUrlRequest
- :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :param offset: An offset used for pagination.
:type offset: float
- :param limit: The limit of items to be returned.
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
:type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
diff --git a/unipile/api/messaging_api.py b/unipile/api/messaging_api.py
index 965a6de85..00c04e069 100644
--- a/unipile/api/messaging_api.py
+++ b/unipile/api/messaging_api.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -26,6 +26,7 @@
from unipile.models.forward_message_request import ForwardMessageRequest
from unipile.models.get_chat200_response import GetChat200Response
from unipile.models.get_chats_list200_response import GetChatsList200Response
+from unipile.models.get_contacts_list200_response import GetContactsList200Response
from unipile.models.get_inboxes_list200_response import GetInboxesList200Response
from unipile.models.get_message200_response import GetMessage200Response
from unipile.models.get_message_reactions_list200_response import GetMessageReactionsList200Response
@@ -44,8 +45,8 @@
from unipile.models.set_presence200_response import SetPresence200Response
from unipile.models.set_presence_request import SetPresenceRequest
from unipile.models.start_chat200_response import StartChat200Response
-from unipile.models.start_chat_from_inbox_request import StartChatFromInboxRequest
from unipile.models.start_chat_request import StartChatRequest
+from unipile.models.update_chat200_response import UpdateChat200Response
from unipile.models.update_chat_request import UpdateChatRequest
from unipile.api_client import ApiClient, RequestSerialized
@@ -69,8 +70,8 @@ def __init__(self, api_client=None) -> None:
@validate_call
def add_message_reaction(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to add the reaction to.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to add the reaction to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_message_reaction_request: AddMessageReactionRequest,
_request_timeout: Union[
@@ -148,8 +149,8 @@ def add_message_reaction(
@validate_call
def add_message_reaction_with_http_info(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to add the reaction to.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to add the reaction to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_message_reaction_request: AddMessageReactionRequest,
_request_timeout: Union[
@@ -227,8 +228,8 @@ def add_message_reaction_with_http_info(
@validate_call
def add_message_reaction_without_preload_content(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to add the reaction to.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to add the reaction to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_message_reaction_request: AddMessageReactionRequest,
_request_timeout: Union[
@@ -388,7 +389,7 @@ def _add_message_reaction_serialize(
@validate_call
def add_participant(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to add the participant to.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to add the participant to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_participant_request: AddParticipantRequest,
_request_timeout: Union[
@@ -406,7 +407,7 @@ def add_participant(
) -> AddParticipant200Response:
"""Add a Chat Participant
- Adds a new user as participant of chat if you have the rights to. Providers might requires an admin role or some permissions.
Trying to add a participant into a 1to1 chat can fail depending on the provider.
+ Adds a new user as participant of chat if you have the rights to. Providers might requires an admin role or some permissions. Trying to add a participant into a 1to1 chat can fail depending on the provider.
:param chat_id: The ID of the Chat to add the participant to. (required)
:type chat_id: str
@@ -463,7 +464,7 @@ def add_participant(
@validate_call
def add_participant_with_http_info(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to add the participant to.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to add the participant to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_participant_request: AddParticipantRequest,
_request_timeout: Union[
@@ -481,7 +482,7 @@ def add_participant_with_http_info(
) -> ApiResponse[AddParticipant200Response]:
"""Add a Chat Participant
- Adds a new user as participant of chat if you have the rights to. Providers might requires an admin role or some permissions.
Trying to add a participant into a 1to1 chat can fail depending on the provider.
+ Adds a new user as participant of chat if you have the rights to. Providers might requires an admin role or some permissions. Trying to add a participant into a 1to1 chat can fail depending on the provider.
:param chat_id: The ID of the Chat to add the participant to. (required)
:type chat_id: str
@@ -538,7 +539,7 @@ def add_participant_with_http_info(
@validate_call
def add_participant_without_preload_content(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to add the participant to.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to add the participant to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_participant_request: AddParticipantRequest,
_request_timeout: Union[
@@ -556,7 +557,7 @@ def add_participant_without_preload_content(
) -> RESTResponseType:
"""Add a Chat Participant
- Adds a new user as participant of chat if you have the rights to. Providers might requires an admin role or some permissions.
Trying to add a participant into a 1to1 chat can fail depending on the provider.
+ Adds a new user as participant of chat if you have the rights to. Providers might requires an admin role or some permissions. Trying to add a participant into a 1to1 chat can fail depending on the provider.
:param chat_id: The ID of the Chat to add the participant to. (required)
:type chat_id: str
@@ -692,7 +693,7 @@ def _add_participant_serialize(
@validate_call
def delete_chat(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to delete.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -763,7 +764,7 @@ def delete_chat(
@validate_call
def delete_chat_with_http_info(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to delete.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -834,7 +835,7 @@ def delete_chat_with_http_info(
@validate_call
def delete_chat_without_preload_content(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to delete.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -961,8 +962,8 @@ def _delete_chat_serialize(
@validate_call
def delete_message(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to delete.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -979,7 +980,7 @@ def delete_message(
) -> None:
"""Delete a Message
- Deletes one of your own messages. Depending of the provider, the message might still be visible as deleted.
Trying to delete the message of another user will fail.
+ Deletes one of your own messages. Depending of the provider, the message might still be visible as deleted. Trying to delete the message of another user will fail.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -1036,8 +1037,8 @@ def delete_message(
@validate_call
def delete_message_with_http_info(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to delete.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1054,7 +1055,7 @@ def delete_message_with_http_info(
) -> ApiResponse[None]:
"""Delete a Message
- Deletes one of your own messages. Depending of the provider, the message might still be visible as deleted.
Trying to delete the message of another user will fail.
+ Deletes one of your own messages. Depending of the provider, the message might still be visible as deleted. Trying to delete the message of another user will fail.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -1111,8 +1112,8 @@ def delete_message_with_http_info(
@validate_call
def delete_message_without_preload_content(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to delete.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1129,7 +1130,7 @@ def delete_message_without_preload_content(
) -> RESTResponseType:
"""Delete a Message
- Deletes one of your own messages. Depending of the provider, the message might still be visible as deleted.
Trying to delete the message of another user will fail.
+ Deletes one of your own messages. Depending of the provider, the message might still be visible as deleted. Trying to delete the message of another user will fail.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -1245,8 +1246,8 @@ def _delete_message_serialize(
@validate_call
def forward_message(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to forward.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to forward.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
forward_message_request: ForwardMessageRequest,
_request_timeout: Union[
@@ -1324,8 +1325,8 @@ def forward_message(
@validate_call
def forward_message_with_http_info(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to forward.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to forward.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
forward_message_request: ForwardMessageRequest,
_request_timeout: Union[
@@ -1403,8 +1404,8 @@ def forward_message_with_http_info(
@validate_call
def forward_message_without_preload_content(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to forward.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to forward.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
forward_message_request: ForwardMessageRequest,
_request_timeout: Union[
@@ -1564,9 +1565,9 @@ def _forward_message_serialize(
@validate_call
def get_attachment(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat where the parent message of the attachment is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message where the attachment is.")],
- attachment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Attachment to retrieve.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the parent message of the attachment is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message where the attachment is.")],
+ attachment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Attachment to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1643,9 +1644,9 @@ def get_attachment(
@validate_call
def get_attachment_with_http_info(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat where the parent message of the attachment is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message where the attachment is.")],
- attachment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Attachment to retrieve.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the parent message of the attachment is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message where the attachment is.")],
+ attachment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Attachment to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1722,9 +1723,9 @@ def get_attachment_with_http_info(
@validate_call
def get_attachment_without_preload_content(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat where the parent message of the attachment is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message where the attachment is.")],
- attachment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Attachment to retrieve.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the parent message of the attachment is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message where the attachment is.")],
+ attachment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Attachment to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1863,7 +1864,7 @@ def _get_attachment_serialize(
@validate_call
def get_chat(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to retrieve.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1934,7 +1935,7 @@ def get_chat(
@validate_call
def get_chat_with_http_info(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to retrieve.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -2005,7 +2006,7 @@ def get_chat_with_http_info(
@validate_call
def get_chat_without_preload_content(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to retrieve.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -2141,8 +2142,8 @@ def get_chats_list(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
type: Annotated[Optional[StrictStr], Field(description="Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.")] = None,
before: Annotated[Optional[StrictStr], Field(description="A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
after: Annotated[Optional[StrictStr], Field(description="A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ)..")] = None,
@@ -2163,16 +2164,16 @@ def get_chats_list(
) -> GetChatsList200Response:
"""List all Chats
- Returns a list of account's chats, whatever the inbox they belong to. The chats are returned sorted by their last message date, with the most recent appearing first. You might want to use the List inbox Chats instead if not supported by the provider. Filters are applied with an AND logic if supported by the provider.
+ Returns a list of account's chats, whatever the inbox they belong to. The chats are returned sorted by their last message date, with the most recent appearing first. You might want to use the List inbox Chats instead if not supported by the provider. Filters are applied with an AND logic if supported by the provider.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param type: Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.
:type type: str
:param before: A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
@@ -2208,8 +2209,8 @@ def get_chats_list(
_param = self._get_chats_list_serialize(
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
type=type,
before=before,
after=after,
@@ -2240,8 +2241,8 @@ def get_chats_list_with_http_info(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
type: Annotated[Optional[StrictStr], Field(description="Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.")] = None,
before: Annotated[Optional[StrictStr], Field(description="A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
after: Annotated[Optional[StrictStr], Field(description="A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ)..")] = None,
@@ -2262,16 +2263,16 @@ def get_chats_list_with_http_info(
) -> ApiResponse[GetChatsList200Response]:
"""List all Chats
- Returns a list of account's chats, whatever the inbox they belong to. The chats are returned sorted by their last message date, with the most recent appearing first. You might want to use the List inbox Chats instead if not supported by the provider. Filters are applied with an AND logic if supported by the provider.
+ Returns a list of account's chats, whatever the inbox they belong to. The chats are returned sorted by their last message date, with the most recent appearing first. You might want to use the List inbox Chats instead if not supported by the provider. Filters are applied with an AND logic if supported by the provider.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param type: Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.
:type type: str
:param before: A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
@@ -2307,8 +2308,8 @@ def get_chats_list_with_http_info(
_param = self._get_chats_list_serialize(
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
type=type,
before=before,
after=after,
@@ -2339,8 +2340,8 @@ def get_chats_list_without_preload_content(
self,
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
type: Annotated[Optional[StrictStr], Field(description="Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.")] = None,
before: Annotated[Optional[StrictStr], Field(description="A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
after: Annotated[Optional[StrictStr], Field(description="A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ)..")] = None,
@@ -2361,16 +2362,16 @@ def get_chats_list_without_preload_content(
) -> RESTResponseType:
"""List all Chats
- Returns a list of account's chats, whatever the inbox they belong to. The chats are returned sorted by their last message date, with the most recent appearing first. You might want to use the List inbox Chats instead if not supported by the provider. Filters are applied with an AND logic if supported by the provider.
+ Returns a list of account's chats, whatever the inbox they belong to. The chats are returned sorted by their last message date, with the most recent appearing first. You might want to use the List inbox Chats instead if not supported by the provider. Filters are applied with an AND logic if supported by the provider.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param type: Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.
:type type: str
:param before: A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
@@ -2406,8 +2407,8 @@ def get_chats_list_without_preload_content(
_param = self._get_chats_list_serialize(
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
type=type,
before=before,
after=after,
@@ -2433,8 +2434,8 @@ def _get_chats_list_serialize(
self,
account_id,
offset,
- limit,
cursor,
+ limit,
type,
before,
after,
@@ -2468,14 +2469,14 @@ def _get_chats_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
if type is not None:
_query_params.append(('type', type))
@@ -2533,14 +2534,326 @@ def _get_chats_list_serialize(
+ @validate_call
+ def get_contacts_list(
+ self,
+ account_id: StrictStr,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> GetContactsList200Response:
+ """List contacts
+
+ Returns a list of contacts for the connected account. Served by the email provider for email accounts and by the messaging provider for messaging accounts (e.g. WhatsApp). On providers where a contact is an overlay over a user, the contact carries the account owner's chosen name while the nested `user` object carries the user's own identity.
+
+ :param account_id: (required)
+ :type account_id: str
+ :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :type offset: float
+ :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._get_contacts_list_serialize(
+ account_id=account_id,
+ offset=offset,
+ cursor=cursor,
+ limit=limit,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "GetContactsList200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ ).data
+
+
+ @validate_call
+ def get_contacts_list_with_http_info(
+ self,
+ account_id: StrictStr,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> ApiResponse[GetContactsList200Response]:
+ """List contacts
+
+ Returns a list of contacts for the connected account. Served by the email provider for email accounts and by the messaging provider for messaging accounts (e.g. WhatsApp). On providers where a contact is an overlay over a user, the contact carries the account owner's chosen name while the nested `user` object carries the user's own identity.
+
+ :param account_id: (required)
+ :type account_id: str
+ :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :type offset: float
+ :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._get_contacts_list_serialize(
+ account_id=account_id,
+ offset=offset,
+ cursor=cursor,
+ limit=limit,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "GetContactsList200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ )
+
+
+ @validate_call
+ def get_contacts_list_without_preload_content(
+ self,
+ account_id: StrictStr,
+ offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
+ cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> RESTResponseType:
+ """List contacts
+
+ Returns a list of contacts for the connected account. Served by the email provider for email accounts and by the messaging provider for messaging accounts (e.g. WhatsApp). On providers where a contact is an overlay over a user, the contact carries the account owner's chosen name while the nested `user` object carries the user's own identity.
+
+ :param account_id: (required)
+ :type account_id: str
+ :param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
+ :type offset: float
+ :param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
+ :type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._get_contacts_list_serialize(
+ account_id=account_id,
+ offset=offset,
+ cursor=cursor,
+ limit=limit,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "GetContactsList200Response",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ return response_data.response
+
+
+ def _get_contacts_list_serialize(
+ self,
+ account_id,
+ offset,
+ cursor,
+ limit,
+ _request_auth,
+ _content_type,
+ _headers,
+ _host_index,
+ ) -> RequestSerialized:
+
+ _host = None
+
+ _collection_formats: Dict[str, str] = {
+ }
+
+ _path_params: Dict[str, str] = {}
+ _query_params: List[Tuple[str, str]] = []
+ _header_params: Dict[str, Optional[str]] = _headers or {}
+ _form_params: List[Tuple[str, str]] = []
+ _files: Dict[
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
+ ] = {}
+ _body_params: Optional[bytes] = None
+
+ # process the path parameters
+ if account_id is not None:
+ _path_params['account_id'] = account_id
+ # process the query parameters
+ if offset is not None:
+
+ _query_params.append(('offset', offset))
+
+ if cursor is not None:
+
+ _query_params.append(('cursor', cursor))
+
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
+ # process the header parameters
+ # process the form parameters
+ # process the body parameter
+
+
+ # set the HTTP header `Accept`
+ if 'Accept' not in _header_params:
+ _header_params['Accept'] = self.api_client.select_header_accept(
+ [
+ 'application/json'
+ ]
+ )
+
+
+ # authentication setting
+ _auth_settings: List[str] = [
+ 'apiKey'
+ ]
+
+ return self.api_client.param_serialize(
+ method='GET',
+ resource_path='/v2/{account_id}/contacts',
+ path_params=_path_params,
+ query_params=_query_params,
+ header_params=_header_params,
+ body=_body_params,
+ post_params=_form_params,
+ files=_files,
+ auth_settings=_auth_settings,
+ collection_formats=_collection_formats,
+ _host=_host,
+ _request_auth=_request_auth
+ )
+
+
+
+
@validate_call
def get_inbox_chats_list(
self,
- inbox_id: Annotated[Optional[StrictStr], Field(description="ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox.")],
+ inbox_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
type: Annotated[Optional[StrictStr], Field(description="Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.")] = None,
before: Annotated[Optional[StrictStr], Field(description="A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
after: Annotated[Optional[StrictStr], Field(description="A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ)..")] = None,
@@ -2561,18 +2874,18 @@ def get_inbox_chats_list(
) -> GetChatsList200Response:
"""List Inbox Chats
- Returns a list of account's chats from a specific inbox. The chats are returned sorted by their last message date, with the most recent appearing first. Filters are applied with an AND logic if supported by the provider.
+ Returns a list of account's chats from a specific inbox. The chats are returned sorted by their last message date, with the most recent appearing first. Filters are applied with an AND logic if supported by the provider.
- :param inbox_id: ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox. (required)
+ :param inbox_id: ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox. (required)
:type inbox_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param type: Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.
:type type: str
:param before: A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
@@ -2609,8 +2922,8 @@ def get_inbox_chats_list(
inbox_id=inbox_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
type=type,
before=before,
after=after,
@@ -2639,11 +2952,11 @@ def get_inbox_chats_list(
@validate_call
def get_inbox_chats_list_with_http_info(
self,
- inbox_id: Annotated[Optional[StrictStr], Field(description="ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox.")],
+ inbox_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
type: Annotated[Optional[StrictStr], Field(description="Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.")] = None,
before: Annotated[Optional[StrictStr], Field(description="A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
after: Annotated[Optional[StrictStr], Field(description="A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ)..")] = None,
@@ -2664,18 +2977,18 @@ def get_inbox_chats_list_with_http_info(
) -> ApiResponse[GetChatsList200Response]:
"""List Inbox Chats
- Returns a list of account's chats from a specific inbox. The chats are returned sorted by their last message date, with the most recent appearing first. Filters are applied with an AND logic if supported by the provider.
+ Returns a list of account's chats from a specific inbox. The chats are returned sorted by their last message date, with the most recent appearing first. Filters are applied with an AND logic if supported by the provider.
- :param inbox_id: ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox. (required)
+ :param inbox_id: ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox. (required)
:type inbox_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param type: Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.
:type type: str
:param before: A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
@@ -2712,8 +3025,8 @@ def get_inbox_chats_list_with_http_info(
inbox_id=inbox_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
type=type,
before=before,
after=after,
@@ -2742,11 +3055,11 @@ def get_inbox_chats_list_with_http_info(
@validate_call
def get_inbox_chats_list_without_preload_content(
self,
- inbox_id: Annotated[Optional[StrictStr], Field(description="ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox.")],
+ inbox_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
type: Annotated[Optional[StrictStr], Field(description="Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.")] = None,
before: Annotated[Optional[StrictStr], Field(description="A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
after: Annotated[Optional[StrictStr], Field(description="A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ)..")] = None,
@@ -2767,18 +3080,18 @@ def get_inbox_chats_list_without_preload_content(
) -> RESTResponseType:
"""List Inbox Chats
- Returns a list of account's chats from a specific inbox. The chats are returned sorted by their last message date, with the most recent appearing first. Filters are applied with an AND logic if supported by the provider.
+ Returns a list of account's chats from a specific inbox. The chats are returned sorted by their last message date, with the most recent appearing first. Filters are applied with an AND logic if supported by the provider.
- :param inbox_id: ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox. (required)
+ :param inbox_id: ID of the Inbox to retrieve Chats from. Use List all Inboxes to get the ID of an inbox. (required)
:type inbox_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param type: Return only chats of the given type (if supported by the provider). - `1to1` is a 1to1 chat. - `group` is a group chat. - `channel` is a channel chat.
:type type: str
:param before: A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
@@ -2815,8 +3128,8 @@ def get_inbox_chats_list_without_preload_content(
inbox_id=inbox_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
type=type,
before=before,
after=after,
@@ -2843,8 +3156,8 @@ def _get_inbox_chats_list_serialize(
inbox_id,
account_id,
offset,
- limit,
cursor,
+ limit,
type,
before,
after,
@@ -2880,14 +3193,14 @@ def _get_inbox_chats_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
if type is not None:
_query_params.append(('type', type))
@@ -3209,8 +3522,8 @@ def _get_inboxes_list_serialize(
@validate_call
def get_message(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to retrieve.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -3284,8 +3597,8 @@ def get_message(
@validate_call
def get_message_with_http_info(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to retrieve.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -3359,8 +3672,8 @@ def get_message_with_http_info(
@validate_call
def get_message_without_preload_content(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to retrieve.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -3500,12 +3813,12 @@ def _get_message_serialize(
@validate_call
def get_message_reactions_list(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to retrieve reactions from.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to retrieve reactions from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3531,10 +3844,10 @@ def get_message_reactions_list(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3562,8 +3875,8 @@ def get_message_reactions_list(
message_id=message_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3587,12 +3900,12 @@ def get_message_reactions_list(
@validate_call
def get_message_reactions_list_with_http_info(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to retrieve reactions from.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to retrieve reactions from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3618,10 +3931,10 @@ def get_message_reactions_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3649,8 +3962,8 @@ def get_message_reactions_list_with_http_info(
message_id=message_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3674,12 +3987,12 @@ def get_message_reactions_list_with_http_info(
@validate_call
def get_message_reactions_list_without_preload_content(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to retrieve reactions from.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to retrieve reactions from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3705,10 +4018,10 @@ def get_message_reactions_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3736,8 +4049,8 @@ def get_message_reactions_list_without_preload_content(
message_id=message_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3760,8 +4073,8 @@ def _get_message_reactions_list_serialize(
message_id,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -3794,14 +4107,14 @@ def _get_message_reactions_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -3842,14 +4155,14 @@ def _get_message_reactions_list_serialize(
@validate_call
def get_messages_list(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to retrieve messages from.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to retrieve messages from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
before: Annotated[Optional[StrictStr], Field(description="Filter to only return messages sent before the given timestamp (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
after: Annotated[Optional[StrictStr], Field(description="Filter to only return messages sent after the given timestamp (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
user_id: Annotated[Optional[StrictStr], Field(description="Filter to only return messages sent by the given User.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3879,10 +4192,10 @@ def get_messages_list(
:type user_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3912,8 +4225,8 @@ def get_messages_list(
after=after,
user_id=user_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3937,14 +4250,14 @@ def get_messages_list(
@validate_call
def get_messages_list_with_http_info(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to retrieve messages from.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to retrieve messages from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
before: Annotated[Optional[StrictStr], Field(description="Filter to only return messages sent before the given timestamp (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
after: Annotated[Optional[StrictStr], Field(description="Filter to only return messages sent after the given timestamp (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
user_id: Annotated[Optional[StrictStr], Field(description="Filter to only return messages sent by the given User.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3974,10 +4287,10 @@ def get_messages_list_with_http_info(
:type user_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -4007,8 +4320,8 @@ def get_messages_list_with_http_info(
after=after,
user_id=user_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -4032,14 +4345,14 @@ def get_messages_list_with_http_info(
@validate_call
def get_messages_list_without_preload_content(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to retrieve messages from.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to retrieve messages from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
before: Annotated[Optional[StrictStr], Field(description="Filter to only return messages sent before the given timestamp (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
after: Annotated[Optional[StrictStr], Field(description="Filter to only return messages sent after the given timestamp (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")] = None,
user_id: Annotated[Optional[StrictStr], Field(description="Filter to only return messages sent by the given User.")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -4069,10 +4382,10 @@ def get_messages_list_without_preload_content(
:type user_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -4102,8 +4415,8 @@ def get_messages_list_without_preload_content(
after=after,
user_id=user_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -4128,8 +4441,8 @@ def _get_messages_list_serialize(
after,
user_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -4172,14 +4485,14 @@ def _get_messages_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -4220,11 +4533,11 @@ def _get_messages_list_serialize(
@validate_call
def get_participants_list(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to retrieve participants from.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to retrieve participants from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -4240,7 +4553,7 @@ def get_participants_list(
) -> GetParticipantsList200Response:
"""List all Chat Participants
- Returns a list of participants in the specified group chat. For 1to1 chats, the unique participant is given in the chat object.
Trying to retrieve the list of participants of a 1to1 chat will fail.
+ Returns a list of participants in the specified group chat. For 1to1 chats, the unique participant is given in the chat object. Trying to retrieve the list of participants of a 1to1 chat will fail.
:param chat_id: ID of the Chat to retrieve participants from. (required)
:type chat_id: str
@@ -4248,10 +4561,10 @@ def get_participants_list(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -4278,8 +4591,8 @@ def get_participants_list(
chat_id=chat_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -4303,11 +4616,11 @@ def get_participants_list(
@validate_call
def get_participants_list_with_http_info(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to retrieve participants from.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to retrieve participants from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -4323,7 +4636,7 @@ def get_participants_list_with_http_info(
) -> ApiResponse[GetParticipantsList200Response]:
"""List all Chat Participants
- Returns a list of participants in the specified group chat. For 1to1 chats, the unique participant is given in the chat object.
Trying to retrieve the list of participants of a 1to1 chat will fail.
+ Returns a list of participants in the specified group chat. For 1to1 chats, the unique participant is given in the chat object. Trying to retrieve the list of participants of a 1to1 chat will fail.
:param chat_id: ID of the Chat to retrieve participants from. (required)
:type chat_id: str
@@ -4331,10 +4644,10 @@ def get_participants_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -4361,8 +4674,8 @@ def get_participants_list_with_http_info(
chat_id=chat_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -4386,11 +4699,11 @@ def get_participants_list_with_http_info(
@validate_call
def get_participants_list_without_preload_content(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to retrieve participants from.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to retrieve participants from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -4406,7 +4719,7 @@ def get_participants_list_without_preload_content(
) -> RESTResponseType:
"""List all Chat Participants
- Returns a list of participants in the specified group chat. For 1to1 chats, the unique participant is given in the chat object.
Trying to retrieve the list of participants of a 1to1 chat will fail.
+ Returns a list of participants in the specified group chat. For 1to1 chats, the unique participant is given in the chat object. Trying to retrieve the list of participants of a 1to1 chat will fail.
:param chat_id: ID of the Chat to retrieve participants from. (required)
:type chat_id: str
@@ -4414,10 +4727,10 @@ def get_participants_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -4444,8 +4757,8 @@ def get_participants_list_without_preload_content(
chat_id=chat_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -4467,8 +4780,8 @@ def _get_participants_list_serialize(
chat_id,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -4499,14 +4812,14 @@ def _get_participants_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -4547,7 +4860,7 @@ def _get_participants_list_serialize(
@validate_call
def get_user_chat(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="ID of the User whose existing 1to1 Chat should be retrieved.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the User whose existing 1to1 Chat should be retrieved.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -4618,7 +4931,7 @@ def get_user_chat(
@validate_call
def get_user_chat_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="ID of the User whose existing 1to1 Chat should be retrieved.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the User whose existing 1to1 Chat should be retrieved.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -4689,7 +5002,7 @@ def get_user_chat_with_http_info(
@validate_call
def get_user_chat_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="ID of the User whose existing 1to1 Chat should be retrieved.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the User whose existing 1to1 Chat should be retrieved.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -4823,8 +5136,8 @@ def _get_user_chat_serialize(
@validate_call
def modify_message(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to modify.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to modify.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
modify_message_request: ModifyMessageRequest,
_request_timeout: Union[
@@ -4842,7 +5155,7 @@ def modify_message(
) -> ModifyMessage200Response:
"""Modify a Message
- Modifies one of the account's owner messages.
Trying to modify the message of another user will fail.
+ Modifies one of the account's owner messages. Trying to modify the message of another user will fail.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -4902,8 +5215,8 @@ def modify_message(
@validate_call
def modify_message_with_http_info(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to modify.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to modify.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
modify_message_request: ModifyMessageRequest,
_request_timeout: Union[
@@ -4921,7 +5234,7 @@ def modify_message_with_http_info(
) -> ApiResponse[ModifyMessage200Response]:
"""Modify a Message
- Modifies one of the account's owner messages.
Trying to modify the message of another user will fail.
+ Modifies one of the account's owner messages. Trying to modify the message of another user will fail.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -4981,8 +5294,8 @@ def modify_message_with_http_info(
@validate_call
def modify_message_without_preload_content(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to modify.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to modify.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
modify_message_request: ModifyMessageRequest,
_request_timeout: Union[
@@ -5000,7 +5313,7 @@ def modify_message_without_preload_content(
) -> RESTResponseType:
"""Modify a Message
- Modifies one of the account's owner messages.
Trying to modify the message of another user will fail.
+ Modifies one of the account's owner messages. Trying to modify the message of another user will fail.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -5142,8 +5455,8 @@ def _modify_message_serialize(
@validate_call
def read_message(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to mark as read.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to mark as read.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -5160,7 +5473,7 @@ def read_message(
) -> ReadMessage200Response:
"""Read a Message
- Marks a message sent in the chat by another user as read by you. Trying to mark your own messages as read will fail. This does not affect the read status of the chat. Use Update a Chat to mark a chat as read.
+ Marks a message sent in the chat by another user as read by you. Trying to mark your own messages as read will fail. This does not affect the read status of the chat. Use Update a Chat to mark a chat as read.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -5217,8 +5530,8 @@ def read_message(
@validate_call
def read_message_with_http_info(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to mark as read.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to mark as read.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -5235,7 +5548,7 @@ def read_message_with_http_info(
) -> ApiResponse[ReadMessage200Response]:
"""Read a Message
- Marks a message sent in the chat by another user as read by you. Trying to mark your own messages as read will fail. This does not affect the read status of the chat. Use Update a Chat to mark a chat as read.
+ Marks a message sent in the chat by another user as read by you. Trying to mark your own messages as read will fail. This does not affect the read status of the chat. Use Update a Chat to mark a chat as read.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -5292,8 +5605,8 @@ def read_message_with_http_info(
@validate_call
def read_message_without_preload_content(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message to mark as read.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message to mark as read.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -5310,7 +5623,7 @@ def read_message_without_preload_content(
) -> RESTResponseType:
"""Read a Message
- Marks a message sent in the chat by another user as read by you. Trying to mark your own messages as read will fail. This does not affect the read status of the chat. Use Update a Chat to mark a chat as read.
+ Marks a message sent in the chat by another user as read by you. Trying to mark your own messages as read will fail. This does not affect the read status of the chat. Use Update a Chat to mark a chat as read.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -5433,8 +5746,8 @@ def _read_message_serialize(
@validate_call
def remove_message_reaction(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message where the reaction is.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message where the reaction is.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
remove_message_reaction_request: RemoveMessageReactionRequest,
_request_timeout: Union[
@@ -5452,7 +5765,7 @@ def remove_message_reaction(
) -> RemoveMessageReaction200Response:
"""Remove a Message Reaction
- Removes a reaction of the account's owner from a message. Trying to remove a reaction from another user will fail.
+ Removes a reaction of the account's owner from a message. Trying to remove a reaction from another user will fail.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -5512,8 +5825,8 @@ def remove_message_reaction(
@validate_call
def remove_message_reaction_with_http_info(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message where the reaction is.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message where the reaction is.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
remove_message_reaction_request: RemoveMessageReactionRequest,
_request_timeout: Union[
@@ -5531,7 +5844,7 @@ def remove_message_reaction_with_http_info(
) -> ApiResponse[RemoveMessageReaction200Response]:
"""Remove a Message Reaction
- Removes a reaction of the account's owner from a message. Trying to remove a reaction from another user will fail.
+ Removes a reaction of the account's owner from a message. Trying to remove a reaction from another user will fail.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -5591,8 +5904,8 @@ def remove_message_reaction_with_http_info(
@validate_call
def remove_message_reaction_without_preload_content(
self,
- chat_id: Annotated[StrictStr, Field(description="The ID of the Chat where the message is.")],
- message_id: Annotated[Optional[StrictStr], Field(description="The ID of the Message where the reaction is.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat where the message is.")],
+ message_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Message where the reaction is.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
remove_message_reaction_request: RemoveMessageReactionRequest,
_request_timeout: Union[
@@ -5610,7 +5923,7 @@ def remove_message_reaction_without_preload_content(
) -> RESTResponseType:
"""Remove a Message Reaction
- Removes a reaction of the account's owner from a message. Trying to remove a reaction from another user will fail.
+ Removes a reaction of the account's owner from a message. Trying to remove a reaction from another user will fail.
:param chat_id: The ID of the Chat where the message is. (required)
:type chat_id: str
@@ -5752,8 +6065,8 @@ def _remove_message_reaction_serialize(
@validate_call
def remove_participant(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to remove the participant from.")],
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to remove from the chat.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to remove the participant from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to remove from the chat.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -5770,7 +6083,7 @@ def remove_participant(
) -> RemoveParticipant200Response:
"""Remove a Chat Participant
- Removes a participant user from a chat if you have the rights to. Providers might requires an admin role or some permissions.
Trying to remove a participant from a 1to1 chat will fail.
+ Removes a participant user from a chat if you have the rights to. Providers might requires an admin role or some permissions. Trying to remove a participant from a 1to1 chat will fail.
:param chat_id: The ID of the Chat to remove the participant from. (required)
:type chat_id: str
@@ -5827,8 +6140,8 @@ def remove_participant(
@validate_call
def remove_participant_with_http_info(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to remove the participant from.")],
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to remove from the chat.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to remove the participant from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to remove from the chat.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -5845,7 +6158,7 @@ def remove_participant_with_http_info(
) -> ApiResponse[RemoveParticipant200Response]:
"""Remove a Chat Participant
- Removes a participant user from a chat if you have the rights to. Providers might requires an admin role or some permissions.
Trying to remove a participant from a 1to1 chat will fail.
+ Removes a participant user from a chat if you have the rights to. Providers might requires an admin role or some permissions. Trying to remove a participant from a 1to1 chat will fail.
:param chat_id: The ID of the Chat to remove the participant from. (required)
:type chat_id: str
@@ -5902,8 +6215,8 @@ def remove_participant_with_http_info(
@validate_call
def remove_participant_without_preload_content(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to remove the participant from.")],
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to remove from the chat.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to remove the participant from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to remove from the chat.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -5920,7 +6233,7 @@ def remove_participant_without_preload_content(
) -> RESTResponseType:
"""Remove a Chat Participant
- Removes a participant user from a chat if you have the rights to. Providers might requires an admin role or some permissions.
Trying to remove a participant from a 1to1 chat will fail.
+ Removes a participant user from a chat if you have the rights to. Providers might requires an admin role or some permissions. Trying to remove a participant from a 1to1 chat will fail.
:param chat_id: The ID of the Chat to remove the participant from. (required)
:type chat_id: str
@@ -6043,7 +6356,7 @@ def _remove_participant_serialize(
@validate_call
def send_message(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to send the message to.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to send the message to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
send_message_request: SendMessageRequest,
_request_timeout: Union[
@@ -6061,7 +6374,7 @@ def send_message(
) -> SendMessage200Response:
"""Send a Message
- Sends a message in the specified chat.
Use Start a Chat if you don't have a conversation with the wanted user(s) yet.
Multipart supported, refer to Sending Files.
+ Sends a message in the specified chat. Use Start a Chat or Start a Chat from Inbox if no conversation has been started with the specified user or group of users yet.
Multipart supported, refer to Sending Files.
:param chat_id: The ID of the Chat to send the message to. (required)
:type chat_id: str
@@ -6118,7 +6431,7 @@ def send_message(
@validate_call
def send_message_with_http_info(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to send the message to.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to send the message to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
send_message_request: SendMessageRequest,
_request_timeout: Union[
@@ -6136,7 +6449,7 @@ def send_message_with_http_info(
) -> ApiResponse[SendMessage200Response]:
"""Send a Message
- Sends a message in the specified chat.
Use Start a Chat if you don't have a conversation with the wanted user(s) yet.
Multipart supported, refer to Sending Files.
+ Sends a message in the specified chat. Use Start a Chat or Start a Chat from Inbox if no conversation has been started with the specified user or group of users yet.
Multipart supported, refer to Sending Files.
:param chat_id: The ID of the Chat to send the message to. (required)
:type chat_id: str
@@ -6193,7 +6506,7 @@ def send_message_with_http_info(
@validate_call
def send_message_without_preload_content(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="The ID of the Chat to send the message to.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Chat to send the message to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
send_message_request: SendMessageRequest,
_request_timeout: Union[
@@ -6211,7 +6524,7 @@ def send_message_without_preload_content(
) -> RESTResponseType:
"""Send a Message
- Sends a message in the specified chat.
Use Start a Chat if you don't have a conversation with the wanted user(s) yet.
Multipart supported, refer to Sending Files.
+ Sends a message in the specified chat. Use Start a Chat or Start a Chat from Inbox if no conversation has been started with the specified user or group of users yet.
Multipart supported, refer to Sending Files.
:param chat_id: The ID of the Chat to send the message to. (required)
:type chat_id: str
@@ -6348,7 +6661,7 @@ def _send_message_serialize(
def set_composing_status(
self,
action: Annotated[StrictStr, Field(description="The composing status of a user in a chat. - `typing` if the user is typing / sending a message. This presence must target a chat. - `recording` if the user is recording a voice note. This presence must target a chat.")],
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat where the composing action is taking place.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat where the composing action is taking place.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -6423,7 +6736,7 @@ def set_composing_status(
def set_composing_status_with_http_info(
self,
action: Annotated[StrictStr, Field(description="The composing status of a user in a chat. - `typing` if the user is typing / sending a message. This presence must target a chat. - `recording` if the user is recording a voice note. This presence must target a chat.")],
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat where the composing action is taking place.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat where the composing action is taking place.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -6498,7 +6811,7 @@ def set_composing_status_with_http_info(
def set_composing_status_without_preload_content(
self,
action: Annotated[StrictStr, Field(description="The composing status of a user in a chat. - `typing` if the user is typing / sending a message. This presence must target a chat. - `recording` if the user is recording a voice note. This presence must target a chat.")],
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat where the composing action is taking place.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat where the composing action is taking place.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -6946,7 +7259,7 @@ def start_chat(
) -> StartChat200Response:
"""Start a Chat
- Starts a new 1to1 or group chat by sending the first message.
Use Send a Message if a conversation already exist with the wanted user(s).
Use Start a Chat from Inbox if the provider uses the inbox concept.
Multipart supported, refer to Sending Files.
+ Starts a new 1to1 or group chat by sending the first message. Use Send a Message if a conversation already exist with the wanted user(s). Use Start a Chat from Inbox if the provider uses the inbox concept.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -7017,7 +7330,7 @@ def start_chat_with_http_info(
) -> ApiResponse[StartChat200Response]:
"""Start a Chat
- Starts a new 1to1 or group chat by sending the first message.
Use Send a Message if a conversation already exist with the wanted user(s).
Use Start a Chat from Inbox if the provider uses the inbox concept.
Multipart supported, refer to Sending Files.
+ Starts a new 1to1 or group chat by sending the first message. Use Send a Message if a conversation already exist with the wanted user(s). Use Start a Chat from Inbox if the provider uses the inbox concept.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -7088,7 +7401,7 @@ def start_chat_without_preload_content(
) -> RESTResponseType:
"""Start a Chat
- Starts a new 1to1 or group chat by sending the first message.
Use Send a Message if a conversation already exist with the wanted user(s).
Use Start a Chat from Inbox if the provider uses the inbox concept.
Multipart supported, refer to Sending Files.
+ Starts a new 1to1 or group chat by sending the first message. Use Send a Message if a conversation already exist with the wanted user(s). Use Start a Chat from Inbox if the provider uses the inbox concept.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -7218,9 +7531,9 @@ def _start_chat_serialize(
@validate_call
def start_chat_from_inbox(
self,
- inbox_id: Annotated[Optional[StrictStr], Field(description="ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox.")],
+ inbox_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- start_chat_from_inbox_request: StartChatFromInboxRequest,
+ start_chat_request: StartChatRequest,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7236,14 +7549,14 @@ def start_chat_from_inbox(
) -> StartChat200Response:
"""Start a Chat from Inbox
- Starts a new 1to1 or group chat in the given inbox by sending the first message.
Use Send a Message if a conversation already exist with the wanted user(s).
Use Start a Chat instead if the provider does not use the inbox concept.
Multipart supported, refer to Sending Files.
+ Starts a new 1to1 or group chat in the given inbox by sending the first message. Use Send a Message if a conversation already exist with the wanted user(s). Use Start a Chat instead if the provider does not use the inbox concept.
Multipart supported, refer to Sending Files.
- :param inbox_id: ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox. (required)
+ :param inbox_id: ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox. (required)
:type inbox_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param start_chat_from_inbox_request: (required)
- :type start_chat_from_inbox_request: StartChatFromInboxRequest
+ :param start_chat_request: (required)
+ :type start_chat_request: StartChatRequest
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -7269,7 +7582,7 @@ def start_chat_from_inbox(
_param = self._start_chat_from_inbox_serialize(
inbox_id=inbox_id,
account_id=account_id,
- start_chat_from_inbox_request=start_chat_from_inbox_request,
+ start_chat_request=start_chat_request,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -7293,9 +7606,9 @@ def start_chat_from_inbox(
@validate_call
def start_chat_from_inbox_with_http_info(
self,
- inbox_id: Annotated[Optional[StrictStr], Field(description="ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox.")],
+ inbox_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- start_chat_from_inbox_request: StartChatFromInboxRequest,
+ start_chat_request: StartChatRequest,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7311,14 +7624,14 @@ def start_chat_from_inbox_with_http_info(
) -> ApiResponse[StartChat200Response]:
"""Start a Chat from Inbox
- Starts a new 1to1 or group chat in the given inbox by sending the first message.
Use Send a Message if a conversation already exist with the wanted user(s).
Use Start a Chat instead if the provider does not use the inbox concept.
Multipart supported, refer to Sending Files.
+ Starts a new 1to1 or group chat in the given inbox by sending the first message. Use Send a Message if a conversation already exist with the wanted user(s). Use Start a Chat instead if the provider does not use the inbox concept.
Multipart supported, refer to Sending Files.
- :param inbox_id: ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox. (required)
+ :param inbox_id: ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox. (required)
:type inbox_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param start_chat_from_inbox_request: (required)
- :type start_chat_from_inbox_request: StartChatFromInboxRequest
+ :param start_chat_request: (required)
+ :type start_chat_request: StartChatRequest
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -7344,7 +7657,7 @@ def start_chat_from_inbox_with_http_info(
_param = self._start_chat_from_inbox_serialize(
inbox_id=inbox_id,
account_id=account_id,
- start_chat_from_inbox_request=start_chat_from_inbox_request,
+ start_chat_request=start_chat_request,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -7368,9 +7681,9 @@ def start_chat_from_inbox_with_http_info(
@validate_call
def start_chat_from_inbox_without_preload_content(
self,
- inbox_id: Annotated[Optional[StrictStr], Field(description="ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox.")],
+ inbox_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
- start_chat_from_inbox_request: StartChatFromInboxRequest,
+ start_chat_request: StartChatRequest,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7386,14 +7699,14 @@ def start_chat_from_inbox_without_preload_content(
) -> RESTResponseType:
"""Start a Chat from Inbox
- Starts a new 1to1 or group chat in the given inbox by sending the first message.
Use Send a Message if a conversation already exist with the wanted user(s).
Use Start a Chat instead if the provider does not use the inbox concept.
Multipart supported, refer to Sending Files.
+ Starts a new 1to1 or group chat in the given inbox by sending the first message. Use Send a Message if a conversation already exist with the wanted user(s). Use Start a Chat instead if the provider does not use the inbox concept.
Multipart supported, refer to Sending Files.
- :param inbox_id: ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox. (required)
+ :param inbox_id: ID of the Inbox to start the Chat in. Use List all Inboxes to get the ID of an inbox. (required)
:type inbox_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
- :param start_chat_from_inbox_request: (required)
- :type start_chat_from_inbox_request: StartChatFromInboxRequest
+ :param start_chat_request: (required)
+ :type start_chat_request: StartChatRequest
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -7419,7 +7732,7 @@ def start_chat_from_inbox_without_preload_content(
_param = self._start_chat_from_inbox_serialize(
inbox_id=inbox_id,
account_id=account_id,
- start_chat_from_inbox_request=start_chat_from_inbox_request,
+ start_chat_request=start_chat_request,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -7440,7 +7753,7 @@ def _start_chat_from_inbox_serialize(
self,
inbox_id,
account_id,
- start_chat_from_inbox_request,
+ start_chat_request,
_request_auth,
_content_type,
_headers,
@@ -7470,8 +7783,8 @@ def _start_chat_from_inbox_serialize(
# process the header parameters
# process the form parameters
# process the body parameter
- if start_chat_from_inbox_request is not None:
- _body_params = start_chat_from_inbox_request
+ if start_chat_request is not None:
+ _body_params = start_chat_request
# set the HTTP header `Accept`
@@ -7522,7 +7835,7 @@ def _start_chat_from_inbox_serialize(
@validate_call
def update_chat(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to update.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_chat_request: Optional[UpdateChatRequest] = None,
_request_timeout: Union[
@@ -7537,7 +7850,7 @@ def update_chat(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> GetChat200Response:
+ ) -> UpdateChat200Response:
"""Update a Chat
Updates the specified chat by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -7581,7 +7894,7 @@ def update_chat(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetChat200Response",
+ '200': "UpdateChat200Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -7597,7 +7910,7 @@ def update_chat(
@validate_call
def update_chat_with_http_info(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to update.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_chat_request: Optional[UpdateChatRequest] = None,
_request_timeout: Union[
@@ -7612,7 +7925,7 @@ def update_chat_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[GetChat200Response]:
+ ) -> ApiResponse[UpdateChat200Response]:
"""Update a Chat
Updates the specified chat by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -7656,7 +7969,7 @@ def update_chat_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetChat200Response",
+ '200': "UpdateChat200Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -7672,7 +7985,7 @@ def update_chat_with_http_info(
@validate_call
def update_chat_without_preload_content(
self,
- chat_id: Annotated[Optional[StrictStr], Field(description="ID of the Chat to update.")],
+ chat_id: Annotated[str, Field(min_length=1, strict=True, description="ID of the Chat to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_chat_request: Optional[UpdateChatRequest] = None,
_request_timeout: Union[
@@ -7731,7 +8044,7 @@ def update_chat_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetChat200Response",
+ '200': "UpdateChat200Response",
}
response_data = self.api_client.call_api(
*_param,
diff --git a/unipile/api/posts_api.py b/unipile/api/posts_api.py
index af58cb916..eb4f8f7af 100644
--- a/unipile/api/posts_api.py
+++ b/unipile/api/posts_api.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -18,6 +18,7 @@
from pydantic import Field, StrictFloat, StrictInt, StrictStr, field_validator
from typing import Optional, Union
from typing_extensions import Annotated
+from unipile.models.add_post_comment201_response import AddPostComment201Response
from unipile.models.add_post_comment_reaction200_response import AddPostCommentReaction200Response
from unipile.models.add_post_comment_reaction_request import AddPostCommentReactionRequest
from unipile.models.add_post_comment_request import AddPostCommentRequest
@@ -27,7 +28,6 @@
from unipile.models.get_message_reactions_list200_response import GetMessageReactionsList200Response
from unipile.models.get_post200_response import GetPost200Response
from unipile.models.get_post_comments_list200_response import GetPostCommentsList200Response
-from unipile.models.get_post_comments_list200_response_data_inner import GetPostCommentsList200ResponseDataInner
from unipile.models.get_posts_list200_response import GetPostsList200Response
from unipile.models.get_user_comments_list200_response import GetUserCommentsList200Response
from unipile.models.get_user_reactions_list200_response import GetUserReactionsList200Response
@@ -35,6 +35,7 @@
from unipile.models.remove_post_comment_reaction_request import RemovePostCommentReactionRequest
from unipile.models.remove_post_reaction200_response import RemovePostReaction200Response
from unipile.models.remove_post_reaction_request import RemovePostReactionRequest
+from unipile.models.update_post200_response import UpdatePost200Response
from unipile.models.update_post_comment_request import UpdatePostCommentRequest
from unipile.models.update_post_request import UpdatePostRequest
@@ -59,7 +60,7 @@ def __init__(self, api_client=None) -> None:
@validate_call
def add_post_comment(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to add the comment to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_comment_request: AddPostCommentRequest,
_request_timeout: Union[
@@ -74,12 +75,12 @@ def add_post_comment(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> GetPostCommentsList200ResponseDataInner:
+ ) -> AddPostComment201Response:
"""Add Comment to a Post
- Adds a comment to a post.
Multipart supported, refer to Sending Files.
+ Adds a comment to a post.
Multipart supported, refer to Sending Files.
- :param post_id: The ID of the Post to add the comment to. (required)
+ :param post_id: The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -118,7 +119,7 @@ def add_post_comment(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "GetPostCommentsList200ResponseDataInner",
+ '201': "AddPostComment201Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -134,7 +135,7 @@ def add_post_comment(
@validate_call
def add_post_comment_with_http_info(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to add the comment to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_comment_request: AddPostCommentRequest,
_request_timeout: Union[
@@ -149,12 +150,12 @@ def add_post_comment_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[GetPostCommentsList200ResponseDataInner]:
+ ) -> ApiResponse[AddPostComment201Response]:
"""Add Comment to a Post
- Adds a comment to a post.
Multipart supported, refer to Sending Files.
+ Adds a comment to a post.
Multipart supported, refer to Sending Files.
- :param post_id: The ID of the Post to add the comment to. (required)
+ :param post_id: The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -193,7 +194,7 @@ def add_post_comment_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "GetPostCommentsList200ResponseDataInner",
+ '201': "AddPostComment201Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -209,7 +210,7 @@ def add_post_comment_with_http_info(
@validate_call
def add_post_comment_without_preload_content(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to add the comment to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_comment_request: AddPostCommentRequest,
_request_timeout: Union[
@@ -227,9 +228,9 @@ def add_post_comment_without_preload_content(
) -> RESTResponseType:
"""Add Comment to a Post
- Adds a comment to a post.
Multipart supported, refer to Sending Files.
+ Adds a comment to a post.
Multipart supported, refer to Sending Files.
- :param post_id: The ID of the Post to add the comment to. (required)
+ :param post_id: The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -268,7 +269,7 @@ def add_post_comment_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "GetPostCommentsList200ResponseDataInner",
+ '201': "AddPostComment201Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -363,8 +364,8 @@ def _add_post_comment_serialize(
@validate_call
def add_post_comment_reaction(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to add the reaction to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to add the reaction to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_comment_reaction_request: AddPostCommentReactionRequest,
_request_timeout: Union[
@@ -384,7 +385,7 @@ def add_post_comment_reaction(
Adds a reaction to a post.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to add the reaction to. (required)
:type comment_id: str
@@ -442,8 +443,8 @@ def add_post_comment_reaction(
@validate_call
def add_post_comment_reaction_with_http_info(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to add the reaction to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to add the reaction to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_comment_reaction_request: AddPostCommentReactionRequest,
_request_timeout: Union[
@@ -463,7 +464,7 @@ def add_post_comment_reaction_with_http_info(
Adds a reaction to a post.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to add the reaction to. (required)
:type comment_id: str
@@ -521,8 +522,8 @@ def add_post_comment_reaction_with_http_info(
@validate_call
def add_post_comment_reaction_without_preload_content(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to add the reaction to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to add the reaction to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_comment_reaction_request: AddPostCommentReactionRequest,
_request_timeout: Union[
@@ -542,7 +543,7 @@ def add_post_comment_reaction_without_preload_content(
Adds a reaction to a post.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to add the reaction to. (required)
:type comment_id: str
@@ -682,7 +683,7 @@ def _add_post_comment_reaction_serialize(
@validate_call
def add_post_reaction(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to add the reaction to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to add the reaction to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_reaction_request: AddPostReactionRequest,
_request_timeout: Union[
@@ -702,7 +703,7 @@ def add_post_reaction(
Adds a reaction to a post.
- :param post_id: The ID of the Post to add the reaction to. (required)
+ :param post_id: The ID of the Post to add the reaction to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -757,7 +758,7 @@ def add_post_reaction(
@validate_call
def add_post_reaction_with_http_info(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to add the reaction to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to add the reaction to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_reaction_request: AddPostReactionRequest,
_request_timeout: Union[
@@ -777,7 +778,7 @@ def add_post_reaction_with_http_info(
Adds a reaction to a post.
- :param post_id: The ID of the Post to add the reaction to. (required)
+ :param post_id: The ID of the Post to add the reaction to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -832,7 +833,7 @@ def add_post_reaction_with_http_info(
@validate_call
def add_post_reaction_without_preload_content(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to add the reaction to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to add the reaction to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_reaction_request: AddPostReactionRequest,
_request_timeout: Union[
@@ -852,7 +853,7 @@ def add_post_reaction_without_preload_content(
Adds a reaction to a post.
- :param post_id: The ID of the Post to add the reaction to. (required)
+ :param post_id: The ID of the Post to add the reaction to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1000,10 +1001,10 @@ def create_post(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> GetPost200Response:
+ ) -> UpdatePost200Response:
"""Create a Post
- Creates a new post.
Multipart supported, refer to Sending Files.
+ Creates a new post.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1041,7 +1042,7 @@ def create_post(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "GetPost200Response",
+ '201': "UpdatePost200Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -1071,10 +1072,10 @@ def create_post_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[GetPost200Response]:
+ ) -> ApiResponse[UpdatePost200Response]:
"""Create a Post
- Creates a new post.
Multipart supported, refer to Sending Files.
+ Creates a new post.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1112,7 +1113,7 @@ def create_post_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "GetPost200Response",
+ '201': "UpdatePost200Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -1145,7 +1146,7 @@ def create_post_without_preload_content(
) -> RESTResponseType:
"""Create a Post
- Creates a new post.
Multipart supported, refer to Sending Files.
+ Creates a new post.
Multipart supported, refer to Sending Files.
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1183,7 +1184,7 @@ def create_post_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "GetPost200Response",
+ '201': "UpdatePost200Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -1275,7 +1276,7 @@ def _create_post_serialize(
@validate_call
def delete_post(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to delete.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to delete.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1294,7 +1295,7 @@ def delete_post(
Deletes a post created by the owner of the account. Trying to delete a post created by another user will fail.
- :param post_id: The ID of the Post to delete. (required)
+ :param post_id: The ID of the Post to delete.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1346,7 +1347,7 @@ def delete_post(
@validate_call
def delete_post_with_http_info(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to delete.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to delete.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1365,7 +1366,7 @@ def delete_post_with_http_info(
Deletes a post created by the owner of the account. Trying to delete a post created by another user will fail.
- :param post_id: The ID of the Post to delete. (required)
+ :param post_id: The ID of the Post to delete.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1417,7 +1418,7 @@ def delete_post_with_http_info(
@validate_call
def delete_post_without_preload_content(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to delete.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to delete.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1436,7 +1437,7 @@ def delete_post_without_preload_content(
Deletes a post created by the owner of the account. Trying to delete a post created by another user will fail.
- :param post_id: The ID of the Post to delete. (required)
+ :param post_id: The ID of the Post to delete.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1544,8 +1545,8 @@ def _delete_post_serialize(
@validate_call
def delete_post_comment(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to delete.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1564,7 +1565,7 @@ def delete_post_comment(
Deletes a comment of the account's owner from a post. Trying to delete a comment from another user will fail.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to delete. (required)
:type comment_id: str
@@ -1619,8 +1620,8 @@ def delete_post_comment(
@validate_call
def delete_post_comment_with_http_info(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to delete.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1639,7 +1640,7 @@ def delete_post_comment_with_http_info(
Deletes a comment of the account's owner from a post. Trying to delete a comment from another user will fail.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to delete. (required)
:type comment_id: str
@@ -1694,8 +1695,8 @@ def delete_post_comment_with_http_info(
@validate_call
def delete_post_comment_without_preload_content(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to delete.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to delete.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1714,7 +1715,7 @@ def delete_post_comment_without_preload_content(
Deletes a comment of the account's owner from a post. Trying to delete a comment from another user will fail.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to delete. (required)
:type comment_id: str
@@ -1828,7 +1829,7 @@ def _delete_post_comment_serialize(
@validate_call
def get_post(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to retrieve.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to retrieve.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1847,7 +1848,7 @@ def get_post(
Retrieves the specified post.
- :param post_id: The ID of the Post to retrieve. (required)
+ :param post_id: The ID of the Post to retrieve.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1899,7 +1900,7 @@ def get_post(
@validate_call
def get_post_with_http_info(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to retrieve.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to retrieve.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1918,7 +1919,7 @@ def get_post_with_http_info(
Retrieves the specified post.
- :param post_id: The ID of the Post to retrieve. (required)
+ :param post_id: The ID of the Post to retrieve.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -1970,7 +1971,7 @@ def get_post_with_http_info(
@validate_call
def get_post_without_preload_content(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to retrieve.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to retrieve.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1989,7 +1990,7 @@ def get_post_without_preload_content(
Retrieves the specified post.
- :param post_id: The ID of the Post to retrieve. (required)
+ :param post_id: The ID of the Post to retrieve.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -2104,12 +2105,12 @@ def _get_post_serialize(
@validate_call
def get_post_comment_reactions_list(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to retrieve reactions from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to retrieve reactions from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2127,7 +2128,7 @@ def get_post_comment_reactions_list(
Returns the list of reactions made to a comment. Reaction counts are given with the Comment object. This is useful to show a detailed list of all reactions and their author.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to retrieve reactions from. (required)
:type comment_id: str
@@ -2135,10 +2136,10 @@ def get_post_comment_reactions_list(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2166,8 +2167,8 @@ def get_post_comment_reactions_list(
comment_id=comment_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2191,12 +2192,12 @@ def get_post_comment_reactions_list(
@validate_call
def get_post_comment_reactions_list_with_http_info(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to retrieve reactions from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to retrieve reactions from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2214,7 +2215,7 @@ def get_post_comment_reactions_list_with_http_info(
Returns the list of reactions made to a comment. Reaction counts are given with the Comment object. This is useful to show a detailed list of all reactions and their author.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to retrieve reactions from. (required)
:type comment_id: str
@@ -2222,10 +2223,10 @@ def get_post_comment_reactions_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2253,8 +2254,8 @@ def get_post_comment_reactions_list_with_http_info(
comment_id=comment_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2278,12 +2279,12 @@ def get_post_comment_reactions_list_with_http_info(
@validate_call
def get_post_comment_reactions_list_without_preload_content(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to retrieve reactions from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to retrieve reactions from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2301,7 +2302,7 @@ def get_post_comment_reactions_list_without_preload_content(
Returns the list of reactions made to a comment. Reaction counts are given with the Comment object. This is useful to show a detailed list of all reactions and their author.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to retrieve reactions from. (required)
:type comment_id: str
@@ -2309,10 +2310,10 @@ def get_post_comment_reactions_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2340,8 +2341,8 @@ def get_post_comment_reactions_list_without_preload_content(
comment_id=comment_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2364,8 +2365,8 @@ def _get_post_comment_reactions_list_serialize(
comment_id,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -2398,14 +2399,14 @@ def _get_post_comment_reactions_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -2446,12 +2447,12 @@ def _get_post_comment_reactions_list_serialize(
@validate_call
def get_post_comment_replies_list(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to retrieve replies from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to retrieve replies from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2469,7 +2470,7 @@ def get_post_comment_replies_list(
Returns the list of replies to a comment. The replies are returned sorted by their creation date, with the most recent appearing first.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to retrieve replies from. (required)
:type comment_id: str
@@ -2477,10 +2478,10 @@ def get_post_comment_replies_list(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2508,8 +2509,8 @@ def get_post_comment_replies_list(
comment_id=comment_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2533,12 +2534,12 @@ def get_post_comment_replies_list(
@validate_call
def get_post_comment_replies_list_with_http_info(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to retrieve replies from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to retrieve replies from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2556,7 +2557,7 @@ def get_post_comment_replies_list_with_http_info(
Returns the list of replies to a comment. The replies are returned sorted by their creation date, with the most recent appearing first.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to retrieve replies from. (required)
:type comment_id: str
@@ -2564,10 +2565,10 @@ def get_post_comment_replies_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2595,8 +2596,8 @@ def get_post_comment_replies_list_with_http_info(
comment_id=comment_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2620,12 +2621,12 @@ def get_post_comment_replies_list_with_http_info(
@validate_call
def get_post_comment_replies_list_without_preload_content(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to retrieve replies from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to retrieve replies from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2643,7 +2644,7 @@ def get_post_comment_replies_list_without_preload_content(
Returns the list of replies to a comment. The replies are returned sorted by their creation date, with the most recent appearing first.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to retrieve replies from. (required)
:type comment_id: str
@@ -2651,10 +2652,10 @@ def get_post_comment_replies_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2682,8 +2683,8 @@ def get_post_comment_replies_list_without_preload_content(
comment_id=comment_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2706,8 +2707,8 @@ def _get_post_comment_replies_list_serialize(
comment_id,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -2740,14 +2741,14 @@ def _get_post_comment_replies_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -2788,11 +2789,11 @@ def _get_post_comment_replies_list_serialize(
@validate_call
def get_post_comments_list(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to retrieve comments from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to retrieve comments from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
sort_by: Annotated[Optional[StrictStr], Field(description="Sort criterion for the posts list: MOST_RECENT (most recent first) or MOST_RELEVANT (most relevant first).")] = None,
_request_timeout: Union[
None,
@@ -2811,16 +2812,16 @@ def get_post_comments_list(
Returns a list of post comments. The comments are returned sorted by their creation date, with the most recent appearing first.
- :param post_id: The ID of the Post to retrieve comments from. (required)
+ :param post_id: The ID of the Post to retrieve comments from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param sort_by: Sort criterion for the posts list: MOST_RECENT (most recent first) or MOST_RELEVANT (most relevant first).
:type sort_by: str
:param _request_timeout: timeout setting for this request. If one
@@ -2849,8 +2850,8 @@ def get_post_comments_list(
post_id=post_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
sort_by=sort_by,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -2875,11 +2876,11 @@ def get_post_comments_list(
@validate_call
def get_post_comments_list_with_http_info(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to retrieve comments from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to retrieve comments from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
sort_by: Annotated[Optional[StrictStr], Field(description="Sort criterion for the posts list: MOST_RECENT (most recent first) or MOST_RELEVANT (most relevant first).")] = None,
_request_timeout: Union[
None,
@@ -2898,16 +2899,16 @@ def get_post_comments_list_with_http_info(
Returns a list of post comments. The comments are returned sorted by their creation date, with the most recent appearing first.
- :param post_id: The ID of the Post to retrieve comments from. (required)
+ :param post_id: The ID of the Post to retrieve comments from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param sort_by: Sort criterion for the posts list: MOST_RECENT (most recent first) or MOST_RELEVANT (most relevant first).
:type sort_by: str
:param _request_timeout: timeout setting for this request. If one
@@ -2936,8 +2937,8 @@ def get_post_comments_list_with_http_info(
post_id=post_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
sort_by=sort_by,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -2962,11 +2963,11 @@ def get_post_comments_list_with_http_info(
@validate_call
def get_post_comments_list_without_preload_content(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to retrieve comments from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to retrieve comments from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
sort_by: Annotated[Optional[StrictStr], Field(description="Sort criterion for the posts list: MOST_RECENT (most recent first) or MOST_RELEVANT (most relevant first).")] = None,
_request_timeout: Union[
None,
@@ -2985,16 +2986,16 @@ def get_post_comments_list_without_preload_content(
Returns a list of post comments. The comments are returned sorted by their creation date, with the most recent appearing first.
- :param post_id: The ID of the Post to retrieve comments from. (required)
+ :param post_id: The ID of the Post to retrieve comments from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param sort_by: Sort criterion for the posts list: MOST_RECENT (most recent first) or MOST_RELEVANT (most relevant first).
:type sort_by: str
:param _request_timeout: timeout setting for this request. If one
@@ -3023,8 +3024,8 @@ def get_post_comments_list_without_preload_content(
post_id=post_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
sort_by=sort_by,
_request_auth=_request_auth,
_content_type=_content_type,
@@ -3047,8 +3048,8 @@ def _get_post_comments_list_serialize(
post_id,
account_id,
offset,
- limit,
cursor,
+ limit,
sort_by,
_request_auth,
_content_type,
@@ -3080,14 +3081,14 @@ def _get_post_comments_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
if sort_by is not None:
_query_params.append(('sort_by', sort_by))
@@ -3132,11 +3133,11 @@ def _get_post_comments_list_serialize(
@validate_call
def get_post_reactions_list(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to retrieve reactions from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to retrieve reactions from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3152,18 +3153,18 @@ def get_post_reactions_list(
) -> GetMessageReactionsList200Response:
"""List all Post's Reactions
- Returns the list of reactions made to a post. Reaction counts are given with the Post object. This is useful to show a detailed list of all reactions and their author. LIMITATIONS: On Instagram, the list is always limited to a maximum of 100 reactions.
+ Returns the list of reactions made to a post. Reaction counts are given with the Post object. This is useful to show a detailed list of all reactions and their author. LIMITATIONS: On Instagram, the list is always limited to a maximum of 100 reactions.
- :param post_id: The ID of the Post to retrieve reactions from. (required)
+ :param post_id: The ID of the Post to retrieve reactions from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3190,8 +3191,8 @@ def get_post_reactions_list(
post_id=post_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3215,11 +3216,11 @@ def get_post_reactions_list(
@validate_call
def get_post_reactions_list_with_http_info(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to retrieve reactions from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to retrieve reactions from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3235,18 +3236,18 @@ def get_post_reactions_list_with_http_info(
) -> ApiResponse[GetMessageReactionsList200Response]:
"""List all Post's Reactions
- Returns the list of reactions made to a post. Reaction counts are given with the Post object. This is useful to show a detailed list of all reactions and their author. LIMITATIONS: On Instagram, the list is always limited to a maximum of 100 reactions.
+ Returns the list of reactions made to a post. Reaction counts are given with the Post object. This is useful to show a detailed list of all reactions and their author. LIMITATIONS: On Instagram, the list is always limited to a maximum of 100 reactions.
- :param post_id: The ID of the Post to retrieve reactions from. (required)
+ :param post_id: The ID of the Post to retrieve reactions from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3273,8 +3274,8 @@ def get_post_reactions_list_with_http_info(
post_id=post_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3298,11 +3299,11 @@ def get_post_reactions_list_with_http_info(
@validate_call
def get_post_reactions_list_without_preload_content(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to retrieve reactions from.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to retrieve reactions from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3318,18 +3319,18 @@ def get_post_reactions_list_without_preload_content(
) -> RESTResponseType:
"""List all Post's Reactions
- Returns the list of reactions made to a post. Reaction counts are given with the Post object. This is useful to show a detailed list of all reactions and their author. LIMITATIONS: On Instagram, the list is always limited to a maximum of 100 reactions.
+ Returns the list of reactions made to a post. Reaction counts are given with the Post object. This is useful to show a detailed list of all reactions and their author. LIMITATIONS: On Instagram, the list is always limited to a maximum of 100 reactions.
- :param post_id: The ID of the Post to retrieve reactions from. (required)
+ :param post_id: The ID of the Post to retrieve reactions from.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3356,8 +3357,8 @@ def get_post_reactions_list_without_preload_content(
post_id=post_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3379,8 +3380,8 @@ def _get_post_reactions_list_serialize(
post_id,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -3411,14 +3412,14 @@ def _get_post_reactions_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -3459,11 +3460,11 @@ def _get_post_reactions_list_serialize(
@validate_call
def get_posts_list(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve posts from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve posts from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3487,10 +3488,10 @@ def get_posts_list(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3517,8 +3518,8 @@ def get_posts_list(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3542,11 +3543,11 @@ def get_posts_list(
@validate_call
def get_posts_list_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve posts from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve posts from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3570,10 +3571,10 @@ def get_posts_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3600,8 +3601,8 @@ def get_posts_list_with_http_info(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3625,11 +3626,11 @@ def get_posts_list_with_http_info(
@validate_call
def get_posts_list_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve posts from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve posts from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3653,10 +3654,10 @@ def get_posts_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3683,8 +3684,8 @@ def get_posts_list_without_preload_content(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3706,8 +3707,8 @@ def _get_posts_list_serialize(
user_id,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -3738,14 +3739,14 @@ def _get_posts_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -3786,11 +3787,11 @@ def _get_posts_list_serialize(
@validate_call
def get_user_comments_list(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve the comments from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve the comments from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3814,10 +3815,10 @@ def get_user_comments_list(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3844,8 +3845,8 @@ def get_user_comments_list(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3869,11 +3870,11 @@ def get_user_comments_list(
@validate_call
def get_user_comments_list_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve the comments from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve the comments from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3897,10 +3898,10 @@ def get_user_comments_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3927,8 +3928,8 @@ def get_user_comments_list_with_http_info(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3952,11 +3953,11 @@ def get_user_comments_list_with_http_info(
@validate_call
def get_user_comments_list_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve the comments from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve the comments from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3980,10 +3981,10 @@ def get_user_comments_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -4010,8 +4011,8 @@ def get_user_comments_list_without_preload_content(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -4033,8 +4034,8 @@ def _get_user_comments_list_serialize(
user_id,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -4065,14 +4066,14 @@ def _get_user_comments_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -4113,11 +4114,11 @@ def _get_user_comments_list_serialize(
@validate_call
def get_user_reactions_list(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve the reactions from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve the reactions from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -4141,10 +4142,10 @@ def get_user_reactions_list(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -4171,8 +4172,8 @@ def get_user_reactions_list(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -4196,11 +4197,11 @@ def get_user_reactions_list(
@validate_call
def get_user_reactions_list_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve the reactions from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve the reactions from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -4224,10 +4225,10 @@ def get_user_reactions_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -4254,8 +4255,8 @@ def get_user_reactions_list_with_http_info(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -4279,11 +4280,11 @@ def get_user_reactions_list_with_http_info(
@validate_call
def get_user_reactions_list_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve the reactions from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve the reactions from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -4307,10 +4308,10 @@ def get_user_reactions_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -4337,8 +4338,8 @@ def get_user_reactions_list_without_preload_content(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -4360,8 +4361,8 @@ def _get_user_reactions_list_serialize(
user_id,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -4392,14 +4393,14 @@ def _get_user_reactions_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -4440,8 +4441,8 @@ def _get_user_reactions_list_serialize(
@validate_call
def remove_post_comment_reaction(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment where the reaction is.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment where the reaction is.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
remove_post_comment_reaction_request: RemovePostCommentReactionRequest,
_request_timeout: Union[
@@ -4461,7 +4462,7 @@ def remove_post_comment_reaction(
Removes a reaction of the account's owner from a comment. Trying to remove a reaction from another user will fail.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment where the reaction is. (required)
:type comment_id: str
@@ -4519,8 +4520,8 @@ def remove_post_comment_reaction(
@validate_call
def remove_post_comment_reaction_with_http_info(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment where the reaction is.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment where the reaction is.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
remove_post_comment_reaction_request: RemovePostCommentReactionRequest,
_request_timeout: Union[
@@ -4540,7 +4541,7 @@ def remove_post_comment_reaction_with_http_info(
Removes a reaction of the account's owner from a comment. Trying to remove a reaction from another user will fail.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment where the reaction is. (required)
:type comment_id: str
@@ -4598,8 +4599,8 @@ def remove_post_comment_reaction_with_http_info(
@validate_call
def remove_post_comment_reaction_without_preload_content(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment where the reaction is.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment where the reaction is.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
remove_post_comment_reaction_request: RemovePostCommentReactionRequest,
_request_timeout: Union[
@@ -4619,7 +4620,7 @@ def remove_post_comment_reaction_without_preload_content(
Removes a reaction of the account's owner from a comment. Trying to remove a reaction from another user will fail.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment where the reaction is. (required)
:type comment_id: str
@@ -4759,7 +4760,7 @@ def _remove_post_comment_reaction_serialize(
@validate_call
def remove_post_reaction(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post where the reaction is.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the reaction is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
remove_post_reaction_request: RemovePostReactionRequest,
_request_timeout: Union[
@@ -4779,7 +4780,7 @@ def remove_post_reaction(
Removes a reaction from a post.
- :param post_id: The ID of the Post where the reaction is. (required)
+ :param post_id: The ID of the Post where the reaction is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -4834,7 +4835,7 @@ def remove_post_reaction(
@validate_call
def remove_post_reaction_with_http_info(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post where the reaction is.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the reaction is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
remove_post_reaction_request: RemovePostReactionRequest,
_request_timeout: Union[
@@ -4854,7 +4855,7 @@ def remove_post_reaction_with_http_info(
Removes a reaction from a post.
- :param post_id: The ID of the Post where the reaction is. (required)
+ :param post_id: The ID of the Post where the reaction is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -4909,7 +4910,7 @@ def remove_post_reaction_with_http_info(
@validate_call
def remove_post_reaction_without_preload_content(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post where the reaction is.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the reaction is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
remove_post_reaction_request: RemovePostReactionRequest,
_request_timeout: Union[
@@ -4929,7 +4930,7 @@ def remove_post_reaction_without_preload_content(
Removes a reaction from a post.
- :param post_id: The ID of the Post where the reaction is. (required)
+ :param post_id: The ID of the Post where the reaction is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -5063,8 +5064,8 @@ def _remove_post_reaction_serialize(
@validate_call
def reply_to_comment(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post to add the comment to.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to reply to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to reply to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_comment_request: AddPostCommentRequest,
_request_timeout: Union[
@@ -5079,12 +5080,12 @@ def reply_to_comment(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> GetPostCommentsList200ResponseDataInner:
+ ) -> AddPostComment201Response:
"""Reply to a Comment
- Replies to a particular comment.
Multipart supported, refer to Sending Files.
+ Replies to a particular comment.
Multipart supported, refer to Sending Files.
- :param post_id: The ID of the Post to add the comment to. (required)
+ :param post_id: The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to reply to. (required)
:type comment_id: str
@@ -5126,7 +5127,7 @@ def reply_to_comment(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "GetPostCommentsList200ResponseDataInner",
+ '201': "AddPostComment201Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -5142,8 +5143,8 @@ def reply_to_comment(
@validate_call
def reply_to_comment_with_http_info(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post to add the comment to.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to reply to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to reply to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_comment_request: AddPostCommentRequest,
_request_timeout: Union[
@@ -5158,12 +5159,12 @@ def reply_to_comment_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[GetPostCommentsList200ResponseDataInner]:
+ ) -> ApiResponse[AddPostComment201Response]:
"""Reply to a Comment
- Replies to a particular comment.
Multipart supported, refer to Sending Files.
+ Replies to a particular comment.
Multipart supported, refer to Sending Files.
- :param post_id: The ID of the Post to add the comment to. (required)
+ :param post_id: The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to reply to. (required)
:type comment_id: str
@@ -5205,7 +5206,7 @@ def reply_to_comment_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "GetPostCommentsList200ResponseDataInner",
+ '201': "AddPostComment201Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -5221,8 +5222,8 @@ def reply_to_comment_with_http_info(
@validate_call
def reply_to_comment_without_preload_content(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post to add the comment to.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to reply to.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to reply to.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
add_post_comment_request: AddPostCommentRequest,
_request_timeout: Union[
@@ -5240,9 +5241,9 @@ def reply_to_comment_without_preload_content(
) -> RESTResponseType:
"""Reply to a Comment
- Replies to a particular comment.
Multipart supported, refer to Sending Files.
+ Replies to a particular comment.
Multipart supported, refer to Sending Files.
- :param post_id: The ID of the Post to add the comment to. (required)
+ :param post_id: The ID of the Post to add the comment to.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to reply to. (required)
:type comment_id: str
@@ -5284,7 +5285,7 @@ def reply_to_comment_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "GetPostCommentsList200ResponseDataInner",
+ '201': "AddPostComment201Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -5382,7 +5383,7 @@ def _reply_to_comment_serialize(
@validate_call
def update_post(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to update.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to update.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_post_request: Optional[UpdatePostRequest] = None,
_request_timeout: Union[
@@ -5397,12 +5398,12 @@ def update_post(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> GetPost200Response:
+ ) -> UpdatePost200Response:
"""Update a Post
Updates an existing post.
- :param post_id: The ID of the Post to update. (required)
+ :param post_id: The ID of the Post to update.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -5441,7 +5442,7 @@ def update_post(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetPost200Response",
+ '200': "UpdatePost200Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -5457,7 +5458,7 @@ def update_post(
@validate_call
def update_post_with_http_info(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to update.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to update.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_post_request: Optional[UpdatePostRequest] = None,
_request_timeout: Union[
@@ -5472,12 +5473,12 @@ def update_post_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[GetPost200Response]:
+ ) -> ApiResponse[UpdatePost200Response]:
"""Update a Post
Updates an existing post.
- :param post_id: The ID of the Post to update. (required)
+ :param post_id: The ID of the Post to update.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -5516,7 +5517,7 @@ def update_post_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetPost200Response",
+ '200': "UpdatePost200Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -5532,7 +5533,7 @@ def update_post_with_http_info(
@validate_call
def update_post_without_preload_content(
self,
- post_id: Annotated[Optional[StrictStr], Field(description="The ID of the Post to update.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post to update.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_post_request: Optional[UpdatePostRequest] = None,
_request_timeout: Union[
@@ -5552,7 +5553,7 @@ def update_post_without_preload_content(
Updates an existing post.
- :param post_id: The ID of the Post to update. (required)
+ :param post_id: The ID of the Post to update.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param account_id: ID of the Account (acc_xxx) to call the method on behalf of. (required)
:type account_id: str
@@ -5591,7 +5592,7 @@ def update_post_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetPost200Response",
+ '200': "UpdatePost200Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -5686,8 +5687,8 @@ def _update_post_serialize(
@validate_call
def update_post_comment(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to update.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_post_comment_request: UpdatePostCommentRequest,
_request_timeout: Union[
@@ -5702,12 +5703,12 @@ def update_post_comment(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> GetPostCommentsList200ResponseDataInner:
+ ) -> AddPostComment201Response:
"""Update a Comment
Updates an existing comment.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to update. (required)
:type comment_id: str
@@ -5749,7 +5750,7 @@ def update_post_comment(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetPostCommentsList200ResponseDataInner",
+ '200': "AddPostComment201Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -5765,8 +5766,8 @@ def update_post_comment(
@validate_call
def update_post_comment_with_http_info(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to update.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_post_comment_request: UpdatePostCommentRequest,
_request_timeout: Union[
@@ -5781,12 +5782,12 @@ def update_post_comment_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[GetPostCommentsList200ResponseDataInner]:
+ ) -> ApiResponse[AddPostComment201Response]:
"""Update a Comment
Updates an existing comment.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to update. (required)
:type comment_id: str
@@ -5828,7 +5829,7 @@ def update_post_comment_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetPostCommentsList200ResponseDataInner",
+ '200': "AddPostComment201Response",
}
response_data = self.api_client.call_api(
*_param,
@@ -5844,8 +5845,8 @@ def update_post_comment_with_http_info(
@validate_call
def update_post_comment_without_preload_content(
self,
- post_id: Annotated[StrictStr, Field(description="The ID of the Post where the comment is.")],
- comment_id: Annotated[Optional[StrictStr], Field(description="The ID of the Comment to update.")],
+ post_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides.")],
+ comment_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Comment to update.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_post_comment_request: UpdatePostCommentRequest,
_request_timeout: Union[
@@ -5865,7 +5866,7 @@ def update_post_comment_without_preload_content(
Updates an existing comment.
- :param post_id: The ID of the Post where the comment is. (required)
+ :param post_id: The ID of the Post where the comment is.
Use IDs from *Get a Post*, *Create a Post* or *List all User's Posts* methods responses only. Some providers may allow native Post IDs, please refer to Posts integration guides. (required)
:type post_id: str
:param comment_id: The ID of the Comment to update. (required)
:type comment_id: str
@@ -5907,7 +5908,7 @@ def update_post_comment_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '200': "GetPostCommentsList200ResponseDataInner",
+ '200': "AddPostComment201Response",
}
response_data = self.api_client.call_api(
*_param,
diff --git a/unipile/api/users_api.py b/unipile/api/users_api.py
index c2a90e8cb..46a157b49 100644
--- a/unipile/api/users_api.py
+++ b/unipile/api/users_api.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -24,9 +24,9 @@
from unipile.models.follow_user200_response import FollowUser200Response
from unipile.models.get_posts_list200_response import GetPostsList200Response
from unipile.models.get_relation_requests_list200_response import GetRelationRequestsList200Response
+from unipile.models.get_relation_requests_list200_response_data_inner import GetRelationRequestsList200ResponseDataInner
from unipile.models.get_user_profile200_response import GetUserProfile200Response
from unipile.models.get_user_relations200_response import GetUserRelations200Response
-from unipile.models.linked_in_relation_request import LinkedInRelationRequest
from unipile.models.list_user_followers200_response import ListUserFollowers200Response
from unipile.models.unfollow_user200_response import UnfollowUser200Response
from unipile.models.update_user_profile200_response import UpdateUserProfile200Response
@@ -54,7 +54,7 @@ def __init__(self, api_client=None) -> None:
@validate_call
def accept_relation_request(
self,
- request_id: Annotated[StrictStr, Field(description="The ID of the Relation / Follow request.")],
+ request_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Relation / Follow request.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -125,7 +125,7 @@ def accept_relation_request(
@validate_call
def accept_relation_request_with_http_info(
self,
- request_id: Annotated[StrictStr, Field(description="The ID of the Relation / Follow request.")],
+ request_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Relation / Follow request.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -196,7 +196,7 @@ def accept_relation_request_with_http_info(
@validate_call
def accept_relation_request_without_preload_content(
self,
- request_id: Annotated[StrictStr, Field(description="The ID of the Relation / Follow request.")],
+ request_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Relation / Follow request.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -330,7 +330,7 @@ def _accept_relation_request_serialize(
@validate_call
def cancel_relation_request(
self,
- request_id: Annotated[Optional[StrictStr], Field(description="The ID of the Relation / Follow request.")],
+ request_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Relation / Follow request.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -401,7 +401,7 @@ def cancel_relation_request(
@validate_call
def cancel_relation_request_with_http_info(
self,
- request_id: Annotated[Optional[StrictStr], Field(description="The ID of the Relation / Follow request.")],
+ request_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Relation / Follow request.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -472,7 +472,7 @@ def cancel_relation_request_with_http_info(
@validate_call
def cancel_relation_request_without_preload_content(
self,
- request_id: Annotated[Optional[StrictStr], Field(description="The ID of the Relation / Follow request.")],
+ request_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the Relation / Follow request.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -620,7 +620,7 @@ def create_relation_request(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> LinkedInRelationRequest:
+ ) -> GetRelationRequestsList200ResponseDataInner:
"""Send a Relation request
Sends a bi-directional relation request to a user. Trying to send a relation request to an existing relation will fail. For uni-directional relations, use `Follow User` instead.
@@ -661,7 +661,7 @@ def create_relation_request(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "LinkedInRelationRequest",
+ '201': "GetRelationRequestsList200ResponseDataInner",
}
response_data = self.api_client.call_api(
*_param,
@@ -691,7 +691,7 @@ def create_relation_request_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
- ) -> ApiResponse[LinkedInRelationRequest]:
+ ) -> ApiResponse[GetRelationRequestsList200ResponseDataInner]:
"""Send a Relation request
Sends a bi-directional relation request to a user. Trying to send a relation request to an existing relation will fail. For uni-directional relations, use `Follow User` instead.
@@ -732,7 +732,7 @@ def create_relation_request_with_http_info(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "LinkedInRelationRequest",
+ '201': "GetRelationRequestsList200ResponseDataInner",
}
response_data = self.api_client.call_api(
*_param,
@@ -803,7 +803,7 @@ def create_relation_request_without_preload_content(
)
_response_types_map: Dict[str, Optional[str]] = {
- '201': "LinkedInRelationRequest",
+ '201': "GetRelationRequestsList200ResponseDataInner",
}
response_data = self.api_client.call_api(
*_param,
@@ -895,7 +895,7 @@ def _create_relation_request_serialize(
@validate_call
def delete_relation(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to delete the relation with.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to delete the relation with.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -966,7 +966,7 @@ def delete_relation(
@validate_call
def delete_relation_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to delete the relation with.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to delete the relation with.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1037,7 +1037,7 @@ def delete_relation_with_http_info(
@validate_call
def delete_relation_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to delete the relation with.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to delete the relation with.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1164,7 +1164,7 @@ def _delete_relation_serialize(
@validate_call
def follow_user(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to follow.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to follow.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1235,7 +1235,7 @@ def follow_user(
@validate_call
def follow_user_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to follow.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to follow.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1306,7 +1306,7 @@ def follow_user_with_http_info(
@validate_call
def follow_user_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to follow.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to follow.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -1440,11 +1440,11 @@ def _follow_user_serialize(
@validate_call
def get_posts_list(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve posts from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve posts from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1468,10 +1468,10 @@ def get_posts_list(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -1498,8 +1498,8 @@ def get_posts_list(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -1523,11 +1523,11 @@ def get_posts_list(
@validate_call
def get_posts_list_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve posts from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve posts from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1551,10 +1551,10 @@ def get_posts_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -1581,8 +1581,8 @@ def get_posts_list_with_http_info(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -1606,11 +1606,11 @@ def get_posts_list_with_http_info(
@validate_call
def get_posts_list_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve posts from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve posts from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1634,10 +1634,10 @@ def get_posts_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -1664,8 +1664,8 @@ def get_posts_list_without_preload_content(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -1687,8 +1687,8 @@ def _get_posts_list_serialize(
user_id,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -1719,14 +1719,14 @@ def _get_posts_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -1770,8 +1770,8 @@ def get_relation_requests_list(
type: Annotated[StrictStr, Field(description="Filter to returns only the given type of Relation / Follow request. - `sent` is the requests sent by the current user. - `received` is the requests received by the current user.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1795,10 +1795,10 @@ def get_relation_requests_list(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -1825,8 +1825,8 @@ def get_relation_requests_list(
type=type,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -1853,8 +1853,8 @@ def get_relation_requests_list_with_http_info(
type: Annotated[StrictStr, Field(description="Filter to returns only the given type of Relation / Follow request. - `sent` is the requests sent by the current user. - `received` is the requests received by the current user.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1878,10 +1878,10 @@ def get_relation_requests_list_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -1908,8 +1908,8 @@ def get_relation_requests_list_with_http_info(
type=type,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -1936,8 +1936,8 @@ def get_relation_requests_list_without_preload_content(
type: Annotated[StrictStr, Field(description="Filter to returns only the given type of Relation / Follow request. - `sent` is the requests sent by the current user. - `received` is the requests received by the current user.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -1961,10 +1961,10 @@ def get_relation_requests_list_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -1991,8 +1991,8 @@ def get_relation_requests_list_without_preload_content(
type=type,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2014,8 +2014,8 @@ def _get_relation_requests_list_serialize(
type,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -2048,14 +2048,14 @@ def _get_relation_requests_list_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -2096,7 +2096,7 @@ def _get_relation_requests_list_serialize(
@validate_call
def get_user_profile(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
with_sections: Optional[Any] = None,
variant: Optional[Any] = None,
@@ -2175,7 +2175,7 @@ def get_user_profile(
@validate_call
def get_user_profile_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
with_sections: Optional[Any] = None,
variant: Optional[Any] = None,
@@ -2254,7 +2254,7 @@ def get_user_profile_with_http_info(
@validate_call
def get_user_profile_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to retrieve.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to retrieve.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
with_sections: Optional[Any] = None,
variant: Optional[Any] = None,
@@ -2406,12 +2406,12 @@ def _get_user_profile_serialize(
@validate_call
def get_user_relations(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to get the relations from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to get the relations from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
search: Annotated[Optional[StrictStr], Field(description="Any text input to filter out results (if supported by the provider).")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2437,10 +2437,10 @@ def get_user_relations(
:type search: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2468,8 +2468,8 @@ def get_user_relations(
account_id=account_id,
search=search,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2493,12 +2493,12 @@ def get_user_relations(
@validate_call
def get_user_relations_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to get the relations from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to get the relations from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
search: Annotated[Optional[StrictStr], Field(description="Any text input to filter out results (if supported by the provider).")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2524,10 +2524,10 @@ def get_user_relations_with_http_info(
:type search: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2555,8 +2555,8 @@ def get_user_relations_with_http_info(
account_id=account_id,
search=search,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2580,12 +2580,12 @@ def get_user_relations_with_http_info(
@validate_call
def get_user_relations_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to get the relations from.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to get the relations from.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
search: Annotated[Optional[StrictStr], Field(description="Any text input to filter out results (if supported by the provider).")] = None,
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2611,10 +2611,10 @@ def get_user_relations_without_preload_content(
:type search: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2642,8 +2642,8 @@ def get_user_relations_without_preload_content(
account_id=account_id,
search=search,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2666,8 +2666,8 @@ def _get_user_relations_serialize(
account_id,
search,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -2702,14 +2702,14 @@ def _get_user_relations_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -2750,11 +2750,11 @@ def _get_user_relations_serialize(
@validate_call
def list_user_followers(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to get the followers from. Use `me` to get the followers of the account owner.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to get the followers from. Use `me` to get the followers of the account owner.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2778,10 +2778,10 @@ def list_user_followers(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2808,8 +2808,8 @@ def list_user_followers(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2833,11 +2833,11 @@ def list_user_followers(
@validate_call
def list_user_followers_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to get the followers from. Use `me` to get the followers of the account owner.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to get the followers from. Use `me` to get the followers of the account owner.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2861,10 +2861,10 @@ def list_user_followers_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2891,8 +2891,8 @@ def list_user_followers_with_http_info(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2916,11 +2916,11 @@ def list_user_followers_with_http_info(
@validate_call
def list_user_followers_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to get the followers from. Use `me` to get the followers of the account owner.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to get the followers from. Use `me` to get the followers of the account owner.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -2944,10 +2944,10 @@ def list_user_followers_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -2974,8 +2974,8 @@ def list_user_followers_without_preload_content(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -2997,8 +2997,8 @@ def _list_user_followers_serialize(
user_id,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -3029,14 +3029,14 @@ def _list_user_followers_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -3077,11 +3077,11 @@ def _list_user_followers_serialize(
@validate_call
def list_user_following(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to get the followed users from. Use `me` to get the followed users of the account owner.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to get the followed users from. Use `me` to get the followed users of the account owner.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3105,10 +3105,10 @@ def list_user_following(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3135,8 +3135,8 @@ def list_user_following(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3160,11 +3160,11 @@ def list_user_following(
@validate_call
def list_user_following_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to get the followed users from. Use `me` to get the followed users of the account owner.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to get the followed users from. Use `me` to get the followed users of the account owner.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3188,10 +3188,10 @@ def list_user_following_with_http_info(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3218,8 +3218,8 @@ def list_user_following_with_http_info(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3243,11 +3243,11 @@ def list_user_following_with_http_info(
@validate_call
def list_user_following_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to get the followed users from. Use `me` to get the followed users of the account owner.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to get the followed users from. Use `me` to get the followed users of the account owner.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
offset: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="An offset used for pagination, if supported by the provider, else use `cursor`.")] = None,
- limit: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The limit of items to be returned.")] = None,
cursor: Annotated[Optional[StrictStr], Field(description="A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.")] = None,
+ limit: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="The limit of items to be returned. The maximum allowed value depends on the provider.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -3271,10 +3271,10 @@ def list_user_following_without_preload_content(
:type account_id: str
:param offset: An offset used for pagination, if supported by the provider, else use `cursor`.
:type offset: float
- :param limit: The limit of items to be returned.
- :type limit: float
:param cursor: A cursor used for pagination. If supported by the provider, use `next_cursor` given by the previous page of the list, else use `offset`.
:type cursor: str
+ :param limit: The limit of items to be returned. The maximum allowed value depends on the provider.
+ :type limit: float
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
@@ -3301,8 +3301,8 @@ def list_user_following_without_preload_content(
user_id=user_id,
account_id=account_id,
offset=offset,
- limit=limit,
cursor=cursor,
+ limit=limit,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
@@ -3324,8 +3324,8 @@ def _list_user_following_serialize(
user_id,
account_id,
offset,
- limit,
cursor,
+ limit,
_request_auth,
_content_type,
_headers,
@@ -3356,14 +3356,14 @@ def _list_user_following_serialize(
_query_params.append(('offset', offset))
- if limit is not None:
-
- _query_params.append(('limit', limit))
-
if cursor is not None:
_query_params.append(('cursor', cursor))
+ if limit is not None:
+
+ _query_params.append(('limit', limit))
+
# process the header parameters
# process the form parameters
# process the body parameter
@@ -3404,7 +3404,7 @@ def _list_user_following_serialize(
@validate_call
def unfollow_user(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to unfollow.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to unfollow.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -3475,7 +3475,7 @@ def unfollow_user(
@validate_call
def unfollow_user_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to unfollow.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to unfollow.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -3546,7 +3546,7 @@ def unfollow_user_with_http_info(
@validate_call
def unfollow_user_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to unfollow.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to unfollow.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
_request_timeout: Union[
None,
@@ -3680,7 +3680,7 @@ def _unfollow_user_serialize(
@validate_call
def update_user_profile(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to update. Use `me` to update the account owner profile.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to update. Use `me` to update the account owner profile.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_user_profile_request: Optional[UpdateUserProfileRequest] = None,
_request_timeout: Union[
@@ -3698,7 +3698,7 @@ def update_user_profile(
) -> UpdateUserProfile200Response:
"""Update a User Profile
- Updates the specified User profile. Use `me` as `user_id` to update the account owner profile.
Multipart supported, refer to Sending Files.
+ Updates the specified User profile. Use `me` as `user_id` to update the account owner profile.
Multipart supported, refer to Sending Files.
:param user_id: The ID of the User to update. Use `me` to update the account owner profile. (required)
:type user_id: str
@@ -3755,7 +3755,7 @@ def update_user_profile(
@validate_call
def update_user_profile_with_http_info(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to update. Use `me` to update the account owner profile.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to update. Use `me` to update the account owner profile.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_user_profile_request: Optional[UpdateUserProfileRequest] = None,
_request_timeout: Union[
@@ -3773,7 +3773,7 @@ def update_user_profile_with_http_info(
) -> ApiResponse[UpdateUserProfile200Response]:
"""Update a User Profile
- Updates the specified User profile. Use `me` as `user_id` to update the account owner profile.
Multipart supported, refer to Sending Files.
+ Updates the specified User profile. Use `me` as `user_id` to update the account owner profile.
Multipart supported, refer to Sending Files.
:param user_id: The ID of the User to update. Use `me` to update the account owner profile. (required)
:type user_id: str
@@ -3830,7 +3830,7 @@ def update_user_profile_with_http_info(
@validate_call
def update_user_profile_without_preload_content(
self,
- user_id: Annotated[Optional[StrictStr], Field(description="The ID of the User to update. Use `me` to update the account owner profile.")],
+ user_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the User to update. Use `me` to update the account owner profile.")],
account_id: Annotated[str, Field(strict=True, description="ID of the Account (acc_xxx) to call the method on behalf of.")],
update_user_profile_request: Optional[UpdateUserProfileRequest] = None,
_request_timeout: Union[
@@ -3848,7 +3848,7 @@ def update_user_profile_without_preload_content(
) -> RESTResponseType:
"""Update a User Profile
- Updates the specified User profile. Use `me` as `user_id` to update the account owner profile.
Multipart supported, refer to Sending Files.
+ Updates the specified User profile. Use `me` as `user_id` to update the account owner profile.
Multipart supported, refer to Sending Files.
:param user_id: The ID of the User to update. Use `me` to update the account owner profile. (required)
:type user_id: str
diff --git a/unipile/api/webhooks_api.py b/unipile/api/webhooks_api.py
index 0aff6897b..1e3e27bb8 100644
--- a/unipile/api/webhooks_api.py
+++ b/unipile/api/webhooks_api.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/api_client.py b/unipile/api_client.py
index e70de6375..8ae3f14fb 100644
--- a/unipile/api_client.py
+++ b/unipile/api_client.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -91,7 +91,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
- self.user_agent = 'OpenAPI-Generator/2.0.0/python'
+ self.user_agent = 'OpenAPI-Generator/2.34.0/python'
self.client_side_validation = configuration.client_side_validation
def __enter__(self):
@@ -247,7 +247,6 @@ def param_serialize(
return method, url, header_params, body, post_params
-
def call_api(
self,
method,
@@ -302,6 +301,12 @@ def response_deserialize(
# if not found, look for '1XX', '2XX', etc.
response_type = response_types_map.get(str(response_data.status)[0] + "XX", None)
+ # If the response_type has not matched (eg. did not match the previous if statements) and the default response is available, use it.
+ if response_type is None and str(response_data.status) not in response_types_map \
+ and (not isinstance(response_data.status, int) or not 100 <= response_data.status <= 599 or str(response_data.status)[0] + "XX" not in response_types_map) \
+ and 'default' in response_types_map:
+ response_type = response_types_map['default']
+
# deserialize response data
response_text = None
return_data = None
@@ -482,10 +487,15 @@ def parameters_to_tuples(self, params, collection_formats):
if collection_formats is None:
collection_formats = {}
for k, v in params.items() if isinstance(params, dict) else params:
+ if isinstance(v, bool):
+ v = str(v).lower()
if k in collection_formats:
collection_format = collection_formats[k]
if collection_format == 'multi':
- new_params.extend((k, value) for value in v)
+ new_params.extend(
+ (k, str(value).lower() if isinstance(value, bool) else value)
+ for value in v
+ )
else:
if collection_format == 'ssv':
delimiter = ' '
@@ -496,7 +506,9 @@ def parameters_to_tuples(self, params, collection_formats):
else: # csv is the default
delimiter = ','
new_params.append(
- (k, delimiter.join(str(value) for value in v)))
+ (k, delimiter.join(
+ str(value).lower() if isinstance(value, bool) else str(value)
+ for value in v)))
else:
new_params.append((k, v))
return new_params
@@ -522,7 +534,10 @@ def parameters_to_url_query(self, params, collection_formats):
if k in collection_formats:
collection_format = collection_formats[k]
if collection_format == 'multi':
- new_params.extend((k, quote(str(value))) for value in v)
+ new_params.extend(
+ (k, quote(str(value).lower() if isinstance(value, bool) else str(value)))
+ for value in v
+ )
else:
if collection_format == 'ssv':
delimiter = ' '
@@ -533,7 +548,9 @@ def parameters_to_url_query(self, params, collection_formats):
else: # csv is the default
delimiter = ','
new_params.append(
- (k, delimiter.join(quote(str(value)) for value in v))
+ (k, delimiter.join(
+ quote(str(value).lower() if isinstance(value, bool) else str(value))
+ for value in v))
)
else:
new_params.append((k, quote(str(v))))
@@ -672,7 +689,13 @@ def _apply_auth_params(
:param auth_setting: auth settings for the endpoint
"""
if auth_setting['in'] == 'cookie':
- headers['Cookie'] = auth_setting['value']
+ if not 'Cookie' in headers:
+ headers['Cookie'] = ""
+ else:
+ headers['Cookie'] += "; "
+ # Account for cookie value containing spaces and special characters, excluding base64 delimiters
+ cookie_value = quote(str(auth_setting['value']), safe="!#$%&'()*+-./:<=>?@[]^_`{|}~%+/=")
+ headers['Cookie'] += f"{auth_setting['key']}={cookie_value}"
elif auth_setting['in'] == 'header':
if auth_setting['type'] != 'http-signature':
headers[auth_setting['key']] = auth_setting['value']
diff --git a/unipile/configuration.py b/unipile/configuration.py
index cf0501ecd..f15c75784 100644
--- a/unipile/configuration.py
+++ b/unipile/configuration.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -15,8 +15,11 @@
import logging
from logging import FileHandler
import multiprocessing
+import ssl
import sys
from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict, Union
+from urllib.parse import urlparse
+from urllib.request import getproxies
from typing_extensions import NotRequired, Self
import urllib3
@@ -169,7 +172,9 @@ class Configuration:
:param tls_server_name: SSL/TLS Server Name Indication (SNI). Set this to the SNI value expected by the server.
:param connection_pool_maxsize: Connection pool max size. None in the constructor is coerced to 100 for async and cpu_count * 5 for sync.
:param proxy: Proxy URL.
+ :param no_proxy: Comma-separated hosts that bypass the proxy.
:param proxy_headers: Proxy headers.
+ :param proxy_ssl_context: SSL context used only for the TLS handshake with the proxy itself, independent of the destination TLS settings.
:param safe_chars_for_path_param: Safe characters for path parameter encoding.
:param client_side_validation: Enable client-side validation. Default True.
:param socket_options: Options to pass down to the underlying urllib3 socket.
@@ -223,7 +228,9 @@ def __init__(
tls_server_name: Optional[str]=None,
connection_pool_maxsize: Optional[int]=None,
proxy: Optional[str]=None,
+ no_proxy: Optional[str]=None,
proxy_headers: Optional[Any]=None,
+ proxy_ssl_context: Optional[ssl.SSLContext]=None,
safe_chars_for_path_param: str='',
client_side_validation: bool=True,
socket_options: Optional[Any]=None,
@@ -329,12 +336,29 @@ def __init__(
per pool. None in the constructor is coerced to cpu_count * 5.
"""
+ # urllib3 does not read proxy environment variables itself:
+ # https://github.com/urllib3/urllib3/issues/1785
+ if proxy is None or no_proxy is None:
+ proxies = getproxies()
+ if proxy is None:
+ scheme = urlparse(self.host).scheme
+ proxy = proxies.get(scheme) or proxies.get("all")
+ if no_proxy is None:
+ no_proxy = proxies.get("no")
self.proxy = proxy
"""Proxy URL
"""
+ self.no_proxy = no_proxy
+ """Hosts that bypass the proxy
+ """
self.proxy_headers = proxy_headers
"""Proxy headers
"""
+ self.proxy_ssl_context = proxy_ssl_context
+ """SSL context used only for the TLS handshake with the proxy itself
+ (e.g. an HTTPS CONNECT tunnel), independent of the destination TLS
+ settings above.
+ """
self.safe_chars_for_path_param = safe_chars_for_path_param
"""Safe chars for path_param
"""
@@ -361,13 +385,17 @@ def __deepcopy__(self, memo: Dict[int, Any]) -> Self:
result = cls.__new__(cls)
memo[id(self)] = result
for k, v in self.__dict__.items():
+ if k == 'proxy_ssl_context':
+ # ssl.SSLContext holds unpicklable C state and can't be deepcopied.
+ setattr(result, k, v)
+ continue
if k not in ('logger', 'logger_file_handler'):
setattr(result, k, copy.deepcopy(v, memo))
# shallow copy of loggers
result.logger = copy.copy(self.logger)
- # use setters to configure loggers
+ # use setter to re-create the file handler (excluded from __dict__ copy)
result.logger_file = self.logger_file
- result.debug = self.debug
+
return result
def __setattr__(self, name: str, value: Any) -> None:
@@ -504,7 +532,8 @@ def get_api_key_with_prefix(self, identifier: str, alias: Optional[str]=None) ->
self.refresh_api_key_hook(self)
key = self.api_key.get(identifier, self.api_key.get(alias) if alias is not None else None)
if key:
- prefix = self.api_key_prefix.get(identifier)
+ prefix = self.api_key_prefix.get(
+ identifier, self.api_key_prefix.get(alias) if alias is not None else None)
if prefix:
return "%s %s" % (prefix, key)
else:
@@ -553,8 +582,8 @@ def to_debug_report(self) -> str:
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
- "Version of the API: 2.0.0\n"\
- "SDK Package Version: 2.0.0".\
+ "Version of the API: 2.34.0\n"\
+ "SDK Package Version: 2.34.0".\
format(env=sys.platform, pyversion=sys.version)
def get_host_settings(self) -> List[HostSetting]:
diff --git a/unipile/exceptions.py b/unipile/exceptions.py
index 9953b7ce8..f179d42ce 100644
--- a/unipile/exceptions.py
+++ b/unipile/exceptions.py
@@ -3,7 +3,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/__init__.py b/unipile/models/__init__.py
index ddfe52c35..814f3a8d0 100644
--- a/unipile/models/__init__.py
+++ b/unipile/models/__init__.py
@@ -6,7 +6,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -16,16 +16,20 @@
from unipile.models.accept_relation_request200_response import AcceptRelationRequest200Response
from unipile.models.account import Account
from unipile.models.account1 import Account1
+from unipile.models.account1_metadata import Account1Metadata
from unipile.models.account1_proxy import Account1Proxy
from unipile.models.account_initial_sync import AccountInitialSync
from unipile.models.account_list import AccountList
from unipile.models.account_list_data_inner import AccountListDataInner
from unipile.models.account_list_data_inner_recommended_lead import AccountListDataInnerRecommendedLead
+from unipile.models.account_metadata import AccountMetadata
from unipile.models.account_proxy import AccountProxy
from unipile.models.add_message_reaction200_response import AddMessageReaction200Response
from unipile.models.add_message_reaction_request import AddMessageReactionRequest
from unipile.models.add_participant200_response import AddParticipant200Response
from unipile.models.add_participant_request import AddParticipantRequest
+from unipile.models.add_post_comment201_response import AddPostComment201Response
+from unipile.models.add_post_comment201_response_author import AddPostComment201ResponseAuthor
from unipile.models.add_post_comment_reaction200_response import AddPostCommentReaction200Response
from unipile.models.add_post_comment_reaction_request import AddPostCommentReactionRequest
from unipile.models.add_post_comment_reaction_request_reaction import AddPostCommentReactionRequestReaction
@@ -36,6 +40,7 @@
from unipile.models.applicants_search import ApplicantsSearch
from unipile.models.applicants_search_data_inner import ApplicantsSearchDataInner
from unipile.models.applicants_search_data_inner_profile import ApplicantsSearchDataInnerProfile
+from unipile.models.applicants_search_data_inner_screening_questions_inner import ApplicantsSearchDataInnerScreeningQuestionsInner
from unipile.models.applicants_sourced import ApplicantsSourced
from unipile.models.apply_on_external_website import ApplyOnExternalWebsite
from unipile.models.apply_on_linkedin import ApplyOnLinkedin
@@ -52,6 +57,8 @@
from unipile.models.call_started import CallStarted
from unipile.models.cancel_relation_request200_response import CancelRelationRequest200Response
from unipile.models.captcha import Captcha
+from unipile.models.challenge_selection import ChallengeSelection
+from unipile.models.challenge_selection_challenges_inner import ChallengeSelectionChallengesInner
from unipile.models.chat_description_updated import ChatDescriptionUpdated
from unipile.models.chat_name_updated import ChatNameUpdated
from unipile.models.chat_subject_updated import ChatSubjectUpdated
@@ -64,6 +71,8 @@
from unipile.models.companies_search_data_inner import CompaniesSearchDataInner
from unipile.models.companies_search_results import CompaniesSearchResults
from unipile.models.companies_search_results_data_inner import CompaniesSearchResultsDataInner
+from unipile.models.contract_selection import ContractSelection
+from unipile.models.contract_selection_contracts_inner import ContractSelectionContractsInner
from unipile.models.cookie_authentication import CookieAuthentication
from unipile.models.cookie_authentication1 import CookieAuthentication1
from unipile.models.create_auth_link200_response import CreateAuthLink200Response
@@ -108,10 +117,12 @@
from unipile.models.create_recruiter_hiring_project_request_job_title import CreateRecruiterHiringProjectRequestJobTitle
from unipile.models.create_recruiter_job_posting_draft_in_existing_project200_response import CreateRecruiterJobPostingDraftInExistingProject200Response
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request import CreateRecruiterJobPostingDraftInExistingProjectRequest
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation import CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_apply_method import CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_company import CreateRecruiterJobPostingDraftInExistingProjectRequestCompany
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_job_title import CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings import CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_salary import CreateRecruiterJobPostingDraftInExistingProjectRequestSalary
from unipile.models.create_recruiter_job_posting_draft_in_new_project_request import CreateRecruiterJobPostingDraftInNewProjectRequest
from unipile.models.create_relation_request_request import CreateRelationRequestRequest
from unipile.models.create_webhook_endpoint200_response import CreateWebhookEndpoint200Response
@@ -163,14 +174,27 @@
from unipile.models.get_calendars_list200_response import GetCalendarsList200Response
from unipile.models.get_calendars_list200_response_data_inner import GetCalendarsList200ResponseDataInner
from unipile.models.get_chat200_response import GetChat200Response
+from unipile.models.get_chat200_response_last_message import GetChat200ResponseLastMessage
+from unipile.models.get_chat200_response_last_message_any_of import GetChat200ResponseLastMessageAnyOf
from unipile.models.get_chat200_response_muted_until import GetChat200ResponseMutedUntil
from unipile.models.get_chats_list200_response import GetChatsList200Response
from unipile.models.get_chats_list200_response_data_inner import GetChatsList200ResponseDataInner
from unipile.models.get_chats_list200_response_data_inner_last_message import GetChatsList200ResponseDataInnerLastMessage
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of import GetChatsList200ResponseDataInnerLastMessageAnyOf
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1 import GetChatsList200ResponseDataInnerLastMessageAnyOf1
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_event_metadata import GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_forwarded import GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted import GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_sender import GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender
from unipile.models.get_chats_list200_response_data_inner_muted_until import GetChatsList200ResponseDataInnerMutedUntil
from unipile.models.get_chats_list200_response_data_inner_participants_inner import GetChatsList200ResponseDataInnerParticipantsInner
from unipile.models.get_chats_list200_response_data_inner_participants_inner_user import GetChatsList200ResponseDataInnerParticipantsInnerUser
from unipile.models.get_chats_list200_response_data_inner_user import GetChatsList200ResponseDataInnerUser
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics
from unipile.models.get_classic_applicant_by_id200_response import GetClassicApplicantById200Response
from unipile.models.get_classic_applicant_by_id200_response_profile import GetClassicApplicantById200ResponseProfile
from unipile.models.get_classic_applicant_by_id200_response_screening_questions_inner import GetClassicApplicantById200ResponseScreeningQuestionsInner
@@ -211,17 +235,17 @@
from unipile.models.get_classic_job_posting_budget200_response_promoted import GetClassicJobPostingBudget200ResponsePromoted
from unipile.models.get_classic_job_posting_budget200_response_promoted_daily import GetClassicJobPostingBudget200ResponsePromotedDaily
from unipile.models.get_classic_job_posting_budget200_response_promoted_total import GetClassicJobPostingBudget200ResponsePromotedTotal
-from unipile.models.get_classic_search_parameters200_response import GetClassicSearchParameters200Response
-from unipile.models.get_classic_search_parameters200_response_data_inner import GetClassicSearchParameters200ResponseDataInner
-from unipile.models.get_classic_search_parameters200_response_data_inner_metadata import GetClassicSearchParameters200ResponseDataInnerMetadata
+from unipile.models.get_contacts_list200_response import GetContactsList200Response
+from unipile.models.get_contacts_list200_response_data_inner import GetContactsList200ResponseDataInner
+from unipile.models.get_contacts_list200_response_data_inner_addresses_inner import GetContactsList200ResponseDataInnerAddressesInner
+from unipile.models.get_contacts_list200_response_data_inner_groups_inner import GetContactsList200ResponseDataInnerGroupsInner
+from unipile.models.get_contacts_list200_response_data_inner_social_handles import GetContactsList200ResponseDataInnerSocialHandles
+from unipile.models.get_contacts_list200_response_data_inner_social_handles_linkedin import GetContactsList200ResponseDataInnerSocialHandlesLinkedin
+from unipile.models.get_contacts_list200_response_data_inner_user import GetContactsList200ResponseDataInnerUser
from unipile.models.get_drafts_list200_response import GetDraftsList200Response
from unipile.models.get_drafts_list200_response_data_inner import GetDraftsList200ResponseDataInner
-from unipile.models.get_email_contacts_list200_response import GetEmailContactsList200Response
-from unipile.models.get_email_contacts_list200_response_data_inner import GetEmailContactsList200ResponseDataInner
-from unipile.models.get_email_contacts_list200_response_data_inner_addresses_inner import GetEmailContactsList200ResponseDataInnerAddressesInner
-from unipile.models.get_email_contacts_list200_response_data_inner_groups_inner import GetEmailContactsList200ResponseDataInnerGroupsInner
-from unipile.models.get_email_contacts_list200_response_data_inner_social_handles import GetEmailContactsList200ResponseDataInnerSocialHandles
-from unipile.models.get_email_contacts_list200_response_data_inner_social_handles_linkedin import GetEmailContactsList200ResponseDataInnerSocialHandlesLinkedin
+from unipile.models.get_email_senders200_response import GetEmailSenders200Response
+from unipile.models.get_email_senders200_response_data_inner import GetEmailSenders200ResponseDataInner
from unipile.models.get_emails_list200_response import GetEmailsList200Response
from unipile.models.get_emails_list200_response_data_inner import GetEmailsList200ResponseDataInner
from unipile.models.get_emails_list200_response_data_inner_from_inner import GetEmailsList200ResponseDataInnerFromInner
@@ -232,22 +256,20 @@
from unipile.models.get_inboxes_list200_response_data_inner import GetInboxesList200ResponseDataInner
from unipile.models.get_inmail_credits200_response import GetInmailCredits200Response
from unipile.models.get_inmail_credits200_response_credits import GetInmailCredits200ResponseCredits
+from unipile.models.get_managed_company_pages200_response import GetManagedCompanyPages200Response
+from unipile.models.get_managed_company_pages200_response_data_inner import GetManagedCompanyPages200ResponseDataInner
from unipile.models.get_message200_response import GetMessage200Response
from unipile.models.get_message_reactions_list200_response import GetMessageReactionsList200Response
from unipile.models.get_message_reactions_list200_response_data_inner import GetMessageReactionsList200ResponseDataInner
-from unipile.models.get_message_reactions_list200_response_data_inner_sender import GetMessageReactionsList200ResponseDataInnerSender
from unipile.models.get_messages_list200_response import GetMessagesList200Response
from unipile.models.get_messages_list200_response_data_inner import GetMessagesList200ResponseDataInner
-from unipile.models.get_messages_list200_response_data_inner_attachments_inner import GetMessagesList200ResponseDataInnerAttachmentsInner
-from unipile.models.get_messages_list200_response_data_inner_event_metadata import GetMessagesList200ResponseDataInnerEventMetadata
from unipile.models.get_messages_list200_response_data_inner_forwarded import GetMessagesList200ResponseDataInnerForwarded
from unipile.models.get_messages_list200_response_data_inner_quoted import GetMessagesList200ResponseDataInnerQuoted
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
-from unipile.models.get_messages_list200_response_data_inner_reactions_counter_inner import GetMessagesList200ResponseDataInnerReactionsCounterInner
from unipile.models.get_messages_list200_response_data_inner_sender import GetMessagesList200ResponseDataInnerSender
from unipile.models.get_messages_list200_response_data_inner_specifics import GetMessagesList200ResponseDataInnerSpecifics
from unipile.models.get_participants_list200_response import GetParticipantsList200Response
from unipile.models.get_post200_response import GetPost200Response
+from unipile.models.get_post200_response_quoted_post import GetPost200ResponseQuotedPost
from unipile.models.get_post_comments_list200_response import GetPostCommentsList200Response
from unipile.models.get_post_comments_list200_response_data_inner import GetPostCommentsList200ResponseDataInner
from unipile.models.get_post_comments_list200_response_data_inner_author import GetPostCommentsList200ResponseDataInnerAuthor
@@ -260,8 +282,17 @@
from unipile.models.get_posts_list200_response_data_inner_poll import GetPostsList200ResponseDataInnerPoll
from unipile.models.get_posts_list200_response_data_inner_poll_options_inner import GetPostsList200ResponseDataInnerPollOptionsInner
from unipile.models.get_posts_list200_response_data_inner_quoted_post import GetPostsList200ResponseDataInnerQuotedPost
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics import GetPostsList200ResponseDataInnerQuotedPostSpecifics
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_article import GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_job_posting import GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company import GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner import GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner
from unipile.models.get_posts_list200_response_data_inner_quoted_post_user_reacted import GetPostsList200ResponseDataInnerQuotedPostUserReacted
from unipile.models.get_posts_list200_response_data_inner_reposted_by import GetPostsList200ResponseDataInnerRepostedBy
+from unipile.models.get_posts_list200_response_data_inner_specifics import GetPostsList200ResponseDataInnerSpecifics
+from unipile.models.get_posts_list200_response_data_inner_specifics_article import GetPostsList200ResponseDataInnerSpecificsArticle
+from unipile.models.get_posts_list200_response_data_inner_specifics_job_posting import GetPostsList200ResponseDataInnerSpecificsJobPosting
+from unipile.models.get_posts_list200_response_data_inner_specifics_job_posting_company import GetPostsList200ResponseDataInnerSpecificsJobPostingCompany
from unipile.models.get_posts_list200_response_data_inner_user_reacted import GetPostsList200ResponseDataInnerUserReacted
from unipile.models.get_recruiter_hiring_project200_response import GetRecruiterHiringProject200Response
from unipile.models.get_recruiter_hiring_project200_response_metadata import GetRecruiterHiringProject200ResponseMetadata
@@ -303,6 +334,8 @@
from unipile.models.get_recruiter_talent_pool_applicants_request_years_in_current_position import GetRecruiterTalentPoolApplicantsRequestYearsInCurrentPosition
from unipile.models.get_recruiter_talent_pool_applicants_request_years_of_experience import GetRecruiterTalentPoolApplicantsRequestYearsOfExperience
from unipile.models.get_relation_requests_list200_response import GetRelationRequestsList200Response
+from unipile.models.get_relation_requests_list200_response_data_inner import GetRelationRequestsList200ResponseDataInner
+from unipile.models.get_relation_requests_list200_response_data_inner_user import GetRelationRequestsList200ResponseDataInnerUser
from unipile.models.get_sales_account_lists200_response import GetSalesAccountLists200Response
from unipile.models.get_sales_account_lists200_response_data_inner import GetSalesAccountLists200ResponseDataInner
from unipile.models.get_sales_lead_lists200_response import GetSalesLeadLists200Response
@@ -341,6 +374,8 @@
from unipile.models.instagram1_config import Instagram1Config
from unipile.models.instagram1_credentials import Instagram1Credentials
from unipile.models.jobs_search_results import JobsSearchResults
+from unipile.models.jobs_search_results1 import JobsSearchResults1
+from unipile.models.jobs_search_results1_data_inner import JobsSearchResults1DataInner
from unipile.models.jobs_search_results_data_inner import JobsSearchResultsDataInner
from unipile.models.jobs_search_results_data_inner_company import JobsSearchResultsDataInnerCompany
from unipile.models.jobs_sourced import JobsSourced
@@ -354,41 +389,48 @@
from unipile.models.link_new_account import LinkNewAccount
from unipile.models.link_new_account_config import LinkNewAccountConfig
from unipile.models.link_new_account_config_global import LinkNewAccountConfigGlobal
-from unipile.models.link_new_account_config_google import LinkNewAccountConfigGoogle
from unipile.models.link_new_account_config_imap import LinkNewAccountConfigImap
from unipile.models.link_new_account_config_linkedin import LinkNewAccountConfigLinkedin
from unipile.models.link_new_account_providers import LinkNewAccountProviders
from unipile.models.linked_in import LinkedIn
from unipile.models.linked_in1 import LinkedIn1
-from unipile.models.linked_in1_config import LinkedIn1Config
-from unipile.models.linked_in1_credentials import LinkedIn1Credentials
-from unipile.models.linked_in_certifications_inner import LinkedInCertificationsInner
-from unipile.models.linked_in_certifications_inner_organization import LinkedInCertificationsInnerOrganization
+from unipile.models.linked_in1_certifications_inner import LinkedIn1CertificationsInner
+from unipile.models.linked_in1_certifications_inner_organization import LinkedIn1CertificationsInnerOrganization
+from unipile.models.linked_in1_education_inner import LinkedIn1EducationInner
+from unipile.models.linked_in1_education_inner_school import LinkedIn1EducationInnerSchool
+from unipile.models.linked_in1_experience_inner import LinkedIn1ExperienceInner
+from unipile.models.linked_in1_experience_inner_company import LinkedIn1ExperienceInnerCompany
+from unipile.models.linked_in1_interests import LinkedIn1Interests
+from unipile.models.linked_in1_interests_companies_inner import LinkedIn1InterestsCompaniesInner
+from unipile.models.linked_in1_interests_groups_inner import LinkedIn1InterestsGroupsInner
+from unipile.models.linked_in1_interests_newsletters_inner import LinkedIn1InterestsNewslettersInner
+from unipile.models.linked_in1_interests_schools_inner import LinkedIn1InterestsSchoolsInner
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner
+from unipile.models.linked_in1_projects_inner import LinkedIn1ProjectsInner
+from unipile.models.linked_in1_projects_inner_contributors_inner import LinkedIn1ProjectsInnerContributorsInner
+from unipile.models.linked_in1_recommendations import LinkedIn1Recommendations
+from unipile.models.linked_in1_recommendations_received_inner import LinkedIn1RecommendationsReceivedInner
+from unipile.models.linked_in1_recommendations_received_inner_user import LinkedIn1RecommendationsReceivedInnerUser
+from unipile.models.linked_in1_recruiting_profile import LinkedIn1RecruitingProfile
+from unipile.models.linked_in1_recruiting_profile_events_inner import LinkedIn1RecruitingProfileEventsInner
+from unipile.models.linked_in1_recruiting_profile_notes_inner import LinkedIn1RecruitingProfileNotesInner
+from unipile.models.linked_in1_recruiting_profile_notes_inner_comments_inner import LinkedIn1RecruitingProfileNotesInnerCommentsInner
+from unipile.models.linked_in1_recruiting_profile_tags_inner import LinkedIn1RecruitingProfileTagsInner
+from unipile.models.linked_in1_relation_request import LinkedIn1RelationRequest
+from unipile.models.linked_in1_relation_request_user import LinkedIn1RelationRequestUser
+from unipile.models.linked_in1_skills_inner import LinkedIn1SkillsInner
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner
+from unipile.models.linked_in2 import LinkedIn2
+from unipile.models.linked_in2_config import LinkedIn2Config
+from unipile.models.linked_in2_config_products import LinkedIn2ConfigProducts
+from unipile.models.linked_in2_credentials import LinkedIn2Credentials
from unipile.models.linked_in_classic import LinkedInClassic
from unipile.models.linked_in_classic_applicant import LinkedInClassicApplicant
-from unipile.models.linked_in_education_inner import LinkedInEducationInner
-from unipile.models.linked_in_education_inner_school import LinkedInEducationInnerSchool
-from unipile.models.linked_in_experience_inner import LinkedInExperienceInner
-from unipile.models.linked_in_experience_inner_company import LinkedInExperienceInnerCompany
-from unipile.models.linked_in_languages_inner import LinkedInLanguagesInner
-from unipile.models.linked_in_projects_inner import LinkedInProjectsInner
-from unipile.models.linked_in_projects_inner_contributors_inner import LinkedInProjectsInnerContributorsInner
-from unipile.models.linked_in_recommendations import LinkedInRecommendations
-from unipile.models.linked_in_recommendations_received_inner import LinkedInRecommendationsReceivedInner
-from unipile.models.linked_in_recommendations_received_inner_user import LinkedInRecommendationsReceivedInnerUser
from unipile.models.linked_in_recruiter import LinkedInRecruiter
from unipile.models.linked_in_recruiter_follow_up import LinkedInRecruiterFollowUp
from unipile.models.linked_in_recruiter_follow_up_scheduled_for import LinkedInRecruiterFollowUpScheduledFor
-from unipile.models.linked_in_recruiting_profile import LinkedInRecruitingProfile
-from unipile.models.linked_in_recruiting_profile_events_inner import LinkedInRecruitingProfileEventsInner
-from unipile.models.linked_in_recruiting_profile_notes_inner import LinkedInRecruitingProfileNotesInner
-from unipile.models.linked_in_recruiting_profile_notes_inner_comments_inner import LinkedInRecruitingProfileNotesInnerCommentsInner
-from unipile.models.linked_in_recruiting_profile_tags_inner import LinkedInRecruitingProfileTagsInner
-from unipile.models.linked_in_relation_request import LinkedInRelationRequest
-from unipile.models.linked_in_relation_request_user import LinkedInRelationRequestUser
from unipile.models.linked_in_sales_navigator import LinkedInSalesNavigator
-from unipile.models.linked_in_skills_inner import LinkedInSkillsInner
-from unipile.models.linked_in_volunteer_experience_inner import LinkedInVolunteerExperienceInner
from unipile.models.list_accounts200_response import ListAccounts200Response
from unipile.models.list_classic_user_job_postings200_response import ListClassicUserJobPostings200Response
from unipile.models.list_classic_user_job_postings200_response_data_inner import ListClassicUserJobPostings200ResponseDataInner
@@ -398,6 +440,7 @@
from unipile.models.list_webhook_endpoints200_response import ListWebhookEndpoints200Response
from unipile.models.list_webhook_endpoints200_response_data_inner import ListWebhookEndpoints200ResponseDataInner
from unipile.models.list_webhook_endpoints200_response_data_inner_account_targets_inner import ListWebhookEndpoints200ResponseDataInnerAccountTargetsInner
+from unipile.models.loading import Loading
from unipile.models.media_share import MediaShare
from unipile.models.message import Message
from unipile.models.message_file import MessageFile
@@ -437,17 +480,12 @@
from unipile.models.people_search_data_inner import PeopleSearchDataInner
from unipile.models.people_search_results import PeopleSearchResults
from unipile.models.people_search_results_data_inner import PeopleSearchResultsDataInner
-from unipile.models.perform_classic_companies_search200_response import PerformClassicCompaniesSearch200Response
from unipile.models.perform_classic_companies_search_request import PerformClassicCompaniesSearchRequest
from unipile.models.perform_classic_companies_search_request_headcount_inner import PerformClassicCompaniesSearchRequestHeadcountInner
-from unipile.models.perform_classic_jobs_search200_response import PerformClassicJobsSearch200Response
-from unipile.models.perform_classic_jobs_search200_response_data_inner import PerformClassicJobsSearch200ResponseDataInner
from unipile.models.perform_classic_jobs_search_request import PerformClassicJobsSearchRequest
from unipile.models.perform_classic_jobs_search_request_salary import PerformClassicJobsSearchRequestSalary
-from unipile.models.perform_classic_people_search200_response import PerformClassicPeopleSearch200Response
from unipile.models.perform_classic_people_search_request import PerformClassicPeopleSearchRequest
from unipile.models.perform_classic_people_search_request_advanced_keywords import PerformClassicPeopleSearchRequestAdvancedKeywords
-from unipile.models.perform_classic_posts_search200_response import PerformClassicPostsSearch200Response
from unipile.models.perform_classic_posts_search_request import PerformClassicPostsSearchRequest
from unipile.models.perform_classic_posts_search_request_author import PerformClassicPostsSearchRequestAuthor
from unipile.models.perform_classic_posts_search_request_mentioning import PerformClassicPostsSearchRequestMentioning
@@ -554,6 +592,9 @@
from unipile.models.remove_post_reaction200_response import RemovePostReaction200Response
from unipile.models.remove_post_reaction_request import RemovePostReactionRequest
from unipile.models.remove_post_reaction_request_reaction import RemovePostReactionRequestReaction
+from unipile.models.request_checkpoint200_response import RequestCheckpoint200Response
+from unipile.models.request_checkpoint_request import RequestCheckpointRequest
+from unipile.models.resend_checkpoint_request import ResendCheckpointRequest
from unipile.models.smtp_connections_parameters import SMTPConnectionsParameters
from unipile.models.sales_navigator_saved_search import SalesNavigatorSavedSearch
from unipile.models.save_recruiter_candidate_to_pipeline200_response import SaveRecruiterCandidateToPipeline200Response
@@ -567,6 +608,9 @@
from unipile.models.scheduled_call_started import ScheduledCallStarted
from unipile.models.search_locations200_response_inner import SearchLocations200ResponseInner
from unipile.models.search_or_job_posting_sourced import SearchOrJobPostingSourced
+from unipile.models.search_parameters_list import SearchParametersList
+from unipile.models.search_parameters_list_data_inner import SearchParametersListDataInner
+from unipile.models.search_parameters_list_data_inner_metadata import SearchParametersListDataInnerMetadata
from unipile.models.select_contract200_response import SelectContract200Response
from unipile.models.send_email200_response import SendEmail200Response
from unipile.models.send_email_request import SendEmailRequest
@@ -584,8 +628,6 @@
from unipile.models.start_auth_intent_request import StartAuthIntentRequest
from unipile.models.start_chat200_response import StartChat200Response
from unipile.models.start_chat200_response_message_id import StartChat200ResponseMessageId
-from unipile.models.start_chat_from_inbox_request import StartChatFromInboxRequest
-from unipile.models.start_chat_from_inbox_request_users_ids import StartChatFromInboxRequestUsersIds
from unipile.models.start_chat_request import StartChatRequest
from unipile.models.start_chat_request_specifics import StartChatRequestSpecifics
from unipile.models.start_chat_request_specifics_linkedin import StartChatRequestSpecificsLinkedin
@@ -603,12 +645,20 @@
from unipile.models.update_account_request import UpdateAccountRequest
from unipile.models.update_calendar_event_request import UpdateCalendarEventRequest
from unipile.models.update_calendar_request import UpdateCalendarRequest
+from unipile.models.update_chat200_response import UpdateChat200Response
+from unipile.models.update_chat200_response_participants_inner import UpdateChat200ResponseParticipantsInner
+from unipile.models.update_chat200_response_participants_inner_user import UpdateChat200ResponseParticipantsInnerUser
+from unipile.models.update_chat200_response_user import UpdateChat200ResponseUser
from unipile.models.update_chat_request import UpdateChatRequest
from unipile.models.update_chat_request_muted_until import UpdateChatRequestMutedUntil
from unipile.models.update_draft_request import UpdateDraftRequest
from unipile.models.update_draft_request_specifics import UpdateDraftRequestSpecifics
from unipile.models.update_draft_request_specifics_all_of_outlook import UpdateDraftRequestSpecificsAllOfOutlook
from unipile.models.update_folder_request import UpdateFolderRequest
+from unipile.models.update_post200_response import UpdatePost200Response
+from unipile.models.update_post200_response_author import UpdatePost200ResponseAuthor
+from unipile.models.update_post200_response_quoted_post import UpdatePost200ResponseQuotedPost
+from unipile.models.update_post200_response_reposted_by import UpdatePost200ResponseRepostedBy
from unipile.models.update_post_comment_request import UpdatePostCommentRequest
from unipile.models.update_post_request import UpdatePostRequest
from unipile.models.update_user_profile200_response import UpdateUserProfile200Response
@@ -635,6 +685,8 @@
from unipile.models.visit_user_profile200_response import VisitUserProfile200Response
from unipile.models.weeks_based import WeeksBased
from unipile.models.whats_app import WhatsApp
-from unipile.models.whats_app_config import WhatsAppConfig
-from unipile.models.whats_app_credentials import WhatsAppCredentials
+from unipile.models.whats_app1 import WhatsApp1
+from unipile.models.whats_app2 import WhatsApp2
+from unipile.models.whats_app2_config import WhatsApp2Config
+from unipile.models.whats_app2_credentials import WhatsApp2Credentials
diff --git a/unipile/models/accept_relation_request200_response.py b/unipile/models/accept_relation_request200_response.py
index 5022f2af6..f6ca85689 100644
--- a/unipile/models/accept_relation_request200_response.py
+++ b/unipile/models/accept_relation_request200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/account.py b/unipile/models/account.py
index ac852c686..d03a2704f 100644
--- a/unipile/models/account.py
+++ b/unipile/models/account.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,10 +17,11 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
from typing_extensions import Annotated
from unipile.models.account_initial_sync import AccountInitialSync
+from unipile.models.account_metadata import AccountMetadata
from unipile.models.account_proxy import AccountProxy
from typing import Optional, Set
from typing_extensions import Self
@@ -36,13 +37,14 @@ class Account(BaseModel):
created_at: StrictStr = Field(description="The date and time the account was linked with Unipile.")
id: Annotated[str, Field(strict=True)] = Field(description="ID of the account.")
application_id: Annotated[str, Field(strict=True)] = Field(description="ID of the parent application.")
- status: StrictStr = Field(description="The current status of the account. - `running` is Operational. - `error` is Service Interuption. - `disconnected` is Require Authentication.. - `paused` is Paused. Learn more about [Status & Lifecycle](https://developer.unipile.com/v2.0/docs/status-lifecycle).")
+ status: StrictStr = Field(description="The current status of the account. - `running` is Operational. - `errored` is Service Interuption. - `disconnected` requires authentication. - `degraded` means at least one product is running while another is errored; inspect `metadata.products_connection_status`. - `partial` means at least one product is running while another requires authentication; inspect `metadata.products_connection_status`. Learn more about [Status & Lifecycle](https://developer.unipile.com/v2.0/docs/status-lifecycle).")
+ is_locked: StrictBool = Field(description="Whether API access to the account is locked.")
provider: StrictStr = Field(description="The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP.")
oauth_scope: Optional[StrictStr] = Field(default=None, description="If the provider is OAuth, this is the scope of comma-separated permissions granted to the account.")
- metadata: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="Metadata of the account.")
+ metadata: AccountMetadata
initial_sync: Optional[AccountInitialSync] = None
proxy: Optional[AccountProxy] = None
- __properties: ClassVar[List[str]] = ["object", "user_id", "name", "created_at", "id", "application_id", "status", "provider", "oauth_scope", "metadata", "initial_sync", "proxy"]
+ __properties: ClassVar[List[str]] = ["object", "user_id", "name", "created_at", "id", "application_id", "status", "is_locked", "provider", "oauth_scope", "metadata", "initial_sync", "proxy"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -51,31 +53,25 @@ def object_validate_enum(cls, value):
raise ValueError("must be one of enum values ('Account')")
return value
- @field_validator('id')
+ @field_validator('id', mode="before")
def id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^acc_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^acc_(.*)$", value):
raise ValueError(r"must validate the regular expression /^acc_(.*)$/")
return value
- @field_validator('application_id')
+ @field_validator('application_id', mode="before")
def application_id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^app_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^app_(.*)$", value):
raise ValueError(r"must validate the regular expression /^app_(.*)$/")
return value
@field_validator('status')
def status_validate_enum(cls, value):
"""Validates the enum"""
- if value not in set(['running', 'errored', 'disconnected', 'paused']):
- raise ValueError("must be one of enum values ('running', 'errored', 'disconnected', 'paused')")
+ if value not in set(['running', 'errored', 'disconnected', 'degraded', 'partial']):
+ raise ValueError("must be one of enum values ('running', 'errored', 'disconnected', 'degraded', 'partial')")
return value
@field_validator('provider')
@@ -124,6 +120,9 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # override the default output from pydantic by calling `to_dict()` of metadata
+ if self.metadata:
+ _dict['metadata'] = self.metadata.to_dict()
# override the default output from pydantic by calling `to_dict()` of initial_sync
if self.initial_sync:
_dict['initial_sync'] = self.initial_sync.to_dict()
@@ -149,9 +148,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"id": obj.get("id"),
"application_id": obj.get("application_id"),
"status": obj.get("status"),
+ "is_locked": obj.get("is_locked"),
"provider": obj.get("provider"),
"oauth_scope": obj.get("oauth_scope"),
- "metadata": obj.get("metadata"),
+ "metadata": AccountMetadata.from_dict(obj["metadata"]) if obj.get("metadata") is not None else None,
"initial_sync": AccountInitialSync.from_dict(obj["initial_sync"]) if obj.get("initial_sync") is not None else None,
"proxy": AccountProxy.from_dict(obj["proxy"]) if obj.get("proxy") is not None else None
})
diff --git a/unipile/models/account1.py b/unipile/models/account1.py
index fe7f15e3e..a7ee73e2d 100644
--- a/unipile/models/account1.py
+++ b/unipile/models/account1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,9 +17,10 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
from typing_extensions import Annotated
+from unipile.models.account1_metadata import Account1Metadata
from unipile.models.account1_proxy import Account1Proxy
from unipile.models.account_initial_sync import AccountInitialSync
from typing import Optional, Set
@@ -36,13 +37,14 @@ class Account1(BaseModel):
created_at: StrictStr = Field(description="The date and time the account was linked with Unipile.")
id: Annotated[str, Field(strict=True)] = Field(description="ID of the account.")
application_id: Annotated[str, Field(strict=True)] = Field(description="ID of the parent application.")
- status: StrictStr = Field(description="The current status of the account. - `running` is Operational. - `error` is Service Interuption. - `disconnected` is Require Authentication.. - `paused` is Paused. Learn more about [Status & Lifecycle](https://developer.unipile.com/v2.0/docs/status-lifecycle).")
+ status: StrictStr = Field(description="The current status of the account. - `running` is Operational. - `errored` is Service Interuption. - `disconnected` requires authentication. - `degraded` means at least one product is running while another is errored; inspect `metadata.products_connection_status`. - `partial` means at least one product is running while another requires authentication; inspect `metadata.products_connection_status`. Learn more about [Status & Lifecycle](https://developer.unipile.com/v2.0/docs/status-lifecycle).")
+ is_locked: StrictBool = Field(description="Whether API access to the account is locked.")
provider: StrictStr = Field(description="The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP.")
oauth_scope: Optional[StrictStr] = Field(default=None, description="If the provider is OAuth, this is the scope of comma-separated permissions granted to the account.")
- metadata: Optional[Dict[str, StrictStr]] = Field(default=None, description="Metadata of the account.")
+ metadata: Account1Metadata
initial_sync: Optional[AccountInitialSync] = None
proxy: Optional[Account1Proxy] = None
- __properties: ClassVar[List[str]] = ["object", "user_id", "name", "created_at", "id", "application_id", "status", "provider", "oauth_scope", "metadata", "initial_sync", "proxy"]
+ __properties: ClassVar[List[str]] = ["object", "user_id", "name", "created_at", "id", "application_id", "status", "is_locked", "provider", "oauth_scope", "metadata", "initial_sync", "proxy"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -51,31 +53,25 @@ def object_validate_enum(cls, value):
raise ValueError("must be one of enum values ('Account')")
return value
- @field_validator('id')
+ @field_validator('id', mode="before")
def id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^acc_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^acc_(.*)$", value):
raise ValueError(r"must validate the regular expression /^acc_(.*)$/")
return value
- @field_validator('application_id')
+ @field_validator('application_id', mode="before")
def application_id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^app_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^app_(.*)$", value):
raise ValueError(r"must validate the regular expression /^app_(.*)$/")
return value
@field_validator('status')
def status_validate_enum(cls, value):
"""Validates the enum"""
- if value not in set(['running', 'errored', 'disconnected', 'paused']):
- raise ValueError("must be one of enum values ('running', 'errored', 'disconnected', 'paused')")
+ if value not in set(['running', 'errored', 'disconnected', 'degraded', 'partial']):
+ raise ValueError("must be one of enum values ('running', 'errored', 'disconnected', 'degraded', 'partial')")
return value
@field_validator('provider')
@@ -124,6 +120,9 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # override the default output from pydantic by calling `to_dict()` of metadata
+ if self.metadata:
+ _dict['metadata'] = self.metadata.to_dict()
# override the default output from pydantic by calling `to_dict()` of initial_sync
if self.initial_sync:
_dict['initial_sync'] = self.initial_sync.to_dict()
@@ -149,9 +148,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"id": obj.get("id"),
"application_id": obj.get("application_id"),
"status": obj.get("status"),
+ "is_locked": obj.get("is_locked"),
"provider": obj.get("provider"),
"oauth_scope": obj.get("oauth_scope"),
- "metadata": obj.get("metadata"),
+ "metadata": Account1Metadata.from_dict(obj["metadata"]) if obj.get("metadata") is not None else None,
"initial_sync": AccountInitialSync.from_dict(obj["initial_sync"]) if obj.get("initial_sync") is not None else None,
"proxy": Account1Proxy.from_dict(obj["proxy"]) if obj.get("proxy") is not None else None
})
diff --git a/unipile/models/account1_metadata.py b/unipile/models/account1_metadata.py
new file mode 100644
index 000000000..53e61d7a5
--- /dev/null
+++ b/unipile/models/account1_metadata.py
@@ -0,0 +1,105 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class Account1Metadata(BaseModel):
+ """
+ Account1Metadata
+ """ # noqa: E501
+ auto_proxy_country: Optional[StrictStr] = Field(default=None, description="The chosen country for the automatic proxy selection.")
+ v1_account_id: Optional[StrictStr] = Field(default=None, description="The ID of the account in the v1 if the account is migrated from v1.")
+ products_connection_status: Optional[Dict[str, StrictStr]] = Field(default=None, description="The status of the connection to a product, if the account is connected to multiple products.")
+ custom_data: Optional[Dict[str, StrictStr]] = Field(default=None, description="Custom data of the account. This is where you can store custom data using \"Update an account\" method.")
+ __properties: ClassVar[List[str]] = ["auto_proxy_country", "v1_account_id", "products_connection_status", "custom_data"]
+
+ @field_validator('products_connection_status')
+ def products_connection_status_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ for i in value.values():
+ if i not in set(['running', 'disconnected', 'errored']):
+ raise ValueError("dict values must be one of enum values ('running', 'disconnected', 'errored')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of Account1Metadata from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of Account1Metadata from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "auto_proxy_country": obj.get("auto_proxy_country"),
+ "v1_account_id": obj.get("v1_account_id"),
+ "products_connection_status": obj.get("products_connection_status"),
+ "custom_data": obj.get("custom_data")
+ })
+ return _obj
+
+
diff --git a/unipile/models/account1_proxy.py b/unipile/models/account1_proxy.py
index 14bde1903..2142682af 100644
--- a/unipile/models/account1_proxy.py
+++ b/unipile/models/account1_proxy.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,8 +17,8 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
-from typing import Any, ClassVar, Dict, List, Optional
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional, Union
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,11 @@ class Account1Proxy(BaseModel):
""" # noqa: E501
country: Optional[StrictStr] = Field(description="The country of the proxy. If null, the proxy has no defined country.")
auto_proxy: StrictBool = Field(description="Whether the proxy was set automatically by Unipile.")
- __properties: ClassVar[List[str]] = ["country", "auto_proxy"]
+ host: Optional[StrictStr] = Field(default=None, description="The host of the custom proxy.")
+ port: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The port of the custom proxy.")
+ username: Optional[StrictStr] = Field(default=None, description="The username used to authenticate to the custom proxy.")
+ protocol: Optional[StrictStr] = Field(default=None, description="The protocol of the custom proxy.")
+ __properties: ClassVar[List[str]] = ["country", "auto_proxy", "host", "port", "username", "protocol"]
model_config = ConfigDict(
validate_by_name=True,
@@ -88,7 +92,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"country": obj.get("country"),
- "auto_proxy": obj.get("auto_proxy")
+ "auto_proxy": obj.get("auto_proxy"),
+ "host": obj.get("host"),
+ "port": obj.get("port"),
+ "username": obj.get("username"),
+ "protocol": obj.get("protocol")
})
return _obj
diff --git a/unipile/models/account_initial_sync.py b/unipile/models/account_initial_sync.py
index f31e9cde6..ee8175148 100644
--- a/unipile/models/account_initial_sync.py
+++ b/unipile/models/account_initial_sync.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/account_list.py b/unipile/models/account_list.py
index 25ea0d61b..f5db138f1 100644
--- a/unipile/models/account_list.py
+++ b/unipile/models/account_list.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class AccountList(BaseModel):
AccountList
""" # noqa: E501
data: List[AccountListDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/account_list_data_inner.py b/unipile/models/account_list_data_inner.py
index bc7447ee1..227cdca14 100644
--- a/unipile/models/account_list_data_inner.py
+++ b/unipile/models/account_list_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/account_list_data_inner_recommended_lead.py b/unipile/models/account_list_data_inner_recommended_lead.py
index 3f5aaa30b..82c11ea5c 100644
--- a/unipile/models/account_list_data_inner_recommended_lead.py
+++ b/unipile/models/account_list_data_inner_recommended_lead.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -23,8 +23,8 @@
from unipile.models.full_profile_skills_inner import FullProfileSkillsInner
from unipile.models.lead_list_data_inner_all_of_all_of_contact_info import LeadListDataInnerAllOfAllOfContactInfo
from unipile.models.lead_list_data_inner_all_of_all_of_social_handles import LeadListDataInnerAllOfAllOfSocialHandles
-from unipile.models.linked_in_languages_inner import LinkedInLanguagesInner
-from unipile.models.linked_in_volunteer_experience_inner import LinkedInVolunteerExperienceInner
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner
from unipile.models.partial_profile_work_experience_inner import PartialProfileWorkExperienceInner
from unipile.models.people_search1_data_inner_latest_contact import PeopleSearch1DataInnerLatestContact
from unipile.models.people_search1_data_inner_network_distance import PeopleSearch1DataInnerNetworkDistance
@@ -45,7 +45,7 @@ class AccountListDataInnerRecommendedLead(BaseModel):
public_picture_url_large: Optional[StrictStr] = Field(default=None, description="The public picture URL of the User in large size.")
relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations of the User.")
location: Optional[StrictStr] = Field(default=None, description="The location of the User.")
- headline: StrictStr = Field(description="The headline of the User.")
+ headline: Optional[StrictStr] = Field(default=None, description="The headline of the User.")
network_distance: PeopleSearch1DataInnerNetworkDistance
can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether it is possible to send an inMail to this User.")
shared_relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations that you share with the User.")
@@ -68,8 +68,8 @@ class AccountListDataInnerRecommendedLead(BaseModel):
education: List[FullProfileEducationInner]
skills: List[FullProfileSkillsInner]
work_experience: List[PartialProfileWorkExperienceInner]
- languages: List[LinkedInLanguagesInner]
- volunteering: List[LinkedInVolunteerExperienceInner]
+ languages: List[LinkedIn1LanguagesInner]
+ volunteering: List[LinkedIn1VolunteerExperienceInner]
object: StrictStr
__properties: ClassVar[List[str]] = ["id", "member_id", "display_name", "public_identifier", "profile_url", "public_picture_url", "public_picture_url_large", "relations_count", "location", "headline", "network_distance", "can_send_inmail", "shared_relations_count", "summary", "has_posted_recently", "has_viewed_your_profile", "was_hired_recently", "was_promoted_recently", "follows_your_company", "is_premium", "is_past_colleague", "is_open_profile", "websites", "addresses", "contact_info", "latest_contact", "lists_count", "notes_count", "social_handles", "education", "skills", "work_experience", "languages", "volunteering", "object"]
@@ -135,36 +135,31 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.education:
for _item_education in self.education:
- if _item_education:
- _items.append(_item_education.to_dict())
+ _items.append(_item_education.to_dict() if _item_education is not None else None)
_dict['education'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in skills (list)
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in work_experience (list)
_items = []
if self.work_experience:
for _item_work_experience in self.work_experience:
- if _item_work_experience:
- _items.append(_item_work_experience.to_dict())
+ _items.append(_item_work_experience.to_dict() if _item_work_experience is not None else None)
_dict['work_experience'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in languages (list)
_items = []
if self.languages:
for _item_languages in self.languages:
- if _item_languages:
- _items.append(_item_languages.to_dict())
+ _items.append(_item_languages.to_dict() if _item_languages is not None else None)
_dict['languages'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in volunteering (list)
_items = []
if self.volunteering:
for _item_volunteering in self.volunteering:
- if _item_volunteering:
- _items.append(_item_volunteering.to_dict())
+ _items.append(_item_volunteering.to_dict() if _item_volunteering is not None else None)
_dict['volunteering'] = _items
return _dict
@@ -210,8 +205,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"education": [FullProfileEducationInner.from_dict(_item) for _item in obj["education"]] if obj.get("education") is not None else None,
"skills": [FullProfileSkillsInner.from_dict(_item) for _item in obj["skills"]] if obj.get("skills") is not None else None,
"work_experience": [PartialProfileWorkExperienceInner.from_dict(_item) for _item in obj["work_experience"]] if obj.get("work_experience") is not None else None,
- "languages": [LinkedInLanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
- "volunteering": [LinkedInVolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None,
+ "languages": [LinkedIn1LanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
+ "volunteering": [LinkedIn1VolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None,
"object": obj.get("object")
})
return _obj
diff --git a/unipile/models/account_metadata.py b/unipile/models/account_metadata.py
new file mode 100644
index 000000000..d1edce586
--- /dev/null
+++ b/unipile/models/account_metadata.py
@@ -0,0 +1,105 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class AccountMetadata(BaseModel):
+ """
+ AccountMetadata
+ """ # noqa: E501
+ auto_proxy_country: Optional[StrictStr] = Field(default=None, description="The chosen country for the automatic proxy selection.")
+ v1_account_id: Optional[StrictStr] = Field(default=None, description="The ID of the account in the v1 if the account is migrated from v1.")
+ products_connection_status: Optional[Dict[str, StrictStr]] = Field(default=None, description="The status of the connection to a product, if the account is connected to multiple products.")
+ custom_data: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="Custom data of the account. This is where you can store custom data using \"Update an account\" method.")
+ __properties: ClassVar[List[str]] = ["auto_proxy_country", "v1_account_id", "products_connection_status", "custom_data"]
+
+ @field_validator('products_connection_status')
+ def products_connection_status_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ for i in value.values():
+ if i not in set(['running', 'disconnected', 'errored']):
+ raise ValueError("dict values must be one of enum values ('running', 'disconnected', 'errored')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of AccountMetadata from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of AccountMetadata from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "auto_proxy_country": obj.get("auto_proxy_country"),
+ "v1_account_id": obj.get("v1_account_id"),
+ "products_connection_status": obj.get("products_connection_status"),
+ "custom_data": obj.get("custom_data")
+ })
+ return _obj
+
+
diff --git a/unipile/models/account_proxy.py b/unipile/models/account_proxy.py
index c5a746a7c..47e38cfd5 100644
--- a/unipile/models/account_proxy.py
+++ b/unipile/models/account_proxy.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,8 +17,8 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
-from typing import Any, ClassVar, Dict, List, Optional
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional, Union
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -27,9 +27,13 @@ class AccountProxy(BaseModel):
"""
The proxy used for the account.
""" # noqa: E501
- country: Optional[StrictStr] = Field(description="The ID of the Company.")
+ country: Optional[StrictStr] = Field(description="The text content of the message, when available.")
auto_proxy: StrictBool = Field(description="Whether the proxy was set automatically by Unipile.")
- __properties: ClassVar[List[str]] = ["country", "auto_proxy"]
+ host: Optional[StrictStr] = Field(default=None, description="The host of the custom proxy.")
+ port: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The port of the custom proxy.")
+ username: Optional[StrictStr] = Field(default=None, description="The username used to authenticate to the custom proxy.")
+ protocol: Optional[StrictStr] = Field(default=None, description="The protocol of the custom proxy.")
+ __properties: ClassVar[List[str]] = ["country", "auto_proxy", "host", "port", "username", "protocol"]
model_config = ConfigDict(
validate_by_name=True,
@@ -88,7 +92,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"country": obj.get("country"),
- "auto_proxy": obj.get("auto_proxy")
+ "auto_proxy": obj.get("auto_proxy"),
+ "host": obj.get("host"),
+ "port": obj.get("port"),
+ "username": obj.get("username"),
+ "protocol": obj.get("protocol")
})
return _obj
diff --git a/unipile/models/add_message_reaction200_response.py b/unipile/models/add_message_reaction200_response.py
index 5f24b4206..53931e5c4 100644
--- a/unipile/models/add_message_reaction200_response.py
+++ b/unipile/models/add_message_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/add_message_reaction_request.py b/unipile/models/add_message_reaction_request.py
index 95321f583..48f85d62c 100644
--- a/unipile/models/add_message_reaction_request.py
+++ b/unipile/models/add_message_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/add_participant200_response.py b/unipile/models/add_participant200_response.py
index f71e2fbe5..823c22202 100644
--- a/unipile/models/add_participant200_response.py
+++ b/unipile/models/add_participant200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/add_participant_request.py b/unipile/models/add_participant_request.py
index 98e9bbbc0..ddd89b5e5 100644
--- a/unipile/models/add_participant_request.py
+++ b/unipile/models/add_participant_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,8 +17,9 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List
+from typing_extensions import Annotated
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -27,7 +28,7 @@ class AddParticipantRequest(BaseModel):
"""
AddParticipantRequest
""" # noqa: E501
- user_id: StrictStr = Field(description="The ID of the User to add as participant.")
+ user_id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The ID of the User to add as participant.")
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["user_id"]
diff --git a/unipile/models/add_post_comment201_response.py b/unipile/models/add_post_comment201_response.py
new file mode 100644
index 000000000..d1e99842a
--- /dev/null
+++ b/unipile/models/add_post_comment201_response.py
@@ -0,0 +1,137 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from unipile.models.add_post_comment201_response_author import AddPostComment201ResponseAuthor
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class AddPostComment201Response(BaseModel):
+ """
+ AddPostComment201Response
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The ID of the comment.")
+ thread_id: Optional[StrictStr] = Field(default=None, description="The ID of the thread if this is a reply to another comment.")
+ author: AddPostComment201ResponseAuthor
+ created_at: StrictStr = Field(description="The creation date of the comment. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ text: StrictStr = Field(description="The text content of the comment.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of comment attachments.")
+ is_sender: StrictBool = Field(description="Is the current user the sender of the comment.")
+ can_reply: StrictBool = Field(description="Whether the current user can reply to the comment or not.")
+ can_react: StrictBool = Field(description="Whether the current user can react to the comment or not.")
+ reply_counter: Union[StrictFloat, StrictInt] = Field(description="The number of replies to the comment.")
+ impressions_counter: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of impressions of the comment.")
+ reactions_counter: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner] = Field(description="A list of reactions to the element.")
+ __properties: ClassVar[List[str]] = ["object", "id", "thread_id", "author", "created_at", "text", "attachments", "is_sender", "can_reply", "can_react", "reply_counter", "impressions_counter", "reactions_counter"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['Comment']):
+ raise ValueError("must be one of enum values ('Comment')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of AddPostComment201Response from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
+ _items = []
+ if self.attachments:
+ for _item_attachments in self.attachments:
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
+ _dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in reactions_counter (list)
+ _items = []
+ if self.reactions_counter:
+ for _item_reactions_counter in self.reactions_counter:
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
+ _dict['reactions_counter'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of AddPostComment201Response from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "thread_id": obj.get("thread_id"),
+ "author": AddPostComment201ResponseAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
+ "created_at": obj.get("created_at"),
+ "text": obj.get("text"),
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "is_sender": obj.get("is_sender"),
+ "can_reply": obj.get("can_reply"),
+ "can_react": obj.get("can_react"),
+ "reply_counter": obj.get("reply_counter"),
+ "impressions_counter": obj.get("impressions_counter"),
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/add_post_comment201_response_author.py b/unipile/models/add_post_comment201_response_author.py
new file mode 100644
index 000000000..cbe784ace
--- /dev/null
+++ b/unipile/models/add_post_comment201_response_author.py
@@ -0,0 +1,129 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class AddPostComment201ResponseAuthor(BaseModel):
+ """
+ The author of the comment.
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[Any] = Field(default=None, description="Provider-specific user data.")
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of AddPostComment201ResponseAuthor from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of AddPostComment201ResponseAuthor from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/add_post_comment_reaction200_response.py b/unipile/models/add_post_comment_reaction200_response.py
index b3117bf39..47b74c01b 100644
--- a/unipile/models/add_post_comment_reaction200_response.py
+++ b/unipile/models/add_post_comment_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/add_post_comment_reaction_request.py b/unipile/models/add_post_comment_reaction_request.py
index 71ed19181..1fded6605 100644
--- a/unipile/models/add_post_comment_reaction_request.py
+++ b/unipile/models/add_post_comment_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,8 +17,9 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from unipile.models.add_post_comment_reaction_request_reaction import AddPostCommentReactionRequestReaction
from typing import Optional, Set
from typing_extensions import Self
@@ -29,7 +30,7 @@ class AddPostCommentReactionRequest(BaseModel):
AddPostCommentReactionRequest
""" # noqa: E501
reaction: AddPostCommentReactionRequestReaction
- react_as: Optional[StrictStr] = Field(default=None, description="The ID of the User on whose behalf the reaction should be published (if supported by the provider).")
+ react_as: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The ID of the User on whose behalf the reaction should be published (if supported by the provider).")
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["reaction", "react_as"]
diff --git a/unipile/models/add_post_comment_reaction_request_reaction.py b/unipile/models/add_post_comment_reaction_request_reaction.py
index 470e45a2a..caf71a2d0 100644
--- a/unipile/models/add_post_comment_reaction_request_reaction.py
+++ b/unipile/models/add_post_comment_reaction_request_reaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/add_post_comment_request.py b/unipile/models/add_post_comment_request.py
index 5be38f860..2cd71c1f7 100644
--- a/unipile/models/add_post_comment_request.py
+++ b/unipile/models/add_post_comment_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from unipile.models.send_email_request_attachments_inner import SendEmailRequestAttachmentsInner
from typing import Optional, Set
from typing_extensions import Self
@@ -29,7 +30,7 @@ class AddPostCommentRequest(BaseModel):
AddPostCommentRequest
""" # noqa: E501
text: StrictStr = Field(description="Textual content of the comment. User mentions can be added by inserting an @ followed by the `id` or `public_identifier` of the user (example: @JohnDoe).")
- comment_as: Optional[StrictStr] = Field(default=None, description="The ID of the User on whose behalf the comment should be published (if supported by the provider).")
+ comment_as: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The ID of the User on whose behalf the comment should be published (if supported by the provider).")
attachments: Optional[List[SendEmailRequestAttachmentsInner]] = Field(default=None, description="Attachment associated with the comment")
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["text", "comment_as", "attachments"]
@@ -79,8 +80,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# puts key-value pairs in additional_properties in the top level
if self.additional_properties is not None:
diff --git a/unipile/models/add_post_reaction200_response.py b/unipile/models/add_post_reaction200_response.py
index 35cb9bdd5..c29df8179 100644
--- a/unipile/models/add_post_reaction200_response.py
+++ b/unipile/models/add_post_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/add_post_reaction_request.py b/unipile/models/add_post_reaction_request.py
index 7c19fb631..2318b018a 100644
--- a/unipile/models/add_post_reaction_request.py
+++ b/unipile/models/add_post_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,8 +17,9 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from unipile.models.add_post_reaction_request_reaction import AddPostReactionRequestReaction
from typing import Optional, Set
from typing_extensions import Self
@@ -29,7 +30,7 @@ class AddPostReactionRequest(BaseModel):
AddPostReactionRequest
""" # noqa: E501
reaction: AddPostReactionRequestReaction
- react_as: Optional[StrictStr] = Field(default=None, description="The ID of the User on whose behalf the reaction should be published (if supported by the provider).")
+ react_as: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The ID of the User on whose behalf the reaction should be published (if supported by the provider).")
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["reaction", "react_as"]
diff --git a/unipile/models/add_post_reaction_request_reaction.py b/unipile/models/add_post_reaction_request_reaction.py
index 116a5749a..14060688c 100644
--- a/unipile/models/add_post_reaction_request_reaction.py
+++ b/unipile/models/add_post_reaction_request_reaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/applicants_search.py b/unipile/models/applicants_search.py
index 86987ed88..86d93e9ba 100644
--- a/unipile/models/applicants_search.py
+++ b/unipile/models/applicants_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class ApplicantsSearch(BaseModel):
ApplicantsSearch
""" # noqa: E501
data: List[ApplicantsSearchDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/applicants_search_data_inner.py b/unipile/models/applicants_search_data_inner.py
index 19244a78c..b1a0be894 100644
--- a/unipile/models/applicants_search_data_inner.py
+++ b/unipile/models/applicants_search_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -20,7 +20,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
from unipile.models.applicants_search_data_inner_profile import ApplicantsSearchDataInnerProfile
-from unipile.models.get_classic_applicant_by_id200_response_screening_questions_inner import GetClassicApplicantById200ResponseScreeningQuestionsInner
+from unipile.models.applicants_search_data_inner_screening_questions_inner import ApplicantsSearchDataInnerScreeningQuestionsInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -34,7 +34,7 @@ class ApplicantsSearchDataInner(BaseModel):
id: StrictStr = Field(description="The ID of the Applicant.")
applied_at: StrictStr = Field(description="The date on which the Application was submitted. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
has_resume: Optional[StrictBool] = Field(default=None, description="Whether the Applicant has a downloadable resume available.")
- screening_questions: Optional[List[GetClassicApplicantById200ResponseScreeningQuestionsInner]] = Field(default=None, description="The responses to the job posting screening questions.")
+ screening_questions: Optional[List[ApplicantsSearchDataInnerScreeningQuestionsInner]] = Field(default=None, description="The responses to the job posting screening questions.")
profile: ApplicantsSearchDataInnerProfile
__properties: ClassVar[List[str]] = ["object", "product", "id", "applied_at", "has_resume", "screening_questions", "profile"]
@@ -95,8 +95,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.screening_questions:
for _item_screening_questions in self.screening_questions:
- if _item_screening_questions:
- _items.append(_item_screening_questions.to_dict())
+ _items.append(_item_screening_questions.to_dict() if _item_screening_questions is not None else None)
_dict['screening_questions'] = _items
# override the default output from pydantic by calling `to_dict()` of profile
if self.profile:
@@ -118,7 +117,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"id": obj.get("id"),
"applied_at": obj.get("applied_at"),
"has_resume": obj.get("has_resume"),
- "screening_questions": [GetClassicApplicantById200ResponseScreeningQuestionsInner.from_dict(_item) for _item in obj["screening_questions"]] if obj.get("screening_questions") is not None else None,
+ "screening_questions": [ApplicantsSearchDataInnerScreeningQuestionsInner.from_dict(_item) for _item in obj["screening_questions"]] if obj.get("screening_questions") is not None else None,
"profile": ApplicantsSearchDataInnerProfile.from_dict(obj["profile"]) if obj.get("profile") is not None else None
})
return _obj
diff --git a/unipile/models/applicants_search_data_inner_profile.py b/unipile/models/applicants_search_data_inner_profile.py
index 5200c3048..4b18b6d38 100644
--- a/unipile/models/applicants_search_data_inner_profile.py
+++ b/unipile/models/applicants_search_data_inner_profile.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/applicants_search_data_inner_screening_questions_inner.py b/unipile/models/applicants_search_data_inner_screening_questions_inner.py
new file mode 100644
index 000000000..e5ad9f263
--- /dev/null
+++ b/unipile/models/applicants_search_data_inner_screening_questions_inner.py
@@ -0,0 +1,94 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class ApplicantsSearchDataInnerScreeningQuestionsInner(BaseModel):
+ """
+ ApplicantsSearchDataInnerScreeningQuestionsInner
+ """ # noqa: E501
+ question: StrictStr = Field(description="The text of the question.")
+ has_succedeed: Optional[StrictBool] = Field(default=None, description="Whether the Applicant successfully answered the question.")
+ is_eliminatory: Optional[StrictBool] = Field(default=None, description="Whether an unexpected answer is considered a disqualifying factor.")
+ answers: List[StrictStr] = Field(description="A list of answers given by the Applicant.")
+ __properties: ClassVar[List[str]] = ["question", "has_succedeed", "is_eliminatory", "answers"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of ApplicantsSearchDataInnerScreeningQuestionsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of ApplicantsSearchDataInnerScreeningQuestionsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "question": obj.get("question"),
+ "has_succedeed": obj.get("has_succedeed"),
+ "is_eliminatory": obj.get("is_eliminatory"),
+ "answers": obj.get("answers")
+ })
+ return _obj
+
+
diff --git a/unipile/models/applicants_sourced.py b/unipile/models/applicants_sourced.py
index 959bbec13..8a6cf6fb4 100644
--- a/unipile/models/applicants_sourced.py
+++ b/unipile/models/applicants_sourced.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,10 +29,10 @@ class ApplicantsSourced(BaseModel):
""" # noqa: E501
source: StrictStr
project_id: StrictStr = Field(description="The ID of the Project associated with the Talent pool.")
- channel_id: StrictStr = Field(description="In Talent Pool context, the ID of the JOB_POSTING Channel to get parameters from.")
keywords: Optional[StrictStr] = Field(default=None, description="A keyword or group of keywords to filter results. Applicable to TAG only.")
type: StrictStr = Field(description="The type of search parameter.")
- __properties: ClassVar[List[str]] = ["source", "project_id", "channel_id", "keywords", "type"]
+ additional_properties: Dict[str, Any] = {}
+ __properties: ClassVar[List[str]] = ["source", "project_id", "keywords", "type"]
@field_validator('source')
def source_validate_enum(cls, value):
@@ -44,8 +44,8 @@ def source_validate_enum(cls, value):
@field_validator('type')
def type_validate_enum(cls, value):
"""Validates the enum"""
- if value not in set(['SKILL', 'LOCATION', 'JOB_TITLE', 'JOB_FUNCTION', 'CURRENT_COMPANY', 'INDUSTRY', 'FIELD_OF_STUDY', 'DEGREE', 'TAG', 'SPOKEN_LANGUAGE']):
- raise ValueError("must be one of enum values ('SKILL', 'LOCATION', 'JOB_TITLE', 'JOB_FUNCTION', 'CURRENT_COMPANY', 'INDUSTRY', 'FIELD_OF_STUDY', 'DEGREE', 'TAG', 'SPOKEN_LANGUAGE')")
+ if value not in set(['SKILL', 'LOCATION', 'JOB_TITLE', 'JOB_FUNCTION', 'COMPANY', 'CURRENT_COMPANY', 'INDUSTRY', 'FIELD_OF_STUDY', 'DEGREE', 'TAG', 'SPOKEN_LANGUAGE']):
+ raise ValueError("must be one of enum values ('SKILL', 'LOCATION', 'JOB_TITLE', 'JOB_FUNCTION', 'COMPANY', 'CURRENT_COMPANY', 'INDUSTRY', 'FIELD_OF_STUDY', 'DEGREE', 'TAG', 'SPOKEN_LANGUAGE')")
return value
model_config = ConfigDict(
@@ -78,8 +78,10 @@ def to_dict(self) -> Dict[str, Any]:
* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
+ * Fields in `self.additional_properties` are added to the output dict.
"""
excluded_fields: Set[str] = set([
+ "additional_properties",
])
_dict = self.model_dump(
@@ -87,6 +89,11 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # puts key-value pairs in additional_properties in the top level
+ if self.additional_properties is not None:
+ for _key, _value in self.additional_properties.items():
+ _dict[_key] = _value
+
return _dict
@classmethod
@@ -101,10 +108,14 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"source": obj.get("source"),
"project_id": obj.get("project_id"),
- "channel_id": obj.get("channel_id"),
"keywords": obj.get("keywords"),
"type": obj.get("type")
})
+ # store additional fields in additional_properties
+ for _key in obj.keys():
+ if _key not in cls.__properties:
+ _obj.additional_properties[_key] = obj.get(_key)
+
return _obj
diff --git a/unipile/models/apply_on_external_website.py b/unipile/models/apply_on_external_website.py
index 504a84f9a..ad635f3db 100644
--- a/unipile/models/apply_on_external_website.py
+++ b/unipile/models/apply_on_external_website.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/apply_on_linkedin.py b/unipile/models/apply_on_linkedin.py
index ec8972ff8..462018bec 100644
--- a/unipile/models/apply_on_linkedin.py
+++ b/unipile/models/apply_on_linkedin.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/apply_on_linkedin1.py b/unipile/models/apply_on_linkedin1.py
index 1be523a7a..3e22f17df 100644
--- a/unipile/models/apply_on_linkedin1.py
+++ b/unipile/models/apply_on_linkedin1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/audio.py b/unipile/models/audio.py
index 67e776260..3d192577c 100644
--- a/unipile/models/audio.py
+++ b/unipile/models/audio.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,6 +30,7 @@ class Audio(BaseModel):
object: StrictStr
id: StrictStr = Field(description="The unique identifier of the attachment for the provider.")
file_size: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The size of the attachment in bytes.")
+ is_inline: StrictBool = Field(description="Is the attachment inline in the content.")
is_unavailable: Optional[StrictBool] = Field(default=None, description="The attachment is not available for download because it was removed from provider servers.")
mimetype: StrictStr = Field(description="The MIME type of the attachment.")
url: StrictStr = Field(description="The URL to download the attachment.")
@@ -38,7 +39,7 @@ class Audio(BaseModel):
type: StrictStr
duration: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The duration of the audio in seconds.")
voice_note: StrictBool = Field(description="The audio is a voice note (should be displayed differently)")
- __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "duration", "voice_note"]
+ __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_inline", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "duration", "voice_note"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -108,6 +109,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"object": obj.get("object"),
"id": obj.get("id"),
"file_size": obj.get("file_size"),
+ "is_inline": obj.get("is_inline"),
"is_unavailable": obj.get("is_unavailable"),
"mimetype": obj.get("mimetype"),
"url": obj.get("url"),
diff --git a/unipile/models/automatic_proxy_configuration.py b/unipile/models/automatic_proxy_configuration.py
index 64235131c..3846d654d 100644
--- a/unipile/models/automatic_proxy_configuration.py
+++ b/unipile/models/automatic_proxy_configuration.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/basic_authentication.py b/unipile/models/basic_authentication.py
index 1c6f994f6..ce5986957 100644
--- a/unipile/models/basic_authentication.py
+++ b/unipile/models/basic_authentication.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/basic_authentication1.py b/unipile/models/basic_authentication1.py
index 031222a60..2d95493dc 100644
--- a/unipile/models/basic_authentication1.py
+++ b/unipile/models/basic_authentication1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -18,7 +18,7 @@
import json
from pydantic import BaseModel, ConfigDict, Field, StrictStr
-from typing import Any, ClassVar, Dict, List
+from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,8 @@ class BasicAuthentication1(BaseModel):
""" # noqa: E501
username: StrictStr = Field(description="Email or phone of the LinkedIn account.")
password: StrictStr = Field(description="Password of the LinkedIn account.")
- __properties: ClassVar[List[str]] = ["username", "password"]
+ user_agent: Optional[StrictStr] = Field(default=None, description="A custom user agent if you need the session to be started from a specific browser. You can easily get it in the browser's console with this command : `console.log(navigator.userAgent)`")
+ __properties: ClassVar[List[str]] = ["username", "password", "user_agent"]
model_config = ConfigDict(
validate_by_name=True,
@@ -83,7 +84,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"username": obj.get("username"),
- "password": obj.get("password")
+ "password": obj.get("password"),
+ "user_agent": obj.get("user_agent")
})
return _obj
diff --git a/unipile/models/basic_authentication2.py b/unipile/models/basic_authentication2.py
index 088d1d444..5332c1b1c 100644
--- a/unipile/models/basic_authentication2.py
+++ b/unipile/models/basic_authentication2.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/browse_sales_account_list_request.py b/unipile/models/browse_sales_account_list_request.py
index f8b166de3..601ade33f 100644
--- a/unipile/models/browse_sales_account_list_request.py
+++ b/unipile/models/browse_sales_account_list_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class BrowseSalesAccountListRequest(BaseModel):
"""
BrowseSalesAccountListRequest
""" # noqa: E501
- persona: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `PERSONA` type to find out the possible values. Native filter : Persona ")
+ persona: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `PERSONA` type to find out the possible values. Native filter : Persona ")
filter: Optional[StrictStr] = Field(default=None, description=" Native filter : Filter companies ")
sort_by: Optional[StrictStr] = Field(default='NAME', description="The sort method.")
sort_order: Optional[StrictStr] = Field(default='ASCENDING', description="The sort order.")
diff --git a/unipile/models/browse_sales_lead_list_request.py b/unipile/models/browse_sales_lead_list_request.py
index e9638f6dc..3c941bbef 100644
--- a/unipile/models/browse_sales_lead_list_request.py
+++ b/unipile/models/browse_sales_lead_list_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/call_ended.py b/unipile/models/call_ended.py
index 07c7bc43f..c3536bf4d 100644
--- a/unipile/models/call_ended.py
+++ b/unipile/models/call_ended.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/call_rejected.py b/unipile/models/call_rejected.py
index 947f3429b..fdacf06e4 100644
--- a/unipile/models/call_rejected.py
+++ b/unipile/models/call_rejected.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/call_started.py b/unipile/models/call_started.py
index bc81e44ca..58d31fcc1 100644
--- a/unipile/models/call_started.py
+++ b/unipile/models/call_started.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/cancel_relation_request200_response.py b/unipile/models/cancel_relation_request200_response.py
index c7383645e..7d4db05ef 100644
--- a/unipile/models/cancel_relation_request200_response.py
+++ b/unipile/models/cancel_relation_request200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/captcha.py b/unipile/models/captcha.py
index 533e5f542..b81c56be5 100644
--- a/unipile/models/captcha.py
+++ b/unipile/models/captcha.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,8 +28,8 @@ class Captcha(BaseModel):
The user needs to solve a captcha checkpoint.
""" # noqa: E501
type: StrictStr
- public_key: Optional[StrictStr] = Field(description="The ID of the Company.")
- data: Optional[StrictStr] = Field(description="The ID of the Company.")
+ public_key: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ data: Optional[StrictStr] = Field(description="The text content of the message, when available.")
__properties: ClassVar[List[str]] = ["type", "public_key", "data"]
@field_validator('type')
diff --git a/unipile/models/challenge_selection.py b/unipile/models/challenge_selection.py
new file mode 100644
index 000000000..3ce536343
--- /dev/null
+++ b/unipile/models/challenge_selection.py
@@ -0,0 +1,104 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List
+from unipile.models.challenge_selection_challenges_inner import ChallengeSelectionChallengesInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class ChallengeSelection(BaseModel):
+ """
+ The user must pick which alternative verification method to use to receive their code.
+ """ # noqa: E501
+ type: StrictStr
+ challenges: List[ChallengeSelectionChallengesInner] = Field(description="A list of alternative verification methods to choose from.")
+ __properties: ClassVar[List[str]] = ["type", "challenges"]
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['CHALLENGE_SELECTION']):
+ raise ValueError("must be one of enum values ('CHALLENGE_SELECTION')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of ChallengeSelection from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in challenges (list)
+ _items = []
+ if self.challenges:
+ for _item_challenges in self.challenges:
+ _items.append(_item_challenges.to_dict() if _item_challenges is not None else None)
+ _dict['challenges'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of ChallengeSelection from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "type": obj.get("type"),
+ "challenges": [ChallengeSelectionChallengesInner.from_dict(_item) for _item in obj["challenges"]] if obj.get("challenges") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/challenge_selection_challenges_inner.py b/unipile/models/challenge_selection_challenges_inner.py
new file mode 100644
index 000000000..18d8b6566
--- /dev/null
+++ b/unipile/models/challenge_selection_challenges_inner.py
@@ -0,0 +1,92 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class ChallengeSelectionChallengesInner(BaseModel):
+ """
+ ChallengeSelectionChallengesInner
+ """ # noqa: E501
+ id: StrictStr = Field(description="Identifier of the method (EMAIL, SMS or WHATSAPP). Send it back as the `challenge` field of Request Checkpoint to switch to this method.")
+ label: StrictStr = Field(description="Human-readable name of the method (e.g. \"WhatsApp\", \"Text message\", \"Email\").")
+ description: Optional[StrictStr] = Field(default=None, description="Extra detail about the method, e.g. the masked destination the code will be sent to.")
+ __properties: ClassVar[List[str]] = ["id", "label", "description"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of ChallengeSelectionChallengesInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of ChallengeSelectionChallengesInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "label": obj.get("label"),
+ "description": obj.get("description")
+ })
+ return _obj
+
+
diff --git a/unipile/models/chat_description_updated.py b/unipile/models/chat_description_updated.py
index 1f9a944d3..7dce773bb 100644
--- a/unipile/models/chat_description_updated.py
+++ b/unipile/models/chat_description_updated.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/chat_name_updated.py b/unipile/models/chat_name_updated.py
index 2e587f714..740ed283c 100644
--- a/unipile/models/chat_name_updated.py
+++ b/unipile/models/chat_name_updated.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/chat_subject_updated.py b/unipile/models/chat_subject_updated.py
index 3f10b994e..eff91a1e4 100644
--- a/unipile/models/chat_subject_updated.py
+++ b/unipile/models/chat_subject_updated.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/checkpoint.py b/unipile/models/checkpoint.py
index fdd7a8d86..6ef1a7f5c 100644
--- a/unipile/models/checkpoint.py
+++ b/unipile/models/checkpoint.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -41,13 +41,10 @@ def object_validate_enum(cls, value):
raise ValueError("must be one of enum values ('AuthenticationCheckpoint')")
return value
- @field_validator('intent_id')
+ @field_validator('intent_id', mode="before")
def intent_id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^acc_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^acc_(.*)$", value):
raise ValueError(r"must validate the regular expression /^acc_(.*)$/")
return value
diff --git a/unipile/models/checkpoint_checkpoint.py b/unipile/models/checkpoint_checkpoint.py
index 361332425..70d41e422 100644
--- a/unipile/models/checkpoint_checkpoint.py
+++ b/unipile/models/checkpoint_checkpoint.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -20,7 +20,10 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
from typing import Optional
from unipile.models.captcha import Captcha
+from unipile.models.challenge_selection import ChallengeSelection
+from unipile.models.contract_selection import ContractSelection
from unipile.models.in_app_validation import InAppValidation
+from unipile.models.loading import Loading
from unipile.models.one_time_password import OneTimePassword
from unipile.models.otpor_in_app_validation import OTPOrInAppValidation
from unipile.models.phone_register import PhoneRegister
@@ -29,7 +32,7 @@
from typing_extensions import Literal, Self
from pydantic import Field
-CHECKPOINTCHECKPOINT_ANY_OF_SCHEMAS = ["Captcha", "InAppValidation", "OTPOrInAppValidation", "OneTimePassword", "PhoneRegister", "TwoFactorAuthentication"]
+CHECKPOINTCHECKPOINT_ANY_OF_SCHEMAS = ["Captcha", "ChallengeSelection", "ContractSelection", "InAppValidation", "Loading", "OTPOrInAppValidation", "OneTimePassword", "PhoneRegister", "TwoFactorAuthentication"]
class CheckpointCheckpoint(BaseModel):
"""
@@ -48,11 +51,17 @@ class CheckpointCheckpoint(BaseModel):
anyof_schema_5_validator: Optional[Captcha] = None
# data type: OTPOrInAppValidation
anyof_schema_6_validator: Optional[OTPOrInAppValidation] = None
+ # data type: ContractSelection
+ anyof_schema_7_validator: Optional[ContractSelection] = None
+ # data type: ChallengeSelection
+ anyof_schema_8_validator: Optional[ChallengeSelection] = None
+ # data type: Loading
+ anyof_schema_9_validator: Optional[Loading] = None
if TYPE_CHECKING:
- actual_instance: Optional[Union[Captcha, InAppValidation, OTPOrInAppValidation, OneTimePassword, PhoneRegister, TwoFactorAuthentication]] = None
+ actual_instance: Optional[Union[Captcha, ChallengeSelection, ContractSelection, InAppValidation, Loading, OTPOrInAppValidation, OneTimePassword, PhoneRegister, TwoFactorAuthentication]] = None
else:
actual_instance: Any = None
- any_of_schemas: Set[str] = { "Captcha", "InAppValidation", "OTPOrInAppValidation", "OneTimePassword", "PhoneRegister", "TwoFactorAuthentication" }
+ any_of_schemas: Set[str] = { "Captcha", "ChallengeSelection", "ContractSelection", "InAppValidation", "Loading", "OTPOrInAppValidation", "OneTimePassword", "PhoneRegister", "TwoFactorAuthentication" }
model_config = {
"validate_assignment": True,
@@ -109,9 +118,27 @@ def actual_instance_must_validate_anyof(cls, v):
else:
return v
+ # validate data type: ContractSelection
+ if not isinstance(v, ContractSelection):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `ContractSelection`")
+ else:
+ return v
+
+ # validate data type: ChallengeSelection
+ if not isinstance(v, ChallengeSelection):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `ChallengeSelection`")
+ else:
+ return v
+
+ # validate data type: Loading
+ if not isinstance(v, Loading):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Loading`")
+ else:
+ return v
+
if error_messages:
# no match
- raise ValueError("No match found when setting the actual_instance in CheckpointCheckpoint with anyOf schemas: Captcha, InAppValidation, OTPOrInAppValidation, OneTimePassword, PhoneRegister, TwoFactorAuthentication. Details: " + ", ".join(error_messages))
+ raise ValueError("No match found when setting the actual_instance in CheckpointCheckpoint with anyOf schemas: Captcha, ChallengeSelection, ContractSelection, InAppValidation, Loading, OTPOrInAppValidation, OneTimePassword, PhoneRegister, TwoFactorAuthentication. Details: " + ", ".join(error_messages))
else:
return v
@@ -160,10 +187,28 @@ def from_json(cls, json_str: str) -> Self:
return instance
except (ValidationError, ValueError) as e:
error_messages.append(str(e))
+ # anyof_schema_7_validator: Optional[ContractSelection] = None
+ try:
+ instance.actual_instance = ContractSelection.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_8_validator: Optional[ChallengeSelection] = None
+ try:
+ instance.actual_instance = ChallengeSelection.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_9_validator: Optional[Loading] = None
+ try:
+ instance.actual_instance = Loading.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
if error_messages:
# no match
- raise ValueError("No match found when deserializing the JSON string into CheckpointCheckpoint with anyOf schemas: Captcha, InAppValidation, OTPOrInAppValidation, OneTimePassword, PhoneRegister, TwoFactorAuthentication. Details: " + ", ".join(error_messages))
+ raise ValueError("No match found when deserializing the JSON string into CheckpointCheckpoint with anyOf schemas: Captcha, ChallengeSelection, ContractSelection, InAppValidation, Loading, OTPOrInAppValidation, OneTimePassword, PhoneRegister, TwoFactorAuthentication. Details: " + ", ".join(error_messages))
else:
return instance
@@ -177,7 +222,7 @@ def to_json(self) -> str:
else:
return json.dumps(self.actual_instance)
- def to_dict(self) -> Optional[Union[Dict[str, Any], Captcha, InAppValidation, OTPOrInAppValidation, OneTimePassword, PhoneRegister, TwoFactorAuthentication]]:
+ def to_dict(self) -> Optional[Union[Dict[str, Any], Captcha, ChallengeSelection, ContractSelection, InAppValidation, Loading, OTPOrInAppValidation, OneTimePassword, PhoneRegister, TwoFactorAuthentication]]:
"""Returns the dict representation of the actual instance"""
if self.actual_instance is None:
return None
diff --git a/unipile/models/close_classic_job_posting200_response.py b/unipile/models/close_classic_job_posting200_response.py
index dfdf70060..72cecd34c 100644
--- a/unipile/models/close_classic_job_posting200_response.py
+++ b/unipile/models/close_classic_job_posting200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/companies_search.py b/unipile/models/companies_search.py
index 346949317..5bf6cd8e0 100644
--- a/unipile/models/companies_search.py
+++ b/unipile/models/companies_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class CompaniesSearch(BaseModel):
CompaniesSearch
""" # noqa: E501
data: List[CompaniesSearchDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/companies_search1.py b/unipile/models/companies_search1.py
index 60576e523..81448b662 100644
--- a/unipile/models/companies_search1.py
+++ b/unipile/models/companies_search1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class CompaniesSearch1(BaseModel):
CompaniesSearch1
""" # noqa: E501
data: List[CompaniesSearch1DataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/companies_search1_data_inner.py b/unipile/models/companies_search1_data_inner.py
index 759614fee..a95cd2a27 100644
--- a/unipile/models/companies_search1_data_inner.py
+++ b/unipile/models/companies_search1_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/companies_search_data_inner.py b/unipile/models/companies_search_data_inner.py
index a2f791506..85efae434 100644
--- a/unipile/models/companies_search_data_inner.py
+++ b/unipile/models/companies_search_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/companies_search_results.py b/unipile/models/companies_search_results.py
index 9857d2846..f7518c325 100644
--- a/unipile/models/companies_search_results.py
+++ b/unipile/models/companies_search_results.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class CompaniesSearchResults(BaseModel):
CompaniesSearchResults
""" # noqa: E501
data: List[CompaniesSearchResultsDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/companies_search_results_data_inner.py b/unipile/models/companies_search_results_data_inner.py
index b94c00d10..61083907b 100644
--- a/unipile/models/companies_search_results_data_inner.py
+++ b/unipile/models/companies_search_results_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/contract_selection.py b/unipile/models/contract_selection.py
new file mode 100644
index 000000000..4a009ab63
--- /dev/null
+++ b/unipile/models/contract_selection.py
@@ -0,0 +1,104 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List
+from unipile.models.contract_selection_contracts_inner import ContractSelectionContractsInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class ContractSelection(BaseModel):
+ """
+ The user must pick a contract from a list to activate the correct features and complete authentication.
+ """ # noqa: E501
+ type: StrictStr
+ contracts: List[ContractSelectionContractsInner] = Field(description="A list of contracts to choose from.")
+ __properties: ClassVar[List[str]] = ["type", "contracts"]
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['CONTRACT_SELECTION']):
+ raise ValueError("must be one of enum values ('CONTRACT_SELECTION')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of ContractSelection from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in contracts (list)
+ _items = []
+ if self.contracts:
+ for _item_contracts in self.contracts:
+ _items.append(_item_contracts.to_dict() if _item_contracts is not None else None)
+ _dict['contracts'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of ContractSelection from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "type": obj.get("type"),
+ "contracts": [ContractSelectionContractsInner.from_dict(_item) for _item in obj["contracts"]] if obj.get("contracts") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/contract_selection_contracts_inner.py b/unipile/models/contract_selection_contracts_inner.py
new file mode 100644
index 000000000..e02899a56
--- /dev/null
+++ b/unipile/models/contract_selection_contracts_inner.py
@@ -0,0 +1,90 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class ContractSelectionContractsInner(BaseModel):
+ """
+ ContractSelectionContractsInner
+ """ # noqa: E501
+ id: StrictStr = Field(description="The ID of the contract.")
+ name: StrictStr = Field(description="The name of the contract.")
+ __properties: ClassVar[List[str]] = ["id", "name"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of ContractSelectionContractsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of ContractSelectionContractsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "name": obj.get("name")
+ })
+ return _obj
+
+
diff --git a/unipile/models/cookie_authentication.py b/unipile/models/cookie_authentication.py
index a2bca8f10..168135afc 100644
--- a/unipile/models/cookie_authentication.py
+++ b/unipile/models/cookie_authentication.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,8 @@ class CookieAuthentication(BaseModel):
""" # noqa: E501
access_token: StrictStr = Field(description="The access token to authenticate with. This is the `li_at` cookie value.")
premium_access_token: Optional[StrictStr] = Field(default=None, description="The access token to authenticate Recruiter or Sales Navigator with. This is the `li_a` cookie value.")
- __properties: ClassVar[List[str]] = ["access_token", "premium_access_token"]
+ user_agent: StrictStr = Field(description="The exact user agent of the browser on which the session has been started. You can easily get it in the browser's console with this command : `console.log(navigator.userAgent)`")
+ __properties: ClassVar[List[str]] = ["access_token", "premium_access_token", "user_agent"]
model_config = ConfigDict(
validate_by_name=True,
@@ -83,7 +84,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"access_token": obj.get("access_token"),
- "premium_access_token": obj.get("premium_access_token")
+ "premium_access_token": obj.get("premium_access_token"),
+ "user_agent": obj.get("user_agent")
})
return _obj
diff --git a/unipile/models/cookie_authentication1.py b/unipile/models/cookie_authentication1.py
index 6322933ed..e3bbc3af4 100644
--- a/unipile/models/cookie_authentication1.py
+++ b/unipile/models/cookie_authentication1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_auth_link200_response.py b/unipile/models/create_auth_link200_response.py
index d5fb2b29a..d29fbf4ef 100644
--- a/unipile/models/create_auth_link200_response.py
+++ b/unipile/models/create_auth_link200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_auth_link_request.py b/unipile/models/create_auth_link_request.py
index e7cc73f29..8d689a162 100644
--- a/unipile/models/create_auth_link_request.py
+++ b/unipile/models/create_auth_link_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_calendar_event201_response.py b/unipile/models/create_calendar_event201_response.py
index 21b6f722d..5abc0c910 100644
--- a/unipile/models/create_calendar_event201_response.py
+++ b/unipile/models/create_calendar_event201_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -53,9 +53,11 @@ class CreateCalendarEvent201Response(BaseModel):
visibility: StrictStr = Field(description="The visibility of the event. - `public` is visible to all. - `private` is visible only to the calendar owner.")
transparency: StrictStr = Field(description="The transparency of the event. - `opaque` does block time on the calendar and is equivalent to setting Show me as to Busy in the Calendar UI. - `transparent` does not block time on the calendar and is equivalent to setting Show me as to Available in the Calendar UI.")
event_type: StrictStr = Field(description="The type of the event (`birthday`, `fromGmail`, `outOfOffice`...)")
+ timezone: Optional[StrictStr] = Field(default=None, description="The IANA timezone when start and end share the same timezone (e.g. `Europe/Paris`). Omitted when they differ; use `start.timezone` and `end.timezone` instead.")
background_color: Optional[StrictStr] = Field(default=None, description="Background color of the calendar in hexadecimal format.")
text_color: Optional[StrictStr] = Field(default=None, description="Foreground color of the event in hexadecimal format.")
- __properties: ClassVar[List[str]] = ["object", "id", "master_event_id", "calendar_id", "created_at", "updated_at", "title", "body", "location", "is_cancelled", "is_all_day", "is_attendees_list_hidden", "attendees", "start", "end", "recurrence", "organizer", "conference", "visibility", "transparency", "event_type", "background_color", "text_color"]
+ specifics: Optional[Any] = Field(default=None, description="Object containing provider-specific calendar event data.")
+ __properties: ClassVar[List[str]] = ["object", "id", "master_event_id", "calendar_id", "created_at", "updated_at", "title", "body", "location", "is_cancelled", "is_all_day", "is_attendees_list_hidden", "attendees", "start", "end", "recurrence", "organizer", "conference", "visibility", "transparency", "event_type", "timezone", "background_color", "text_color", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -121,8 +123,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attendees:
for _item_attendees in self.attendees:
- if _item_attendees:
- _items.append(_item_attendees.to_dict())
+ _items.append(_item_attendees.to_dict() if _item_attendees is not None else None)
_dict['attendees'] = _items
# override the default output from pydantic by calling `to_dict()` of start
if self.start:
@@ -136,6 +137,11 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of conference
if self.conference:
_dict['conference'] = self.conference.to_dict()
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
return _dict
@classmethod
@@ -169,8 +175,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"visibility": obj.get("visibility"),
"transparency": obj.get("transparency"),
"event_type": obj.get("event_type") if obj.get("event_type") is not None else 'default',
+ "timezone": obj.get("timezone"),
"background_color": obj.get("background_color"),
- "text_color": obj.get("text_color")
+ "text_color": obj.get("text_color"),
+ "specifics": obj.get("specifics")
})
return _obj
diff --git a/unipile/models/create_calendar_event_request.py b/unipile/models/create_calendar_event_request.py
index 13ad96111..c0a0baa58 100644
--- a/unipile/models/create_calendar_event_request.py
+++ b/unipile/models/create_calendar_event_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,7 +35,7 @@ class CreateCalendarEventRequest(BaseModel):
body: Optional[StrictStr] = Field(default=None, description="The body of the event.")
location: Optional[StrictStr] = Field(default=None, description="The location of the event.")
background_color: Optional[StrictStr] = Field(default=None, description="Background color of the calendar in hexadecimal format. For Google we match the closest palette available")
- transparency: Optional[StrictStr] = Field(default='opaque', description="The transparency of the event. - `opaque` does block time on the calendar and is equivalent to setting Show me as to Busy in the Calendar UI. - `transparent` does not block time on the calendar and is equivalent to setting Show me as to Available in the Calendar UI.")
+ transparency: Optional[StrictStr] = Field(default='transparent', description="The transparency of the event. - `opaque` does block time on the calendar and is equivalent to setting Show me as to Busy in the Calendar UI. - `transparent` does not block time on the calendar and is equivalent to setting Show me as to Available in the Calendar UI.")
visibility: Optional[StrictStr] = Field(default='public', description="The visibility of the event. - `public` is visible to all. - `private` is visible only to the calendar owner.")
conference: Optional[GetCalendarEventList200ResponseDataInnerConference] = None
is_attendees_list_hidden: Optional[StrictBool] = Field(default=None, description="Is the attendees list hidden for attendees.")
@@ -43,8 +43,9 @@ class CreateCalendarEventRequest(BaseModel):
recurrence: Optional[List[StrictStr]] = Field(default=None, description="List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545.")
start: CreateCalendarEventRequestStart
end: CreateCalendarEventRequestEnd
+ timezone: Optional[StrictStr] = Field(default=None, description="The IANA timezone the event is expressed in (e.g. `Europe/Paris`). Defaults to UTC when omitted.")
additional_properties: Dict[str, Any] = {}
- __properties: ClassVar[List[str]] = ["title", "body", "location", "background_color", "transparency", "visibility", "conference", "is_attendees_list_hidden", "attendees", "recurrence", "start", "end"]
+ __properties: ClassVar[List[str]] = ["title", "body", "location", "background_color", "transparency", "visibility", "conference", "is_attendees_list_hidden", "attendees", "recurrence", "start", "end", "timezone"]
@field_validator('transparency')
def transparency_validate_enum(cls, value):
@@ -114,8 +115,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attendees:
for _item_attendees in self.attendees:
- if _item_attendees:
- _items.append(_item_attendees.to_dict())
+ _items.append(_item_attendees.to_dict() if _item_attendees is not None else None)
_dict['attendees'] = _items
# override the default output from pydantic by calling `to_dict()` of start
if self.start:
@@ -144,14 +144,15 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"body": obj.get("body"),
"location": obj.get("location"),
"background_color": obj.get("background_color"),
- "transparency": obj.get("transparency") if obj.get("transparency") is not None else 'opaque',
+ "transparency": obj.get("transparency") if obj.get("transparency") is not None else 'transparent',
"visibility": obj.get("visibility") if obj.get("visibility") is not None else 'public',
"conference": GetCalendarEventList200ResponseDataInnerConference.from_dict(obj["conference"]) if obj.get("conference") is not None else None,
"is_attendees_list_hidden": obj.get("is_attendees_list_hidden"),
"attendees": [CreateCalendarEventRequestAttendeesInner.from_dict(_item) for _item in obj["attendees"]] if obj.get("attendees") is not None else None,
"recurrence": obj.get("recurrence"),
"start": CreateCalendarEventRequestStart.from_dict(obj["start"]) if obj.get("start") is not None else None,
- "end": CreateCalendarEventRequestEnd.from_dict(obj["end"]) if obj.get("end") is not None else None
+ "end": CreateCalendarEventRequestEnd.from_dict(obj["end"]) if obj.get("end") is not None else None,
+ "timezone": obj.get("timezone")
})
# store additional fields in additional_properties
for _key in obj.keys():
diff --git a/unipile/models/create_calendar_event_request_attendees_inner.py b/unipile/models/create_calendar_event_request_attendees_inner.py
index a76038d57..696592a24 100644
--- a/unipile/models/create_calendar_event_request_attendees_inner.py
+++ b/unipile/models/create_calendar_event_request_attendees_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_calendar_event_request_end.py b/unipile/models/create_calendar_event_request_end.py
index 5790f8165..6570c1478 100644
--- a/unipile/models/create_calendar_event_request_end.py
+++ b/unipile/models/create_calendar_event_request_end.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_calendar_event_request_start.py b/unipile/models/create_calendar_event_request_start.py
index 17c38c38c..24b563b0f 100644
--- a/unipile/models/create_calendar_event_request_start.py
+++ b/unipile/models/create_calendar_event_request_start.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_calendar_request.py b/unipile/models/create_calendar_request.py
index bee6518f7..e48deb517 100644
--- a/unipile/models/create_calendar_request.py
+++ b/unipile/models/create_calendar_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,8 +30,9 @@ class CreateCalendarRequest(BaseModel):
name: StrictStr = Field(description="Name of the new calendar")
description: Optional[StrictStr] = Field(default=None, description="Description of the calendar")
background_color: Optional[StrictStr] = Field(default=None, description="Background color of the calendar in hexadecimal format.")
+ timezone: Optional[StrictStr] = Field(default=None, description="Timezone used in this calendar (IANA, e.g. `Europe/Paris`).")
additional_properties: Dict[str, Any] = {}
- __properties: ClassVar[List[str]] = ["name", "description", "background_color"]
+ __properties: ClassVar[List[str]] = ["name", "description", "background_color", "timezone"]
model_config = ConfigDict(
validate_by_name=True,
@@ -93,7 +94,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"name": obj.get("name"),
"description": obj.get("description"),
- "background_color": obj.get("background_color")
+ "background_color": obj.get("background_color"),
+ "timezone": obj.get("timezone")
})
# store additional fields in additional_properties
for _key in obj.keys():
diff --git a/unipile/models/create_classic_job_posting_draft201_response.py b/unipile/models/create_classic_job_posting_draft201_response.py
index f5e493e59..c933d6f90 100644
--- a/unipile/models/create_classic_job_posting_draft201_response.py
+++ b/unipile/models/create_classic_job_posting_draft201_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_classic_job_posting_draft_request.py b/unipile/models/create_classic_job_posting_draft_request.py
index 312a427c8..0b50af51e 100644
--- a/unipile/models/create_classic_job_posting_draft_request.py
+++ b/unipile/models/create_classic_job_posting_draft_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,10 +36,10 @@ class CreateClassicJobPostingDraftRequest(BaseModel):
job_title: CreateClassicJobPostingDraftRequestJobTitle
company: CreateClassicJobPostingDraftRequestCompany
workplace_type: StrictStr = Field(description="The workplace type of the job.")
- location: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_LOCATION` type to find out the possible values.")
+ location: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values.")
employment_status: StrictStr = Field(description="The employment status of the job.")
description: Annotated[str, Field(min_length=200, strict=True)] = Field(description="The job description. You can use HTML tags to structure your content.")
- skills: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. The skills related to the job posting.")
+ skills: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. The skills related to the job posting.")
apply_method: CreateClassicJobPostingDraftRequestApplyMethod
screening_questions: Optional[List[CreateClassicJobPostingDraftRequestScreeningQuestionsInner]] = Field(default=None, description="The questions to be asked to the applicants.")
rejection_settings: Optional[CreateClassicJobPostingDraftRequestRejectionSettings] = None
@@ -114,8 +114,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.screening_questions:
for _item_screening_questions in self.screening_questions:
- if _item_screening_questions:
- _items.append(_item_screening_questions.to_dict())
+ _items.append(_item_screening_questions.to_dict() if _item_screening_questions is not None else None)
_dict['screening_questions'] = _items
# override the default output from pydantic by calling `to_dict()` of rejection_settings
if self.rejection_settings:
diff --git a/unipile/models/create_classic_job_posting_draft_request_apply_method.py b/unipile/models/create_classic_job_posting_draft_request_apply_method.py
index aa0cfba4e..125d1dde1 100644
--- a/unipile/models/create_classic_job_posting_draft_request_apply_method.py
+++ b/unipile/models/create_classic_job_posting_draft_request_apply_method.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_classic_job_posting_draft_request_company.py b/unipile/models/create_classic_job_posting_draft_request_company.py
index 15ca77283..f23bfb6dd 100644
--- a/unipile/models/create_classic_job_posting_draft_request_company.py
+++ b/unipile/models/create_classic_job_posting_draft_request_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class CreateClassicJobPostingDraftRequestCompany(BaseModel):
"""
The company on whose behalf the job is created.
""" # noqa: E501
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
name: Optional[StrictStr] = Field(default=None, description="The name of the company.")
__properties: ClassVar[List[str]] = ["id", "name"]
diff --git a/unipile/models/create_classic_job_posting_draft_request_job_title.py b/unipile/models/create_classic_job_posting_draft_request_job_title.py
index 55d935475..c29714b27 100644
--- a/unipile/models/create_classic_job_posting_draft_request_job_title.py
+++ b/unipile/models/create_classic_job_posting_draft_request_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class CreateClassicJobPostingDraftRequestJobTitle(BaseModel):
"""
The title of the job.
""" # noqa: E501
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
name: Optional[StrictStr] = Field(default=None, description="The name of the job.")
__properties: ClassVar[List[str]] = ["id", "name"]
diff --git a/unipile/models/create_classic_job_posting_draft_request_rejection_settings.py b/unipile/models/create_classic_job_posting_draft_request_rejection_settings.py
index 889db2076..4fef7a7a5 100644
--- a/unipile/models/create_classic_job_posting_draft_request_rejection_settings.py
+++ b/unipile/models/create_classic_job_posting_draft_request_rejection_settings.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_classic_job_posting_draft_request_screening_questions_inner.py b/unipile/models/create_classic_job_posting_draft_request_screening_questions_inner.py
index a9acc6015..39fc81e6d 100644
--- a/unipile/models/create_classic_job_posting_draft_request_screening_questions_inner.py
+++ b/unipile/models/create_classic_job_posting_draft_request_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_draft201_response.py b/unipile/models/create_draft201_response.py
index c6900a244..2b36a47d3 100644
--- a/unipile/models/create_draft201_response.py
+++ b/unipile/models/create_draft201_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,8 +19,8 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
from unipile.models.get_emails_list200_response_data_inner_from_inner import GetEmailsList200ResponseDataInnerFromInner
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -40,7 +40,7 @@ class CreateDraft201Response(BaseModel):
cc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="The list of attendees that the email should be CC'd to.")
bcc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="The list of attendees that the email should be BCC'd to.")
reply_to: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="The list of attendees that the replies should be sent to.")
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="The attachments of the draft.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="The attachments of the draft.")
folders: List[StrictStr] = Field(description="The folder the draft is in. For Gmail, the labels assigned to the draft.")
categories: Optional[List[StrictStr]] = Field(default=None, description="List of categories assigned to the draft.")
__properties: ClassVar[List[str]] = ["object", "id", "thread_id", "body", "snippet", "subject", "from", "to", "cc", "bcc", "reply_to", "attachments", "folders", "categories"]
@@ -95,43 +95,37 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.var_from:
for _item_var_from in self.var_from:
- if _item_var_from:
- _items.append(_item_var_from.to_dict())
+ _items.append(_item_var_from.to_dict() if _item_var_from is not None else None)
_dict['from'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in to (list)
_items = []
if self.to:
for _item_to in self.to:
- if _item_to:
- _items.append(_item_to.to_dict())
+ _items.append(_item_to.to_dict() if _item_to is not None else None)
_dict['to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in cc (list)
_items = []
if self.cc:
for _item_cc in self.cc:
- if _item_cc:
- _items.append(_item_cc.to_dict())
+ _items.append(_item_cc.to_dict() if _item_cc is not None else None)
_dict['cc'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in bcc (list)
_items = []
if self.bcc:
for _item_bcc in self.bcc:
- if _item_bcc:
- _items.append(_item_bcc.to_dict())
+ _items.append(_item_bcc.to_dict() if _item_bcc is not None else None)
_dict['bcc'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in reply_to (list)
_items = []
if self.reply_to:
for _item_reply_to in self.reply_to:
- if _item_reply_to:
- _items.append(_item_reply_to.to_dict())
+ _items.append(_item_reply_to.to_dict() if _item_reply_to is not None else None)
_dict['reply_to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
return _dict
@@ -156,7 +150,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"cc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["cc"]] if obj.get("cc") is not None else None,
"bcc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["bcc"]] if obj.get("bcc") is not None else None,
"reply_to": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["reply_to"]] if obj.get("reply_to") is not None else None,
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"folders": obj.get("folders"),
"categories": obj.get("categories")
})
diff --git a/unipile/models/create_draft_request.py b/unipile/models/create_draft_request.py
index 5b9b762b5..6ea1536d8 100644
--- a/unipile/models/create_draft_request.py
+++ b/unipile/models/create_draft_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from unipile.models.get_emails_list200_response_data_inner_from_inner import GetEmailsList200ResponseDataInnerFromInner
from unipile.models.send_email_request_attachments_inner import SendEmailRequestAttachmentsInner
from unipile.models.send_email_request_tracking_options import SendEmailRequestTrackingOptions
@@ -37,10 +38,12 @@ class CreateDraftRequest(BaseModel):
to: List[GetEmailsList200ResponseDataInnerFromInner] = Field(description="List of attendees to set in `to` header.")
cc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="List of attendees to set in `cc` header.")
bcc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="List of attendees to set in `bcc` header.")
+ reply_to: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="List of attendees to set in the standard `Reply-To` header. Recipients answering the email will reply to these addresses instead of `from`. To reply inside an existing conversation, use `reply_to_message_id` instead.")
+ reply_to_message_id: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The ID of the email message that you're replying to. For Gmail, this is the provider ID for the email message that you're replying to. For IMAP, this is the RFC822 Message-ID header of the email message that you're replying to. Outlook draft replies are not supported.")
attachments: Optional[List[SendEmailRequestAttachmentsInner]] = Field(default=None, description="The list of file attachments to the draft.")
tracking_options: Optional[SendEmailRequestTrackingOptions] = None
additional_properties: Dict[str, Any] = {}
- __properties: ClassVar[List[str]] = ["html", "plain_text", "subject", "from", "to", "cc", "bcc", "attachments", "tracking_options"]
+ __properties: ClassVar[List[str]] = ["html", "plain_text", "subject", "from", "to", "cc", "bcc", "reply_to", "reply_to_message_id", "attachments", "tracking_options"]
model_config = ConfigDict(
validate_by_name=True,
@@ -90,29 +93,31 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.to:
for _item_to in self.to:
- if _item_to:
- _items.append(_item_to.to_dict())
+ _items.append(_item_to.to_dict() if _item_to is not None else None)
_dict['to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in cc (list)
_items = []
if self.cc:
for _item_cc in self.cc:
- if _item_cc:
- _items.append(_item_cc.to_dict())
+ _items.append(_item_cc.to_dict() if _item_cc is not None else None)
_dict['cc'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in bcc (list)
_items = []
if self.bcc:
for _item_bcc in self.bcc:
- if _item_bcc:
- _items.append(_item_bcc.to_dict())
+ _items.append(_item_bcc.to_dict() if _item_bcc is not None else None)
_dict['bcc'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in reply_to (list)
+ _items = []
+ if self.reply_to:
+ for _item_reply_to in self.reply_to:
+ _items.append(_item_reply_to.to_dict() if _item_reply_to is not None else None)
+ _dict['reply_to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of tracking_options
if self.tracking_options:
@@ -141,6 +146,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"to": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["to"]] if obj.get("to") is not None else None,
"cc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["cc"]] if obj.get("cc") is not None else None,
"bcc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["bcc"]] if obj.get("bcc") is not None else None,
+ "reply_to": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["reply_to"]] if obj.get("reply_to") is not None else None,
+ "reply_to_message_id": obj.get("reply_to_message_id"),
"attachments": [SendEmailRequestAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"tracking_options": SendEmailRequestTrackingOptions.from_dict(obj["tracking_options"]) if obj.get("tracking_options") is not None else None
})
diff --git a/unipile/models/create_folder201_response.py b/unipile/models/create_folder201_response.py
index bcd0e80e2..3c26e555d 100644
--- a/unipile/models/create_folder201_response.py
+++ b/unipile/models/create_folder201_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_folder_request.py b/unipile/models/create_folder_request.py
index aa3203e44..20877c797 100644
--- a/unipile/models/create_folder_request.py
+++ b/unipile/models/create_folder_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_new_education.py b/unipile/models/create_new_education.py
index 71ff4f07c..b02310a64 100644
--- a/unipile/models/create_new_education.py
+++ b/unipile/models/create_new_education.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -113,8 +113,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of media
if self.media:
diff --git a/unipile/models/create_new_education_degree.py b/unipile/models/create_new_education_degree.py
index 5bcb05c98..db349c920 100644
--- a/unipile/models/create_new_education_degree.py
+++ b/unipile/models/create_new_education_degree.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class CreateNewEducationDegree(BaseModel):
"""
Degree of the education.
""" # noqa: E501
- name: Optional[StrictStr] = Field(description="The ID of the Company.")
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `DEGREE` type to find out the possible values.")
+ name: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `DEGREE` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/create_new_education_end_date.py b/unipile/models/create_new_education_end_date.py
index 792681615..ef7f8cb7c 100644
--- a/unipile/models/create_new_education_end_date.py
+++ b/unipile/models/create_new_education_end_date.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_new_education_field_of_study.py b/unipile/models/create_new_education_field_of_study.py
index 109a7c722..6b2d8eda9 100644
--- a/unipile/models/create_new_education_field_of_study.py
+++ b/unipile/models/create_new_education_field_of_study.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class CreateNewEducationFieldOfStudy(BaseModel):
"""
Field of study of the education.
""" # noqa: E501
- name: Optional[StrictStr] = Field(description="The ID of the Company.")
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `FIELD_OF_STUDY` type to find out the possible values.")
+ name: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `FIELD_OF_STUDY` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/create_new_education_school.py b/unipile/models/create_new_education_school.py
index fd763959f..dab9c1689 100644
--- a/unipile/models/create_new_education_school.py
+++ b/unipile/models/create_new_education_school.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class CreateNewEducationSchool(BaseModel):
"""
School of the education.
""" # noqa: E501
- name: Optional[StrictStr] = Field(description="The ID of the Company.")
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
+ name: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/create_new_education_start_date.py b/unipile/models/create_new_education_start_date.py
index c8076b960..320e68733 100644
--- a/unipile/models/create_new_education_start_date.py
+++ b/unipile/models/create_new_education_start_date.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_new_experience.py b/unipile/models/create_new_experience.py
index 51e7b3eba..a06593a82 100644
--- a/unipile/models/create_new_experience.py
+++ b/unipile/models/create_new_experience.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,7 @@ class CreateNewExperience(BaseModel):
""" # noqa: E501
notify_network: Optional[StrictBool] = Field(default=False, description="Notify the network about the experience. Turn on to notify your network of key profile changes (such as new job) and work anniversaries. Updates can take up to 2 hours. ")
job_title: CreateNewExperienceJobTitle
- employment_type: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `EMPLOYMENT_TYPE` type to find out the possible values. Employment type of the experience.")
+ employment_type: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `EMPLOYMENT_TYPE` type to find out the possible values. Employment type of the experience.")
company: CreateNewExperienceCompany
location: Optional[CreateNewExperienceLocation] = None
workplace_type: Optional[StrictStr] = Field(default=None, description="The workplace type. Ex: Remote, Hybrid, On-site")
@@ -134,8 +134,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of media
if self.media:
diff --git a/unipile/models/create_new_experience_company.py b/unipile/models/create_new_experience_company.py
index f3ab58b2a..d7f8c93f7 100644
--- a/unipile/models/create_new_experience_company.py
+++ b/unipile/models/create_new_experience_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class CreateNewExperienceCompany(BaseModel):
"""
Company of the experience.
""" # noqa: E501
- name: Optional[StrictStr] = Field(description="The ID of the Company.")
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
+ name: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/create_new_experience_end_date.py b/unipile/models/create_new_experience_end_date.py
index 6d79f75e8..6d9b19c09 100644
--- a/unipile/models/create_new_experience_end_date.py
+++ b/unipile/models/create_new_experience_end_date.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_new_experience_job_title.py b/unipile/models/create_new_experience_job_title.py
index 8f6a936e0..2d7770d2c 100644
--- a/unipile/models/create_new_experience_job_title.py
+++ b/unipile/models/create_new_experience_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class CreateNewExperienceJobTitle(BaseModel):
"""
Job title of the experience.
""" # noqa: E501
- name: Optional[StrictStr] = Field(description="The ID of the Company.")
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
+ name: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/create_new_experience_location.py b/unipile/models/create_new_experience_location.py
index 25d2cf179..0997d4842 100644
--- a/unipile/models/create_new_experience_location.py
+++ b/unipile/models/create_new_experience_location.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class CreateNewExperienceLocation(BaseModel):
"""
Location of the experience.
""" # noqa: E501
- name: Optional[StrictStr] = Field(description="The ID of the Company.")
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values.")
+ name: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/create_new_experience_media.py b/unipile/models/create_new_experience_media.py
index def2af81c..9564787c5 100644
--- a/unipile/models/create_new_experience_media.py
+++ b/unipile/models/create_new_experience_media.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_new_experience_skills_inner.py b/unipile/models/create_new_experience_skills_inner.py
index 09c890c96..c9d95c2d7 100644
--- a/unipile/models/create_new_experience_skills_inner.py
+++ b/unipile/models/create_new_experience_skills_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class CreateNewExperienceSkillsInner(BaseModel):
CreateNewExperienceSkillsInner
""" # noqa: E501
name: StrictStr
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `SKILL` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `SKILL` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/create_new_experience_start_date.py b/unipile/models/create_new_experience_start_date.py
index 98b527f25..eea7ac34d 100644
--- a/unipile/models/create_new_experience_start_date.py
+++ b/unipile/models/create_new_experience_start_date.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_post_request.py b/unipile/models/create_post_request.py
index 6f0437dc4..fdb3760c3 100644
--- a/unipile/models/create_post_request.py
+++ b/unipile/models/create_post_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from unipile.models.create_post_request_specifics import CreatePostRequestSpecifics
from unipile.models.send_email_request_attachments_inner import SendEmailRequestAttachmentsInner
from typing import Optional, Set
@@ -33,8 +34,8 @@ class CreatePostRequest(BaseModel):
attachments: Optional[List[SendEmailRequestAttachmentsInner]] = Field(default=None, description="The list of files to appear in the post.")
can_read: Optional[StrictStr] = Field(default='anyone', description="The visibility level for the new post (if supported by the provider). - `anyone` is visible to anyone. - `relations_only` is visible only to the user's relations.")
can_comment: Optional[StrictStr] = Field(default='anyone', description="The comment control level for the new post (if supported by the provider). - `anyone` anyone can comment. - `relations_only` only to the user's relations can comment. - `no_one` no one can comment.")
- quoted_post_id: Optional[StrictStr] = Field(default=None, description="The ID of a Post to be quoted. For a simple repost without commentary, leave `text` as an empty string.")
- post_as: Optional[StrictStr] = Field(default=None, description="The ID of the User on whose behalf the post should be published (if supported by the provider).")
+ quoted_post_id: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The ID of a Post to be quoted. For a simple repost without commentary, leave `text` as an empty string.")
+ post_as: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The ID of the User on whose behalf the post should be published (if supported by the provider).")
specifics: Optional[CreatePostRequestSpecifics] = None
__properties: ClassVar[List[str]] = ["text", "attachments", "can_read", "can_comment", "quoted_post_id", "post_as", "specifics"]
@@ -101,8 +102,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of specifics
if self.specifics:
diff --git a/unipile/models/create_post_request_specifics.py b/unipile/models/create_post_request_specifics.py
index c1f720d30..1fc98d501 100644
--- a/unipile/models/create_post_request_specifics.py
+++ b/unipile/models/create_post_request_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_post_request_specifics_all_of_instagram.py b/unipile/models/create_post_request_specifics_all_of_instagram.py
index 9bdf309bf..b8caeb92d 100644
--- a/unipile/models/create_post_request_specifics_all_of_instagram.py
+++ b/unipile/models/create_post_request_specifics_all_of_instagram.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_recruiter_hiring_project201_response.py b/unipile/models/create_recruiter_hiring_project201_response.py
index 4a7f8a544..0010dd139 100644
--- a/unipile/models/create_recruiter_hiring_project201_response.py
+++ b/unipile/models/create_recruiter_hiring_project201_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_recruiter_hiring_project_request.py b/unipile/models/create_recruiter_hiring_project_request.py
index b8ed5168f..8849e1ff0 100644
--- a/unipile/models/create_recruiter_hiring_project_request.py
+++ b/unipile/models/create_recruiter_hiring_project_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from unipile.models.create_recruiter_hiring_project_request_company import CreateRecruiterHiringProjectRequestCompany
from unipile.models.create_recruiter_hiring_project_request_job_title import CreateRecruiterHiringProjectRequestJobTitle
from typing import Optional, Set
@@ -34,9 +35,12 @@ class CreateRecruiterHiringProjectRequest(BaseModel):
description: Optional[StrictStr] = Field(default=None, description="The description of the project.")
company: Optional[CreateRecruiterHiringProjectRequestCompany] = None
job_title: Optional[CreateRecruiterHiringProjectRequestJobTitle] = None
- location: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_LOCATION` type to find out the possible values.")
- seniority_level: Optional[StrictStr] = Field(default=None, description="The level of experience.")
- __properties: ClassVar[List[str]] = ["name", "visibility", "description", "company", "job_title", "location", "seniority_level"]
+ location: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values.")
+ seniority_level: Optional[StrictStr] = Field(default=None, description="The level of experience of the project.")
+ employment_status: Optional[StrictStr] = Field(default=None, description="The employment status of the project.")
+ industry: Optional[Annotated[List[Optional[StrictStr]], Field(min_length=1, max_length=3)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. The company industries related to the project.")
+ job_function: Optional[Annotated[List[Optional[StrictStr]], Field(min_length=1, max_length=3)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. The job functions of the project.")
+ __properties: ClassVar[List[str]] = ["name", "visibility", "description", "company", "job_title", "location", "seniority_level", "employment_status", "industry", "job_function"]
@field_validator('visibility')
def visibility_validate_enum(cls, value):
@@ -55,6 +59,16 @@ def seniority_level_validate_enum(cls, value):
raise ValueError("must be one of enum values ('INTERNSHIP', 'ENTRY_LEVEL', 'ASSOCIATE', 'MID_SENIOR_LEVEL', 'DIRECTOR', 'EXECUTIVE', 'NOT_APPLICABLE')")
return value
+ @field_validator('employment_status')
+ def employment_status_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set(['FULL_TIME', 'PART_TIME', 'CONTRACT', 'TEMPORARY', 'OTHER', 'VOLUNTEER', 'INTERNSHIP']):
+ raise ValueError("must be one of enum values ('FULL_TIME', 'PART_TIME', 'CONTRACT', 'TEMPORARY', 'OTHER', 'VOLUNTEER', 'INTERNSHIP')")
+ return value
+
model_config = ConfigDict(
validate_by_name=True,
validate_by_alias=True,
@@ -118,7 +132,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"company": CreateRecruiterHiringProjectRequestCompany.from_dict(obj["company"]) if obj.get("company") is not None else None,
"job_title": CreateRecruiterHiringProjectRequestJobTitle.from_dict(obj["job_title"]) if obj.get("job_title") is not None else None,
"location": obj.get("location"),
- "seniority_level": obj.get("seniority_level")
+ "seniority_level": obj.get("seniority_level"),
+ "employment_status": obj.get("employment_status"),
+ "industry": obj.get("industry"),
+ "job_function": obj.get("job_function")
})
return _obj
diff --git a/unipile/models/create_recruiter_hiring_project_request_company.py b/unipile/models/create_recruiter_hiring_project_request_company.py
index cefae1040..a7c5a476e 100644
--- a/unipile/models/create_recruiter_hiring_project_request_company.py
+++ b/unipile/models/create_recruiter_hiring_project_request_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class CreateRecruiterHiringProjectRequestCompany(BaseModel):
"""
The company on whose behalf the project is created.
""" # noqa: E501
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
name: Optional[StrictStr] = Field(default=None, description="The name of the company.")
__properties: ClassVar[List[str]] = ["id", "name"]
diff --git a/unipile/models/create_recruiter_hiring_project_request_job_title.py b/unipile/models/create_recruiter_hiring_project_request_job_title.py
index 8d45ece0c..eb097b03b 100644
--- a/unipile/models/create_recruiter_hiring_project_request_job_title.py
+++ b/unipile/models/create_recruiter_hiring_project_request_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class CreateRecruiterHiringProjectRequestJobTitle(BaseModel):
"""
The job title of the project.
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
name: StrictStr = Field(description="The name of the job.")
__properties: ClassVar[List[str]] = ["id", "name"]
diff --git a/unipile/models/create_recruiter_job_posting_draft_in_existing_project200_response.py b/unipile/models/create_recruiter_job_posting_draft_in_existing_project200_response.py
index af1a7b4ff..991052fa3 100644
--- a/unipile/models/create_recruiter_job_posting_draft_in_existing_project200_response.py
+++ b/unipile/models/create_recruiter_job_posting_draft_in_existing_project200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request.py b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request.py
index ec0e0789b..2c467eea1 100644
--- a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request.py
+++ b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -20,10 +20,12 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
from typing_extensions import Annotated
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation import CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_apply_method import CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_company import CreateRecruiterJobPostingDraftInExistingProjectRequestCompany
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_job_title import CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings import CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_salary import CreateRecruiterJobPostingDraftInExistingProjectRequestSalary
from unipile.models.edit_classic_job_posting_request_screening_questions_inner import EditClassicJobPostingRequestScreeningQuestionsInner
from typing import Optional, Set
from typing_extensions import Self
@@ -36,21 +38,23 @@ class CreateRecruiterJobPostingDraftInExistingProjectRequest(BaseModel):
job_title: CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle
company: CreateRecruiterJobPostingDraftInExistingProjectRequestCompany
workplace_type: StrictStr = Field(description="The working method of the job.")
- location: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_LOCATION` type to find out the possible values.")
+ location: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values.")
employment_status: StrictStr = Field(description="The employment status of the job.")
seniority_level: StrictStr = Field(description="The level of experience of the job.")
description: Annotated[str, Field(min_length=200, strict=True)] = Field(description="The job description. You can use HTML tags to structure your content.")
- industry: Annotated[List[Optional[StrictStr]], Field(min_length=1, max_length=3)] = Field(description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. The company industries related to the job posting.")
- job_function: Annotated[List[Optional[StrictStr]], Field(min_length=1, max_length=3)] = Field(description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting.")
- skills: Optional[Annotated[List[Optional[StrictStr]], Field(max_length=10)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. The skills related to the job posting.")
+ industry: Annotated[List[Optional[StrictStr]], Field(min_length=1, max_length=3)] = Field(description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. The company industries related to the job posting.")
+ job_function: Annotated[List[Optional[StrictStr]], Field(min_length=1, max_length=3)] = Field(description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting.")
+ skills: Optional[Annotated[List[Optional[StrictStr]], Field(max_length=10)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. The skills related to the job posting.")
include_poster_info: Optional[StrictBool] = Field(default=True, description="Whether basic information about you should be available on the job posting.")
tracking_pixel_url: Optional[StrictStr] = Field(default=None, description="The tracking pixel URL of the company.")
company_job_id: Optional[StrictStr] = Field(default=None, description="The ID of the job in the company's system.")
apply_method: CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod
screening_questions: Optional[List[EditClassicJobPostingRequestScreeningQuestionsInner]] = Field(default=None, description="The questions to be asked to the applicants.")
+ salary: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestSalary] = None
+ additional_compensation: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation] = None
rejection_settings: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings] = None
additional_properties: Dict[str, Any] = {}
- __properties: ClassVar[List[str]] = ["job_title", "company", "workplace_type", "location", "employment_status", "seniority_level", "description", "industry", "job_function", "skills", "include_poster_info", "tracking_pixel_url", "company_job_id", "apply_method", "screening_questions", "rejection_settings"]
+ __properties: ClassVar[List[str]] = ["job_title", "company", "workplace_type", "location", "employment_status", "seniority_level", "description", "industry", "job_function", "skills", "include_poster_info", "tracking_pixel_url", "company_job_id", "apply_method", "screening_questions", "salary", "additional_compensation", "rejection_settings"]
@field_validator('workplace_type')
def workplace_type_validate_enum(cls, value):
@@ -127,9 +131,14 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.screening_questions:
for _item_screening_questions in self.screening_questions:
- if _item_screening_questions:
- _items.append(_item_screening_questions.to_dict())
+ _items.append(_item_screening_questions.to_dict() if _item_screening_questions is not None else None)
_dict['screening_questions'] = _items
+ # override the default output from pydantic by calling `to_dict()` of salary
+ if self.salary:
+ _dict['salary'] = self.salary.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of additional_compensation
+ if self.additional_compensation:
+ _dict['additional_compensation'] = self.additional_compensation.to_dict()
# override the default output from pydantic by calling `to_dict()` of rejection_settings
if self.rejection_settings:
_dict['rejection_settings'] = self.rejection_settings.to_dict()
@@ -165,6 +174,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"company_job_id": obj.get("company_job_id"),
"apply_method": CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod.from_dict(obj["apply_method"]) if obj.get("apply_method") is not None else None,
"screening_questions": [EditClassicJobPostingRequestScreeningQuestionsInner.from_dict(_item) for _item in obj["screening_questions"]] if obj.get("screening_questions") is not None else None,
+ "salary": CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.from_dict(obj["salary"]) if obj.get("salary") is not None else None,
+ "additional_compensation": CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.from_dict(obj["additional_compensation"]) if obj.get("additional_compensation") is not None else None,
"rejection_settings": CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings.from_dict(obj["rejection_settings"]) if obj.get("rejection_settings") is not None else None
})
# store additional fields in additional_properties
diff --git a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation.py b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation.py
new file mode 100644
index 000000000..4f457ac58
--- /dev/null
+++ b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation.py
@@ -0,0 +1,109 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Union
+from typing_extensions import Annotated
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation(BaseModel):
+ """
+ Any additional compensation for the job.
+ """ # noqa: E501
+ currency: Annotated[str, Field(strict=True)]
+ pay_frequency: StrictStr = Field(description="The frequency at which the compensation is paid.")
+ min: Union[StrictFloat, StrictInt] = Field(description="The minimum in the compensation range.")
+ max: Union[StrictFloat, StrictInt] = Field(description="The maximum in the compensation range.")
+ __properties: ClassVar[List[str]] = ["currency", "pay_frequency", "min", "max"]
+
+ @field_validator('currency', mode="before")
+ def currency_validate_regular_expression(cls, value):
+ """Validates the regular expression"""
+ if isinstance(value, str) and not re.match(r"^[A-Z]{3}$", value):
+ raise ValueError(r"must validate the regular expression /^[A-Z]{3}$/")
+ return value
+
+ @field_validator('pay_frequency')
+ def pay_frequency_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['YEARLY', 'MONTHLY', 'HOURLY']):
+ raise ValueError("must be one of enum values ('YEARLY', 'MONTHLY', 'HOURLY')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "currency": obj.get("currency"),
+ "pay_frequency": obj.get("pay_frequency"),
+ "min": obj.get("min"),
+ "max": obj.get("max")
+ })
+ return _obj
+
+
diff --git a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_apply_method.py b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_apply_method.py
index ed499ce5f..a72acd325 100644
--- a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_apply_method.py
+++ b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_apply_method.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_company.py b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_company.py
index 591e79319..365e27f51 100644
--- a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_company.py
+++ b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class CreateRecruiterJobPostingDraftInExistingProjectRequestCompany(BaseModel):
"""
The company on whose behalf the job is created.
""" # noqa: E501
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
name: Optional[StrictStr] = Field(default=None, description="The name of the company.")
__properties: ClassVar[List[str]] = ["id", "name"]
diff --git a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_job_title.py b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_job_title.py
index 86d4bbed3..7ccbeb32d 100644
--- a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_job_title.py
+++ b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle(BaseModel):
"""
The title of the job.
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
name: StrictStr = Field(description="The name of the job.")
__properties: ClassVar[List[str]] = ["id", "name"]
diff --git a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.py b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.py
index 611d56054..22ad53517 100644
--- a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.py
+++ b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_salary.py b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_salary.py
new file mode 100644
index 000000000..5e5fc7ca1
--- /dev/null
+++ b/unipile/models/create_recruiter_job_posting_draft_in_existing_project_request_salary.py
@@ -0,0 +1,109 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Union
+from typing_extensions import Annotated
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class CreateRecruiterJobPostingDraftInExistingProjectRequestSalary(BaseModel):
+ """
+ The base salary for the job.
+ """ # noqa: E501
+ currency: Annotated[str, Field(strict=True)]
+ pay_frequency: StrictStr = Field(description="The frequency at which the compensation is paid.")
+ min: Union[StrictFloat, StrictInt] = Field(description="The minimum in the compensation range.")
+ max: Union[StrictFloat, StrictInt] = Field(description="The maximum in the compensation range.")
+ __properties: ClassVar[List[str]] = ["currency", "pay_frequency", "min", "max"]
+
+ @field_validator('currency', mode="before")
+ def currency_validate_regular_expression(cls, value):
+ """Validates the regular expression"""
+ if isinstance(value, str) and not re.match(r"^[A-Z]{3}$", value):
+ raise ValueError(r"must validate the regular expression /^[A-Z]{3}$/")
+ return value
+
+ @field_validator('pay_frequency')
+ def pay_frequency_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['YEARLY', 'MONTHLY', 'HOURLY']):
+ raise ValueError("must be one of enum values ('YEARLY', 'MONTHLY', 'HOURLY')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of CreateRecruiterJobPostingDraftInExistingProjectRequestSalary from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of CreateRecruiterJobPostingDraftInExistingProjectRequestSalary from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "currency": obj.get("currency"),
+ "pay_frequency": obj.get("pay_frequency"),
+ "min": obj.get("min"),
+ "max": obj.get("max")
+ })
+ return _obj
+
+
diff --git a/unipile/models/create_recruiter_job_posting_draft_in_new_project_request.py b/unipile/models/create_recruiter_job_posting_draft_in_new_project_request.py
index e9e19cbf9..7ef73ac50 100644
--- a/unipile/models/create_recruiter_job_posting_draft_in_new_project_request.py
+++ b/unipile/models/create_recruiter_job_posting_draft_in_new_project_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -20,10 +20,12 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
from typing_extensions import Annotated
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation import CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_apply_method import CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_company import CreateRecruiterJobPostingDraftInExistingProjectRequestCompany
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_job_title import CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings import CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_salary import CreateRecruiterJobPostingDraftInExistingProjectRequestSalary
from unipile.models.edit_classic_job_posting_request_screening_questions_inner import EditClassicJobPostingRequestScreeningQuestionsInner
from typing import Optional, Set
from typing_extensions import Self
@@ -36,21 +38,23 @@ class CreateRecruiterJobPostingDraftInNewProjectRequest(BaseModel):
job_title: CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle
company: CreateRecruiterJobPostingDraftInExistingProjectRequestCompany
workplace_type: StrictStr = Field(description="The working method of the job.")
- location: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_LOCATION` type to find out the possible values.")
+ location: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values.")
employment_status: StrictStr = Field(description="The employment status of the job.")
seniority_level: StrictStr = Field(description="The level of experience of the job.")
description: Annotated[str, Field(min_length=200, strict=True)] = Field(description="The job description. You can use HTML tags to structure your content.")
- industry: Annotated[List[StrictStr], Field(min_length=1, max_length=3)] = Field(description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. The company industries related to the job posting.")
- job_function: Annotated[List[StrictStr], Field(min_length=1, max_length=3)] = Field(description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting.")
- skills: Optional[Annotated[List[StrictStr], Field(max_length=10)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. The skills related to the job posting.")
+ industry: Annotated[List[StrictStr], Field(min_length=1, max_length=3)] = Field(description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. The company industries related to the job posting.")
+ job_function: Annotated[List[StrictStr], Field(min_length=1, max_length=3)] = Field(description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting.")
+ skills: Optional[Annotated[List[StrictStr], Field(max_length=10)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. The skills related to the job posting.")
include_poster_info: Optional[StrictBool] = Field(default=True, description="Whether basic information about you should be available on the job posting.")
tracking_pixel_url: Optional[StrictStr] = Field(default=None, description="The tracking pixel URL of the company.")
company_job_id: Optional[StrictStr] = Field(default=None, description="The ID of the job in the company's system.")
apply_method: CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod
screening_questions: Optional[List[EditClassicJobPostingRequestScreeningQuestionsInner]] = Field(default=None, description="The questions to be asked to the applicants.")
+ salary: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestSalary] = None
+ additional_compensation: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation] = None
rejection_settings: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings] = None
project_name: StrictStr = Field(description="The name you want to give to the new project.")
- __properties: ClassVar[List[str]] = ["job_title", "company", "workplace_type", "location", "employment_status", "seniority_level", "description", "industry", "job_function", "skills", "include_poster_info", "tracking_pixel_url", "company_job_id", "apply_method", "screening_questions", "rejection_settings", "project_name"]
+ __properties: ClassVar[List[str]] = ["job_title", "company", "workplace_type", "location", "employment_status", "seniority_level", "description", "industry", "job_function", "skills", "include_poster_info", "tracking_pixel_url", "company_job_id", "apply_method", "screening_questions", "salary", "additional_compensation", "rejection_settings", "project_name"]
@field_validator('workplace_type')
def workplace_type_validate_enum(cls, value):
@@ -125,9 +129,14 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.screening_questions:
for _item_screening_questions in self.screening_questions:
- if _item_screening_questions:
- _items.append(_item_screening_questions.to_dict())
+ _items.append(_item_screening_questions.to_dict() if _item_screening_questions is not None else None)
_dict['screening_questions'] = _items
+ # override the default output from pydantic by calling `to_dict()` of salary
+ if self.salary:
+ _dict['salary'] = self.salary.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of additional_compensation
+ if self.additional_compensation:
+ _dict['additional_compensation'] = self.additional_compensation.to_dict()
# override the default output from pydantic by calling `to_dict()` of rejection_settings
if self.rejection_settings:
_dict['rejection_settings'] = self.rejection_settings.to_dict()
@@ -158,6 +167,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"company_job_id": obj.get("company_job_id"),
"apply_method": CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod.from_dict(obj["apply_method"]) if obj.get("apply_method") is not None else None,
"screening_questions": [EditClassicJobPostingRequestScreeningQuestionsInner.from_dict(_item) for _item in obj["screening_questions"]] if obj.get("screening_questions") is not None else None,
+ "salary": CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.from_dict(obj["salary"]) if obj.get("salary") is not None else None,
+ "additional_compensation": CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.from_dict(obj["additional_compensation"]) if obj.get("additional_compensation") is not None else None,
"rejection_settings": CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings.from_dict(obj["rejection_settings"]) if obj.get("rejection_settings") is not None else None,
"project_name": obj.get("project_name")
})
diff --git a/unipile/models/create_relation_request_request.py b/unipile/models/create_relation_request_request.py
index e1b97f0c2..f0058c702 100644
--- a/unipile/models/create_relation_request_request.py
+++ b/unipile/models/create_relation_request_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -28,7 +29,7 @@ class CreateRelationRequestRequest(BaseModel):
CreateRelationRequestRequest
""" # noqa: E501
message: Optional[StrictStr] = Field(default=None, description="A message to send to the user along with the request (if supported by the provider).")
- user_id: StrictStr = Field(description="The ID of the User to request a bi-directional relation with.")
+ user_id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The ID of the User to request a bi-directional relation with.")
__properties: ClassVar[List[str]] = ["message", "user_id"]
model_config = ConfigDict(
diff --git a/unipile/models/create_webhook_endpoint200_response.py b/unipile/models/create_webhook_endpoint200_response.py
index ba9d8543a..416aa2190 100644
--- a/unipile/models/create_webhook_endpoint200_response.py
+++ b/unipile/models/create_webhook_endpoint200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -45,8 +45,8 @@ class CreateWebhookEndpoint200Response(BaseModel):
def trigger_events_validate_enum(cls, value):
"""Validates the enum"""
for i in value:
- if i not in set(['account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.paused', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.request.accept']):
- raise ValueError("each list item must be one of ('account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.paused', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.request.accept')")
+ if i not in set(['account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.degraded', 'account.status.partial', 'account.locked', 'account.unlocked', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'message.reaction.delete', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.new']):
+ raise ValueError("each list item must be one of ('account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.degraded', 'account.status.partial', 'account.locked', 'account.unlocked', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'message.reaction.delete', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.new')")
return value
@field_validator('object')
@@ -56,23 +56,17 @@ def object_validate_enum(cls, value):
raise ValueError("must be one of enum values ('WebhookEndpoint')")
return value
- @field_validator('id')
+ @field_validator('id', mode="before")
def id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^we_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^we_(.*)$", value):
raise ValueError(r"must validate the regular expression /^we_(.*)$/")
return value
- @field_validator('application_id')
+ @field_validator('application_id', mode="before")
def application_id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^app_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^app_(.*)$", value):
raise ValueError(r"must validate the regular expression /^app_(.*)$/")
return value
@@ -119,8 +113,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.account_targets:
for _item_account_targets in self.account_targets:
- if _item_account_targets:
- _items.append(_item_account_targets.to_dict())
+ _items.append(_item_account_targets.to_dict() if _item_account_targets is not None else None)
_dict['account_targets'] = _items
# set to None if description (nullable) is None
# and model_fields_set contains the field
diff --git a/unipile/models/create_webhook_endpoint_request.py b/unipile/models/create_webhook_endpoint_request.py
index 6912004fa..5ee93cdaf 100644
--- a/unipile/models/create_webhook_endpoint_request.py
+++ b/unipile/models/create_webhook_endpoint_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,7 +30,7 @@ class CreateWebhookEndpointRequest(BaseModel):
""" # noqa: E501
trigger_events: List[StrictStr] = Field(description="The events that will trigger the webhook endpoint. Refer to [Events Types](https://developer.unipile.com/v2.0/reference/event-types-1) to see the list of available values.")
account_ids: Optional[List[Annotated[str, Field(strict=True)]]] = Field(default=None, description="Restrict the webhook to specific accounts. Leave empty or omit the field to listen to events from every account in the application.")
- url: Annotated[str, Field(strict=True, max_length=255)] = Field(description="The URL to send the webhook payload to.")
+ url: Annotated[str, Field(strict=True, max_length=255)] = Field(description="The HTTP or HTTPS URL to send the webhook payload to.")
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(default=None, description="A description of the webhook endpoint.")
__properties: ClassVar[List[str]] = ["trigger_events", "account_ids", "url", "description"]
@@ -38,8 +38,15 @@ class CreateWebhookEndpointRequest(BaseModel):
def trigger_events_validate_enum(cls, value):
"""Validates the enum"""
for i in value:
- if i not in set(['account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.paused', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.request.accept']):
- raise ValueError("each list item must be one of ('account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.paused', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.request.accept')")
+ if i not in set(['account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.degraded', 'account.status.partial', 'account.locked', 'account.unlocked', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'message.reaction.delete', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.new']):
+ raise ValueError("each list item must be one of ('account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.degraded', 'account.status.partial', 'account.locked', 'account.unlocked', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'message.reaction.delete', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.new')")
+ return value
+
+ @field_validator('url', mode="before")
+ def url_validate_regular_expression(cls, value):
+ """Validates the regular expression"""
+ if isinstance(value, str) and not re.match(r"^https?:\/\/", value):
+ raise ValueError(r"must validate the regular expression /^https?:\/\//")
return value
model_config = ConfigDict(
diff --git a/unipile/models/custom_proxy.py b/unipile/models/custom_proxy.py
index e4f4d77f8..b6ee87634 100644
--- a/unipile/models/custom_proxy.py
+++ b/unipile/models/custom_proxy.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/custom_proxy1.py b/unipile/models/custom_proxy1.py
index 97ab04a43..6b5bc4837 100644
--- a/unipile/models/custom_proxy1.py
+++ b/unipile/models/custom_proxy1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/days_based.py b/unipile/models/days_based.py
index a21ee8966..95f18841f 100644
--- a/unipile/models/days_based.py
+++ b/unipile/models/days_based.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/edit_classic_job_posting200_response.py b/unipile/models/edit_classic_job_posting200_response.py
index e718c23d1..eb49deeb5 100644
--- a/unipile/models/edit_classic_job_posting200_response.py
+++ b/unipile/models/edit_classic_job_posting200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/edit_classic_job_posting_request.py b/unipile/models/edit_classic_job_posting_request.py
index 1741608af..d0ccbab25 100644
--- a/unipile/models/edit_classic_job_posting_request.py
+++ b/unipile/models/edit_classic_job_posting_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,10 +36,10 @@ class EditClassicJobPostingRequest(BaseModel):
job_title: Optional[CreateClassicJobPostingDraftRequestJobTitle] = None
company: Optional[CreateClassicJobPostingDraftRequestCompany] = None
workplace_type: Optional[StrictStr] = Field(default=None, description="The workplace type of the job.")
- location: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_LOCATION` type to find out the possible values.")
+ location: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values.")
employment_status: Optional[StrictStr] = Field(default=None, description="The employment status of the job.")
description: Optional[Annotated[str, Field(min_length=200, strict=True)]] = Field(default=None, description="The job description. You can use HTML tags to structure your content.")
- skills: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. The skills related to the job posting.")
+ skills: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. The skills related to the job posting.")
apply_method: Optional[CreateClassicJobPostingDraftRequestApplyMethod] = None
screening_questions: Optional[List[EditClassicJobPostingRequestScreeningQuestionsInner]] = Field(default=None, description="The questions to be asked to the applicants.")
rejection_settings: Optional[CreateClassicJobPostingDraftRequestRejectionSettings] = None
@@ -120,8 +120,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.screening_questions:
for _item_screening_questions in self.screening_questions:
- if _item_screening_questions:
- _items.append(_item_screening_questions.to_dict())
+ _items.append(_item_screening_questions.to_dict() if _item_screening_questions is not None else None)
_dict['screening_questions'] = _items
# override the default output from pydantic by calling `to_dict()` of rejection_settings
if self.rejection_settings:
diff --git a/unipile/models/edit_classic_job_posting_request_screening_questions_inner.py b/unipile/models/edit_classic_job_posting_request_screening_questions_inner.py
index 31db7d687..c22b72efa 100644
--- a/unipile/models/edit_classic_job_posting_request_screening_questions_inner.py
+++ b/unipile/models/edit_classic_job_posting_request_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/edit_existing_education.py b/unipile/models/edit_existing_education.py
index e66fb4064..f249f6413 100644
--- a/unipile/models/edit_existing_education.py
+++ b/unipile/models/edit_existing_education.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -114,8 +114,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of media
if self.media:
diff --git a/unipile/models/edit_existing_education_degree.py b/unipile/models/edit_existing_education_degree.py
index b05d47bb2..6ebb4e9c9 100644
--- a/unipile/models/edit_existing_education_degree.py
+++ b/unipile/models/edit_existing_education_degree.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class EditExistingEducationDegree(BaseModel):
Degree of the education.
""" # noqa: E501
name: StrictStr
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `DEGREE` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `DEGREE` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/edit_existing_education_field_of_study.py b/unipile/models/edit_existing_education_field_of_study.py
index 71265dafc..f847fcea8 100644
--- a/unipile/models/edit_existing_education_field_of_study.py
+++ b/unipile/models/edit_existing_education_field_of_study.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class EditExistingEducationFieldOfStudy(BaseModel):
Field of study of the education.
""" # noqa: E501
name: StrictStr
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `FIELD_OF_STUDY` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `FIELD_OF_STUDY` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/edit_existing_education_school.py b/unipile/models/edit_existing_education_school.py
index 1dc11d3bb..9c8aa49a7 100644
--- a/unipile/models/edit_existing_education_school.py
+++ b/unipile/models/edit_existing_education_school.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class EditExistingEducationSchool(BaseModel):
School of the education.
""" # noqa: E501
name: StrictStr
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/edit_existing_experience.py b/unipile/models/edit_existing_experience.py
index afc33dc8b..36cde60dc 100644
--- a/unipile/models/edit_existing_experience.py
+++ b/unipile/models/edit_existing_experience.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -36,7 +36,7 @@ class EditExistingExperience(BaseModel):
""" # noqa: E501
notify_network: Optional[StrictBool] = Field(default=False, description="Notify the network about the experience. Turn on to notify your network of key profile changes (such as new job) and work anniversaries. Updates can take up to 2 hours. ")
job_title: Optional[EditExistingExperienceJobTitle] = None
- employment_type: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `EMPLOYMENT_TYPE` type to find out the possible values. Employment type of the experience.")
+ employment_type: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `EMPLOYMENT_TYPE` type to find out the possible values. Employment type of the experience.")
company: Optional[EditExistingExperienceCompany] = None
location: Optional[EditExistingExperienceLocation] = None
workplace_type: Optional[StrictStr] = Field(default=None, description="The workplace type. Ex: Remote, Hybrid, On-site")
@@ -135,8 +135,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of media
if self.media:
diff --git a/unipile/models/edit_existing_experience_company.py b/unipile/models/edit_existing_experience_company.py
index 4c9313490..fda6f290b 100644
--- a/unipile/models/edit_existing_experience_company.py
+++ b/unipile/models/edit_existing_experience_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class EditExistingExperienceCompany(BaseModel):
Company of the experience.
""" # noqa: E501
name: StrictStr
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/edit_existing_experience_job_title.py b/unipile/models/edit_existing_experience_job_title.py
index e6bf74ff1..26e61a742 100644
--- a/unipile/models/edit_existing_experience_job_title.py
+++ b/unipile/models/edit_existing_experience_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class EditExistingExperienceJobTitle(BaseModel):
Job title of the experience.
""" # noqa: E501
name: StrictStr
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/edit_existing_experience_location.py b/unipile/models/edit_existing_experience_location.py
index ea43a95f1..d50b76d31 100644
--- a/unipile/models/edit_existing_experience_location.py
+++ b/unipile/models/edit_existing_experience_location.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class EditExistingExperienceLocation(BaseModel):
Location of the experience.
""" # noqa: E501
name: StrictStr
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/edit_recruiter_hiring_project200_response.py b/unipile/models/edit_recruiter_hiring_project200_response.py
index a00c400b0..5c1ac039f 100644
--- a/unipile/models/edit_recruiter_hiring_project200_response.py
+++ b/unipile/models/edit_recruiter_hiring_project200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/edit_recruiter_hiring_project_request.py b/unipile/models/edit_recruiter_hiring_project_request.py
index 2c5a06ff4..635119931 100644
--- a/unipile/models/edit_recruiter_hiring_project_request.py
+++ b/unipile/models/edit_recruiter_hiring_project_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from unipile.models.create_recruiter_hiring_project_request_company import CreateRecruiterHiringProjectRequestCompany
from unipile.models.create_recruiter_hiring_project_request_job_title import CreateRecruiterHiringProjectRequestJobTitle
from typing import Optional, Set
@@ -34,9 +35,12 @@ class EditRecruiterHiringProjectRequest(BaseModel):
description: Optional[StrictStr] = Field(default=None, description="The description of the project.")
company: Optional[CreateRecruiterHiringProjectRequestCompany] = None
job_title: Optional[CreateRecruiterHiringProjectRequestJobTitle] = None
- location: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_LOCATION` type to find out the possible values.")
- seniority_level: Optional[StrictStr] = Field(default=None, description="The level of experience.")
- __properties: ClassVar[List[str]] = ["name", "visibility", "description", "company", "job_title", "location", "seniority_level"]
+ location: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values.")
+ seniority_level: Optional[StrictStr] = Field(default=None, description="The level of experience of the project.")
+ employment_status: Optional[StrictStr] = Field(default=None, description="The employment status of the project.")
+ industry: Optional[Annotated[List[StrictStr], Field(min_length=1, max_length=3)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. The company industries related to the project.")
+ job_function: Optional[Annotated[List[StrictStr], Field(min_length=1, max_length=3)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. The job functions of the project.")
+ __properties: ClassVar[List[str]] = ["name", "visibility", "description", "company", "job_title", "location", "seniority_level", "employment_status", "industry", "job_function"]
@field_validator('visibility')
def visibility_validate_enum(cls, value):
@@ -58,6 +62,16 @@ def seniority_level_validate_enum(cls, value):
raise ValueError("must be one of enum values ('INTERNSHIP', 'ENTRY_LEVEL', 'ASSOCIATE', 'MID_SENIOR_LEVEL', 'DIRECTOR', 'EXECUTIVE', 'NOT_APPLICABLE')")
return value
+ @field_validator('employment_status')
+ def employment_status_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set(['FULL_TIME', 'PART_TIME', 'CONTRACT', 'TEMPORARY', 'OTHER', 'VOLUNTEER', 'INTERNSHIP']):
+ raise ValueError("must be one of enum values ('FULL_TIME', 'PART_TIME', 'CONTRACT', 'TEMPORARY', 'OTHER', 'VOLUNTEER', 'INTERNSHIP')")
+ return value
+
model_config = ConfigDict(
validate_by_name=True,
validate_by_alias=True,
@@ -121,7 +135,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"company": CreateRecruiterHiringProjectRequestCompany.from_dict(obj["company"]) if obj.get("company") is not None else None,
"job_title": CreateRecruiterHiringProjectRequestJobTitle.from_dict(obj["job_title"]) if obj.get("job_title") is not None else None,
"location": obj.get("location"),
- "seniority_level": obj.get("seniority_level")
+ "seniority_level": obj.get("seniority_level"),
+ "employment_status": obj.get("employment_status"),
+ "industry": obj.get("industry"),
+ "job_function": obj.get("job_function")
})
return _obj
diff --git a/unipile/models/edit_recruiter_job_posting_request.py b/unipile/models/edit_recruiter_job_posting_request.py
index 86155c7bb..04d4375dd 100644
--- a/unipile/models/edit_recruiter_job_posting_request.py
+++ b/unipile/models/edit_recruiter_job_posting_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -20,10 +20,12 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
from typing_extensions import Annotated
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_additional_compensation import CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_apply_method import CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_company import CreateRecruiterJobPostingDraftInExistingProjectRequestCompany
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_job_title import CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle
from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_rejection_settings import CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings
+from unipile.models.create_recruiter_job_posting_draft_in_existing_project_request_salary import CreateRecruiterJobPostingDraftInExistingProjectRequestSalary
from unipile.models.edit_classic_job_posting_request_screening_questions_inner import EditClassicJobPostingRequestScreeningQuestionsInner
from typing import Optional, Set
from typing_extensions import Self
@@ -36,21 +38,23 @@ class EditRecruiterJobPostingRequest(BaseModel):
job_title: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestJobTitle] = None
company: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestCompany] = None
workplace_type: Optional[StrictStr] = Field(default=None, description="The working method of the job.")
- location: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_LOCATION` type to find out the possible values.")
+ location: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values.")
employment_status: Optional[StrictStr] = Field(default=None, description="The employment status of the job.")
seniority_level: Optional[StrictStr] = Field(default=None, description="The level of experience of the job.")
description: Optional[Annotated[str, Field(min_length=200, strict=True)]] = Field(default=None, description="The job description. You can use HTML tags to structure your content.")
- industry: Optional[Annotated[List[StrictStr], Field(min_length=1, max_length=3)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. The company industries related to the job posting.")
- job_function: Optional[Annotated[List[StrictStr], Field(min_length=1, max_length=3)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting.")
- skills: Optional[Annotated[List[StrictStr], Field(max_length=10)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. The skills related to the job posting.")
+ industry: Optional[Annotated[List[StrictStr], Field(min_length=1, max_length=3)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. The company industries related to the job posting.")
+ job_function: Optional[Annotated[List[StrictStr], Field(min_length=1, max_length=3)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. The job functions related to the job posting.")
+ skills: Optional[Annotated[List[StrictStr], Field(max_length=10)]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. The skills related to the job posting.")
include_poster_info: Optional[StrictBool] = Field(default=True, description="Whether basic information about you should be available on the job posting.")
tracking_pixel_url: Optional[StrictStr] = Field(default=None, description="The tracking pixel URL of the company.")
company_job_id: Optional[StrictStr] = Field(default=None, description="The ID of the job in the company's system.")
apply_method: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod] = None
screening_questions: Optional[List[EditClassicJobPostingRequestScreeningQuestionsInner]] = Field(default=None, description="The questions to be asked to the applicants.")
+ salary: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestSalary] = None
+ additional_compensation: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation] = None
rejection_settings: Optional[CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings] = None
additional_properties: Dict[str, Any] = {}
- __properties: ClassVar[List[str]] = ["job_title", "company", "workplace_type", "location", "employment_status", "seniority_level", "description", "industry", "job_function", "skills", "include_poster_info", "tracking_pixel_url", "company_job_id", "apply_method", "screening_questions", "rejection_settings"]
+ __properties: ClassVar[List[str]] = ["job_title", "company", "workplace_type", "location", "employment_status", "seniority_level", "description", "industry", "job_function", "skills", "include_poster_info", "tracking_pixel_url", "company_job_id", "apply_method", "screening_questions", "salary", "additional_compensation", "rejection_settings"]
@field_validator('workplace_type')
def workplace_type_validate_enum(cls, value):
@@ -136,9 +140,14 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.screening_questions:
for _item_screening_questions in self.screening_questions:
- if _item_screening_questions:
- _items.append(_item_screening_questions.to_dict())
+ _items.append(_item_screening_questions.to_dict() if _item_screening_questions is not None else None)
_dict['screening_questions'] = _items
+ # override the default output from pydantic by calling `to_dict()` of salary
+ if self.salary:
+ _dict['salary'] = self.salary.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of additional_compensation
+ if self.additional_compensation:
+ _dict['additional_compensation'] = self.additional_compensation.to_dict()
# override the default output from pydantic by calling `to_dict()` of rejection_settings
if self.rejection_settings:
_dict['rejection_settings'] = self.rejection_settings.to_dict()
@@ -174,6 +183,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"company_job_id": obj.get("company_job_id"),
"apply_method": CreateRecruiterJobPostingDraftInExistingProjectRequestApplyMethod.from_dict(obj["apply_method"]) if obj.get("apply_method") is not None else None,
"screening_questions": [EditClassicJobPostingRequestScreeningQuestionsInner.from_dict(_item) for _item in obj["screening_questions"]] if obj.get("screening_questions") is not None else None,
+ "salary": CreateRecruiterJobPostingDraftInExistingProjectRequestSalary.from_dict(obj["salary"]) if obj.get("salary") is not None else None,
+ "additional_compensation": CreateRecruiterJobPostingDraftInExistingProjectRequestAdditionalCompensation.from_dict(obj["additional_compensation"]) if obj.get("additional_compensation") is not None else None,
"rejection_settings": CreateRecruiterJobPostingDraftInExistingProjectRequestRejectionSettings.from_dict(obj["rejection_settings"]) if obj.get("rejection_settings") is not None else None
})
# store additional fields in additional_properties
diff --git a/unipile/models/endorse_classic_member_skill200_response.py b/unipile/models/endorse_classic_member_skill200_response.py
index 9b9e25440..ae3b16be2 100644
--- a/unipile/models/endorse_classic_member_skill200_response.py
+++ b/unipile/models/endorse_classic_member_skill200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/endorse_classic_member_skill_request.py b/unipile/models/endorse_classic_member_skill_request.py
index 97371a446..4e39191bd 100644
--- a/unipile/models/endorse_classic_member_skill_request.py
+++ b/unipile/models/endorse_classic_member_skill_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/exclude_activities.py b/unipile/models/exclude_activities.py
index 302d2ee90..f18a80869 100644
--- a/unipile/models/exclude_activities.py
+++ b/unipile/models/exclude_activities.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/file.py b/unipile/models/file.py
index 6c8cd5c18..977f4daa5 100644
--- a/unipile/models/file.py
+++ b/unipile/models/file.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/file_document.py b/unipile/models/file_document.py
index 61bca5124..cb3c0a131 100644
--- a/unipile/models/file_document.py
+++ b/unipile/models/file_document.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,6 +30,7 @@ class FileDocument(BaseModel):
object: StrictStr
id: StrictStr = Field(description="The unique identifier of the attachment for the provider.")
file_size: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The size of the attachment in bytes.")
+ is_inline: StrictBool = Field(description="Is the attachment inline in the content.")
is_unavailable: Optional[StrictBool] = Field(default=None, description="The attachment is not available for download because it was removed from provider servers.")
mimetype: StrictStr = Field(description="The MIME type of the attachment.")
url: StrictStr = Field(description="The URL to download the attachment.")
@@ -37,7 +38,7 @@ class FileDocument(BaseModel):
content: Optional[StrictStr] = Field(default=None, description="Content of the attachement")
type: StrictStr
filename: StrictStr = Field(description="The name of the file, including the extension.")
- __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "filename"]
+ __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_inline", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "filename"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -107,6 +108,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"object": obj.get("object"),
"id": obj.get("id"),
"file_size": obj.get("file_size"),
+ "is_inline": obj.get("is_inline"),
"is_unavailable": obj.get("is_unavailable"),
"mimetype": obj.get("mimetype"),
"url": obj.get("url"),
diff --git a/unipile/models/follow_user200_response.py b/unipile/models/follow_user200_response.py
index 54d3f79cb..4d816afa7 100644
--- a/unipile/models/follow_user200_response.py
+++ b/unipile/models/follow_user200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -20,12 +20,12 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
from typing import Optional
from unipile.models.follow_user200_response_any_of import FollowUser200ResponseAnyOf
-from unipile.models.linked_in_relation_request import LinkedInRelationRequest
+from unipile.models.get_relation_requests_list200_response_data_inner import GetRelationRequestsList200ResponseDataInner
from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
from typing_extensions import Literal, Self
from pydantic import Field
-FOLLOWUSER200RESPONSE_ANY_OF_SCHEMAS = ["FollowUser200ResponseAnyOf", "LinkedInRelationRequest"]
+FOLLOWUSER200RESPONSE_ANY_OF_SCHEMAS = ["FollowUser200ResponseAnyOf", "GetRelationRequestsList200ResponseDataInner"]
class FollowUser200Response(BaseModel):
"""
@@ -34,13 +34,13 @@ class FollowUser200Response(BaseModel):
# data type: FollowUser200ResponseAnyOf
anyof_schema_1_validator: Optional[FollowUser200ResponseAnyOf] = None
- # data type: LinkedInRelationRequest
- anyof_schema_2_validator: Optional[LinkedInRelationRequest] = None
+ # data type: GetRelationRequestsList200ResponseDataInner
+ anyof_schema_2_validator: Optional[GetRelationRequestsList200ResponseDataInner] = None
if TYPE_CHECKING:
- actual_instance: Optional[Union[FollowUser200ResponseAnyOf, LinkedInRelationRequest]] = None
+ actual_instance: Optional[Union[FollowUser200ResponseAnyOf, GetRelationRequestsList200ResponseDataInner]] = None
else:
actual_instance: Any = None
- any_of_schemas: Set[str] = { "FollowUser200ResponseAnyOf", "LinkedInRelationRequest" }
+ any_of_schemas: Set[str] = { "FollowUser200ResponseAnyOf", "GetRelationRequestsList200ResponseDataInner" }
model_config = {
"validate_assignment": True,
@@ -67,15 +67,15 @@ def actual_instance_must_validate_anyof(cls, v):
else:
return v
- # validate data type: LinkedInRelationRequest
- if not isinstance(v, LinkedInRelationRequest):
- error_messages.append(f"Error! Input type `{type(v)}` is not `LinkedInRelationRequest`")
+ # validate data type: GetRelationRequestsList200ResponseDataInner
+ if not isinstance(v, GetRelationRequestsList200ResponseDataInner):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `GetRelationRequestsList200ResponseDataInner`")
else:
return v
if error_messages:
# no match
- raise ValueError("No match found when setting the actual_instance in FollowUser200Response with anyOf schemas: FollowUser200ResponseAnyOf, LinkedInRelationRequest. Details: " + ", ".join(error_messages))
+ raise ValueError("No match found when setting the actual_instance in FollowUser200Response with anyOf schemas: FollowUser200ResponseAnyOf, GetRelationRequestsList200ResponseDataInner. Details: " + ", ".join(error_messages))
else:
return v
@@ -94,16 +94,16 @@ def from_json(cls, json_str: str) -> Self:
return instance
except (ValidationError, ValueError) as e:
error_messages.append(str(e))
- # anyof_schema_2_validator: Optional[LinkedInRelationRequest] = None
+ # anyof_schema_2_validator: Optional[GetRelationRequestsList200ResponseDataInner] = None
try:
- instance.actual_instance = LinkedInRelationRequest.from_json(json_str)
+ instance.actual_instance = GetRelationRequestsList200ResponseDataInner.from_json(json_str)
return instance
except (ValidationError, ValueError) as e:
error_messages.append(str(e))
if error_messages:
# no match
- raise ValueError("No match found when deserializing the JSON string into FollowUser200Response with anyOf schemas: FollowUser200ResponseAnyOf, LinkedInRelationRequest. Details: " + ", ".join(error_messages))
+ raise ValueError("No match found when deserializing the JSON string into FollowUser200Response with anyOf schemas: FollowUser200ResponseAnyOf, GetRelationRequestsList200ResponseDataInner. Details: " + ", ".join(error_messages))
else:
return instance
@@ -117,7 +117,7 @@ def to_json(self) -> str:
else:
return json.dumps(self.actual_instance)
- def to_dict(self) -> Optional[Union[Dict[str, Any], FollowUser200ResponseAnyOf, LinkedInRelationRequest]]:
+ def to_dict(self) -> Optional[Union[Dict[str, Any], FollowUser200ResponseAnyOf, GetRelationRequestsList200ResponseDataInner]]:
"""Returns the dict representation of the actual instance"""
if self.actual_instance is None:
return None
diff --git a/unipile/models/follow_user200_response_any_of.py b/unipile/models/follow_user200_response_any_of.py
index 00c73a584..f6bec4ca8 100644
--- a/unipile/models/follow_user200_response_any_of.py
+++ b/unipile/models/follow_user200_response_any_of.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/forward_message200_response.py b/unipile/models/forward_message200_response.py
index aaa402450..48be5f4fd 100644
--- a/unipile/models/forward_message200_response.py
+++ b/unipile/models/forward_message200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/forward_message_request.py b/unipile/models/forward_message_request.py
index 2e50fd58f..675389656 100644
--- a/unipile/models/forward_message_request.py
+++ b/unipile/models/forward_message_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -27,7 +28,7 @@ class ForwardMessageRequest(BaseModel):
"""
ForwardMessageRequest
""" # noqa: E501
- chat_id: StrictStr = Field(description="The ID of the Chat to forward the message to.")
+ chat_id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The ID of the Chat to forward the message to.")
text: Optional[StrictStr] = Field(default=None, description="Text to be attached to the forwarded message.")
__properties: ClassVar[List[str]] = ["chat_id", "text"]
diff --git a/unipile/models/full_authentication.py b/unipile/models/full_authentication.py
index fb46efb99..5cdd0e291 100644
--- a/unipile/models/full_authentication.py
+++ b/unipile/models/full_authentication.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/full_profile.py b/unipile/models/full_profile.py
index 6e9310bf2..c1d3a382f 100644
--- a/unipile/models/full_profile.py
+++ b/unipile/models/full_profile.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -23,9 +23,9 @@
from unipile.models.full_profile_education_inner import FullProfileEducationInner
from unipile.models.full_profile_projects_inner import FullProfileProjectsInner
from unipile.models.full_profile_skills_inner import FullProfileSkillsInner
-from unipile.models.linked_in_languages_inner import LinkedInLanguagesInner
-from unipile.models.linked_in_recommendations_received_inner import LinkedInRecommendationsReceivedInner
-from unipile.models.linked_in_volunteer_experience_inner import LinkedInVolunteerExperienceInner
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner
+from unipile.models.linked_in1_recommendations_received_inner import LinkedIn1RecommendationsReceivedInner
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner
from unipile.models.partial_profile_hiring_project import PartialProfileHiringProject
from unipile.models.partial_profile_work_experience_inner import PartialProfileWorkExperienceInner
from typing import Optional, Set
@@ -45,7 +45,7 @@ class FullProfile(BaseModel):
public_picture_url_large: Optional[StrictStr] = Field(default=None, description="The public picture URL of the User in large size.")
relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations of the User.")
location: Optional[StrictStr] = Field(default=None, description="The location of the User.")
- headline: StrictStr = Field(description="The headline of the User.")
+ headline: Optional[StrictStr] = Field(default=None, description="The headline of the User.")
network_distance: StrictStr = Field(description="Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.'")
can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether it is possible to send an inMail to this User.")
visibility: StrictStr = Field(description="Indidates that you have access to the full profile of this User.")
@@ -53,18 +53,18 @@ class FullProfile(BaseModel):
is_hidden_candidate: StrictBool = Field(description="Whether the User has been set as hidden candidate.")
hiring_project: Optional[PartialProfileHiringProject] = None
work_experience: List[PartialProfileWorkExperienceInner] = Field(description="A list of the User's work experiences.")
- industry: StrictStr = Field(description="The industry to which the User belongs.")
+ industry: Optional[StrictStr] = Field(default=None, description="The industry to which the User belongs.")
followers_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of the followers of the User.")
skills: List[FullProfileSkillsInner] = Field(description="A list of skills.")
summary: Optional[StrictStr] = Field(default=None, description="The summary of the User.")
emails: Optional[List[StrictStr]] = None
phone_numbers: Optional[List[StrictStr]] = None
education: List[FullProfileEducationInner]
- languages: List[LinkedInLanguagesInner]
+ languages: List[LinkedIn1LanguagesInner]
certifications: List[FullProfileCertificationsInner]
projects: List[FullProfileProjectsInner]
- volunteering: List[LinkedInVolunteerExperienceInner]
- recommendations: List[LinkedInRecommendationsReceivedInner]
+ volunteering: List[LinkedIn1VolunteerExperienceInner]
+ recommendations: List[LinkedIn1RecommendationsReceivedInner]
__properties: ClassVar[List[str]] = ["id", "member_id", "display_name", "public_identifier", "profile_url", "public_picture_url", "public_picture_url_large", "relations_count", "location", "headline", "network_distance", "can_send_inmail", "visibility", "candidate_id", "is_hidden_candidate", "hiring_project", "work_experience", "industry", "followers_count", "skills", "summary", "emails", "phone_numbers", "education", "languages", "certifications", "projects", "volunteering", "recommendations"]
@field_validator('network_distance')
@@ -127,57 +127,49 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.work_experience:
for _item_work_experience in self.work_experience:
- if _item_work_experience:
- _items.append(_item_work_experience.to_dict())
+ _items.append(_item_work_experience.to_dict() if _item_work_experience is not None else None)
_dict['work_experience'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in skills (list)
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in education (list)
_items = []
if self.education:
for _item_education in self.education:
- if _item_education:
- _items.append(_item_education.to_dict())
+ _items.append(_item_education.to_dict() if _item_education is not None else None)
_dict['education'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in languages (list)
_items = []
if self.languages:
for _item_languages in self.languages:
- if _item_languages:
- _items.append(_item_languages.to_dict())
+ _items.append(_item_languages.to_dict() if _item_languages is not None else None)
_dict['languages'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in certifications (list)
_items = []
if self.certifications:
for _item_certifications in self.certifications:
- if _item_certifications:
- _items.append(_item_certifications.to_dict())
+ _items.append(_item_certifications.to_dict() if _item_certifications is not None else None)
_dict['certifications'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in projects (list)
_items = []
if self.projects:
for _item_projects in self.projects:
- if _item_projects:
- _items.append(_item_projects.to_dict())
+ _items.append(_item_projects.to_dict() if _item_projects is not None else None)
_dict['projects'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in volunteering (list)
_items = []
if self.volunteering:
for _item_volunteering in self.volunteering:
- if _item_volunteering:
- _items.append(_item_volunteering.to_dict())
+ _items.append(_item_volunteering.to_dict() if _item_volunteering is not None else None)
_dict['volunteering'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in recommendations (list)
_items = []
if self.recommendations:
for _item_recommendations in self.recommendations:
- if _item_recommendations:
- _items.append(_item_recommendations.to_dict())
+ _items.append(_item_recommendations.to_dict() if _item_recommendations is not None else None)
_dict['recommendations'] = _items
return _dict
@@ -215,11 +207,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"emails": obj.get("emails"),
"phone_numbers": obj.get("phone_numbers"),
"education": [FullProfileEducationInner.from_dict(_item) for _item in obj["education"]] if obj.get("education") is not None else None,
- "languages": [LinkedInLanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
+ "languages": [LinkedIn1LanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
"certifications": [FullProfileCertificationsInner.from_dict(_item) for _item in obj["certifications"]] if obj.get("certifications") is not None else None,
"projects": [FullProfileProjectsInner.from_dict(_item) for _item in obj["projects"]] if obj.get("projects") is not None else None,
- "volunteering": [LinkedInVolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None,
- "recommendations": [LinkedInRecommendationsReceivedInner.from_dict(_item) for _item in obj["recommendations"]] if obj.get("recommendations") is not None else None
+ "volunteering": [LinkedIn1VolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None,
+ "recommendations": [LinkedIn1RecommendationsReceivedInner.from_dict(_item) for _item in obj["recommendations"]] if obj.get("recommendations") is not None else None
})
return _obj
diff --git a/unipile/models/full_profile1.py b/unipile/models/full_profile1.py
index bdff61606..12e535e5e 100644
--- a/unipile/models/full_profile1.py
+++ b/unipile/models/full_profile1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -23,9 +23,9 @@
from unipile.models.full_profile_education_inner import FullProfileEducationInner
from unipile.models.full_profile_projects_inner import FullProfileProjectsInner
from unipile.models.full_profile_skills_inner import FullProfileSkillsInner
-from unipile.models.linked_in_languages_inner import LinkedInLanguagesInner
-from unipile.models.linked_in_recommendations_received_inner import LinkedInRecommendationsReceivedInner
-from unipile.models.linked_in_volunteer_experience_inner import LinkedInVolunteerExperienceInner
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner
+from unipile.models.linked_in1_recommendations_received_inner import LinkedIn1RecommendationsReceivedInner
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner
from unipile.models.partial_profile_hiring_project import PartialProfileHiringProject
from unipile.models.partial_profile_work_experience_inner import PartialProfileWorkExperienceInner
from typing import Optional, Set
@@ -46,7 +46,7 @@ class FullProfile1(BaseModel):
public_picture_url_large: Optional[StrictStr] = Field(default=None, description="The public picture URL of the User in large size.")
relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations of the User.")
location: Optional[StrictStr] = Field(default=None, description="The location of the User.")
- headline: StrictStr = Field(description="The headline of the User.")
+ headline: Optional[StrictStr] = Field(default=None, description="The headline of the User.")
network_distance: StrictStr = Field(description="Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.'")
can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether it is possible to send an inMail to this User.")
product: StrictStr
@@ -55,18 +55,18 @@ class FullProfile1(BaseModel):
is_hidden_candidate: StrictBool = Field(description="Whether the User has been set as hidden candidate.")
hiring_project: Optional[PartialProfileHiringProject] = None
work_experience: List[PartialProfileWorkExperienceInner] = Field(description="A list of the User's work experiences.")
- industry: StrictStr = Field(description="The industry to which the User belongs.")
+ industry: Optional[StrictStr] = Field(default=None, description="The industry to which the User belongs.")
followers_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of the followers of the User.")
skills: List[FullProfileSkillsInner] = Field(description="A list of skills.")
summary: Optional[StrictStr] = Field(default=None, description="The summary of the User.")
emails: Optional[List[StrictStr]] = None
phone_numbers: Optional[List[StrictStr]] = None
education: List[FullProfileEducationInner]
- languages: List[LinkedInLanguagesInner]
+ languages: List[LinkedIn1LanguagesInner]
certifications: List[FullProfileCertificationsInner]
projects: List[FullProfileProjectsInner]
- volunteering: List[LinkedInVolunteerExperienceInner]
- recommendations: List[LinkedInRecommendationsReceivedInner]
+ volunteering: List[LinkedIn1VolunteerExperienceInner]
+ recommendations: List[LinkedIn1RecommendationsReceivedInner]
__properties: ClassVar[List[str]] = ["object", "id", "member_id", "display_name", "public_identifier", "profile_url", "public_picture_url", "public_picture_url_large", "relations_count", "location", "headline", "network_distance", "can_send_inmail", "product", "visibility", "candidate_id", "is_hidden_candidate", "hiring_project", "work_experience", "industry", "followers_count", "skills", "summary", "emails", "phone_numbers", "education", "languages", "certifications", "projects", "volunteering", "recommendations"]
@field_validator('object')
@@ -143,57 +143,49 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.work_experience:
for _item_work_experience in self.work_experience:
- if _item_work_experience:
- _items.append(_item_work_experience.to_dict())
+ _items.append(_item_work_experience.to_dict() if _item_work_experience is not None else None)
_dict['work_experience'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in skills (list)
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in education (list)
_items = []
if self.education:
for _item_education in self.education:
- if _item_education:
- _items.append(_item_education.to_dict())
+ _items.append(_item_education.to_dict() if _item_education is not None else None)
_dict['education'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in languages (list)
_items = []
if self.languages:
for _item_languages in self.languages:
- if _item_languages:
- _items.append(_item_languages.to_dict())
+ _items.append(_item_languages.to_dict() if _item_languages is not None else None)
_dict['languages'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in certifications (list)
_items = []
if self.certifications:
for _item_certifications in self.certifications:
- if _item_certifications:
- _items.append(_item_certifications.to_dict())
+ _items.append(_item_certifications.to_dict() if _item_certifications is not None else None)
_dict['certifications'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in projects (list)
_items = []
if self.projects:
for _item_projects in self.projects:
- if _item_projects:
- _items.append(_item_projects.to_dict())
+ _items.append(_item_projects.to_dict() if _item_projects is not None else None)
_dict['projects'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in volunteering (list)
_items = []
if self.volunteering:
for _item_volunteering in self.volunteering:
- if _item_volunteering:
- _items.append(_item_volunteering.to_dict())
+ _items.append(_item_volunteering.to_dict() if _item_volunteering is not None else None)
_dict['volunteering'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in recommendations (list)
_items = []
if self.recommendations:
for _item_recommendations in self.recommendations:
- if _item_recommendations:
- _items.append(_item_recommendations.to_dict())
+ _items.append(_item_recommendations.to_dict() if _item_recommendations is not None else None)
_dict['recommendations'] = _items
return _dict
@@ -233,11 +225,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"emails": obj.get("emails"),
"phone_numbers": obj.get("phone_numbers"),
"education": [FullProfileEducationInner.from_dict(_item) for _item in obj["education"]] if obj.get("education") is not None else None,
- "languages": [LinkedInLanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
+ "languages": [LinkedIn1LanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
"certifications": [FullProfileCertificationsInner.from_dict(_item) for _item in obj["certifications"]] if obj.get("certifications") is not None else None,
"projects": [FullProfileProjectsInner.from_dict(_item) for _item in obj["projects"]] if obj.get("projects") is not None else None,
- "volunteering": [LinkedInVolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None,
- "recommendations": [LinkedInRecommendationsReceivedInner.from_dict(_item) for _item in obj["recommendations"]] if obj.get("recommendations") is not None else None
+ "volunteering": [LinkedIn1VolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None,
+ "recommendations": [LinkedIn1RecommendationsReceivedInner.from_dict(_item) for _item in obj["recommendations"]] if obj.get("recommendations") is not None else None
})
return _obj
diff --git a/unipile/models/full_profile_certifications_inner.py b/unipile/models/full_profile_certifications_inner.py
index 44be7192a..7c08fe6ad 100644
--- a/unipile/models/full_profile_certifications_inner.py
+++ b/unipile/models/full_profile_certifications_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.linked_in_certifications_inner_organization import LinkedInCertificationsInnerOrganization
+from unipile.models.linked_in1_certifications_inner_organization import LinkedIn1CertificationsInnerOrganization
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,7 @@ class FullProfileCertificationsInner(BaseModel):
FullProfileCertificationsInner
""" # noqa: E501
title: StrictStr = Field(description="Name of the certification.")
- organization: LinkedInCertificationsInnerOrganization
+ organization: LinkedIn1CertificationsInnerOrganization
issued_on: Optional[StrictStr] = Field(default=None, description="Date the certification was issued in MM/DD/YYYY format.")
expires_on: Optional[StrictStr] = Field(default=None, description="Expiration date of the certification in MM/DD/YYYY format.")
license: Optional[StrictStr] = Field(default=None, description="License identifier.")
@@ -93,7 +93,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"title": obj.get("title"),
- "organization": LinkedInCertificationsInnerOrganization.from_dict(obj["organization"]) if obj.get("organization") is not None else None,
+ "organization": LinkedIn1CertificationsInnerOrganization.from_dict(obj["organization"]) if obj.get("organization") is not None else None,
"issued_on": obj.get("issued_on"),
"expires_on": obj.get("expires_on"),
"license": obj.get("license"),
diff --git a/unipile/models/full_profile_education_inner.py b/unipile/models/full_profile_education_inner.py
index 33d05b437..835977e65 100644
--- a/unipile/models/full_profile_education_inner.py
+++ b/unipile/models/full_profile_education_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.linked_in_education_inner_school import LinkedInEducationInnerSchool
+from unipile.models.linked_in1_education_inner_school import LinkedIn1EducationInnerSchool
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,7 @@ class FullProfileEducationInner(BaseModel):
FullProfileEducationInner
""" # noqa: E501
id: Optional[StrictStr] = Field(default=None, description="Id of the education entry.")
- school: LinkedInEducationInnerSchool
+ school: LinkedIn1EducationInnerSchool
degree: Optional[StrictStr] = Field(default=None, description="Name of the degree.")
description: Optional[StrictStr] = Field(default=None, description="Description of the education.")
activities: Optional[StrictStr] = Field(default=None, description="Activities carried out during education.")
@@ -96,7 +96,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"id": obj.get("id"),
- "school": LinkedInEducationInnerSchool.from_dict(obj["school"]) if obj.get("school") is not None else None,
+ "school": LinkedIn1EducationInnerSchool.from_dict(obj["school"]) if obj.get("school") is not None else None,
"degree": obj.get("degree"),
"description": obj.get("description"),
"activities": obj.get("activities"),
diff --git a/unipile/models/full_profile_projects_inner.py b/unipile/models/full_profile_projects_inner.py
index 8a3b2cec9..e98c6dff3 100644
--- a/unipile/models/full_profile_projects_inner.py
+++ b/unipile/models/full_profile_projects_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.linked_in_projects_inner_contributors_inner import LinkedInProjectsInnerContributorsInner
+from unipile.models.linked_in1_projects_inner_contributors_inner import LinkedIn1ProjectsInnerContributorsInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -30,7 +30,7 @@ class FullProfileProjectsInner(BaseModel):
""" # noqa: E501
name: StrictStr = Field(description="Name of the project.")
description: Optional[StrictStr] = Field(default=None, description="Description of the project.")
- contributors: List[LinkedInProjectsInnerContributorsInner] = Field(description="Contributors to the project.")
+ contributors: List[LinkedIn1ProjectsInnerContributorsInner] = Field(description="Contributors to the project.")
skills: Optional[List[StrictStr]] = Field(default=None, description="Skills related to the project.")
skills_preview: Optional[StrictStr] = Field(default=None, description="Insight of the skills related to the project.")
started_on: Optional[StrictStr] = Field(default=None, description="Start date of the project in MM/DD/YYYY format.")
@@ -80,8 +80,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.contributors:
for _item_contributors in self.contributors:
- if _item_contributors:
- _items.append(_item_contributors.to_dict())
+ _items.append(_item_contributors.to_dict() if _item_contributors is not None else None)
_dict['contributors'] = _items
return _dict
@@ -97,7 +96,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"name": obj.get("name"),
"description": obj.get("description"),
- "contributors": [LinkedInProjectsInnerContributorsInner.from_dict(_item) for _item in obj["contributors"]] if obj.get("contributors") is not None else None,
+ "contributors": [LinkedIn1ProjectsInnerContributorsInner.from_dict(_item) for _item in obj["contributors"]] if obj.get("contributors") is not None else None,
"skills": obj.get("skills"),
"skills_preview": obj.get("skills_preview"),
"started_on": obj.get("started_on"),
diff --git a/unipile/models/full_profile_skills_inner.py b/unipile/models/full_profile_skills_inner.py
index 292ab0982..80c41cc81 100644
--- a/unipile/models/full_profile_skills_inner.py
+++ b/unipile/models/full_profile_skills_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_available_contracts200_response.py b/unipile/models/get_available_contracts200_response.py
index f1f247638..528d5d401 100644
--- a/unipile/models/get_available_contracts200_response.py
+++ b/unipile/models/get_available_contracts200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -82,8 +82,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.contracts:
for _item_contracts in self.contracts:
- if _item_contracts:
- _items.append(_item_contracts.to_dict())
+ _items.append(_item_contracts.to_dict() if _item_contracts is not None else None)
_dict['contracts'] = _items
return _dict
diff --git a/unipile/models/get_available_contracts200_response_contracts_inner.py b/unipile/models/get_available_contracts200_response_contracts_inner.py
index 0e52e8049..25ff7ec5f 100644
--- a/unipile/models/get_available_contracts200_response_contracts_inner.py
+++ b/unipile/models/get_available_contracts200_response_contracts_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_calendar_event_list200_response.py b/unipile/models/get_calendar_event_list200_response.py
index 659e4fddc..46149052e 100644
--- a/unipile/models/get_calendar_event_list200_response.py
+++ b/unipile/models/get_calendar_event_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetCalendarEventList200Response(BaseModel):
GetCalendarEventList200Response
""" # noqa: E501
data: List[GetCalendarEventList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_calendar_event_list200_response_data_inner.py b/unipile/models/get_calendar_event_list200_response_data_inner.py
index e105fe6e2..7e9faf283 100644
--- a/unipile/models/get_calendar_event_list200_response_data_inner.py
+++ b/unipile/models/get_calendar_event_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -53,9 +53,11 @@ class GetCalendarEventList200ResponseDataInner(BaseModel):
visibility: StrictStr = Field(description="The visibility of the event. - `public` is visible to all. - `private` is visible only to the calendar owner.")
transparency: StrictStr = Field(description="The transparency of the event. - `opaque` does block time on the calendar and is equivalent to setting Show me as to Busy in the Calendar UI. - `transparent` does not block time on the calendar and is equivalent to setting Show me as to Available in the Calendar UI.")
event_type: StrictStr = Field(description="The type of the event (`birthday`, `fromGmail`, `outOfOffice`...)")
+ timezone: Optional[StrictStr] = Field(default=None, description="The IANA timezone when start and end share the same timezone (e.g. `Europe/Paris`). Omitted when they differ; use `start.timezone` and `end.timezone` instead.")
background_color: Optional[StrictStr] = Field(default=None, description="Background color of the calendar in hexadecimal format.")
text_color: Optional[StrictStr] = Field(default=None, description="Foreground color of the event in hexadecimal format.")
- __properties: ClassVar[List[str]] = ["object", "id", "master_event_id", "calendar_id", "created_at", "updated_at", "title", "body", "location", "is_cancelled", "is_all_day", "is_attendees_list_hidden", "attendees", "start", "end", "recurrence", "organizer", "conference", "visibility", "transparency", "event_type", "background_color", "text_color"]
+ specifics: Optional[Any] = Field(default=None, description="Object containing provider-specific calendar event data.")
+ __properties: ClassVar[List[str]] = ["object", "id", "master_event_id", "calendar_id", "created_at", "updated_at", "title", "body", "location", "is_cancelled", "is_all_day", "is_attendees_list_hidden", "attendees", "start", "end", "recurrence", "organizer", "conference", "visibility", "transparency", "event_type", "timezone", "background_color", "text_color", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -121,8 +123,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attendees:
for _item_attendees in self.attendees:
- if _item_attendees:
- _items.append(_item_attendees.to_dict())
+ _items.append(_item_attendees.to_dict() if _item_attendees is not None else None)
_dict['attendees'] = _items
# override the default output from pydantic by calling `to_dict()` of start
if self.start:
@@ -136,6 +137,11 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of conference
if self.conference:
_dict['conference'] = self.conference.to_dict()
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
return _dict
@classmethod
@@ -169,8 +175,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"visibility": obj.get("visibility"),
"transparency": obj.get("transparency"),
"event_type": obj.get("event_type") if obj.get("event_type") is not None else 'default',
+ "timezone": obj.get("timezone"),
"background_color": obj.get("background_color"),
- "text_color": obj.get("text_color")
+ "text_color": obj.get("text_color"),
+ "specifics": obj.get("specifics")
})
return _obj
diff --git a/unipile/models/get_calendar_event_list200_response_data_inner_attendees_inner.py b/unipile/models/get_calendar_event_list200_response_data_inner_attendees_inner.py
index b0ccfaad7..9b5d7e902 100644
--- a/unipile/models/get_calendar_event_list200_response_data_inner_attendees_inner.py
+++ b/unipile/models/get_calendar_event_list200_response_data_inner_attendees_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_calendar_event_list200_response_data_inner_conference.py b/unipile/models/get_calendar_event_list200_response_data_inner_conference.py
index 08f61c84e..6b408540d 100644
--- a/unipile/models/get_calendar_event_list200_response_data_inner_conference.py
+++ b/unipile/models/get_calendar_event_list200_response_data_inner_conference.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_calendar_event_list200_response_data_inner_end.py b/unipile/models/get_calendar_event_list200_response_data_inner_end.py
index a796c57c1..9118b1a37 100644
--- a/unipile/models/get_calendar_event_list200_response_data_inner_end.py
+++ b/unipile/models/get_calendar_event_list200_response_data_inner_end.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_calendar_event_list200_response_data_inner_organizer.py b/unipile/models/get_calendar_event_list200_response_data_inner_organizer.py
index 4380207b8..849f79566 100644
--- a/unipile/models/get_calendar_event_list200_response_data_inner_organizer.py
+++ b/unipile/models/get_calendar_event_list200_response_data_inner_organizer.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_calendar_event_list200_response_data_inner_start.py b/unipile/models/get_calendar_event_list200_response_data_inner_start.py
index bb2f35698..dcb2a7624 100644
--- a/unipile/models/get_calendar_event_list200_response_data_inner_start.py
+++ b/unipile/models/get_calendar_event_list200_response_data_inner_start.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_calendar_event_list200_response_data_inner_start_any_of.py b/unipile/models/get_calendar_event_list200_response_data_inner_start_any_of.py
index 58886c518..a8c5dd867 100644
--- a/unipile/models/get_calendar_event_list200_response_data_inner_start_any_of.py
+++ b/unipile/models/get_calendar_event_list200_response_data_inner_start_any_of.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -18,7 +18,7 @@
import json
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
-from typing import Any, ClassVar, Dict, List
+from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,9 @@ class GetCalendarEventList200ResponseDataInnerStartAnyOf(BaseModel):
""" # noqa: E501
type: StrictStr = Field(description="Indicates a date-time value.")
date_time: StrictStr = Field(description="The date and time. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SSZ).")
- __properties: ClassVar[List[str]] = ["type", "date_time"]
+ timezone: Optional[StrictStr] = Field(default=None, description="The IANA timezone in which the date and time is expressed (e.g. `Europe/Paris`). Defaults to UTC when omitted.")
+ additional_properties: Dict[str, Any] = {}
+ __properties: ClassVar[List[str]] = ["type", "date_time", "timezone"]
@field_validator('type')
def type_validate_enum(cls, value):
@@ -68,8 +70,10 @@ def to_dict(self) -> Dict[str, Any]:
* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
+ * Fields in `self.additional_properties` are added to the output dict.
"""
excluded_fields: Set[str] = set([
+ "additional_properties",
])
_dict = self.model_dump(
@@ -77,6 +81,11 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # puts key-value pairs in additional_properties in the top level
+ if self.additional_properties is not None:
+ for _key, _value in self.additional_properties.items():
+ _dict[_key] = _value
+
return _dict
@classmethod
@@ -90,8 +99,14 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"type": obj.get("type"),
- "date_time": obj.get("date_time")
+ "date_time": obj.get("date_time"),
+ "timezone": obj.get("timezone")
})
+ # store additional fields in additional_properties
+ for _key in obj.keys():
+ if _key not in cls.__properties:
+ _obj.additional_properties[_key] = obj.get(_key)
+
return _obj
diff --git a/unipile/models/get_calendar_event_list200_response_data_inner_start_any_of1.py b/unipile/models/get_calendar_event_list200_response_data_inner_start_any_of1.py
index 26188e090..48d87d07b 100644
--- a/unipile/models/get_calendar_event_list200_response_data_inner_start_any_of1.py
+++ b/unipile/models/get_calendar_event_list200_response_data_inner_start_any_of1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -18,7 +18,7 @@
import json
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
-from typing import Any, ClassVar, Dict, List
+from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,9 @@ class GetCalendarEventList200ResponseDataInnerStartAnyOf1(BaseModel):
""" # noqa: E501
type: StrictStr = Field(description="Indicates a date-only value (for all-day events).")
var_date: StrictStr = Field(description="The date. Uses ISO 8601 date format (YYYY-MM-DD).", alias="date")
- __properties: ClassVar[List[str]] = ["type", "date"]
+ timezone: Optional[StrictStr] = Field(default=None, description="The IANA timezone in which the date is expressed (e.g. `Europe/Paris`).")
+ additional_properties: Dict[str, Any] = {}
+ __properties: ClassVar[List[str]] = ["type", "date", "timezone"]
@field_validator('type')
def type_validate_enum(cls, value):
@@ -68,8 +70,10 @@ def to_dict(self) -> Dict[str, Any]:
* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
+ * Fields in `self.additional_properties` are added to the output dict.
"""
excluded_fields: Set[str] = set([
+ "additional_properties",
])
_dict = self.model_dump(
@@ -77,6 +81,11 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # puts key-value pairs in additional_properties in the top level
+ if self.additional_properties is not None:
+ for _key, _value in self.additional_properties.items():
+ _dict[_key] = _value
+
return _dict
@classmethod
@@ -90,8 +99,14 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"type": obj.get("type"),
- "date": obj.get("date")
+ "date": obj.get("date"),
+ "timezone": obj.get("timezone")
})
+ # store additional fields in additional_properties
+ for _key in obj.keys():
+ if _key not in cls.__properties:
+ _obj.additional_properties[_key] = obj.get(_key)
+
return _obj
diff --git a/unipile/models/get_calendars_list200_response.py b/unipile/models/get_calendars_list200_response.py
index 55b705e88..0b2e5c952 100644
--- a/unipile/models/get_calendars_list200_response.py
+++ b/unipile/models/get_calendars_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetCalendarsList200Response(BaseModel):
GetCalendarsList200Response
""" # noqa: E501
data: List[GetCalendarsList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_calendars_list200_response_data_inner.py b/unipile/models/get_calendars_list200_response_data_inner.py
index 41321c1e5..c840753df 100644
--- a/unipile/models/get_calendars_list200_response_data_inner.py
+++ b/unipile/models/get_calendars_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,7 +37,8 @@ class GetCalendarsList200ResponseDataInner(BaseModel):
background_color: StrictStr = Field(description="Background color of the calendar in hexadecimal format.")
text_color: Optional[StrictStr] = Field(default=None, description="Foreground color of the calendar in hexadecimal format.")
timezone: Optional[StrictStr] = Field(default=None, description="Timezone used in this calendar.")
- __properties: ClassVar[List[str]] = ["object", "id", "name", "description", "is_read_only", "is_owned_by_user", "is_default", "background_color", "text_color", "timezone"]
+ specifics: Optional[Any] = Field(default=None, description="Object containing provider-specific calendar data.")
+ __properties: ClassVar[List[str]] = ["object", "id", "name", "description", "is_read_only", "is_owned_by_user", "is_default", "background_color", "text_color", "timezone", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -85,6 +86,11 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
return _dict
@classmethod
@@ -106,7 +112,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"is_default": obj.get("is_default"),
"background_color": obj.get("background_color"),
"text_color": obj.get("text_color"),
- "timezone": obj.get("timezone")
+ "timezone": obj.get("timezone"),
+ "specifics": obj.get("specifics")
})
return _obj
diff --git a/unipile/models/get_chat200_response.py b/unipile/models/get_chat200_response.py
index ec4636127..eb8e488e8 100644
--- a/unipile/models/get_chat200_response.py
+++ b/unipile/models/get_chat200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -20,8 +20,8 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional, Union
from typing_extensions import Annotated
+from unipile.models.get_chat200_response_last_message import GetChat200ResponseLastMessage
from unipile.models.get_chat200_response_muted_until import GetChat200ResponseMutedUntil
-from unipile.models.get_chats_list200_response_data_inner_last_message import GetChatsList200ResponseDataInnerLastMessage
from unipile.models.get_chats_list200_response_data_inner_participants_inner import GetChatsList200ResponseDataInnerParticipantsInner
from unipile.models.get_chats_list200_response_data_inner_user import GetChatsList200ResponseDataInnerUser
from typing import Optional, Set
@@ -55,12 +55,12 @@ class GetChat200Response(BaseModel):
participants_count: Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]] = Field(default=None, description="The number of participants in the chat if the chat is a group.")
unread_count: Union[Annotated[float, Field(strict=True, ge=-1)], Annotated[int, Field(strict=True, ge=-1)]] = Field(description="The number of unread messages in the chat. `0` if the chat is read, `-1` if the chat was manually marked as unread by the user and does not have any unread messages.")
restrictions: Optional[List[StrictStr]] = Field(default=None, description="List of action restrictions of the chat. - `send_message` is the permission to send messages.")
- participants: Optional[List[GetChatsList200ResponseDataInnerParticipantsInner]] = Field(default=None, description="List of participants in the chat if group chat.")
- last_message: Optional[GetChatsList200ResponseDataInnerLastMessage] = None
- user: Optional[GetChatsList200ResponseDataInnerUser] = None
+ last_message: Optional[GetChat200ResponseLastMessage] = None
provider: StrictStr = Field(description="The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP.")
specifics: Optional[Any] = None
- __properties: ClassVar[List[str]] = ["object", "id", "name", "label", "description", "image_url", "created_at", "updated_at", "last_message_timestamp", "muted_until", "creator_id", "user_id", "is_group", "is_1to1", "is_channel", "type", "is_pinned", "is_readonly", "is_archived", "folders", "participants_count", "unread_count", "restrictions", "participants", "last_message", "user", "provider", "specifics"]
+ user: Optional[GetChatsList200ResponseDataInnerUser] = None
+ participants: Optional[List[GetChatsList200ResponseDataInnerParticipantsInner]] = Field(default=None, description="List of participants in the chat if group chat.")
+ __properties: ClassVar[List[str]] = ["object", "id", "name", "label", "description", "image_url", "created_at", "updated_at", "last_message_timestamp", "muted_until", "creator_id", "user_id", "is_group", "is_1to1", "is_channel", "type", "is_pinned", "is_readonly", "is_archived", "folders", "participants_count", "unread_count", "restrictions", "last_message", "provider", "specifics", "user", "participants"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -136,19 +136,18 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of muted_until
if self.muted_until:
_dict['muted_until'] = self.muted_until.to_dict()
- # override the default output from pydantic by calling `to_dict()` of each item in participants (list)
- _items = []
- if self.participants:
- for _item_participants in self.participants:
- if _item_participants:
- _items.append(_item_participants.to_dict())
- _dict['participants'] = _items
# override the default output from pydantic by calling `to_dict()` of last_message
if self.last_message:
_dict['last_message'] = self.last_message.to_dict()
# override the default output from pydantic by calling `to_dict()` of user
if self.user:
_dict['user'] = self.user.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in participants (list)
+ _items = []
+ if self.participants:
+ for _item_participants in self.participants:
+ _items.append(_item_participants.to_dict() if _item_participants is not None else None)
+ _dict['participants'] = _items
# set to None if specifics (nullable) is None
# and model_fields_set contains the field
if self.specifics is None and "specifics" in self.model_fields_set:
@@ -189,11 +188,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"participants_count": obj.get("participants_count"),
"unread_count": obj.get("unread_count"),
"restrictions": obj.get("restrictions"),
- "participants": [GetChatsList200ResponseDataInnerParticipantsInner.from_dict(_item) for _item in obj["participants"]] if obj.get("participants") is not None else None,
- "last_message": GetChatsList200ResponseDataInnerLastMessage.from_dict(obj["last_message"]) if obj.get("last_message") is not None else None,
- "user": GetChatsList200ResponseDataInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None,
+ "last_message": GetChat200ResponseLastMessage.from_dict(obj["last_message"]) if obj.get("last_message") is not None else None,
"provider": obj.get("provider"),
- "specifics": obj.get("specifics")
+ "specifics": obj.get("specifics"),
+ "user": GetChatsList200ResponseDataInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None,
+ "participants": [GetChatsList200ResponseDataInnerParticipantsInner.from_dict(_item) for _item in obj["participants"]] if obj.get("participants") is not None else None
})
return _obj
diff --git a/unipile/models/get_chat200_response_last_message.py b/unipile/models/get_chat200_response_last_message.py
new file mode 100644
index 000000000..2f3d8448c
--- /dev/null
+++ b/unipile/models/get_chat200_response_last_message.py
@@ -0,0 +1,134 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+from inspect import getfullargspec
+import json
+import pprint
+import re # noqa: F401
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
+from typing import Optional
+from unipile.models.get_chat200_response_last_message_any_of import GetChat200ResponseLastMessageAnyOf
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of import GetChatsList200ResponseDataInnerLastMessageAnyOf
+from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
+from typing_extensions import Literal, Self
+from pydantic import Field
+
+GETCHAT200RESPONSELASTMESSAGE_ANY_OF_SCHEMAS = ["GetChat200ResponseLastMessageAnyOf", "GetChatsList200ResponseDataInnerLastMessageAnyOf"]
+
+class GetChat200ResponseLastMessage(BaseModel):
+ """
+ The last message in the chat.
+ """
+
+ # data type: GetChatsList200ResponseDataInnerLastMessageAnyOf
+ anyof_schema_1_validator: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf] = None
+ # data type: GetChat200ResponseLastMessageAnyOf
+ anyof_schema_2_validator: Optional[GetChat200ResponseLastMessageAnyOf] = None
+ if TYPE_CHECKING:
+ actual_instance: Optional[Union[GetChat200ResponseLastMessageAnyOf, GetChatsList200ResponseDataInnerLastMessageAnyOf]] = None
+ else:
+ actual_instance: Any = None
+ any_of_schemas: Set[str] = { "GetChat200ResponseLastMessageAnyOf", "GetChatsList200ResponseDataInnerLastMessageAnyOf" }
+
+ model_config = {
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+ def __init__(self, *args, **kwargs) -> None:
+ if args:
+ if len(args) > 1:
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
+ if kwargs:
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
+ super().__init__(actual_instance=args[0])
+ else:
+ super().__init__(**kwargs)
+
+ @field_validator('actual_instance')
+ def actual_instance_must_validate_anyof(cls, v):
+ instance = GetChat200ResponseLastMessage.model_construct()
+ error_messages = []
+ # validate data type: GetChatsList200ResponseDataInnerLastMessageAnyOf
+ if not isinstance(v, GetChatsList200ResponseDataInnerLastMessageAnyOf):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `GetChatsList200ResponseDataInnerLastMessageAnyOf`")
+ else:
+ return v
+
+ # validate data type: GetChat200ResponseLastMessageAnyOf
+ if not isinstance(v, GetChat200ResponseLastMessageAnyOf):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `GetChat200ResponseLastMessageAnyOf`")
+ else:
+ return v
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when setting the actual_instance in GetChat200ResponseLastMessage with anyOf schemas: GetChat200ResponseLastMessageAnyOf, GetChatsList200ResponseDataInnerLastMessageAnyOf. Details: " + ", ".join(error_messages))
+ else:
+ return v
+
+ @classmethod
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
+ return cls.from_json(json.dumps(obj))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Returns the object represented by the json string"""
+ instance = cls.model_construct()
+ error_messages = []
+ # anyof_schema_1_validator: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf] = None
+ try:
+ instance.actual_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_2_validator: Optional[GetChat200ResponseLastMessageAnyOf] = None
+ try:
+ instance.actual_instance = GetChat200ResponseLastMessageAnyOf.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when deserializing the JSON string into GetChat200ResponseLastMessage with anyOf schemas: GetChat200ResponseLastMessageAnyOf, GetChatsList200ResponseDataInnerLastMessageAnyOf. Details: " + ", ".join(error_messages))
+ else:
+ return instance
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the actual instance"""
+ if self.actual_instance is None:
+ return "null"
+
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
+ return self.actual_instance.to_json()
+ else:
+ return json.dumps(self.actual_instance)
+
+ def to_dict(self) -> Optional[Union[Dict[str, Any], GetChat200ResponseLastMessageAnyOf, GetChatsList200ResponseDataInnerLastMessageAnyOf]]:
+ """Returns the dict representation of the actual instance"""
+ if self.actual_instance is None:
+ return None
+
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
+ return self.actual_instance.to_dict()
+ else:
+ return self.actual_instance
+
+ def to_str(self) -> str:
+ """Returns the string representation of the actual instance"""
+ return pprint.pformat(self.model_dump())
+
+
diff --git a/unipile/models/get_chat200_response_last_message_any_of.py b/unipile/models/get_chat200_response_last_message_any_of.py
new file mode 100644
index 000000000..52a04da36
--- /dev/null
+++ b/unipile/models/get_chat200_response_last_message_any_of.py
@@ -0,0 +1,202 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_event_metadata import GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_forwarded import GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted import GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_sender import GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetChat200ResponseLastMessageAnyOf(BaseModel):
+ """
+ GetChat200ResponseLastMessageAnyOf
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The unique identifier of the message for the provider.")
+ text: Optional[StrictStr] = Field(default=None, description="The text content of the message.")
+ sender_id: StrictStr = Field(description="The ID of the user who sent the message.")
+ chat_id: StrictStr = Field(description="The ID of the chat where the message was sent.")
+ timestamp: StrictStr = Field(description="The timestamp of the message. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ is_sender: StrictBool = Field(description="Is the current user the sender of the message.")
+ is_hidden: StrictBool = Field(description="Is the message hidden. Hidden messages are usually not displayed in the chat but can be as last message is chats list.")
+ is_seen: StrictBool = Field(description="Is the message seen by other participants.")
+ is_delivered: StrictBool = Field(description="Is the message delivered to the other participants.")
+ is_deleted: StrictBool = Field(description="Is the message deleted. Some providers show the message as deleted in the chat.")
+ is_edited: StrictBool = Field(description="Is the message edited. Some providers adds an \"edited\" mark on the message in the chat.")
+ is_pinned: StrictBool = Field(description="Is the message pinned. Pinned messages are usually displayed at the top of the chat.")
+ is_event: StrictBool = Field(description="Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions.")
+ is_mentionned: StrictBool = Field(description="Is the message mentionning the current user. Usually to notify.")
+ event_type: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement ")
+ event_metadata: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata] = None
+ reactions_counter: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner] = Field(description="A list of reactions to the element.")
+ sender: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender] = None
+ provider: StrictStr = Field(description="The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of message attachments.")
+ hyperlinks: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner] = Field(description="List of message hyperlinks.")
+ quoted: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted] = None
+ forwarded: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded] = None
+ specifics: Optional[Any] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "text", "sender_id", "chat_id", "timestamp", "is_sender", "is_hidden", "is_seen", "is_delivered", "is_deleted", "is_edited", "is_pinned", "is_event", "is_mentionned", "event_type", "event_metadata", "reactions_counter", "sender", "provider", "attachments", "hyperlinks", "quoted", "forwarded", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['Message']):
+ raise ValueError("must be one of enum values ('Message')")
+ return value
+
+ @field_validator('event_type')
+ def event_type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]):
+ raise ValueError("must be one of enum values (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)")
+ return value
+
+ @field_validator('provider')
+ def provider_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['mock', 'whatsapp', 'linkedin', 'google', 'outlook', 'imap', 'telegram', 'instagram']):
+ raise ValueError("must be one of enum values ('mock', 'whatsapp', 'linkedin', 'google', 'outlook', 'imap', 'telegram', 'instagram')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetChat200ResponseLastMessageAnyOf from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of event_metadata
+ if self.event_metadata:
+ _dict['event_metadata'] = self.event_metadata.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in reactions_counter (list)
+ _items = []
+ if self.reactions_counter:
+ for _item_reactions_counter in self.reactions_counter:
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
+ _dict['reactions_counter'] = _items
+ # override the default output from pydantic by calling `to_dict()` of sender
+ if self.sender:
+ _dict['sender'] = self.sender.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
+ _items = []
+ if self.attachments:
+ for _item_attachments in self.attachments:
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
+ _dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in hyperlinks (list)
+ _items = []
+ if self.hyperlinks:
+ for _item_hyperlinks in self.hyperlinks:
+ _items.append(_item_hyperlinks.to_dict() if _item_hyperlinks is not None else None)
+ _dict['hyperlinks'] = _items
+ # override the default output from pydantic by calling `to_dict()` of quoted
+ if self.quoted:
+ _dict['quoted'] = self.quoted.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of forwarded
+ if self.forwarded:
+ _dict['forwarded'] = self.forwarded.to_dict()
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetChat200ResponseLastMessageAnyOf from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "text": obj.get("text"),
+ "sender_id": obj.get("sender_id"),
+ "chat_id": obj.get("chat_id"),
+ "timestamp": obj.get("timestamp"),
+ "is_sender": obj.get("is_sender"),
+ "is_hidden": obj.get("is_hidden"),
+ "is_seen": obj.get("is_seen"),
+ "is_delivered": obj.get("is_delivered"),
+ "is_deleted": obj.get("is_deleted"),
+ "is_edited": obj.get("is_edited"),
+ "is_pinned": obj.get("is_pinned"),
+ "is_event": obj.get("is_event"),
+ "is_mentionned": obj.get("is_mentionned"),
+ "event_type": obj.get("event_type"),
+ "event_metadata": GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.from_dict(obj["event_metadata"]) if obj.get("event_metadata") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "sender": GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
+ "provider": obj.get("provider"),
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "hyperlinks": [GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.from_dict(_item) for _item in obj["hyperlinks"]] if obj.get("hyperlinks") is not None else None,
+ "quoted": GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.from_dict(obj["quoted"]) if obj.get("quoted") is not None else None,
+ "forwarded": GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.from_dict(obj["forwarded"]) if obj.get("forwarded") is not None else None,
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_chat200_response_muted_until.py b/unipile/models/get_chat200_response_muted_until.py
index 7308bdd44..211f8b0dc 100644
--- a/unipile/models/get_chat200_response_muted_until.py
+++ b/unipile/models/get_chat200_response_muted_until.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_chats_list200_response.py b/unipile/models/get_chats_list200_response.py
index 9ca3316ce..434fe0bef 100644
--- a/unipile/models/get_chats_list200_response.py
+++ b/unipile/models/get_chats_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetChatsList200Response(BaseModel):
GetChatsList200Response
""" # noqa: E501
data: List[GetChatsList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_chats_list200_response_data_inner.py b/unipile/models/get_chats_list200_response_data_inner.py
index 3134c88ad..575526b66 100644
--- a/unipile/models/get_chats_list200_response_data_inner.py
+++ b/unipile/models/get_chats_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -55,12 +55,12 @@ class GetChatsList200ResponseDataInner(BaseModel):
participants_count: Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]] = Field(default=None, description="The number of participants in the chat if the chat is a group.")
unread_count: Union[Annotated[float, Field(strict=True, ge=-1)], Annotated[int, Field(strict=True, ge=-1)]] = Field(description="The number of unread messages in the chat. `0` if the chat is read, `-1` if the chat was manually marked as unread by the user and does not have any unread messages.")
restrictions: Optional[List[StrictStr]] = Field(default=None, description="List of action restrictions of the chat. - `send_message` is the permission to send messages.")
- participants: Optional[List[GetChatsList200ResponseDataInnerParticipantsInner]] = Field(default=None, description="List of participants in the chat if group chat.")
last_message: Optional[GetChatsList200ResponseDataInnerLastMessage] = None
- user: Optional[GetChatsList200ResponseDataInnerUser] = None
provider: StrictStr = Field(description="The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP.")
specifics: Optional[Any] = None
- __properties: ClassVar[List[str]] = ["object", "id", "name", "label", "description", "image_url", "created_at", "updated_at", "last_message_timestamp", "muted_until", "creator_id", "user_id", "is_group", "is_1to1", "is_channel", "type", "is_pinned", "is_readonly", "is_archived", "folders", "participants_count", "unread_count", "restrictions", "participants", "last_message", "user", "provider", "specifics"]
+ user: Optional[GetChatsList200ResponseDataInnerUser] = None
+ participants: Optional[List[GetChatsList200ResponseDataInnerParticipantsInner]] = Field(default=None, description="List of participants in the chat if group chat.")
+ __properties: ClassVar[List[str]] = ["object", "id", "name", "label", "description", "image_url", "created_at", "updated_at", "last_message_timestamp", "muted_until", "creator_id", "user_id", "is_group", "is_1to1", "is_channel", "type", "is_pinned", "is_readonly", "is_archived", "folders", "participants_count", "unread_count", "restrictions", "last_message", "provider", "specifics", "user", "participants"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -136,19 +136,18 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of muted_until
if self.muted_until:
_dict['muted_until'] = self.muted_until.to_dict()
- # override the default output from pydantic by calling `to_dict()` of each item in participants (list)
- _items = []
- if self.participants:
- for _item_participants in self.participants:
- if _item_participants:
- _items.append(_item_participants.to_dict())
- _dict['participants'] = _items
# override the default output from pydantic by calling `to_dict()` of last_message
if self.last_message:
_dict['last_message'] = self.last_message.to_dict()
# override the default output from pydantic by calling `to_dict()` of user
if self.user:
_dict['user'] = self.user.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in participants (list)
+ _items = []
+ if self.participants:
+ for _item_participants in self.participants:
+ _items.append(_item_participants.to_dict() if _item_participants is not None else None)
+ _dict['participants'] = _items
# set to None if specifics (nullable) is None
# and model_fields_set contains the field
if self.specifics is None and "specifics" in self.model_fields_set:
@@ -189,11 +188,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"participants_count": obj.get("participants_count"),
"unread_count": obj.get("unread_count"),
"restrictions": obj.get("restrictions"),
- "participants": [GetChatsList200ResponseDataInnerParticipantsInner.from_dict(_item) for _item in obj["participants"]] if obj.get("participants") is not None else None,
"last_message": GetChatsList200ResponseDataInnerLastMessage.from_dict(obj["last_message"]) if obj.get("last_message") is not None else None,
- "user": GetChatsList200ResponseDataInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None,
"provider": obj.get("provider"),
- "specifics": obj.get("specifics")
+ "specifics": obj.get("specifics"),
+ "user": GetChatsList200ResponseDataInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None,
+ "participants": [GetChatsList200ResponseDataInnerParticipantsInner.from_dict(_item) for _item in obj["participants"]] if obj.get("participants") is not None else None
})
return _obj
diff --git a/unipile/models/get_chats_list200_response_data_inner_last_message.py b/unipile/models/get_chats_list200_response_data_inner_last_message.py
index 9989c3c02..fd15a009b 100644
--- a/unipile/models/get_chats_list200_response_data_inner_last_message.py
+++ b/unipile/models/get_chats_list200_response_data_inner_last_message.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -13,80 +13,122 @@
from __future__ import annotations
+from inspect import getfullargspec
+import json
import pprint
import re # noqa: F401
-import json
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
+from typing import Optional
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of import GetChatsList200ResponseDataInnerLastMessageAnyOf
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1 import GetChatsList200ResponseDataInnerLastMessageAnyOf1
+from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
+from typing_extensions import Literal, Self
+from pydantic import Field
-from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
-from typing import Any, ClassVar, Dict, List, Optional
-from typing import Optional, Set
-from typing_extensions import Self
-from pydantic_core import to_jsonable_python
+GETCHATSLIST200RESPONSEDATAINNERLASTMESSAGE_ANY_OF_SCHEMAS = ["GetChatsList200ResponseDataInnerLastMessageAnyOf", "GetChatsList200ResponseDataInnerLastMessageAnyOf1"]
class GetChatsList200ResponseDataInnerLastMessage(BaseModel):
"""
The last message in the chat.
- """ # noqa: E501
- text: StrictStr = Field(description="The text content of the last message in the chat.")
- sender_display_name: Optional[StrictStr] = Field(default=None, description="The display name of the sender of the last message in the chat in group chats.")
- is_sender: StrictBool = Field(description="Is the last message sent by the current user.")
- __properties: ClassVar[List[str]] = ["text", "sender_display_name", "is_sender"]
-
- model_config = ConfigDict(
- validate_by_name=True,
- validate_by_alias=True,
- validate_assignment=True,
- protected_namespaces=(),
- )
-
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.model_dump(by_alias=True))
+ """
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(to_jsonable_python(self.to_dict()))
+ # data type: GetChatsList200ResponseDataInnerLastMessageAnyOf
+ anyof_schema_1_validator: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf] = None
+ # data type: GetChatsList200ResponseDataInnerLastMessageAnyOf1
+ anyof_schema_2_validator: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1] = None
+ if TYPE_CHECKING:
+ actual_instance: Optional[Union[GetChatsList200ResponseDataInnerLastMessageAnyOf, GetChatsList200ResponseDataInnerLastMessageAnyOf1]] = None
+ else:
+ actual_instance: Any = None
+ any_of_schemas: Set[str] = { "GetChatsList200ResponseDataInnerLastMessageAnyOf", "GetChatsList200ResponseDataInnerLastMessageAnyOf1" }
+
+ model_config = {
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+ def __init__(self, *args, **kwargs) -> None:
+ if args:
+ if len(args) > 1:
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
+ if kwargs:
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
+ super().__init__(actual_instance=args[0])
+ else:
+ super().__init__(**kwargs)
+
+ @field_validator('actual_instance')
+ def actual_instance_must_validate_anyof(cls, v):
+ instance = GetChatsList200ResponseDataInnerLastMessage.model_construct()
+ error_messages = []
+ # validate data type: GetChatsList200ResponseDataInnerLastMessageAnyOf
+ if not isinstance(v, GetChatsList200ResponseDataInnerLastMessageAnyOf):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `GetChatsList200ResponseDataInnerLastMessageAnyOf`")
+ else:
+ return v
+
+ # validate data type: GetChatsList200ResponseDataInnerLastMessageAnyOf1
+ if not isinstance(v, GetChatsList200ResponseDataInnerLastMessageAnyOf1):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `GetChatsList200ResponseDataInnerLastMessageAnyOf1`")
+ else:
+ return v
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when setting the actual_instance in GetChatsList200ResponseDataInnerLastMessage with anyOf schemas: GetChatsList200ResponseDataInnerLastMessageAnyOf, GetChatsList200ResponseDataInnerLastMessageAnyOf1. Details: " + ", ".join(error_messages))
+ else:
+ return v
@classmethod
- def from_json(cls, json_str: str) -> Optional[Self]:
- """Create an instance of GetChatsList200ResponseDataInnerLastMessage from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self) -> Dict[str, Any]:
- """Return the dictionary representation of the model using alias.
-
- This has the following differences from calling pydantic's
- `self.model_dump(by_alias=True)`:
-
- * `None` is only added to the output dict for nullable fields that
- were set at model initialization. Other fields with value `None`
- are ignored.
- """
- excluded_fields: Set[str] = set([
- ])
-
- _dict = self.model_dump(
- by_alias=True,
- exclude=excluded_fields,
- exclude_none=True,
- )
- return _dict
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
+ return cls.from_json(json.dumps(obj))
@classmethod
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
- """Create an instance of GetChatsList200ResponseDataInnerLastMessage from a dict"""
- if obj is None:
+ def from_json(cls, json_str: str) -> Self:
+ """Returns the object represented by the json string"""
+ instance = cls.model_construct()
+ error_messages = []
+ # anyof_schema_1_validator: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf] = None
+ try:
+ instance.actual_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_2_validator: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1] = None
+ try:
+ instance.actual_instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when deserializing the JSON string into GetChatsList200ResponseDataInnerLastMessage with anyOf schemas: GetChatsList200ResponseDataInnerLastMessageAnyOf, GetChatsList200ResponseDataInnerLastMessageAnyOf1. Details: " + ", ".join(error_messages))
+ else:
+ return instance
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the actual instance"""
+ if self.actual_instance is None:
+ return "null"
+
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
+ return self.actual_instance.to_json()
+ else:
+ return json.dumps(self.actual_instance)
+
+ def to_dict(self) -> Optional[Union[Dict[str, Any], GetChatsList200ResponseDataInnerLastMessageAnyOf, GetChatsList200ResponseDataInnerLastMessageAnyOf1]]:
+ """Returns the dict representation of the actual instance"""
+ if self.actual_instance is None:
return None
- if not isinstance(obj, dict):
- return cls.model_validate(obj)
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
+ return self.actual_instance.to_dict()
+ else:
+ return self.actual_instance
- _obj = cls.model_validate({
- "text": obj.get("text"),
- "sender_display_name": obj.get("sender_display_name"),
- "is_sender": obj.get("is_sender")
- })
- return _obj
+ def to_str(self) -> str:
+ """Returns the string representation of the actual instance"""
+ return pprint.pformat(self.model_dump())
diff --git a/unipile/models/get_chats_list200_response_data_inner_last_message_any_of.py b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of.py
new file mode 100644
index 000000000..2f34310d8
--- /dev/null
+++ b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetChatsList200ResponseDataInnerLastMessageAnyOf(BaseModel):
+ """
+ GetChatsList200ResponseDataInnerLastMessageAnyOf
+ """ # noqa: E501
+ object: StrictStr
+ id: Optional[StrictStr] = Field(default=None, description="The ID of the message.")
+ text: StrictStr = Field(description="The text content of the message.")
+ sender_display_name: Optional[StrictStr] = Field(default=None, description="The display name of the sender of the message.")
+ is_sender: Optional[StrictBool] = Field(default=None, description="Is the message sent by the current user.")
+ __properties: ClassVar[List[str]] = ["object", "id", "text", "sender_display_name", "is_sender"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['MessagePreview']):
+ raise ValueError("must be one of enum values ('MessagePreview')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "text": obj.get("text"),
+ "sender_display_name": obj.get("sender_display_name"),
+ "is_sender": obj.get("is_sender")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1.py b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1.py
new file mode 100644
index 000000000..9309243f1
--- /dev/null
+++ b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1.py
@@ -0,0 +1,202 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_event_metadata import GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_forwarded import GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted import GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_sender import GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetChatsList200ResponseDataInnerLastMessageAnyOf1(BaseModel):
+ """
+ GetChatsList200ResponseDataInnerLastMessageAnyOf1
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The unique identifier of the message for the provider.")
+ text: Optional[StrictStr] = Field(default=None, description="The text content of the message.")
+ sender_id: StrictStr = Field(description="The ID of the user who sent the message.")
+ chat_id: StrictStr = Field(description="The ID of the chat where the message was sent.")
+ timestamp: StrictStr = Field(description="The timestamp of the message. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ is_sender: StrictBool = Field(description="Is the current user the sender of the message.")
+ is_hidden: StrictBool = Field(description="Is the message hidden. Hidden messages are usually not displayed in the chat but can be as last message is chats list.")
+ is_seen: StrictBool = Field(description="Is the message seen by other participants.")
+ is_delivered: StrictBool = Field(description="Is the message delivered to the other participants.")
+ is_deleted: StrictBool = Field(description="Is the message deleted. Some providers show the message as deleted in the chat.")
+ is_edited: StrictBool = Field(description="Is the message edited. Some providers adds an \"edited\" mark on the message in the chat.")
+ is_pinned: StrictBool = Field(description="Is the message pinned. Pinned messages are usually displayed at the top of the chat.")
+ is_event: StrictBool = Field(description="Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions.")
+ is_mentionned: StrictBool = Field(description="Is the message mentionning the current user. Usually to notify.")
+ event_type: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement ")
+ event_metadata: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata] = None
+ reactions_counter: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner] = Field(description="A list of reactions to the element.")
+ sender: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender] = None
+ provider: StrictStr = Field(description="The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner] = Field(description="List of message attachments.")
+ hyperlinks: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner] = Field(description="List of message hyperlinks.")
+ quoted: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted] = None
+ forwarded: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded] = None
+ specifics: Optional[Any] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "text", "sender_id", "chat_id", "timestamp", "is_sender", "is_hidden", "is_seen", "is_delivered", "is_deleted", "is_edited", "is_pinned", "is_event", "is_mentionned", "event_type", "event_metadata", "reactions_counter", "sender", "provider", "attachments", "hyperlinks", "quoted", "forwarded", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['Message']):
+ raise ValueError("must be one of enum values ('Message')")
+ return value
+
+ @field_validator('event_type')
+ def event_type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]):
+ raise ValueError("must be one of enum values (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)")
+ return value
+
+ @field_validator('provider')
+ def provider_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['mock', 'whatsapp', 'linkedin', 'google', 'outlook', 'imap', 'telegram', 'instagram']):
+ raise ValueError("must be one of enum values ('mock', 'whatsapp', 'linkedin', 'google', 'outlook', 'imap', 'telegram', 'instagram')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1 from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of event_metadata
+ if self.event_metadata:
+ _dict['event_metadata'] = self.event_metadata.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in reactions_counter (list)
+ _items = []
+ if self.reactions_counter:
+ for _item_reactions_counter in self.reactions_counter:
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
+ _dict['reactions_counter'] = _items
+ # override the default output from pydantic by calling `to_dict()` of sender
+ if self.sender:
+ _dict['sender'] = self.sender.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
+ _items = []
+ if self.attachments:
+ for _item_attachments in self.attachments:
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
+ _dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in hyperlinks (list)
+ _items = []
+ if self.hyperlinks:
+ for _item_hyperlinks in self.hyperlinks:
+ _items.append(_item_hyperlinks.to_dict() if _item_hyperlinks is not None else None)
+ _dict['hyperlinks'] = _items
+ # override the default output from pydantic by calling `to_dict()` of quoted
+ if self.quoted:
+ _dict['quoted'] = self.quoted.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of forwarded
+ if self.forwarded:
+ _dict['forwarded'] = self.forwarded.to_dict()
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1 from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "text": obj.get("text"),
+ "sender_id": obj.get("sender_id"),
+ "chat_id": obj.get("chat_id"),
+ "timestamp": obj.get("timestamp"),
+ "is_sender": obj.get("is_sender"),
+ "is_hidden": obj.get("is_hidden"),
+ "is_seen": obj.get("is_seen"),
+ "is_delivered": obj.get("is_delivered"),
+ "is_deleted": obj.get("is_deleted"),
+ "is_edited": obj.get("is_edited"),
+ "is_pinned": obj.get("is_pinned"),
+ "is_event": obj.get("is_event"),
+ "is_mentionned": obj.get("is_mentionned"),
+ "event_type": obj.get("event_type"),
+ "event_metadata": GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.from_dict(obj["event_metadata"]) if obj.get("event_metadata") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "sender": GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
+ "provider": obj.get("provider"),
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "hyperlinks": [GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.from_dict(_item) for _item in obj["hyperlinks"]] if obj.get("hyperlinks") is not None else None,
+ "quoted": GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.from_dict(obj["quoted"]) if obj.get("quoted") is not None else None,
+ "forwarded": GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.from_dict(obj["forwarded"]) if obj.get("forwarded") is not None else None,
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner.py b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner.py
new file mode 100644
index 000000000..cc6e33c9c
--- /dev/null
+++ b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_attachments_inner.py
@@ -0,0 +1,179 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+from inspect import getfullargspec
+import json
+import pprint
+import re # noqa: F401
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
+from typing import Optional
+from unipile.models.audio import Audio
+from unipile.models.file_document import FileDocument
+from unipile.models.image import Image
+from unipile.models.media_share import MediaShare
+from unipile.models.video import Video
+from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
+from typing_extensions import Literal, Self
+from pydantic import Field
+
+GETCHATSLIST200RESPONSEDATAINNERLASTMESSAGEANYOF1ATTACHMENTSINNER_ANY_OF_SCHEMAS = ["Audio", "FileDocument", "Image", "MediaShare", "Video"]
+
+class GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner(BaseModel):
+ """
+ GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner
+ """
+
+ # data type: Audio
+ anyof_schema_1_validator: Optional[Audio] = None
+ # data type: Image
+ anyof_schema_2_validator: Optional[Image] = None
+ # data type: Video
+ anyof_schema_3_validator: Optional[Video] = None
+ # data type: FileDocument
+ anyof_schema_4_validator: Optional[FileDocument] = None
+ # data type: MediaShare
+ anyof_schema_5_validator: Optional[MediaShare] = None
+ if TYPE_CHECKING:
+ actual_instance: Optional[Union[Audio, FileDocument, Image, MediaShare, Video]] = None
+ else:
+ actual_instance: Any = None
+ any_of_schemas: Set[str] = { "Audio", "FileDocument", "Image", "MediaShare", "Video" }
+
+ model_config = {
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+ def __init__(self, *args, **kwargs) -> None:
+ if args:
+ if len(args) > 1:
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
+ if kwargs:
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
+ super().__init__(actual_instance=args[0])
+ else:
+ super().__init__(**kwargs)
+
+ @field_validator('actual_instance')
+ def actual_instance_must_validate_anyof(cls, v):
+ instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner.model_construct()
+ error_messages = []
+ # validate data type: Audio
+ if not isinstance(v, Audio):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Audio`")
+ else:
+ return v
+
+ # validate data type: Image
+ if not isinstance(v, Image):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Image`")
+ else:
+ return v
+
+ # validate data type: Video
+ if not isinstance(v, Video):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Video`")
+ else:
+ return v
+
+ # validate data type: FileDocument
+ if not isinstance(v, FileDocument):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `FileDocument`")
+ else:
+ return v
+
+ # validate data type: MediaShare
+ if not isinstance(v, MediaShare):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `MediaShare`")
+ else:
+ return v
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when setting the actual_instance in GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner with anyOf schemas: Audio, FileDocument, Image, MediaShare, Video. Details: " + ", ".join(error_messages))
+ else:
+ return v
+
+ @classmethod
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
+ return cls.from_json(json.dumps(obj))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Returns the object represented by the json string"""
+ instance = cls.model_construct()
+ error_messages = []
+ # anyof_schema_1_validator: Optional[Audio] = None
+ try:
+ instance.actual_instance = Audio.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_2_validator: Optional[Image] = None
+ try:
+ instance.actual_instance = Image.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_3_validator: Optional[Video] = None
+ try:
+ instance.actual_instance = Video.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_4_validator: Optional[FileDocument] = None
+ try:
+ instance.actual_instance = FileDocument.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_5_validator: Optional[MediaShare] = None
+ try:
+ instance.actual_instance = MediaShare.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when deserializing the JSON string into GetChatsList200ResponseDataInnerLastMessageAnyOf1AttachmentsInner with anyOf schemas: Audio, FileDocument, Image, MediaShare, Video. Details: " + ", ".join(error_messages))
+ else:
+ return instance
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the actual instance"""
+ if self.actual_instance is None:
+ return "null"
+
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
+ return self.actual_instance.to_json()
+ else:
+ return json.dumps(self.actual_instance)
+
+ def to_dict(self) -> Optional[Union[Dict[str, Any], Audio, FileDocument, Image, MediaShare, Video]]:
+ """Returns the dict representation of the actual instance"""
+ if self.actual_instance is None:
+ return None
+
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
+ return self.actual_instance.to_dict()
+ else:
+ return self.actual_instance
+
+ def to_str(self) -> str:
+ """Returns the string representation of the actual instance"""
+ return pprint.pformat(self.model_dump())
+
+
diff --git a/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_event_metadata.py b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_event_metadata.py
new file mode 100644
index 000000000..c547b74c4
--- /dev/null
+++ b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_event_metadata.py
@@ -0,0 +1,314 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+from inspect import getfullargspec
+import json
+import pprint
+import re # noqa: F401
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
+from typing import Optional
+from unipile.models.call_ended import CallEnded
+from unipile.models.call_rejected import CallRejected
+from unipile.models.call_started import CallStarted
+from unipile.models.chat_description_updated import ChatDescriptionUpdated
+from unipile.models.chat_name_updated import ChatNameUpdated
+from unipile.models.chat_subject_updated import ChatSubjectUpdated
+from unipile.models.message_pin_status import MessagePinStatus
+from unipile.models.new_participant_joined_the_chat_group import NewParticipantJoinedTheChatGroup
+from unipile.models.participant_removed_from_chat_group import ParticipantRemovedFromChatGroup
+from unipile.models.participant_role_updated import ParticipantRoleUpdated
+from unipile.models.reaction import Reaction
+from unipile.models.scheduled_call_cancelled import ScheduledCallCancelled
+from unipile.models.scheduled_call_created import ScheduledCallCreated
+from unipile.models.scheduled_call_started import ScheduledCallStarted
+from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
+from typing_extensions import Literal, Self
+from pydantic import Field
+
+GETCHATSLIST200RESPONSEDATAINNERLASTMESSAGEANYOF1EVENTMETADATA_ANY_OF_SCHEMAS = ["CallEnded", "CallRejected", "CallStarted", "ChatDescriptionUpdated", "ChatNameUpdated", "ChatSubjectUpdated", "MessagePinStatus", "NewParticipantJoinedTheChatGroup", "ParticipantRemovedFromChatGroup", "ParticipantRoleUpdated", "Reaction", "ScheduledCallCancelled", "ScheduledCallCreated", "ScheduledCallStarted"]
+
+class GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata(BaseModel):
+ """
+ GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+ """
+
+ # data type: ChatNameUpdated
+ anyof_schema_1_validator: Optional[ChatNameUpdated] = None
+ # data type: ChatDescriptionUpdated
+ anyof_schema_2_validator: Optional[ChatDescriptionUpdated] = None
+ # data type: CallRejected
+ anyof_schema_3_validator: Optional[CallRejected] = None
+ # data type: CallEnded
+ anyof_schema_4_validator: Optional[CallEnded] = None
+ # data type: CallStarted
+ anyof_schema_5_validator: Optional[CallStarted] = None
+ # data type: ScheduledCallCreated
+ anyof_schema_6_validator: Optional[ScheduledCallCreated] = None
+ # data type: ScheduledCallCancelled
+ anyof_schema_7_validator: Optional[ScheduledCallCancelled] = None
+ # data type: ScheduledCallStarted
+ anyof_schema_8_validator: Optional[ScheduledCallStarted] = None
+ # data type: MessagePinStatus
+ anyof_schema_9_validator: Optional[MessagePinStatus] = None
+ # data type: NewParticipantJoinedTheChatGroup
+ anyof_schema_10_validator: Optional[NewParticipantJoinedTheChatGroup] = None
+ # data type: ParticipantRemovedFromChatGroup
+ anyof_schema_11_validator: Optional[ParticipantRemovedFromChatGroup] = None
+ # data type: ParticipantRoleUpdated
+ anyof_schema_12_validator: Optional[ParticipantRoleUpdated] = None
+ # data type: ChatSubjectUpdated
+ anyof_schema_13_validator: Optional[ChatSubjectUpdated] = None
+ # data type: Reaction
+ anyof_schema_14_validator: Optional[Reaction] = None
+ if TYPE_CHECKING:
+ actual_instance: Optional[Union[CallEnded, CallRejected, CallStarted, ChatDescriptionUpdated, ChatNameUpdated, ChatSubjectUpdated, MessagePinStatus, NewParticipantJoinedTheChatGroup, ParticipantRemovedFromChatGroup, ParticipantRoleUpdated, Reaction, ScheduledCallCancelled, ScheduledCallCreated, ScheduledCallStarted]] = None
+ else:
+ actual_instance: Any = None
+ any_of_schemas: Set[str] = { "CallEnded", "CallRejected", "CallStarted", "ChatDescriptionUpdated", "ChatNameUpdated", "ChatSubjectUpdated", "MessagePinStatus", "NewParticipantJoinedTheChatGroup", "ParticipantRemovedFromChatGroup", "ParticipantRoleUpdated", "Reaction", "ScheduledCallCancelled", "ScheduledCallCreated", "ScheduledCallStarted" }
+
+ model_config = {
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+ def __init__(self, *args, **kwargs) -> None:
+ if args:
+ if len(args) > 1:
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
+ if kwargs:
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
+ super().__init__(actual_instance=args[0])
+ else:
+ super().__init__(**kwargs)
+
+ @field_validator('actual_instance')
+ def actual_instance_must_validate_anyof(cls, v):
+ instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.model_construct()
+ error_messages = []
+ # validate data type: ChatNameUpdated
+ if not isinstance(v, ChatNameUpdated):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `ChatNameUpdated`")
+ else:
+ return v
+
+ # validate data type: ChatDescriptionUpdated
+ if not isinstance(v, ChatDescriptionUpdated):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `ChatDescriptionUpdated`")
+ else:
+ return v
+
+ # validate data type: CallRejected
+ if not isinstance(v, CallRejected):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `CallRejected`")
+ else:
+ return v
+
+ # validate data type: CallEnded
+ if not isinstance(v, CallEnded):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `CallEnded`")
+ else:
+ return v
+
+ # validate data type: CallStarted
+ if not isinstance(v, CallStarted):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `CallStarted`")
+ else:
+ return v
+
+ # validate data type: ScheduledCallCreated
+ if not isinstance(v, ScheduledCallCreated):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `ScheduledCallCreated`")
+ else:
+ return v
+
+ # validate data type: ScheduledCallCancelled
+ if not isinstance(v, ScheduledCallCancelled):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `ScheduledCallCancelled`")
+ else:
+ return v
+
+ # validate data type: ScheduledCallStarted
+ if not isinstance(v, ScheduledCallStarted):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `ScheduledCallStarted`")
+ else:
+ return v
+
+ # validate data type: MessagePinStatus
+ if not isinstance(v, MessagePinStatus):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `MessagePinStatus`")
+ else:
+ return v
+
+ # validate data type: NewParticipantJoinedTheChatGroup
+ if not isinstance(v, NewParticipantJoinedTheChatGroup):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `NewParticipantJoinedTheChatGroup`")
+ else:
+ return v
+
+ # validate data type: ParticipantRemovedFromChatGroup
+ if not isinstance(v, ParticipantRemovedFromChatGroup):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `ParticipantRemovedFromChatGroup`")
+ else:
+ return v
+
+ # validate data type: ParticipantRoleUpdated
+ if not isinstance(v, ParticipantRoleUpdated):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `ParticipantRoleUpdated`")
+ else:
+ return v
+
+ # validate data type: ChatSubjectUpdated
+ if not isinstance(v, ChatSubjectUpdated):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `ChatSubjectUpdated`")
+ else:
+ return v
+
+ # validate data type: Reaction
+ if not isinstance(v, Reaction):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Reaction`")
+ else:
+ return v
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when setting the actual_instance in GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata with anyOf schemas: CallEnded, CallRejected, CallStarted, ChatDescriptionUpdated, ChatNameUpdated, ChatSubjectUpdated, MessagePinStatus, NewParticipantJoinedTheChatGroup, ParticipantRemovedFromChatGroup, ParticipantRoleUpdated, Reaction, ScheduledCallCancelled, ScheduledCallCreated, ScheduledCallStarted. Details: " + ", ".join(error_messages))
+ else:
+ return v
+
+ @classmethod
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
+ return cls.from_json(json.dumps(obj))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Returns the object represented by the json string"""
+ instance = cls.model_construct()
+ error_messages = []
+ # anyof_schema_1_validator: Optional[ChatNameUpdated] = None
+ try:
+ instance.actual_instance = ChatNameUpdated.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_2_validator: Optional[ChatDescriptionUpdated] = None
+ try:
+ instance.actual_instance = ChatDescriptionUpdated.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_3_validator: Optional[CallRejected] = None
+ try:
+ instance.actual_instance = CallRejected.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_4_validator: Optional[CallEnded] = None
+ try:
+ instance.actual_instance = CallEnded.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_5_validator: Optional[CallStarted] = None
+ try:
+ instance.actual_instance = CallStarted.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_6_validator: Optional[ScheduledCallCreated] = None
+ try:
+ instance.actual_instance = ScheduledCallCreated.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_7_validator: Optional[ScheduledCallCancelled] = None
+ try:
+ instance.actual_instance = ScheduledCallCancelled.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_8_validator: Optional[ScheduledCallStarted] = None
+ try:
+ instance.actual_instance = ScheduledCallStarted.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_9_validator: Optional[MessagePinStatus] = None
+ try:
+ instance.actual_instance = MessagePinStatus.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_10_validator: Optional[NewParticipantJoinedTheChatGroup] = None
+ try:
+ instance.actual_instance = NewParticipantJoinedTheChatGroup.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_11_validator: Optional[ParticipantRemovedFromChatGroup] = None
+ try:
+ instance.actual_instance = ParticipantRemovedFromChatGroup.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_12_validator: Optional[ParticipantRoleUpdated] = None
+ try:
+ instance.actual_instance = ParticipantRoleUpdated.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_13_validator: Optional[ChatSubjectUpdated] = None
+ try:
+ instance.actual_instance = ChatSubjectUpdated.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_14_validator: Optional[Reaction] = None
+ try:
+ instance.actual_instance = Reaction.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when deserializing the JSON string into GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata with anyOf schemas: CallEnded, CallRejected, CallStarted, ChatDescriptionUpdated, ChatNameUpdated, ChatSubjectUpdated, MessagePinStatus, NewParticipantJoinedTheChatGroup, ParticipantRemovedFromChatGroup, ParticipantRoleUpdated, Reaction, ScheduledCallCancelled, ScheduledCallCreated, ScheduledCallStarted. Details: " + ", ".join(error_messages))
+ else:
+ return instance
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the actual instance"""
+ if self.actual_instance is None:
+ return "null"
+
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
+ return self.actual_instance.to_json()
+ else:
+ return json.dumps(self.actual_instance)
+
+ def to_dict(self) -> Optional[Union[Dict[str, Any], CallEnded, CallRejected, CallStarted, ChatDescriptionUpdated, ChatNameUpdated, ChatSubjectUpdated, MessagePinStatus, NewParticipantJoinedTheChatGroup, ParticipantRemovedFromChatGroup, ParticipantRoleUpdated, Reaction, ScheduledCallCancelled, ScheduledCallCreated, ScheduledCallStarted]]:
+ """Returns the dict representation of the actual instance"""
+ if self.actual_instance is None:
+ return None
+
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
+ return self.actual_instance.to_dict()
+ else:
+ return self.actual_instance
+
+ def to_str(self) -> str:
+ """Returns the string representation of the actual instance"""
+ return pprint.pformat(self.model_dump())
+
+
diff --git a/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_forwarded.py b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_forwarded.py
new file mode 100644
index 000000000..13f1ab6dc
--- /dev/null
+++ b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_forwarded.py
@@ -0,0 +1,112 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_sender import GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded(BaseModel):
+ """
+ Contains the original message if this message was forwarded from another chat, depending on provider support. Some providers preserve the original sender and content, treating it as if it were sent by the account owner. Others wrap the forwarded message within a new message (similar to a quote or attachment), in which case the original message appears here.
+ """ # noqa: E501
+ text: Optional[StrictStr] = Field(default=None, description="The text content of the message.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of message attachments.")
+ sender: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender] = None
+ object: StrictStr
+ __properties: ClassVar[List[str]] = ["text", "attachments", "sender", "object"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['ForwardedMessage']):
+ raise ValueError("must be one of enum values ('ForwardedMessage')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
+ _items = []
+ if self.attachments:
+ for _item_attachments in self.attachments:
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
+ _dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of sender
+ if self.sender:
+ _dict['sender'] = self.sender.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "text": obj.get("text"),
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "sender": GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
+ "object": obj.get("object")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner.py b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner.py
new file mode 100644
index 000000000..dd39d1a64
--- /dev/null
+++ b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner.py
@@ -0,0 +1,92 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Union
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner(BaseModel):
+ """
+ The parameters of an external hyperlink contained in the body.
+ """ # noqa: E501
+ url: StrictStr = Field(description="The URL the link points to.")
+ starts_at: Union[StrictFloat, StrictInt] = Field(description="The index in the body where the link starts.")
+ length: Union[StrictFloat, StrictInt] = Field(description="The number of characters in the body that make up the link, starting at the `starts_at` index.")
+ __properties: ClassVar[List[str]] = ["url", "starts_at", "length"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "url": obj.get("url"),
+ "starts_at": obj.get("starts_at"),
+ "length": obj.get("length")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_quoted.py b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_quoted.py
new file mode 100644
index 000000000..830e82d7c
--- /dev/null
+++ b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_quoted.py
@@ -0,0 +1,114 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_sender import GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted(BaseModel):
+ """
+ The quoted message.
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The unique identifier of the message for the provider.")
+ text: Optional[StrictStr] = Field(default=None, description="The text content of the message.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of message attachments.")
+ sender: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "text", "attachments", "sender"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['QuotedMessage']):
+ raise ValueError("must be one of enum values ('QuotedMessage')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
+ _items = []
+ if self.attachments:
+ for _item_attachments in self.attachments:
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
+ _dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of sender
+ if self.sender:
+ _dict['sender'] = self.sender.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "text": obj.get("text"),
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "sender": GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.from_dict(obj["sender"]) if obj.get("sender") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner.py b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner.py
new file mode 100644
index 000000000..bcb5fc176
--- /dev/null
+++ b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner.py
@@ -0,0 +1,179 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+from inspect import getfullargspec
+import json
+import pprint
+import re # noqa: F401
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
+from typing import Optional
+from unipile.models.audio import Audio
+from unipile.models.file_document import FileDocument
+from unipile.models.image1 import Image1
+from unipile.models.media_share import MediaShare
+from unipile.models.video1 import Video1
+from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
+from typing_extensions import Literal, Self
+from pydantic import Field
+
+GETCHATSLIST200RESPONSEDATAINNERLASTMESSAGEANYOF1QUOTEDATTACHMENTSINNER_ANY_OF_SCHEMAS = ["Audio", "FileDocument", "Image1", "MediaShare", "Video1"]
+
+class GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner(BaseModel):
+ """
+ GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+ """
+
+ # data type: Audio
+ anyof_schema_1_validator: Optional[Audio] = None
+ # data type: Image1
+ anyof_schema_2_validator: Optional[Image1] = None
+ # data type: Video1
+ anyof_schema_3_validator: Optional[Video1] = None
+ # data type: FileDocument
+ anyof_schema_4_validator: Optional[FileDocument] = None
+ # data type: MediaShare
+ anyof_schema_5_validator: Optional[MediaShare] = None
+ if TYPE_CHECKING:
+ actual_instance: Optional[Union[Audio, FileDocument, Image1, MediaShare, Video1]] = None
+ else:
+ actual_instance: Any = None
+ any_of_schemas: Set[str] = { "Audio", "FileDocument", "Image1", "MediaShare", "Video1" }
+
+ model_config = {
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+ def __init__(self, *args, **kwargs) -> None:
+ if args:
+ if len(args) > 1:
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
+ if kwargs:
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
+ super().__init__(actual_instance=args[0])
+ else:
+ super().__init__(**kwargs)
+
+ @field_validator('actual_instance')
+ def actual_instance_must_validate_anyof(cls, v):
+ instance = GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.model_construct()
+ error_messages = []
+ # validate data type: Audio
+ if not isinstance(v, Audio):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Audio`")
+ else:
+ return v
+
+ # validate data type: Image1
+ if not isinstance(v, Image1):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Image1`")
+ else:
+ return v
+
+ # validate data type: Video1
+ if not isinstance(v, Video1):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Video1`")
+ else:
+ return v
+
+ # validate data type: FileDocument
+ if not isinstance(v, FileDocument):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `FileDocument`")
+ else:
+ return v
+
+ # validate data type: MediaShare
+ if not isinstance(v, MediaShare):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `MediaShare`")
+ else:
+ return v
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when setting the actual_instance in GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner with anyOf schemas: Audio, FileDocument, Image1, MediaShare, Video1. Details: " + ", ".join(error_messages))
+ else:
+ return v
+
+ @classmethod
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
+ return cls.from_json(json.dumps(obj))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Returns the object represented by the json string"""
+ instance = cls.model_construct()
+ error_messages = []
+ # anyof_schema_1_validator: Optional[Audio] = None
+ try:
+ instance.actual_instance = Audio.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_2_validator: Optional[Image1] = None
+ try:
+ instance.actual_instance = Image1.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_3_validator: Optional[Video1] = None
+ try:
+ instance.actual_instance = Video1.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_4_validator: Optional[FileDocument] = None
+ try:
+ instance.actual_instance = FileDocument.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_5_validator: Optional[MediaShare] = None
+ try:
+ instance.actual_instance = MediaShare.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when deserializing the JSON string into GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner with anyOf schemas: Audio, FileDocument, Image1, MediaShare, Video1. Details: " + ", ".join(error_messages))
+ else:
+ return instance
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the actual instance"""
+ if self.actual_instance is None:
+ return "null"
+
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
+ return self.actual_instance.to_json()
+ else:
+ return json.dumps(self.actual_instance)
+
+ def to_dict(self) -> Optional[Union[Dict[str, Any], Audio, FileDocument, Image1, MediaShare, Video1]]:
+ """Returns the dict representation of the actual instance"""
+ if self.actual_instance is None:
+ return None
+
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
+ return self.actual_instance.to_dict()
+ else:
+ return self.actual_instance
+
+ def to_str(self) -> str:
+ """Returns the string representation of the actual instance"""
+ return pprint.pformat(self.model_dump())
+
+
diff --git a/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner.py b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner.py
new file mode 100644
index 000000000..99dfc5468
--- /dev/null
+++ b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner.py
@@ -0,0 +1,90 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Union
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner(BaseModel):
+ """
+ GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+ """ # noqa: E501
+ reaction: StrictStr = Field(description="Value of the reaction. Usually an emoji unicode.")
+ count: Union[StrictFloat, StrictInt] = Field(description="The total count of this reaction.")
+ __properties: ClassVar[List[str]] = ["reaction", "count"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "reaction": obj.get("reaction"),
+ "count": obj.get("count")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_sender.py b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_sender.py
new file mode 100644
index 000000000..4ed3e9673
--- /dev/null
+++ b/unipile/models/get_chats_list200_response_data_inner_last_message_any_of1_sender.py
@@ -0,0 +1,129 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender(BaseModel):
+ """
+ The user who sent the message.
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[Any] = Field(default=None, description="Provider-specific user data.")
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_chats_list200_response_data_inner_muted_until.py b/unipile/models/get_chats_list200_response_data_inner_muted_until.py
index 69fc89b02..2c45257f9 100644
--- a/unipile/models/get_chats_list200_response_data_inner_muted_until.py
+++ b/unipile/models/get_chats_list200_response_data_inner_muted_until.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,7 +31,7 @@ class GetChatsList200ResponseDataInnerMutedUntil(BaseModel):
"""
# data type: str
- anyof_schema_1_validator: Optional[StrictStr] = Field(default=None, description="The ID of the Company.")
+ anyof_schema_1_validator: Optional[StrictStr] = Field(default=None, description="The text content of the message, when available.")
# data type: bool
anyof_schema_2_validator: Optional[StrictBool] = None
if TYPE_CHECKING:
diff --git a/unipile/models/get_chats_list200_response_data_inner_participants_inner.py b/unipile/models/get_chats_list200_response_data_inner_participants_inner.py
index 8d03c1ca4..946678acf 100644
--- a/unipile/models/get_chats_list200_response_data_inner_participants_inner.py
+++ b/unipile/models/get_chats_list200_response_data_inner_participants_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,10 +29,10 @@ class GetChatsList200ResponseDataInnerParticipantsInner(BaseModel):
GetChatsList200ResponseDataInnerParticipantsInner
""" # noqa: E501
object: StrictStr
- user: GetChatsList200ResponseDataInnerParticipantsInnerUser
is_self: StrictBool = Field(description="Is the current user the participant.")
is_admin: StrictBool = Field(description="Is the participant an admin of the group.")
- __properties: ClassVar[List[str]] = ["object", "user", "is_self", "is_admin"]
+ user: GetChatsList200ResponseDataInnerParticipantsInnerUser
+ __properties: ClassVar[List[str]] = ["object", "is_self", "is_admin", "user"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -96,9 +96,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"object": obj.get("object"),
- "user": GetChatsList200ResponseDataInnerParticipantsInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None,
"is_self": obj.get("is_self"),
- "is_admin": obj.get("is_admin")
+ "is_admin": obj.get("is_admin"),
+ "user": GetChatsList200ResponseDataInnerParticipantsInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None
})
return _obj
diff --git a/unipile/models/get_chats_list200_response_data_inner_participants_inner_user.py b/unipile/models/get_chats_list200_response_data_inner_participants_inner_user.py
index 09302a3b1..0b99c859a 100644
--- a/unipile/models/get_chats_list200_response_data_inner_participants_inner_user.py
+++ b/unipile/models/get_chats_list200_response_data_inner_participants_inner_user.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,24 +19,28 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
class GetChatsList200ResponseDataInnerParticipantsInnerUser(BaseModel):
"""
- The user who is a participant of the group.
+ GetChatsList200ResponseDataInnerParticipantsInnerUser
""" # noqa: E501
id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
object: StrictStr
type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
- display_name: StrictStr = Field(description="Display name of the user.")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
- __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "profile_url", "public_picture_url", "private_picture_download_url", "description"]
+ specifics: Optional[GetChatsList200ResponseDataInnerUserSpecifics] = None
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -91,6 +95,9 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
return _dict
@classmethod
@@ -108,10 +115,13 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"type": obj.get("type"),
"public_identifier": obj.get("public_identifier"),
"display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
"profile_url": obj.get("profile_url"),
"public_picture_url": obj.get("public_picture_url"),
"private_picture_download_url": obj.get("private_picture_download_url"),
- "description": obj.get("description")
+ "description": obj.get("description"),
+ "specifics": GetChatsList200ResponseDataInnerUserSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
})
return _obj
diff --git a/unipile/models/get_chats_list200_response_data_inner_user.py b/unipile/models/get_chats_list200_response_data_inner_user.py
index 5999e974e..9e764333d 100644
--- a/unipile/models/get_chats_list200_response_data_inner_user.py
+++ b/unipile/models/get_chats_list200_response_data_inner_user.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -31,12 +32,15 @@ class GetChatsList200ResponseDataInnerUser(BaseModel):
object: StrictStr
type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
- display_name: StrictStr = Field(description="Display name of the user.")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
- __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "profile_url", "public_picture_url", "private_picture_download_url", "description"]
+ specifics: Optional[GetChatsList200ResponseDataInnerUserSpecifics] = None
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -91,6 +95,9 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
return _dict
@classmethod
@@ -108,10 +115,13 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"type": obj.get("type"),
"public_identifier": obj.get("public_identifier"),
"display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
"profile_url": obj.get("profile_url"),
"public_picture_url": obj.get("public_picture_url"),
"private_picture_download_url": obj.get("private_picture_download_url"),
- "description": obj.get("description")
+ "description": obj.get("description"),
+ "specifics": GetChatsList200ResponseDataInnerUserSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
})
return _obj
diff --git a/unipile/models/get_chats_list200_response_data_inner_user_specifics.py b/unipile/models/get_chats_list200_response_data_inner_user_specifics.py
new file mode 100644
index 000000000..d7a449d94
--- /dev/null
+++ b/unipile/models/get_chats_list200_response_data_inner_user_specifics.py
@@ -0,0 +1,134 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+from inspect import getfullargspec
+import json
+import pprint
+import re # noqa: F401
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
+from typing import Optional
+from unipile.models.linked_in import LinkedIn
+from unipile.models.whats_app import WhatsApp
+from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
+from typing_extensions import Literal, Self
+from pydantic import Field
+
+GETCHATSLIST200RESPONSEDATAINNERUSERSPECIFICS_ANY_OF_SCHEMAS = ["LinkedIn", "WhatsApp"]
+
+class GetChatsList200ResponseDataInnerUserSpecifics(BaseModel):
+ """
+ Object containing provider-specific user profile data.
+ """
+
+ # data type: WhatsApp
+ anyof_schema_1_validator: Optional[WhatsApp] = None
+ # data type: LinkedIn
+ anyof_schema_2_validator: Optional[LinkedIn] = None
+ if TYPE_CHECKING:
+ actual_instance: Optional[Union[LinkedIn, WhatsApp]] = None
+ else:
+ actual_instance: Any = None
+ any_of_schemas: Set[str] = { "LinkedIn", "WhatsApp" }
+
+ model_config = {
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+ def __init__(self, *args, **kwargs) -> None:
+ if args:
+ if len(args) > 1:
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
+ if kwargs:
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
+ super().__init__(actual_instance=args[0])
+ else:
+ super().__init__(**kwargs)
+
+ @field_validator('actual_instance')
+ def actual_instance_must_validate_anyof(cls, v):
+ instance = GetChatsList200ResponseDataInnerUserSpecifics.model_construct()
+ error_messages = []
+ # validate data type: WhatsApp
+ if not isinstance(v, WhatsApp):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `WhatsApp`")
+ else:
+ return v
+
+ # validate data type: LinkedIn
+ if not isinstance(v, LinkedIn):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `LinkedIn`")
+ else:
+ return v
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when setting the actual_instance in GetChatsList200ResponseDataInnerUserSpecifics with anyOf schemas: LinkedIn, WhatsApp. Details: " + ", ".join(error_messages))
+ else:
+ return v
+
+ @classmethod
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
+ return cls.from_json(json.dumps(obj))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Returns the object represented by the json string"""
+ instance = cls.model_construct()
+ error_messages = []
+ # anyof_schema_1_validator: Optional[WhatsApp] = None
+ try:
+ instance.actual_instance = WhatsApp.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_2_validator: Optional[LinkedIn] = None
+ try:
+ instance.actual_instance = LinkedIn.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when deserializing the JSON string into GetChatsList200ResponseDataInnerUserSpecifics with anyOf schemas: LinkedIn, WhatsApp. Details: " + ", ".join(error_messages))
+ else:
+ return instance
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the actual instance"""
+ if self.actual_instance is None:
+ return "null"
+
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
+ return self.actual_instance.to_json()
+ else:
+ return json.dumps(self.actual_instance)
+
+ def to_dict(self) -> Optional[Union[Dict[str, Any], LinkedIn, WhatsApp]]:
+ """Returns the dict representation of the actual instance"""
+ if self.actual_instance is None:
+ return None
+
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
+ return self.actual_instance.to_dict()
+ else:
+ return self.actual_instance
+
+ def to_str(self) -> str:
+ """Returns the string representation of the actual instance"""
+ return pprint.pformat(self.model_dump())
+
+
diff --git a/unipile/models/get_classic_applicant_by_id200_response.py b/unipile/models/get_classic_applicant_by_id200_response.py
index 20435d686..bf076928d 100644
--- a/unipile/models/get_classic_applicant_by_id200_response.py
+++ b/unipile/models/get_classic_applicant_by_id200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -114,8 +114,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.screening_questions:
for _item_screening_questions in self.screening_questions:
- if _item_screening_questions:
- _items.append(_item_screening_questions.to_dict())
+ _items.append(_item_screening_questions.to_dict() if _item_screening_questions is not None else None)
_dict['screening_questions'] = _items
# override the default output from pydantic by calling `to_dict()` of profile
if self.profile:
diff --git a/unipile/models/get_classic_applicant_by_id200_response_profile.py b/unipile/models/get_classic_applicant_by_id200_response_profile.py
index d244e888e..bc26c7539 100644
--- a/unipile/models/get_classic_applicant_by_id200_response_profile.py
+++ b/unipile/models/get_classic_applicant_by_id200_response_profile.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -91,15 +91,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.work_experience:
for _item_work_experience in self.work_experience:
- if _item_work_experience:
- _items.append(_item_work_experience.to_dict())
+ _items.append(_item_work_experience.to_dict() if _item_work_experience is not None else None)
_dict['work_experience'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in educations (list)
_items = []
if self.educations:
for _item_educations in self.educations:
- if _item_educations:
- _items.append(_item_educations.to_dict())
+ _items.append(_item_educations.to_dict() if _item_educations is not None else None)
_dict['educations'] = _items
return _dict
diff --git a/unipile/models/get_classic_applicant_by_id200_response_screening_questions_inner.py b/unipile/models/get_classic_applicant_by_id200_response_screening_questions_inner.py
index 5cef1af1a..22b61779d 100644
--- a/unipile/models/get_classic_applicant_by_id200_response_screening_questions_inner.py
+++ b/unipile/models/get_classic_applicant_by_id200_response_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_applicants200_response.py b/unipile/models/get_classic_applicants200_response.py
index 40efd9b09..94cb31b74 100644
--- a/unipile/models/get_classic_applicants200_response.py
+++ b/unipile/models/get_classic_applicants200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetClassicApplicants200Response(BaseModel):
GetClassicApplicants200Response
""" # noqa: E501
data: List[GetClassicApplicants200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_classic_applicants200_response_data_inner.py b/unipile/models/get_classic_applicants200_response_data_inner.py
index b30f5522e..bd9421d52 100644
--- a/unipile/models/get_classic_applicants200_response_data_inner.py
+++ b/unipile/models/get_classic_applicants200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -114,8 +114,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.screening_questions:
for _item_screening_questions in self.screening_questions:
- if _item_screening_questions:
- _items.append(_item_screening_questions.to_dict())
+ _items.append(_item_screening_questions.to_dict() if _item_screening_questions is not None else None)
_dict['screening_questions'] = _items
# override the default output from pydantic by calling `to_dict()` of profile
if self.profile:
diff --git a/unipile/models/get_classic_applicants200_response_data_inner_contact_info.py b/unipile/models/get_classic_applicants200_response_data_inner_contact_info.py
index 5e66ac0c1..de8b33bdc 100644
--- a/unipile/models/get_classic_applicants200_response_data_inner_contact_info.py
+++ b/unipile/models/get_classic_applicants200_response_data_inner_contact_info.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_applicants200_response_data_inner_profile.py b/unipile/models/get_classic_applicants200_response_data_inner_profile.py
index 02693e4fa..f0de302c3 100644
--- a/unipile/models/get_classic_applicants200_response_data_inner_profile.py
+++ b/unipile/models/get_classic_applicants200_response_data_inner_profile.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -91,15 +91,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.work_experience:
for _item_work_experience in self.work_experience:
- if _item_work_experience:
- _items.append(_item_work_experience.to_dict())
+ _items.append(_item_work_experience.to_dict() if _item_work_experience is not None else None)
_dict['work_experience'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in educations (list)
_items = []
if self.educations:
for _item_educations in self.educations:
- if _item_educations:
- _items.append(_item_educations.to_dict())
+ _items.append(_item_educations.to_dict() if _item_educations is not None else None)
_dict['educations'] = _items
return _dict
diff --git a/unipile/models/get_classic_applicants200_response_data_inner_profile_educations_inner.py b/unipile/models/get_classic_applicants200_response_data_inner_profile_educations_inner.py
index 402f8f330..3c718d1a0 100644
--- a/unipile/models/get_classic_applicants200_response_data_inner_profile_educations_inner.py
+++ b/unipile/models/get_classic_applicants200_response_data_inner_profile_educations_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_applicants200_response_data_inner_profile_educations_inner_school.py b/unipile/models/get_classic_applicants200_response_data_inner_profile_educations_inner_school.py
index e2b328abe..fe943adf1 100644
--- a/unipile/models/get_classic_applicants200_response_data_inner_profile_educations_inner_school.py
+++ b/unipile/models/get_classic_applicants200_response_data_inner_profile_educations_inner_school.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_applicants200_response_data_inner_profile_work_experience_inner.py b/unipile/models/get_classic_applicants200_response_data_inner_profile_work_experience_inner.py
index ba4c823bf..e2ddab22f 100644
--- a/unipile/models/get_classic_applicants200_response_data_inner_profile_work_experience_inner.py
+++ b/unipile/models/get_classic_applicants200_response_data_inner_profile_work_experience_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.linked_in_certifications_inner_organization import LinkedInCertificationsInnerOrganization
+from unipile.models.linked_in1_certifications_inner_organization import LinkedIn1CertificationsInnerOrganization
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -28,7 +28,7 @@ class GetClassicApplicants200ResponseDataInnerProfileWorkExperienceInner(BaseMod
"""
GetClassicApplicants200ResponseDataInnerProfileWorkExperienceInner
""" # noqa: E501
- company: LinkedInCertificationsInnerOrganization
+ company: LinkedIn1CertificationsInnerOrganization
title: StrictStr = Field(description="The position name in the experience.")
started_on: Optional[StrictStr] = Field(default=None, description="The start date of the experience in MM/DD/YYYY format.")
ended_on: Optional[StrictStr] = Field(default=None, description="The end date of the experience in MM/DD/YYYY format.")
@@ -91,7 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
return cls.model_validate(obj)
_obj = cls.model_validate({
- "company": LinkedInCertificationsInnerOrganization.from_dict(obj["company"]) if obj.get("company") is not None else None,
+ "company": LinkedIn1CertificationsInnerOrganization.from_dict(obj["company"]) if obj.get("company") is not None else None,
"title": obj.get("title"),
"started_on": obj.get("started_on"),
"ended_on": obj.get("ended_on"),
diff --git a/unipile/models/get_classic_applicants200_response_data_inner_screening_questions_inner.py b/unipile/models/get_classic_applicants200_response_data_inner_screening_questions_inner.py
index 9e59f5ad7..202b9e4de 100644
--- a/unipile/models/get_classic_applicants200_response_data_inner_screening_questions_inner.py
+++ b/unipile/models/get_classic_applicants200_response_data_inner_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_applicants_request.py b/unipile/models/get_classic_applicants_request.py
index 116275632..2b8617a3d 100644
--- a/unipile/models/get_classic_applicants_request.py
+++ b/unipile/models/get_classic_applicants_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,9 +31,9 @@ class GetClassicApplicantsRequest(BaseModel):
ratings: Optional[List[StrictStr]] = Field(default=None, description="A list of ratings to filter applicants.")
keywords: Optional[StrictStr] = Field(default=None, description="A keyword or group of keywords.")
sort_by: Optional[StrictStr] = Field(default='APPLIED_DATE', description="The sort method.")
- location: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location ")
+ location: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location ")
years_of_experience: Optional[List[GetClassicApplicantsRequestYearsOfExperienceInner]] = Field(default=None, description="A list of years ranges.")
- skills: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. Native filter : Skilled in ")
+ skills: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. Native filter : Skilled in ")
__properties: ClassVar[List[str]] = ["ratings", "keywords", "sort_by", "location", "years_of_experience", "skills"]
@field_validator('ratings')
@@ -100,8 +100,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.years_of_experience:
for _item_years_of_experience in self.years_of_experience:
- if _item_years_of_experience:
- _items.append(_item_years_of_experience.to_dict())
+ _items.append(_item_years_of_experience.to_dict() if _item_years_of_experience is not None else None)
_dict['years_of_experience'] = _items
return _dict
diff --git a/unipile/models/get_classic_applicants_request_years_of_experience_inner.py b/unipile/models/get_classic_applicants_request_years_of_experience_inner.py
index 5e898a60a..1539f7bb7 100644
--- a/unipile/models/get_classic_applicants_request_years_of_experience_inner.py
+++ b/unipile/models/get_classic_applicants_request_years_of_experience_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_company_profile200_response.py b/unipile/models/get_classic_company_profile200_response.py
index adf5cfe1a..657c44a1b 100644
--- a/unipile/models/get_classic_company_profile200_response.py
+++ b/unipile/models/get_classic_company_profile200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,17 +35,17 @@ class GetClassicCompanyProfile200Response(BaseModel):
""" # noqa: E501
id: StrictStr = Field(description="The ID of the Company for the provider.")
name: StrictStr = Field(description="The name of the Company.")
- public_identifier: StrictStr = Field(description="The public identifier of the Company.")
- profile_url: StrictStr = Field(description="The public profile URL of the Company.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="The public profile URL of the Company.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="The public picture URL of the Company.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="The public identifier of the Company.")
+ followers_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of followers of the Company.")
+ is_following: Optional[StrictBool] = Field(default=None, description="Whether the current user is following the Company.")
object: StrictStr
description: Optional[StrictStr] = Field(default=None, description="The description of the Company.")
- public_picture_url: Optional[StrictStr] = Field(default=None, description="The public picture URL of the Company.")
tagline: Optional[StrictStr] = Field(default=None, description="The tagline of the Company.")
- followers_count: Union[StrictFloat, StrictInt] = Field(description="The number of followers of the Company.")
is_school: StrictBool = Field(description="Whether the Company is a school.")
is_active: StrictBool = Field(description="Whether the Company is currently in activity.")
is_archived: StrictBool = Field(description="Whether the Company has been archived.")
- is_following: StrictBool = Field(description="Whether the current user is following the Company.")
is_employee: StrictBool = Field(description="Whether the current user is an employee of the Company.")
is_verified: StrictBool = Field(description="Whether the Company has been verified.")
is_claimable: StrictBool = Field(description="Whether the Company can be claimed.")
@@ -64,7 +64,7 @@ class GetClassicCompanyProfile200Response(BaseModel):
insights: GetClassicCompanyProfile200ResponseInsights
funding: Optional[GetClassicCompanyProfile200ResponseFunding] = None
hashtags: List[Optional[StrictStr]] = Field(description="The list of hashtags related to the Company.")
- __properties: ClassVar[List[str]] = ["id", "name", "public_identifier", "profile_url", "object", "description", "public_picture_url", "tagline", "followers_count", "is_school", "is_active", "is_archived", "is_following", "is_employee", "is_verified", "is_claimable", "is_claimable_by_viewer", "verified_at", "mailbox", "viewer_roles", "locations", "industry", "activities", "website", "establishment_year", "phone", "fields_of_expertise", "acquired_by", "insights", "funding", "hashtags"]
+ __properties: ClassVar[List[str]] = ["id", "name", "profile_url", "public_picture_url", "public_identifier", "followers_count", "is_following", "object", "description", "tagline", "is_school", "is_active", "is_archived", "is_employee", "is_verified", "is_claimable", "is_claimable_by_viewer", "verified_at", "mailbox", "viewer_roles", "locations", "industry", "activities", "website", "establishment_year", "phone", "fields_of_expertise", "acquired_by", "insights", "funding", "hashtags"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -119,15 +119,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.viewer_roles:
for _item_viewer_roles in self.viewer_roles:
- if _item_viewer_roles:
- _items.append(_item_viewer_roles.to_dict())
+ _items.append(_item_viewer_roles.to_dict() if _item_viewer_roles is not None else None)
_dict['viewer_roles'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in locations (list)
_items = []
if self.locations:
for _item_locations in self.locations:
- if _item_locations:
- _items.append(_item_locations.to_dict())
+ _items.append(_item_locations.to_dict() if _item_locations is not None else None)
_dict['locations'] = _items
# override the default output from pydantic by calling `to_dict()` of acquired_by
if self.acquired_by:
@@ -152,17 +150,17 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"id": obj.get("id"),
"name": obj.get("name"),
- "public_identifier": obj.get("public_identifier"),
"profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "public_identifier": obj.get("public_identifier"),
+ "followers_count": obj.get("followers_count"),
+ "is_following": obj.get("is_following"),
"object": obj.get("object"),
"description": obj.get("description"),
- "public_picture_url": obj.get("public_picture_url"),
"tagline": obj.get("tagline"),
- "followers_count": obj.get("followers_count"),
"is_school": obj.get("is_school"),
"is_active": obj.get("is_active"),
"is_archived": obj.get("is_archived"),
- "is_following": obj.get("is_following"),
"is_employee": obj.get("is_employee"),
"is_verified": obj.get("is_verified"),
"is_claimable": obj.get("is_claimable"),
diff --git a/unipile/models/get_classic_company_profile200_response_acquired_by.py b/unipile/models/get_classic_company_profile200_response_acquired_by.py
index 0482aaa40..4e7a7be83 100644
--- a/unipile/models/get_classic_company_profile200_response_acquired_by.py
+++ b/unipile/models/get_classic_company_profile200_response_acquired_by.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,8 +17,8 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
-from typing import Any, ClassVar, Dict, List
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional, Union
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -30,9 +30,12 @@ class GetClassicCompanyProfile200ResponseAcquiredBy(BaseModel):
object: StrictStr
id: StrictStr = Field(description="The ID of the Company for the provider.")
name: StrictStr = Field(description="The name of the Company.")
- public_identifier: StrictStr = Field(description="The public identifier of the Company.")
- profile_url: StrictStr = Field(description="The public profile URL of the Company.")
- __properties: ClassVar[List[str]] = ["object", "id", "name", "public_identifier", "profile_url"]
+ profile_url: Optional[StrictStr] = Field(default=None, description="The public profile URL of the Company.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="The public picture URL of the Company.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="The public identifier of the Company.")
+ followers_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of followers of the Company.")
+ is_following: Optional[StrictBool] = Field(default=None, description="Whether the current user is following the Company.")
+ __properties: ClassVar[List[str]] = ["object", "id", "name", "profile_url", "public_picture_url", "public_identifier", "followers_count", "is_following"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -95,8 +98,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"object": obj.get("object"),
"id": obj.get("id"),
"name": obj.get("name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
"public_identifier": obj.get("public_identifier"),
- "profile_url": obj.get("profile_url")
+ "followers_count": obj.get("followers_count"),
+ "is_following": obj.get("is_following")
})
return _obj
diff --git a/unipile/models/get_classic_company_profile200_response_funding.py b/unipile/models/get_classic_company_profile200_response_funding.py
index 2e8349a83..ce884416b 100644
--- a/unipile/models/get_classic_company_profile200_response_funding.py
+++ b/unipile/models/get_classic_company_profile200_response_funding.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_company_profile200_response_funding_crunchbase.py b/unipile/models/get_classic_company_profile200_response_funding_crunchbase.py
index 314eafc34..2be184976 100644
--- a/unipile/models/get_classic_company_profile200_response_funding_crunchbase.py
+++ b/unipile/models/get_classic_company_profile200_response_funding_crunchbase.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round.py b/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round.py
index 90471286f..a910cd119 100644
--- a/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round.py
+++ b/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -80,8 +80,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.lead_investors:
for _item_lead_investors in self.lead_investors:
- if _item_lead_investors:
- _items.append(_item_lead_investors.to_dict())
+ _items.append(_item_lead_investors.to_dict() if _item_lead_investors is not None else None)
_dict['lead_investors'] = _items
# override the default output from pydantic by calling `to_dict()` of money_raised
if self.money_raised:
diff --git a/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round_lead_investors_inner.py b/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round_lead_investors_inner.py
index 35e50525c..0ac74f232 100644
--- a/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round_lead_investors_inner.py
+++ b/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round_lead_investors_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round_money_raised.py b/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round_money_raised.py
index 8202e1a7a..eb30e5652 100644
--- a/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round_money_raised.py
+++ b/unipile/models/get_classic_company_profile200_response_funding_crunchbase_last_round_money_raised.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class GetClassicCompanyProfile200ResponseFundingCrunchbaseLastRoundMoneyRaised(B
The amount of money that has been raised during the funding round.
""" # noqa: E501
amount: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
- currency: Optional[StrictStr] = Field(description="The ID of the Company.")
+ currency: Optional[StrictStr] = Field(description="The text content of the message, when available.")
__properties: ClassVar[List[str]] = ["amount", "currency"]
model_config = ConfigDict(
diff --git a/unipile/models/get_classic_company_profile200_response_insights.py b/unipile/models/get_classic_company_profile200_response_insights.py
index 9009c67cc..697aa6d01 100644
--- a/unipile/models/get_classic_company_profile200_response_insights.py
+++ b/unipile/models/get_classic_company_profile200_response_insights.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,7 +30,7 @@ class GetClassicCompanyProfile200ResponseInsights(BaseModel):
"""
Insights about the company.
""" # noqa: E501
- headcount: Union[StrictFloat, StrictInt] = Field(description="The number of employees of the Company.")
+ headcount: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of employees of the Company.")
headcount_range: Optional[GetClassicCompanyProfile200ResponseInsightsHeadcountRange] = None
heacount_growth: Optional[List[GetClassicCompanyProfile200ResponseInsightsHeacountGrowthInner]] = Field(default=None, description="A list of time markers to create a chart showing the evolution of the number of employees.")
growth_periods: Optional[List[GetClassicCompanyProfile200ResponseInsightsGrowthPeriodsInner]] = Field(default=None, description="A list of time markers to create a chart showing the evolution of the number of employees.")
@@ -83,15 +83,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.heacount_growth:
for _item_heacount_growth in self.heacount_growth:
- if _item_heacount_growth:
- _items.append(_item_heacount_growth.to_dict())
+ _items.append(_item_heacount_growth.to_dict() if _item_heacount_growth is not None else None)
_dict['heacount_growth'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in growth_periods (list)
_items = []
if self.growth_periods:
for _item_growth_periods in self.growth_periods:
- if _item_growth_periods:
- _items.append(_item_growth_periods.to_dict())
+ _items.append(_item_growth_periods.to_dict() if _item_growth_periods is not None else None)
_dict['growth_periods'] = _items
return _dict
diff --git a/unipile/models/get_classic_company_profile200_response_insights_growth_periods_inner.py b/unipile/models/get_classic_company_profile200_response_insights_growth_periods_inner.py
index 17f1c9c4c..c59b0dfb0 100644
--- a/unipile/models/get_classic_company_profile200_response_insights_growth_periods_inner.py
+++ b/unipile/models/get_classic_company_profile200_response_insights_growth_periods_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_company_profile200_response_insights_heacount_growth_inner.py b/unipile/models/get_classic_company_profile200_response_insights_heacount_growth_inner.py
index c0d5d3e1a..c68cb7636 100644
--- a/unipile/models/get_classic_company_profile200_response_insights_heacount_growth_inner.py
+++ b/unipile/models/get_classic_company_profile200_response_insights_heacount_growth_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_company_profile200_response_insights_headcount_range.py b/unipile/models/get_classic_company_profile200_response_insights_headcount_range.py
index 924b3ec1f..28bb5cc51 100644
--- a/unipile/models/get_classic_company_profile200_response_insights_headcount_range.py
+++ b/unipile/models/get_classic_company_profile200_response_insights_headcount_range.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_company_profile200_response_locations_inner.py b/unipile/models/get_classic_company_profile200_response_locations_inner.py
index 2f4dbdff1..ae0d68ce0 100644
--- a/unipile/models/get_classic_company_profile200_response_locations_inner.py
+++ b/unipile/models/get_classic_company_profile200_response_locations_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetClassicCompanyProfile200ResponseLocationsInner(BaseModel):
""" # noqa: E501
is_headquarter: StrictBool = Field(description="Whether the location is the headquarters of the Company.")
country_code: StrictStr = Field(description="The country code of the location.")
- city: StrictStr = Field(description="The city of the location.")
+ city: Optional[StrictStr] = Field(default=None, description="The city of the location.")
area: Optional[StrictStr] = Field(default=None, description="The area of the location.")
postal_code: Optional[StrictStr] = Field(default=None, description="The postal code of the location.")
street: Optional[StrictStr] = Field(default=None, description="The street of the location.")
diff --git a/unipile/models/get_classic_company_profile200_response_mailbox.py b/unipile/models/get_classic_company_profile200_response_mailbox.py
index 84c928e87..43d0338e9 100644
--- a/unipile/models/get_classic_company_profile200_response_mailbox.py
+++ b/unipile/models/get_classic_company_profile200_response_mailbox.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_company_profile200_response_viewer_roles_inner.py b/unipile/models/get_classic_company_profile200_response_viewer_roles_inner.py
index 026f6400b..9b6d6336e 100644
--- a/unipile/models/get_classic_company_profile200_response_viewer_roles_inner.py
+++ b/unipile/models/get_classic_company_profile200_response_viewer_roles_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_job_posting200_response.py b/unipile/models/get_classic_job_posting200_response.py
index 7287628ba..0ea263e7e 100644
--- a/unipile/models/get_classic_job_posting200_response.py
+++ b/unipile/models/get_classic_job_posting200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -149,15 +149,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.screening_questions:
for _item_screening_questions in self.screening_questions:
- if _item_screening_questions:
- _items.append(_item_screening_questions.to_dict())
+ _items.append(_item_screening_questions.to_dict() if _item_screening_questions is not None else None)
_dict['screening_questions'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in hiring_team (list)
_items = []
if self.hiring_team:
for _item_hiring_team in self.hiring_team:
- if _item_hiring_team:
- _items.append(_item_hiring_team.to_dict())
+ _items.append(_item_hiring_team.to_dict() if _item_hiring_team is not None else None)
_dict['hiring_team'] = _items
return _dict
diff --git a/unipile/models/get_classic_job_posting200_response_budget.py b/unipile/models/get_classic_job_posting200_response_budget.py
index c12117c6a..a4c4c34ac 100644
--- a/unipile/models/get_classic_job_posting200_response_budget.py
+++ b/unipile/models/get_classic_job_posting200_response_budget.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_job_posting200_response_budget_daily.py b/unipile/models/get_classic_job_posting200_response_budget_daily.py
index b10f2b49c..67990d6fc 100644
--- a/unipile/models/get_classic_job_posting200_response_budget_daily.py
+++ b/unipile/models/get_classic_job_posting200_response_budget_daily.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_job_posting200_response_budget_total.py b/unipile/models/get_classic_job_posting200_response_budget_total.py
index e7d9d8c75..503b8c423 100644
--- a/unipile/models/get_classic_job_posting200_response_budget_total.py
+++ b/unipile/models/get_classic_job_posting200_response_budget_total.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_job_posting200_response_company.py b/unipile/models/get_classic_job_posting200_response_company.py
index 7b1527015..1e41b4b8b 100644
--- a/unipile/models/get_classic_job_posting200_response_company.py
+++ b/unipile/models/get_classic_job_posting200_response_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class GetClassicJobPosting200ResponseCompany(BaseModel):
"""
The company that published the Job posting.
""" # noqa: E501
- id: Optional[StrictStr] = Field(description="The ID of the Company.")
+ id: Optional[StrictStr] = Field(description="The text content of the message, when available.")
name: StrictStr = Field(description="The name of the Company.")
public_picture_url: Optional[StrictStr] = Field(default=None, description="The public picture URL of the Company.")
profile_url: Optional[StrictStr] = Field(default=None, description="The profile URL of the Company.")
diff --git a/unipile/models/get_classic_job_posting200_response_hiring_team_inner.py b/unipile/models/get_classic_job_posting200_response_hiring_team_inner.py
index 5bcf05fb9..0308dea85 100644
--- a/unipile/models/get_classic_job_posting200_response_hiring_team_inner.py
+++ b/unipile/models/get_classic_job_posting200_response_hiring_team_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_job_posting200_response_screening_questions_inner.py b/unipile/models/get_classic_job_posting200_response_screening_questions_inner.py
index 0e95f7bdc..cbaa140f6 100644
--- a/unipile/models/get_classic_job_posting200_response_screening_questions_inner.py
+++ b/unipile/models/get_classic_job_posting200_response_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.choices:
for _item_choices in self.choices:
- if _item_choices:
- _items.append(_item_choices.to_dict())
+ _items.append(_item_choices.to_dict() if _item_choices is not None else None)
_dict['choices'] = _items
return _dict
diff --git a/unipile/models/get_classic_job_posting200_response_screening_questions_inner_choices_inner.py b/unipile/models/get_classic_job_posting200_response_screening_questions_inner_choices_inner.py
index 5054c79e2..f22c6d7c1 100644
--- a/unipile/models/get_classic_job_posting200_response_screening_questions_inner_choices_inner.py
+++ b/unipile/models/get_classic_job_posting200_response_screening_questions_inner_choices_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,7 +31,7 @@ class GetClassicJobPosting200ResponseScreeningQuestionsInnerChoicesInner(BaseMod
"""
# data type: str
- anyof_schema_1_validator: Optional[StrictStr] = Field(default=None, description="The ID of the Company.")
+ anyof_schema_1_validator: Optional[StrictStr] = Field(default=None, description="The text content of the message, when available.")
# data type: float
anyof_schema_2_validator: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of comments to the post. `null` if counter is hidden.")
if TYPE_CHECKING:
diff --git a/unipile/models/get_classic_job_posting_budget200_response.py b/unipile/models/get_classic_job_posting_budget200_response.py
index 017fb8ddb..d073b1ee9 100644
--- a/unipile/models/get_classic_job_posting_budget200_response.py
+++ b/unipile/models/get_classic_job_posting_budget200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_job_posting_budget200_response_free.py b/unipile/models/get_classic_job_posting_budget200_response_free.py
index 2dc0dc630..d72352600 100644
--- a/unipile/models/get_classic_job_posting_budget200_response_free.py
+++ b/unipile/models/get_classic_job_posting_budget200_response_free.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_job_posting_budget200_response_promoted.py b/unipile/models/get_classic_job_posting_budget200_response_promoted.py
index db4aa7094..b8fcdf086 100644
--- a/unipile/models/get_classic_job_posting_budget200_response_promoted.py
+++ b/unipile/models/get_classic_job_posting_budget200_response_promoted.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_job_posting_budget200_response_promoted_daily.py b/unipile/models/get_classic_job_posting_budget200_response_promoted_daily.py
index 5e1133050..f9e954c22 100644
--- a/unipile/models/get_classic_job_posting_budget200_response_promoted_daily.py
+++ b/unipile/models/get_classic_job_posting_budget200_response_promoted_daily.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_classic_job_posting_budget200_response_promoted_total.py b/unipile/models/get_classic_job_posting_budget200_response_promoted_total.py
index 586e032fc..b2eda07e1 100644
--- a/unipile/models/get_classic_job_posting_budget200_response_promoted_total.py
+++ b/unipile/models/get_classic_job_posting_budget200_response_promoted_total.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_contacts_list200_response.py b/unipile/models/get_contacts_list200_response.py
new file mode 100644
index 000000000..d13e790a2
--- /dev/null
+++ b/unipile/models/get_contacts_list200_response.py
@@ -0,0 +1,99 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from unipile.models.get_contacts_list200_response_data_inner import GetContactsList200ResponseDataInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetContactsList200Response(BaseModel):
+ """
+ GetContactsList200Response
+ """ # noqa: E501
+ data: List[GetContactsList200ResponseDataInner]
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
+ next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
+ __properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetContactsList200Response from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in data (list)
+ _items = []
+ if self.data:
+ for _item_data in self.data:
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
+ _dict['data'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetContactsList200Response from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "data": [GetContactsList200ResponseDataInner.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
+ "total_count": obj.get("total_count"),
+ "next_cursor": obj.get("next_cursor")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_contacts_list200_response_data_inner.py b/unipile/models/get_contacts_list200_response_data_inner.py
new file mode 100644
index 000000000..cc7ee195f
--- /dev/null
+++ b/unipile/models/get_contacts_list200_response_data_inner.py
@@ -0,0 +1,157 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_contacts_list200_response_data_inner_addresses_inner import GetContactsList200ResponseDataInnerAddressesInner
+from unipile.models.get_contacts_list200_response_data_inner_groups_inner import GetContactsList200ResponseDataInnerGroupsInner
+from unipile.models.get_contacts_list200_response_data_inner_social_handles import GetContactsList200ResponseDataInnerSocialHandles
+from unipile.models.get_contacts_list200_response_data_inner_user import GetContactsList200ResponseDataInnerUser
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetContactsList200ResponseDataInner(BaseModel):
+ """
+ GetContactsList200ResponseDataInner
+ """ # noqa: E501
+ object: StrictStr = Field(description="Object type identifier, always \"Contact\".")
+ id: StrictStr = Field(description="Unique identifier of the contact.")
+ user: Optional[GetContactsList200ResponseDataInnerUser] = None
+ picture_url: Optional[StrictStr] = Field(default=None, description="URL of the profile picture of the contact.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the contact.")
+ middle_name: Optional[StrictStr] = Field(default=None, description="Middle name of the contact.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the contact.")
+ display_name: Optional[StrictStr] = Field(default=None, description="Display name of the contact. This is used if first/middle/last name cannot be determined.")
+ suffix: Optional[StrictStr] = Field(default=None, description="Name suffix (e.g. Jr., Sr., PhD).")
+ birth_date: Optional[StrictStr] = Field(default=None, description="Birth date of the user.")
+ company_name: Optional[StrictStr] = Field(default=None, description="Name of the company the contact works for.")
+ job_title: Optional[StrictStr] = Field(default=None, description="Job title or position of the contact.")
+ manager_name: Optional[StrictStr] = Field(default=None, description="Name of the contact's manager.")
+ office_location: Optional[StrictStr] = Field(default=None, description="Office location or building of the contact.")
+ notes: Optional[StrictStr] = Field(default=None, description="Free-text notes associated with the contact.")
+ emails: Optional[List[Optional[StrictStr]]] = Field(default=None, description="List of user email addresses.")
+ phone_numbers: Optional[List[Optional[StrictStr]]] = Field(default=None, description="List of user phone numbers.")
+ social_handles: Optional[GetContactsList200ResponseDataInnerSocialHandles] = None
+ addresses: Optional[List[GetContactsList200ResponseDataInnerAddressesInner]] = Field(default=None, description="List of physical addresses associated with the contact.")
+ websites: Optional[List[Optional[StrictStr]]] = Field(default=None, description="List of user websites.")
+ groups: Optional[List[GetContactsList200ResponseDataInnerGroupsInner]] = Field(default=None, description="List of groups the contact belongs to.")
+ __properties: ClassVar[List[str]] = ["object", "id", "user", "picture_url", "first_name", "middle_name", "last_name", "display_name", "suffix", "birth_date", "company_name", "job_title", "manager_name", "office_location", "notes", "emails", "phone_numbers", "social_handles", "addresses", "websites", "groups"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['Contact']):
+ raise ValueError("must be one of enum values ('Contact')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of user
+ if self.user:
+ _dict['user'] = self.user.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of social_handles
+ if self.social_handles:
+ _dict['social_handles'] = self.social_handles.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in addresses (list)
+ _items = []
+ if self.addresses:
+ for _item_addresses in self.addresses:
+ _items.append(_item_addresses.to_dict() if _item_addresses is not None else None)
+ _dict['addresses'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in groups (list)
+ _items = []
+ if self.groups:
+ for _item_groups in self.groups:
+ _items.append(_item_groups.to_dict() if _item_groups is not None else None)
+ _dict['groups'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "user": GetContactsList200ResponseDataInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None,
+ "picture_url": obj.get("picture_url"),
+ "first_name": obj.get("first_name"),
+ "middle_name": obj.get("middle_name"),
+ "last_name": obj.get("last_name"),
+ "display_name": obj.get("display_name"),
+ "suffix": obj.get("suffix"),
+ "birth_date": obj.get("birth_date"),
+ "company_name": obj.get("company_name"),
+ "job_title": obj.get("job_title"),
+ "manager_name": obj.get("manager_name"),
+ "office_location": obj.get("office_location"),
+ "notes": obj.get("notes"),
+ "emails": obj.get("emails"),
+ "phone_numbers": obj.get("phone_numbers"),
+ "social_handles": GetContactsList200ResponseDataInnerSocialHandles.from_dict(obj["social_handles"]) if obj.get("social_handles") is not None else None,
+ "addresses": [GetContactsList200ResponseDataInnerAddressesInner.from_dict(_item) for _item in obj["addresses"]] if obj.get("addresses") is not None else None,
+ "websites": obj.get("websites"),
+ "groups": [GetContactsList200ResponseDataInnerGroupsInner.from_dict(_item) for _item in obj["groups"]] if obj.get("groups") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_contacts_list200_response_data_inner_addresses_inner.py b/unipile/models/get_contacts_list200_response_data_inner_addresses_inner.py
new file mode 100644
index 000000000..f45cf6c08
--- /dev/null
+++ b/unipile/models/get_contacts_list200_response_data_inner_addresses_inner.py
@@ -0,0 +1,98 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetContactsList200ResponseDataInnerAddressesInner(BaseModel):
+ """
+ GetContactsList200ResponseDataInnerAddressesInner
+ """ # noqa: E501
+ city: StrictStr = Field(description="City of the physical address.")
+ country: StrictStr = Field(description="Country of the physical address.")
+ postal_code: StrictStr = Field(description="Postal or ZIP code of the physical address.")
+ state: StrictStr = Field(description="State or province of the physical address.")
+ street_address: StrictStr = Field(description="Street address line.")
+ type: StrictStr = Field(description="Type of address (e.g. personal, business, other).")
+ __properties: ClassVar[List[str]] = ["city", "country", "postal_code", "state", "street_address", "type"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInnerAddressesInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInnerAddressesInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "city": obj.get("city"),
+ "country": obj.get("country"),
+ "postal_code": obj.get("postal_code"),
+ "state": obj.get("state"),
+ "street_address": obj.get("street_address"),
+ "type": obj.get("type")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_contacts_list200_response_data_inner_groups_inner.py b/unipile/models/get_contacts_list200_response_data_inner_groups_inner.py
new file mode 100644
index 000000000..47898e204
--- /dev/null
+++ b/unipile/models/get_contacts_list200_response_data_inner_groups_inner.py
@@ -0,0 +1,88 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetContactsList200ResponseDataInnerGroupsInner(BaseModel):
+ """
+ GetContactsList200ResponseDataInnerGroupsInner
+ """ # noqa: E501
+ id: StrictStr = Field(description="Identifier of a group the contact belongs to.")
+ __properties: ClassVar[List[str]] = ["id"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInnerGroupsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInnerGroupsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_contacts_list200_response_data_inner_social_handles.py b/unipile/models/get_contacts_list200_response_data_inner_social_handles.py
new file mode 100644
index 000000000..048ce0baa
--- /dev/null
+++ b/unipile/models/get_contacts_list200_response_data_inner_social_handles.py
@@ -0,0 +1,187 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_contacts_list200_response_data_inner_social_handles_linkedin import GetContactsList200ResponseDataInnerSocialHandlesLinkedin
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetContactsList200ResponseDataInnerSocialHandles(BaseModel):
+ """
+ List of user social handles.
+ """ # noqa: E501
+ linkedin: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ instagram: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ github: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ facebook: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ x: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ threads: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ tiktok: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ wechat: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ gtalk: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ qq: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ skype: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ icq: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ xmpp: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ sip: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ yahoo: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ aim: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ jabber: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ msn: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ netmeeting: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ googletalk: Optional[GetContactsList200ResponseDataInnerSocialHandlesLinkedin] = None
+ __properties: ClassVar[List[str]] = ["linkedin", "instagram", "github", "facebook", "x", "threads", "tiktok", "wechat", "gtalk", "qq", "skype", "icq", "xmpp", "sip", "yahoo", "aim", "jabber", "msn", "netmeeting", "googletalk"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInnerSocialHandles from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of linkedin
+ if self.linkedin:
+ _dict['linkedin'] = self.linkedin.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of instagram
+ if self.instagram:
+ _dict['instagram'] = self.instagram.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of github
+ if self.github:
+ _dict['github'] = self.github.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of facebook
+ if self.facebook:
+ _dict['facebook'] = self.facebook.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of x
+ if self.x:
+ _dict['x'] = self.x.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of threads
+ if self.threads:
+ _dict['threads'] = self.threads.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of tiktok
+ if self.tiktok:
+ _dict['tiktok'] = self.tiktok.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of wechat
+ if self.wechat:
+ _dict['wechat'] = self.wechat.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of gtalk
+ if self.gtalk:
+ _dict['gtalk'] = self.gtalk.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of qq
+ if self.qq:
+ _dict['qq'] = self.qq.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of skype
+ if self.skype:
+ _dict['skype'] = self.skype.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of icq
+ if self.icq:
+ _dict['icq'] = self.icq.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of xmpp
+ if self.xmpp:
+ _dict['xmpp'] = self.xmpp.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of sip
+ if self.sip:
+ _dict['sip'] = self.sip.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of yahoo
+ if self.yahoo:
+ _dict['yahoo'] = self.yahoo.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of aim
+ if self.aim:
+ _dict['aim'] = self.aim.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of jabber
+ if self.jabber:
+ _dict['jabber'] = self.jabber.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of msn
+ if self.msn:
+ _dict['msn'] = self.msn.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of netmeeting
+ if self.netmeeting:
+ _dict['netmeeting'] = self.netmeeting.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of googletalk
+ if self.googletalk:
+ _dict['googletalk'] = self.googletalk.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInnerSocialHandles from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "linkedin": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["linkedin"]) if obj.get("linkedin") is not None else None,
+ "instagram": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["instagram"]) if obj.get("instagram") is not None else None,
+ "github": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["github"]) if obj.get("github") is not None else None,
+ "facebook": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["facebook"]) if obj.get("facebook") is not None else None,
+ "x": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["x"]) if obj.get("x") is not None else None,
+ "threads": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["threads"]) if obj.get("threads") is not None else None,
+ "tiktok": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["tiktok"]) if obj.get("tiktok") is not None else None,
+ "wechat": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["wechat"]) if obj.get("wechat") is not None else None,
+ "gtalk": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["gtalk"]) if obj.get("gtalk") is not None else None,
+ "qq": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["qq"]) if obj.get("qq") is not None else None,
+ "skype": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["skype"]) if obj.get("skype") is not None else None,
+ "icq": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["icq"]) if obj.get("icq") is not None else None,
+ "xmpp": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["xmpp"]) if obj.get("xmpp") is not None else None,
+ "sip": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["sip"]) if obj.get("sip") is not None else None,
+ "yahoo": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["yahoo"]) if obj.get("yahoo") is not None else None,
+ "aim": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["aim"]) if obj.get("aim") is not None else None,
+ "jabber": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["jabber"]) if obj.get("jabber") is not None else None,
+ "msn": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["msn"]) if obj.get("msn") is not None else None,
+ "netmeeting": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["netmeeting"]) if obj.get("netmeeting") is not None else None,
+ "googletalk": GetContactsList200ResponseDataInnerSocialHandlesLinkedin.from_dict(obj["googletalk"]) if obj.get("googletalk") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_contacts_list200_response_data_inner_social_handles_linkedin.py b/unipile/models/get_contacts_list200_response_data_inner_social_handles_linkedin.py
new file mode 100644
index 000000000..d7ecafce1
--- /dev/null
+++ b/unipile/models/get_contacts_list200_response_data_inner_social_handles_linkedin.py
@@ -0,0 +1,90 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetContactsList200ResponseDataInnerSocialHandlesLinkedin(BaseModel):
+ """
+ GetContactsList200ResponseDataInnerSocialHandlesLinkedin
+ """ # noqa: E501
+ url: Optional[StrictStr] = Field(default=None, description="The url of the user profile")
+ name: Optional[StrictStr] = Field(default=None, description="The name of the user on the social media")
+ __properties: ClassVar[List[str]] = ["url", "name"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInnerSocialHandlesLinkedin from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInnerSocialHandlesLinkedin from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "url": obj.get("url"),
+ "name": obj.get("name")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_contacts_list200_response_data_inner_user.py b/unipile/models/get_contacts_list200_response_data_inner_user.py
new file mode 100644
index 000000000..96f84bf4a
--- /dev/null
+++ b/unipile/models/get_contacts_list200_response_data_inner_user.py
@@ -0,0 +1,129 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetContactsList200ResponseDataInnerUser(BaseModel):
+ """
+ For Messaging/Social Providers, the underlying provider user represented by this contact.
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[Any] = Field(default=None, description="Provider-specific user data.")
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInnerUser from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetContactsList200ResponseDataInnerUser from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_drafts_list200_response.py b/unipile/models/get_drafts_list200_response.py
index 479635da3..f5f47ed37 100644
--- a/unipile/models/get_drafts_list200_response.py
+++ b/unipile/models/get_drafts_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetDraftsList200Response(BaseModel):
GetDraftsList200Response
""" # noqa: E501
data: List[GetDraftsList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_drafts_list200_response_data_inner.py b/unipile/models/get_drafts_list200_response_data_inner.py
index 49a08efd0..691391eaf 100644
--- a/unipile/models/get_drafts_list200_response_data_inner.py
+++ b/unipile/models/get_drafts_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,8 +19,8 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
from unipile.models.get_emails_list200_response_data_inner_from_inner import GetEmailsList200ResponseDataInnerFromInner
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -40,7 +40,7 @@ class GetDraftsList200ResponseDataInner(BaseModel):
cc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="The list of attendees that the email should be CC'd to.")
bcc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="The list of attendees that the email should be BCC'd to.")
reply_to: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="The list of attendees that the replies should be sent to.")
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="The attachments of the draft.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="The attachments of the draft.")
folders: List[Optional[StrictStr]] = Field(description="The folder the draft is in. For Gmail, the labels assigned to the draft.")
categories: Optional[List[StrictStr]] = Field(default=None, description="List of categories assigned to the draft.")
__properties: ClassVar[List[str]] = ["object", "id", "thread_id", "body", "snippet", "subject", "from", "to", "cc", "bcc", "reply_to", "attachments", "folders", "categories"]
@@ -95,43 +95,37 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.var_from:
for _item_var_from in self.var_from:
- if _item_var_from:
- _items.append(_item_var_from.to_dict())
+ _items.append(_item_var_from.to_dict() if _item_var_from is not None else None)
_dict['from'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in to (list)
_items = []
if self.to:
for _item_to in self.to:
- if _item_to:
- _items.append(_item_to.to_dict())
+ _items.append(_item_to.to_dict() if _item_to is not None else None)
_dict['to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in cc (list)
_items = []
if self.cc:
for _item_cc in self.cc:
- if _item_cc:
- _items.append(_item_cc.to_dict())
+ _items.append(_item_cc.to_dict() if _item_cc is not None else None)
_dict['cc'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in bcc (list)
_items = []
if self.bcc:
for _item_bcc in self.bcc:
- if _item_bcc:
- _items.append(_item_bcc.to_dict())
+ _items.append(_item_bcc.to_dict() if _item_bcc is not None else None)
_dict['bcc'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in reply_to (list)
_items = []
if self.reply_to:
for _item_reply_to in self.reply_to:
- if _item_reply_to:
- _items.append(_item_reply_to.to_dict())
+ _items.append(_item_reply_to.to_dict() if _item_reply_to is not None else None)
_dict['reply_to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
return _dict
@@ -156,7 +150,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"cc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["cc"]] if obj.get("cc") is not None else None,
"bcc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["bcc"]] if obj.get("bcc") is not None else None,
"reply_to": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["reply_to"]] if obj.get("reply_to") is not None else None,
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"folders": obj.get("folders"),
"categories": obj.get("categories")
})
diff --git a/unipile/models/get_email_senders200_response.py b/unipile/models/get_email_senders200_response.py
new file mode 100644
index 000000000..caf1a1530
--- /dev/null
+++ b/unipile/models/get_email_senders200_response.py
@@ -0,0 +1,99 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from unipile.models.get_email_senders200_response_data_inner import GetEmailSenders200ResponseDataInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetEmailSenders200Response(BaseModel):
+ """
+ GetEmailSenders200Response
+ """ # noqa: E501
+ data: List[GetEmailSenders200ResponseDataInner]
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
+ next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
+ __properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetEmailSenders200Response from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in data (list)
+ _items = []
+ if self.data:
+ for _item_data in self.data:
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
+ _dict['data'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetEmailSenders200Response from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "data": [GetEmailSenders200ResponseDataInner.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
+ "total_count": obj.get("total_count"),
+ "next_cursor": obj.get("next_cursor")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_email_senders200_response_data_inner.py b/unipile/models/get_email_senders200_response_data_inner.py
new file mode 100644
index 000000000..1628098a5
--- /dev/null
+++ b/unipile/models/get_email_senders200_response_data_inner.py
@@ -0,0 +1,114 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetEmailSenders200ResponseDataInner(BaseModel):
+ """
+ GetEmailSenders200ResponseDataInner
+ """ # noqa: E501
+ object: StrictStr = Field(description="Object type identifier, always \"EmailSender\".")
+ email: StrictStr = Field(description="Email address that can be placed in the `from` header when sending emails.")
+ display_name: Optional[StrictStr] = Field(default=None, description="Display name associated with the address, when the provider exposes one.")
+ is_primary: StrictBool = Field(description="Whether this is the primary address of the mailbox (the address used to authenticate the account).")
+ is_default: Optional[StrictBool] = Field(default=None, description="Whether this is the default \"From:\" address used when composing a new message. Only exposed by providers that have a distinct default sender (Gmail).")
+ verification_status: StrictStr = Field(description="Readiness of the address for sending. `verified`: the address is confirmed and can be used in the `from` field. `pending`: the email sender exists but has not completed verification and is not ready to send (Gmail custom addresses). `unknown`: the provider does not expose per-address readiness (e.g. Outlook proxy addresses, whose usability depends on the tenant `SendFromAliasEnabled` setting).")
+ signature: Optional[StrictStr] = Field(default=None, description="HTML signature configured for this address, when the provider exposes one (Gmail). It is not appended automatically when sending: include it yourself at the end of the `body`/`html` of the email. Absent when the address has no signature, and not supported by Outlook.")
+ __properties: ClassVar[List[str]] = ["object", "email", "display_name", "is_primary", "is_default", "verification_status", "signature"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['EmailSender']):
+ raise ValueError("must be one of enum values ('EmailSender')")
+ return value
+
+ @field_validator('verification_status')
+ def verification_status_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['verified', 'pending', 'unknown']):
+ raise ValueError("must be one of enum values ('verified', 'pending', 'unknown')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetEmailSenders200ResponseDataInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetEmailSenders200ResponseDataInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "email": obj.get("email"),
+ "display_name": obj.get("display_name"),
+ "is_primary": obj.get("is_primary"),
+ "is_default": obj.get("is_default"),
+ "verification_status": obj.get("verification_status"),
+ "signature": obj.get("signature")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_emails_list200_response.py b/unipile/models/get_emails_list200_response.py
index c86ac3463..114dfce22 100644
--- a/unipile/models/get_emails_list200_response.py
+++ b/unipile/models/get_emails_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetEmailsList200Response(BaseModel):
GetEmailsList200Response
""" # noqa: E501
data: List[GetEmailsList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_emails_list200_response_data_inner.py b/unipile/models/get_emails_list200_response_data_inner.py
index 319eda5d3..959a53b04 100644
--- a/unipile/models/get_emails_list200_response_data_inner.py
+++ b/unipile/models/get_emails_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,9 +19,9 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
from unipile.models.get_emails_list200_response_data_inner_from_inner import GetEmailsList200ResponseDataInnerFromInner
from unipile.models.get_emails_list200_response_data_inner_headers_inner import GetEmailsList200ResponseDataInnerHeadersInner
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -44,7 +44,7 @@ class GetEmailsList200ResponseDataInner(BaseModel):
bcc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="The list of attendees that the email was BCC'd to.")
reply_to: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="The list of attendees that the replies should be sent to.")
var_date: StrictStr = Field(description="The date the email was sent. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).", alias="date")
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="The attachments of the email.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="The attachments of the email.")
folders: List[Optional[StrictStr]] = Field(description="The IDs of folders the email is in. For Gmail, the IDs of labels assigned to the email.")
categories: Optional[List[StrictStr]] = Field(default=None, description="List of categories assigned to the email.")
is_unread: StrictBool = Field(description="Is the email unread.")
@@ -100,50 +100,43 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.headers:
for _item_headers in self.headers:
- if _item_headers:
- _items.append(_item_headers.to_dict())
+ _items.append(_item_headers.to_dict() if _item_headers is not None else None)
_dict['headers'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in var_from (list)
_items = []
if self.var_from:
for _item_var_from in self.var_from:
- if _item_var_from:
- _items.append(_item_var_from.to_dict())
+ _items.append(_item_var_from.to_dict() if _item_var_from is not None else None)
_dict['from'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in to (list)
_items = []
if self.to:
for _item_to in self.to:
- if _item_to:
- _items.append(_item_to.to_dict())
+ _items.append(_item_to.to_dict() if _item_to is not None else None)
_dict['to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in cc (list)
_items = []
if self.cc:
for _item_cc in self.cc:
- if _item_cc:
- _items.append(_item_cc.to_dict())
+ _items.append(_item_cc.to_dict() if _item_cc is not None else None)
_dict['cc'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in bcc (list)
_items = []
if self.bcc:
for _item_bcc in self.bcc:
- if _item_bcc:
- _items.append(_item_bcc.to_dict())
+ _items.append(_item_bcc.to_dict() if _item_bcc is not None else None)
_dict['bcc'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in reply_to (list)
_items = []
if self.reply_to:
for _item_reply_to in self.reply_to:
- if _item_reply_to:
- _items.append(_item_reply_to.to_dict())
+ _items.append(_item_reply_to.to_dict() if _item_reply_to is not None else None)
_dict['reply_to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
return _dict
@@ -171,7 +164,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"bcc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["bcc"]] if obj.get("bcc") is not None else None,
"reply_to": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["reply_to"]] if obj.get("reply_to") is not None else None,
"date": obj.get("date"),
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"folders": obj.get("folders"),
"categories": obj.get("categories"),
"is_unread": obj.get("is_unread")
diff --git a/unipile/models/get_emails_list200_response_data_inner_from_inner.py b/unipile/models/get_emails_list200_response_data_inner_from_inner.py
index 6db553918..23185b797 100644
--- a/unipile/models/get_emails_list200_response_data_inner_from_inner.py
+++ b/unipile/models/get_emails_list200_response_data_inner_from_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_emails_list200_response_data_inner_headers_inner.py b/unipile/models/get_emails_list200_response_data_inner_headers_inner.py
index a3c815601..8a063b884 100644
--- a/unipile/models/get_emails_list200_response_data_inner_headers_inner.py
+++ b/unipile/models/get_emails_list200_response_data_inner_headers_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_folders_list200_response.py b/unipile/models/get_folders_list200_response.py
index ee21ed1ae..f4b8a816f 100644
--- a/unipile/models/get_folders_list200_response.py
+++ b/unipile/models/get_folders_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetFoldersList200Response(BaseModel):
GetFoldersList200Response
""" # noqa: E501
data: List[GetFoldersList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_folders_list200_response_data_inner.py b/unipile/models/get_folders_list200_response_data_inner.py
index b9a9301b7..da8c8ee33 100644
--- a/unipile/models/get_folders_list200_response_data_inner.py
+++ b/unipile/models/get_folders_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_inboxes_list200_response.py b/unipile/models/get_inboxes_list200_response.py
index 22e4a3bef..45fdca59c 100644
--- a/unipile/models/get_inboxes_list200_response.py
+++ b/unipile/models/get_inboxes_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetInboxesList200Response(BaseModel):
GetInboxesList200Response
""" # noqa: E501
data: List[GetInboxesList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_inboxes_list200_response_data_inner.py b/unipile/models/get_inboxes_list200_response_data_inner.py
index 2dcfc1edc..a9747add4 100644
--- a/unipile/models/get_inboxes_list200_response_data_inner.py
+++ b/unipile/models/get_inboxes_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_inmail_credits200_response.py b/unipile/models/get_inmail_credits200_response.py
index 096ab57f0..b5dba2137 100644
--- a/unipile/models/get_inmail_credits200_response.py
+++ b/unipile/models/get_inmail_credits200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_inmail_credits200_response_credits.py b/unipile/models/get_inmail_credits200_response_credits.py
index 921145207..e5e531ef6 100644
--- a/unipile/models/get_inmail_credits200_response_credits.py
+++ b/unipile/models/get_inmail_credits200_response_credits.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_managed_company_pages200_response.py b/unipile/models/get_managed_company_pages200_response.py
new file mode 100644
index 000000000..be0b51ee6
--- /dev/null
+++ b/unipile/models/get_managed_company_pages200_response.py
@@ -0,0 +1,99 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from unipile.models.get_managed_company_pages200_response_data_inner import GetManagedCompanyPages200ResponseDataInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetManagedCompanyPages200Response(BaseModel):
+ """
+ GetManagedCompanyPages200Response
+ """ # noqa: E501
+ data: List[GetManagedCompanyPages200ResponseDataInner]
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
+ next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
+ __properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetManagedCompanyPages200Response from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in data (list)
+ _items = []
+ if self.data:
+ for _item_data in self.data:
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
+ _dict['data'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetManagedCompanyPages200Response from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "data": [GetManagedCompanyPages200ResponseDataInner.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
+ "total_count": obj.get("total_count"),
+ "next_cursor": obj.get("next_cursor")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_managed_company_pages200_response_data_inner.py b/unipile/models/get_managed_company_pages200_response_data_inner.py
new file mode 100644
index 000000000..dad4ecd1f
--- /dev/null
+++ b/unipile/models/get_managed_company_pages200_response_data_inner.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetManagedCompanyPages200ResponseDataInner(BaseModel):
+ """
+ GetManagedCompanyPages200ResponseDataInner
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The ID of the company.")
+ mailbox_id: StrictStr = Field(description="The messaging ID of the company.")
+ name: StrictStr = Field(description="The name of the company.")
+ messaging_enabled: Optional[StrictBool] = Field(default=None, description="Whether messaging features are enabled for this company.")
+ __properties: ClassVar[List[str]] = ["object", "id", "mailbox_id", "name", "messaging_enabled"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['CompanyPage']):
+ raise ValueError("must be one of enum values ('CompanyPage')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetManagedCompanyPages200ResponseDataInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetManagedCompanyPages200ResponseDataInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "mailbox_id": obj.get("mailbox_id"),
+ "name": obj.get("name"),
+ "messaging_enabled": obj.get("messaging_enabled")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_message200_response.py b/unipile/models/get_message200_response.py
index 05221e713..9280bd8b5 100644
--- a/unipile/models/get_message200_response.py
+++ b/unipile/models/get_message200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,11 +19,12 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.get_messages_list200_response_data_inner_event_metadata import GetMessagesList200ResponseDataInnerEventMetadata
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_event_metadata import GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
from unipile.models.get_messages_list200_response_data_inner_forwarded import GetMessagesList200ResponseDataInnerForwarded
from unipile.models.get_messages_list200_response_data_inner_quoted import GetMessagesList200ResponseDataInnerQuoted
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
-from unipile.models.get_messages_list200_response_data_inner_reactions_counter_inner import GetMessagesList200ResponseDataInnerReactionsCounterInner
from unipile.models.get_messages_list200_response_data_inner_sender import GetMessagesList200ResponseDataInnerSender
from unipile.models.get_messages_list200_response_data_inner_specifics import GetMessagesList200ResponseDataInnerSpecifics
from typing import Optional, Set
@@ -50,15 +51,16 @@ class GetMessage200Response(BaseModel):
is_event: StrictBool = Field(description="Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions.")
is_mentionned: StrictBool = Field(description="Is the message mentionning the current user. Usually to notify.")
event_type: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement ")
- event_metadata: Optional[GetMessagesList200ResponseDataInnerEventMetadata] = None
- reactions_counter: List[GetMessagesList200ResponseDataInnerReactionsCounterInner] = Field(description="A list of reactions to the element.")
- sender: Optional[GetMessagesList200ResponseDataInnerSender] = None
+ event_metadata: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata] = None
+ reactions_counter: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner] = Field(description="A list of reactions to the element.")
provider: StrictStr = Field(description="The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP.")
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="List of message attachments.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of message attachments.")
+ hyperlinks: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner] = Field(description="List of message hyperlinks.")
+ specifics: Optional[GetMessagesList200ResponseDataInnerSpecifics] = None
+ sender: Optional[GetMessagesList200ResponseDataInnerSender] = None
quoted: Optional[GetMessagesList200ResponseDataInnerQuoted] = None
forwarded: Optional[GetMessagesList200ResponseDataInnerForwarded] = None
- specifics: Optional[GetMessagesList200ResponseDataInnerSpecifics] = None
- __properties: ClassVar[List[str]] = ["object", "id", "text", "sender_id", "chat_id", "timestamp", "is_sender", "is_hidden", "is_seen", "is_delivered", "is_deleted", "is_edited", "is_pinned", "is_event", "is_mentionned", "event_type", "event_metadata", "reactions_counter", "sender", "provider", "attachments", "quoted", "forwarded", "specifics"]
+ __properties: ClassVar[List[str]] = ["object", "id", "text", "sender_id", "chat_id", "timestamp", "is_sender", "is_hidden", "is_seen", "is_delivered", "is_deleted", "is_edited", "is_pinned", "is_event", "is_mentionned", "event_type", "event_metadata", "reactions_counter", "provider", "attachments", "hyperlinks", "specifics", "sender", "quoted", "forwarded"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -130,28 +132,32 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.reactions_counter:
for _item_reactions_counter in self.reactions_counter:
- if _item_reactions_counter:
- _items.append(_item_reactions_counter.to_dict())
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
_dict['reactions_counter'] = _items
- # override the default output from pydantic by calling `to_dict()` of sender
- if self.sender:
- _dict['sender'] = self.sender.to_dict()
# override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in hyperlinks (list)
+ _items = []
+ if self.hyperlinks:
+ for _item_hyperlinks in self.hyperlinks:
+ _items.append(_item_hyperlinks.to_dict() if _item_hyperlinks is not None else None)
+ _dict['hyperlinks'] = _items
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of sender
+ if self.sender:
+ _dict['sender'] = self.sender.to_dict()
# override the default output from pydantic by calling `to_dict()` of quoted
if self.quoted:
_dict['quoted'] = self.quoted.to_dict()
# override the default output from pydantic by calling `to_dict()` of forwarded
if self.forwarded:
_dict['forwarded'] = self.forwarded.to_dict()
- # override the default output from pydantic by calling `to_dict()` of specifics
- if self.specifics:
- _dict['specifics'] = self.specifics.to_dict()
return _dict
@classmethod
@@ -180,14 +186,15 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"is_event": obj.get("is_event"),
"is_mentionned": obj.get("is_mentionned"),
"event_type": obj.get("event_type"),
- "event_metadata": GetMessagesList200ResponseDataInnerEventMetadata.from_dict(obj["event_metadata"]) if obj.get("event_metadata") is not None else None,
- "reactions_counter": [GetMessagesList200ResponseDataInnerReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
- "sender": GetMessagesList200ResponseDataInnerSender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
+ "event_metadata": GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.from_dict(obj["event_metadata"]) if obj.get("event_metadata") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
"provider": obj.get("provider"),
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "hyperlinks": [GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.from_dict(_item) for _item in obj["hyperlinks"]] if obj.get("hyperlinks") is not None else None,
+ "specifics": GetMessagesList200ResponseDataInnerSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None,
+ "sender": GetMessagesList200ResponseDataInnerSender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
"quoted": GetMessagesList200ResponseDataInnerQuoted.from_dict(obj["quoted"]) if obj.get("quoted") is not None else None,
- "forwarded": GetMessagesList200ResponseDataInnerForwarded.from_dict(obj["forwarded"]) if obj.get("forwarded") is not None else None,
- "specifics": GetMessagesList200ResponseDataInnerSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
+ "forwarded": GetMessagesList200ResponseDataInnerForwarded.from_dict(obj["forwarded"]) if obj.get("forwarded") is not None else None
})
return _obj
diff --git a/unipile/models/get_message_reactions_list200_response.py b/unipile/models/get_message_reactions_list200_response.py
index 458305f4a..7c0fa22b4 100644
--- a/unipile/models/get_message_reactions_list200_response.py
+++ b/unipile/models/get_message_reactions_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetMessageReactionsList200Response(BaseModel):
GetMessageReactionsList200Response
""" # noqa: E501
data: List[GetMessageReactionsList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_message_reactions_list200_response_data_inner.py b/unipile/models/get_message_reactions_list200_response_data_inner.py
index 0cd3976e5..f7f2ff623 100644
--- a/unipile/models/get_message_reactions_list200_response_data_inner.py
+++ b/unipile/models/get_message_reactions_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List
-from unipile.models.get_message_reactions_list200_response_data_inner_sender import GetMessageReactionsList200ResponseDataInnerSender
+from unipile.models.get_chats_list200_response_data_inner_participants_inner_user import GetChatsList200ResponseDataInnerParticipantsInnerUser
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -30,9 +30,9 @@ class GetMessageReactionsList200ResponseDataInner(BaseModel):
""" # noqa: E501
object: StrictStr
value: StrictStr = Field(description="Value of the reaction. Usually an emoji unicode.")
- sender: GetMessageReactionsList200ResponseDataInnerSender
is_sender: StrictBool = Field(description="Is the current user the sender of the reaction.")
- __properties: ClassVar[List[str]] = ["object", "value", "sender", "is_sender"]
+ sender: GetChatsList200ResponseDataInnerParticipantsInnerUser
+ __properties: ClassVar[List[str]] = ["object", "value", "is_sender", "sender"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -97,8 +97,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"object": obj.get("object"),
"value": obj.get("value"),
- "sender": GetMessageReactionsList200ResponseDataInnerSender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
- "is_sender": obj.get("is_sender")
+ "is_sender": obj.get("is_sender"),
+ "sender": GetChatsList200ResponseDataInnerParticipantsInnerUser.from_dict(obj["sender"]) if obj.get("sender") is not None else None
})
return _obj
diff --git a/unipile/models/get_messages_list200_response.py b/unipile/models/get_messages_list200_response.py
index 616b550bc..0eaf9f22f 100644
--- a/unipile/models/get_messages_list200_response.py
+++ b/unipile/models/get_messages_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetMessagesList200Response(BaseModel):
GetMessagesList200Response
""" # noqa: E501
data: List[GetMessagesList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_messages_list200_response_data_inner.py b/unipile/models/get_messages_list200_response_data_inner.py
index 68bb3015b..1e3b228a5 100644
--- a/unipile/models/get_messages_list200_response_data_inner.py
+++ b/unipile/models/get_messages_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,11 +19,12 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.get_messages_list200_response_data_inner_attachments_inner import GetMessagesList200ResponseDataInnerAttachmentsInner
-from unipile.models.get_messages_list200_response_data_inner_event_metadata import GetMessagesList200ResponseDataInnerEventMetadata
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_event_metadata import GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
from unipile.models.get_messages_list200_response_data_inner_forwarded import GetMessagesList200ResponseDataInnerForwarded
from unipile.models.get_messages_list200_response_data_inner_quoted import GetMessagesList200ResponseDataInnerQuoted
-from unipile.models.get_messages_list200_response_data_inner_reactions_counter_inner import GetMessagesList200ResponseDataInnerReactionsCounterInner
from unipile.models.get_messages_list200_response_data_inner_sender import GetMessagesList200ResponseDataInnerSender
from unipile.models.get_messages_list200_response_data_inner_specifics import GetMessagesList200ResponseDataInnerSpecifics
from typing import Optional, Set
@@ -50,15 +51,16 @@ class GetMessagesList200ResponseDataInner(BaseModel):
is_event: StrictBool = Field(description="Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions.")
is_mentionned: StrictBool = Field(description="Is the message mentionning the current user. Usually to notify.")
event_type: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement ")
- event_metadata: Optional[GetMessagesList200ResponseDataInnerEventMetadata] = None
- reactions_counter: List[GetMessagesList200ResponseDataInnerReactionsCounterInner] = Field(description="A list of reactions to the element.")
- sender: Optional[GetMessagesList200ResponseDataInnerSender] = None
+ event_metadata: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata] = None
+ reactions_counter: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner] = Field(description="A list of reactions to the element.")
provider: StrictStr = Field(description="The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP.")
- attachments: List[GetMessagesList200ResponseDataInnerAttachmentsInner] = Field(description="List of message attachments.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of message attachments.")
+ hyperlinks: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner] = Field(description="List of message hyperlinks.")
+ specifics: Optional[GetMessagesList200ResponseDataInnerSpecifics] = None
+ sender: Optional[GetMessagesList200ResponseDataInnerSender] = None
quoted: Optional[GetMessagesList200ResponseDataInnerQuoted] = None
forwarded: Optional[GetMessagesList200ResponseDataInnerForwarded] = None
- specifics: Optional[GetMessagesList200ResponseDataInnerSpecifics] = None
- __properties: ClassVar[List[str]] = ["object", "id", "text", "sender_id", "chat_id", "timestamp", "is_sender", "is_hidden", "is_seen", "is_delivered", "is_deleted", "is_edited", "is_pinned", "is_event", "is_mentionned", "event_type", "event_metadata", "reactions_counter", "sender", "provider", "attachments", "quoted", "forwarded", "specifics"]
+ __properties: ClassVar[List[str]] = ["object", "id", "text", "sender_id", "chat_id", "timestamp", "is_sender", "is_hidden", "is_seen", "is_delivered", "is_deleted", "is_edited", "is_pinned", "is_event", "is_mentionned", "event_type", "event_metadata", "reactions_counter", "provider", "attachments", "hyperlinks", "specifics", "sender", "quoted", "forwarded"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -130,28 +132,32 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.reactions_counter:
for _item_reactions_counter in self.reactions_counter:
- if _item_reactions_counter:
- _items.append(_item_reactions_counter.to_dict())
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
_dict['reactions_counter'] = _items
- # override the default output from pydantic by calling `to_dict()` of sender
- if self.sender:
- _dict['sender'] = self.sender.to_dict()
# override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in hyperlinks (list)
+ _items = []
+ if self.hyperlinks:
+ for _item_hyperlinks in self.hyperlinks:
+ _items.append(_item_hyperlinks.to_dict() if _item_hyperlinks is not None else None)
+ _dict['hyperlinks'] = _items
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of sender
+ if self.sender:
+ _dict['sender'] = self.sender.to_dict()
# override the default output from pydantic by calling `to_dict()` of quoted
if self.quoted:
_dict['quoted'] = self.quoted.to_dict()
# override the default output from pydantic by calling `to_dict()` of forwarded
if self.forwarded:
_dict['forwarded'] = self.forwarded.to_dict()
- # override the default output from pydantic by calling `to_dict()` of specifics
- if self.specifics:
- _dict['specifics'] = self.specifics.to_dict()
return _dict
@classmethod
@@ -180,14 +186,15 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"is_event": obj.get("is_event"),
"is_mentionned": obj.get("is_mentionned"),
"event_type": obj.get("event_type"),
- "event_metadata": GetMessagesList200ResponseDataInnerEventMetadata.from_dict(obj["event_metadata"]) if obj.get("event_metadata") is not None else None,
- "reactions_counter": [GetMessagesList200ResponseDataInnerReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
- "sender": GetMessagesList200ResponseDataInnerSender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
+ "event_metadata": GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.from_dict(obj["event_metadata"]) if obj.get("event_metadata") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
"provider": obj.get("provider"),
- "attachments": [GetMessagesList200ResponseDataInnerAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "hyperlinks": [GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.from_dict(_item) for _item in obj["hyperlinks"]] if obj.get("hyperlinks") is not None else None,
+ "specifics": GetMessagesList200ResponseDataInnerSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None,
+ "sender": GetMessagesList200ResponseDataInnerSender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
"quoted": GetMessagesList200ResponseDataInnerQuoted.from_dict(obj["quoted"]) if obj.get("quoted") is not None else None,
- "forwarded": GetMessagesList200ResponseDataInnerForwarded.from_dict(obj["forwarded"]) if obj.get("forwarded") is not None else None,
- "specifics": GetMessagesList200ResponseDataInnerSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
+ "forwarded": GetMessagesList200ResponseDataInnerForwarded.from_dict(obj["forwarded"]) if obj.get("forwarded") is not None else None
})
return _obj
diff --git a/unipile/models/get_messages_list200_response_data_inner_forwarded.py b/unipile/models/get_messages_list200_response_data_inner_forwarded.py
index 5996750a3..aff38c39f 100644
--- a/unipile/models/get_messages_list200_response_data_inner_forwarded.py
+++ b/unipile/models/get_messages_list200_response_data_inner_forwarded.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
from unipile.models.get_messages_list200_response_data_inner_sender import GetMessagesList200ResponseDataInnerSender
from typing import Optional, Set
from typing_extensions import Self
@@ -30,10 +30,10 @@ class GetMessagesList200ResponseDataInnerForwarded(BaseModel):
Contains the original message if this message was forwarded from another chat, depending on provider support. Some providers preserve the original sender and content, treating it as if it were sent by the account owner. Others wrap the forwarded message within a new message (similar to a quote or attachment), in which case the original message appears here.
""" # noqa: E501
text: Optional[StrictStr] = Field(default=None, description="The text content of the message.")
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="List of message attachments.")
- sender: Optional[GetMessagesList200ResponseDataInnerSender] = None
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of message attachments.")
object: StrictStr
- __properties: ClassVar[List[str]] = ["text", "attachments", "sender", "object"]
+ sender: Optional[GetMessagesList200ResponseDataInnerSender] = None
+ __properties: ClassVar[List[str]] = ["text", "attachments", "object", "sender"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -85,8 +85,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of sender
if self.sender:
@@ -104,9 +103,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"text": obj.get("text"),
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
- "sender": GetMessagesList200ResponseDataInnerSender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
- "object": obj.get("object")
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "object": obj.get("object"),
+ "sender": GetMessagesList200ResponseDataInnerSender.from_dict(obj["sender"]) if obj.get("sender") is not None else None
})
return _obj
diff --git a/unipile/models/get_messages_list200_response_data_inner_quoted.py b/unipile/models/get_messages_list200_response_data_inner_quoted.py
index 123fc329a..0f76a6a54 100644
--- a/unipile/models/get_messages_list200_response_data_inner_quoted.py
+++ b/unipile/models/get_messages_list200_response_data_inner_quoted.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
from unipile.models.get_messages_list200_response_data_inner_sender import GetMessagesList200ResponseDataInnerSender
from typing import Optional, Set
from typing_extensions import Self
@@ -32,7 +32,7 @@ class GetMessagesList200ResponseDataInnerQuoted(BaseModel):
object: StrictStr
id: StrictStr = Field(description="The unique identifier of the message for the provider.")
text: Optional[StrictStr] = Field(default=None, description="The text content of the message.")
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="List of message attachments.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of message attachments.")
sender: Optional[GetMessagesList200ResponseDataInnerSender] = None
__properties: ClassVar[List[str]] = ["object", "id", "text", "attachments", "sender"]
@@ -86,8 +86,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of sender
if self.sender:
@@ -107,7 +106,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"object": obj.get("object"),
"id": obj.get("id"),
"text": obj.get("text"),
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"sender": GetMessagesList200ResponseDataInnerSender.from_dict(obj["sender"]) if obj.get("sender") is not None else None
})
return _obj
diff --git a/unipile/models/get_messages_list200_response_data_inner_sender.py b/unipile/models/get_messages_list200_response_data_inner_sender.py
index bf9875d36..54bb6fe46 100644
--- a/unipile/models/get_messages_list200_response_data_inner_sender.py
+++ b/unipile/models/get_messages_list200_response_data_inner_sender.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -31,12 +32,15 @@ class GetMessagesList200ResponseDataInnerSender(BaseModel):
object: StrictStr
type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
- display_name: StrictStr = Field(description="Display name of the user.")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
- __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "profile_url", "public_picture_url", "private_picture_download_url", "description"]
+ specifics: Optional[GetChatsList200ResponseDataInnerUserSpecifics] = None
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -91,6 +95,9 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
return _dict
@classmethod
@@ -108,10 +115,13 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"type": obj.get("type"),
"public_identifier": obj.get("public_identifier"),
"display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
"profile_url": obj.get("profile_url"),
"public_picture_url": obj.get("public_picture_url"),
"private_picture_download_url": obj.get("private_picture_download_url"),
- "description": obj.get("description")
+ "description": obj.get("description"),
+ "specifics": GetChatsList200ResponseDataInnerUserSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
})
return _obj
diff --git a/unipile/models/get_messages_list200_response_data_inner_specifics.py b/unipile/models/get_messages_list200_response_data_inner_specifics.py
index df978df63..cc09519c0 100644
--- a/unipile/models/get_messages_list200_response_data_inner_specifics.py
+++ b/unipile/models/get_messages_list200_response_data_inner_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_participants_list200_response.py b/unipile/models/get_participants_list200_response.py
index 607ce97b2..6598d3dea 100644
--- a/unipile/models/get_participants_list200_response.py
+++ b/unipile/models/get_participants_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetParticipantsList200Response(BaseModel):
GetParticipantsList200Response
""" # noqa: E501
data: List[GetChatsList200ResponseDataInnerParticipantsInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_post200_response.py b/unipile/models/get_post200_response.py
index 9fc24d19e..cffcd4387 100644
--- a/unipile/models/get_post200_response.py
+++ b/unipile/models/get_post200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,16 +19,17 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
-from unipile.models.get_messages_list200_response_data_inner_reactions_counter_inner import GetMessagesList200ResponseDataInnerReactionsCounterInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+from unipile.models.get_post200_response_quoted_post import GetPost200ResponseQuotedPost
from unipile.models.get_posts_list200_response_data_inner_analytics import GetPostsList200ResponseDataInnerAnalytics
from unipile.models.get_posts_list200_response_data_inner_author import GetPostsList200ResponseDataInnerAuthor
from unipile.models.get_posts_list200_response_data_inner_event import GetPostsList200ResponseDataInnerEvent
from unipile.models.get_posts_list200_response_data_inner_permissions import GetPostsList200ResponseDataInnerPermissions
from unipile.models.get_posts_list200_response_data_inner_poll import GetPostsList200ResponseDataInnerPoll
-from unipile.models.get_posts_list200_response_data_inner_quoted_post import GetPostsList200ResponseDataInnerQuotedPost
from unipile.models.get_posts_list200_response_data_inner_quoted_post_user_reacted import GetPostsList200ResponseDataInnerQuotedPostUserReacted
from unipile.models.get_posts_list200_response_data_inner_reposted_by import GetPostsList200ResponseDataInnerRepostedBy
+from unipile.models.get_posts_list200_response_data_inner_specifics import GetPostsList200ResponseDataInnerSpecifics
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -43,20 +44,21 @@ class GetPost200Response(BaseModel):
created_at: StrictStr = Field(description="The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
title: Optional[StrictStr] = Field(default=None, description="The title of the post.")
text: StrictStr = Field(description="The text content of the post.")
- author: GetPostsList200ResponseDataInnerAuthor
user_reacted: GetPostsList200ResponseDataInnerQuotedPostUserReacted
permissions: GetPostsList200ResponseDataInnerPermissions
- reactions_counter: Optional[List[GetMessagesList200ResponseDataInnerReactionsCounterInner]] = Field(description="A list of reactions to the element.")
+ reactions_counter: Optional[List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]] = Field(description="A list of reactions to the element.")
comments_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
reposts_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of reposts of the post. `null` if counter is hidden.")
poll: Optional[GetPostsList200ResponseDataInnerPoll] = None
event: Optional[GetPostsList200ResponseDataInnerEvent] = None
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="List of post attachments.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of post attachments.")
analytics: Optional[GetPostsList200ResponseDataInnerAnalytics] = None
is_repost: StrictBool = Field(description="`true` if this post is reposted by someone without quote. Quoted post does not qualify as a repost.")
+ author: GetPostsList200ResponseDataInnerAuthor
reposted_by: Optional[GetPostsList200ResponseDataInnerRepostedBy] = None
- quoted_post: Optional[GetPostsList200ResponseDataInnerQuotedPost] = None
- __properties: ClassVar[List[str]] = ["object", "id", "share_url", "created_at", "title", "text", "author", "user_reacted", "permissions", "reactions_counter", "comments_counter", "reposts_counter", "poll", "event", "attachments", "analytics", "is_repost", "reposted_by", "quoted_post"]
+ quoted_post: Optional[GetPost200ResponseQuotedPost] = None
+ specifics: Optional[GetPostsList200ResponseDataInnerSpecifics] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "share_url", "created_at", "title", "text", "user_reacted", "permissions", "reactions_counter", "comments_counter", "reposts_counter", "poll", "event", "attachments", "analytics", "is_repost", "author", "reposted_by", "quoted_post", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -104,9 +106,6 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
- # override the default output from pydantic by calling `to_dict()` of author
- if self.author:
- _dict['author'] = self.author.to_dict()
# override the default output from pydantic by calling `to_dict()` of user_reacted
if self.user_reacted:
_dict['user_reacted'] = self.user_reacted.to_dict()
@@ -117,8 +116,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.reactions_counter:
for _item_reactions_counter in self.reactions_counter:
- if _item_reactions_counter:
- _items.append(_item_reactions_counter.to_dict())
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
_dict['reactions_counter'] = _items
# override the default output from pydantic by calling `to_dict()` of poll
if self.poll:
@@ -130,18 +128,23 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of analytics
if self.analytics:
_dict['analytics'] = self.analytics.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
# override the default output from pydantic by calling `to_dict()` of reposted_by
if self.reposted_by:
_dict['reposted_by'] = self.reposted_by.to_dict()
# override the default output from pydantic by calling `to_dict()` of quoted_post
if self.quoted_post:
_dict['quoted_post'] = self.quoted_post.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
# set to None if reactions_counter (nullable) is None
# and model_fields_set contains the field
if self.reactions_counter is None and "reactions_counter" in self.model_fields_set:
@@ -175,19 +178,20 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"created_at": obj.get("created_at"),
"title": obj.get("title"),
"text": obj.get("text"),
- "author": GetPostsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
"user_reacted": GetPostsList200ResponseDataInnerQuotedPostUserReacted.from_dict(obj["user_reacted"]) if obj.get("user_reacted") is not None else None,
"permissions": GetPostsList200ResponseDataInnerPermissions.from_dict(obj["permissions"]) if obj.get("permissions") is not None else None,
- "reactions_counter": [GetMessagesList200ResponseDataInnerReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
"comments_counter": obj.get("comments_counter"),
"reposts_counter": obj.get("reposts_counter"),
"poll": GetPostsList200ResponseDataInnerPoll.from_dict(obj["poll"]) if obj.get("poll") is not None else None,
"event": GetPostsList200ResponseDataInnerEvent.from_dict(obj["event"]) if obj.get("event") is not None else None,
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"analytics": GetPostsList200ResponseDataInnerAnalytics.from_dict(obj["analytics"]) if obj.get("analytics") is not None else None,
"is_repost": obj.get("is_repost"),
+ "author": GetPostsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
"reposted_by": GetPostsList200ResponseDataInnerRepostedBy.from_dict(obj["reposted_by"]) if obj.get("reposted_by") is not None else None,
- "quoted_post": GetPostsList200ResponseDataInnerQuotedPost.from_dict(obj["quoted_post"]) if obj.get("quoted_post") is not None else None
+ "quoted_post": GetPost200ResponseQuotedPost.from_dict(obj["quoted_post"]) if obj.get("quoted_post") is not None else None,
+ "specifics": GetPostsList200ResponseDataInnerSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
})
return _obj
diff --git a/unipile/models/get_post200_response_quoted_post.py b/unipile/models/get_post200_response_quoted_post.py
new file mode 100644
index 000000000..4636fec96
--- /dev/null
+++ b/unipile/models/get_post200_response_quoted_post.py
@@ -0,0 +1,184 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+from unipile.models.get_posts_list200_response_data_inner_analytics import GetPostsList200ResponseDataInnerAnalytics
+from unipile.models.get_posts_list200_response_data_inner_author import GetPostsList200ResponseDataInnerAuthor
+from unipile.models.get_posts_list200_response_data_inner_event import GetPostsList200ResponseDataInnerEvent
+from unipile.models.get_posts_list200_response_data_inner_permissions import GetPostsList200ResponseDataInnerPermissions
+from unipile.models.get_posts_list200_response_data_inner_poll import GetPostsList200ResponseDataInnerPoll
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_user_reacted import GetPostsList200ResponseDataInnerQuotedPostUserReacted
+from unipile.models.get_posts_list200_response_data_inner_specifics import GetPostsList200ResponseDataInnerSpecifics
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetPost200ResponseQuotedPost(BaseModel):
+ """
+ The post that is quoted in this post.
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The ID of the post for the provider.")
+ share_url: StrictStr = Field(description="The URL to share the post.")
+ created_at: StrictStr = Field(description="The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ title: Optional[StrictStr] = Field(default=None, description="The title of the post.")
+ text: StrictStr = Field(description="The text content of the post.")
+ user_reacted: GetPostsList200ResponseDataInnerQuotedPostUserReacted
+ permissions: GetPostsList200ResponseDataInnerPermissions
+ reactions_counter: Optional[List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]] = Field(description="A list of reactions to the element.")
+ comments_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
+ reposts_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of reposts of the post. `null` if counter is hidden.")
+ poll: Optional[GetPostsList200ResponseDataInnerPoll] = None
+ event: Optional[GetPostsList200ResponseDataInnerEvent] = None
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of post attachments.")
+ analytics: Optional[GetPostsList200ResponseDataInnerAnalytics] = None
+ author: GetPostsList200ResponseDataInnerAuthor
+ specifics: Optional[GetPostsList200ResponseDataInnerSpecifics] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "share_url", "created_at", "title", "text", "user_reacted", "permissions", "reactions_counter", "comments_counter", "reposts_counter", "poll", "event", "attachments", "analytics", "author", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['Post']):
+ raise ValueError("must be one of enum values ('Post')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetPost200ResponseQuotedPost from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of user_reacted
+ if self.user_reacted:
+ _dict['user_reacted'] = self.user_reacted.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of permissions
+ if self.permissions:
+ _dict['permissions'] = self.permissions.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in reactions_counter (list)
+ _items = []
+ if self.reactions_counter:
+ for _item_reactions_counter in self.reactions_counter:
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
+ _dict['reactions_counter'] = _items
+ # override the default output from pydantic by calling `to_dict()` of poll
+ if self.poll:
+ _dict['poll'] = self.poll.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of event
+ if self.event:
+ _dict['event'] = self.event.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
+ _items = []
+ if self.attachments:
+ for _item_attachments in self.attachments:
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
+ _dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of analytics
+ if self.analytics:
+ _dict['analytics'] = self.analytics.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
+ # set to None if reactions_counter (nullable) is None
+ # and model_fields_set contains the field
+ if self.reactions_counter is None and "reactions_counter" in self.model_fields_set:
+ _dict['reactions_counter'] = None
+
+ # set to None if comments_counter (nullable) is None
+ # and model_fields_set contains the field
+ if self.comments_counter is None and "comments_counter" in self.model_fields_set:
+ _dict['comments_counter'] = None
+
+ # set to None if reposts_counter (nullable) is None
+ # and model_fields_set contains the field
+ if self.reposts_counter is None and "reposts_counter" in self.model_fields_set:
+ _dict['reposts_counter'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetPost200ResponseQuotedPost from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "share_url": obj.get("share_url"),
+ "created_at": obj.get("created_at"),
+ "title": obj.get("title"),
+ "text": obj.get("text"),
+ "user_reacted": GetPostsList200ResponseDataInnerQuotedPostUserReacted.from_dict(obj["user_reacted"]) if obj.get("user_reacted") is not None else None,
+ "permissions": GetPostsList200ResponseDataInnerPermissions.from_dict(obj["permissions"]) if obj.get("permissions") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "comments_counter": obj.get("comments_counter"),
+ "reposts_counter": obj.get("reposts_counter"),
+ "poll": GetPostsList200ResponseDataInnerPoll.from_dict(obj["poll"]) if obj.get("poll") is not None else None,
+ "event": GetPostsList200ResponseDataInnerEvent.from_dict(obj["event"]) if obj.get("event") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "analytics": GetPostsList200ResponseDataInnerAnalytics.from_dict(obj["analytics"]) if obj.get("analytics") is not None else None,
+ "author": GetPostsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
+ "specifics": GetPostsList200ResponseDataInnerSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_post_comments_list200_response.py b/unipile/models/get_post_comments_list200_response.py
index eecb95339..8e7279082 100644
--- a/unipile/models/get_post_comments_list200_response.py
+++ b/unipile/models/get_post_comments_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetPostCommentsList200Response(BaseModel):
GetPostCommentsList200Response
""" # noqa: E501
data: List[GetPostCommentsList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_post_comments_list200_response_data_inner.py b/unipile/models/get_post_comments_list200_response_data_inner.py
index 8e233e45b..f3b69c717 100644
--- a/unipile/models/get_post_comments_list200_response_data_inner.py
+++ b/unipile/models/get_post_comments_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,8 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.get_messages_list200_response_data_inner_reactions_counter_inner import GetMessagesList200ResponseDataInnerReactionsCounterInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
from unipile.models.get_post_comments_list200_response_data_inner_author import GetPostCommentsList200ResponseDataInnerAuthor
from typing import Optional, Set
from typing_extensions import Self
@@ -32,15 +33,17 @@ class GetPostCommentsList200ResponseDataInner(BaseModel):
object: StrictStr
id: StrictStr = Field(description="The ID of the comment.")
thread_id: Optional[StrictStr] = Field(default=None, description="The ID of the thread if this is a reply to another comment.")
- author: GetPostCommentsList200ResponseDataInnerAuthor
created_at: StrictStr = Field(description="The creation date of the comment. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
text: StrictStr = Field(description="The text content of the comment.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of comment attachments.")
is_sender: StrictBool = Field(description="Is the current user the sender of the comment.")
can_reply: StrictBool = Field(description="Whether the current user can reply to the comment or not.")
can_react: StrictBool = Field(description="Whether the current user can react to the comment or not.")
reply_counter: Union[StrictFloat, StrictInt] = Field(description="The number of replies to the comment.")
- reactions_counter: List[GetMessagesList200ResponseDataInnerReactionsCounterInner] = Field(description="A list of reactions to the element.")
- __properties: ClassVar[List[str]] = ["object", "id", "thread_id", "author", "created_at", "text", "is_sender", "can_reply", "can_react", "reply_counter", "reactions_counter"]
+ impressions_counter: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of impressions of the comment.")
+ reactions_counter: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner] = Field(description="A list of reactions to the element.")
+ author: GetPostCommentsList200ResponseDataInnerAuthor
+ __properties: ClassVar[List[str]] = ["object", "id", "thread_id", "created_at", "text", "attachments", "is_sender", "can_reply", "can_react", "reply_counter", "impressions_counter", "reactions_counter", "author"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -88,16 +91,21 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
- # override the default output from pydantic by calling `to_dict()` of author
- if self.author:
- _dict['author'] = self.author.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
+ _items = []
+ if self.attachments:
+ for _item_attachments in self.attachments:
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
+ _dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in reactions_counter (list)
_items = []
if self.reactions_counter:
for _item_reactions_counter in self.reactions_counter:
- if _item_reactions_counter:
- _items.append(_item_reactions_counter.to_dict())
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
_dict['reactions_counter'] = _items
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
return _dict
@classmethod
@@ -113,14 +121,16 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"object": obj.get("object"),
"id": obj.get("id"),
"thread_id": obj.get("thread_id"),
- "author": GetPostCommentsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
"created_at": obj.get("created_at"),
"text": obj.get("text"),
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"is_sender": obj.get("is_sender"),
"can_reply": obj.get("can_reply"),
"can_react": obj.get("can_react"),
"reply_counter": obj.get("reply_counter"),
- "reactions_counter": [GetMessagesList200ResponseDataInnerReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None
+ "impressions_counter": obj.get("impressions_counter"),
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "author": GetPostCommentsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None
})
return _obj
diff --git a/unipile/models/get_post_comments_list200_response_data_inner_author.py b/unipile/models/get_post_comments_list200_response_data_inner_author.py
index 52efd4a95..a1737b075 100644
--- a/unipile/models/get_post_comments_list200_response_data_inner_author.py
+++ b/unipile/models/get_post_comments_list200_response_data_inner_author.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -31,12 +32,15 @@ class GetPostCommentsList200ResponseDataInnerAuthor(BaseModel):
object: StrictStr
type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
- display_name: StrictStr = Field(description="Display name of the user.")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
- __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "profile_url", "public_picture_url", "private_picture_download_url", "description"]
+ specifics: Optional[GetChatsList200ResponseDataInnerUserSpecifics] = None
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -91,6 +95,9 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
return _dict
@classmethod
@@ -108,10 +115,13 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"type": obj.get("type"),
"public_identifier": obj.get("public_identifier"),
"display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
"profile_url": obj.get("profile_url"),
"public_picture_url": obj.get("public_picture_url"),
"private_picture_download_url": obj.get("private_picture_download_url"),
- "description": obj.get("description")
+ "description": obj.get("description"),
+ "specifics": GetChatsList200ResponseDataInnerUserSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
})
return _obj
diff --git a/unipile/models/get_posts_list200_response.py b/unipile/models/get_posts_list200_response.py
index c8bbfc2da..5523c5c5c 100644
--- a/unipile/models/get_posts_list200_response.py
+++ b/unipile/models/get_posts_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetPostsList200Response(BaseModel):
GetPostsList200Response
""" # noqa: E501
data: List[GetPostsList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_posts_list200_response_data_inner.py b/unipile/models/get_posts_list200_response_data_inner.py
index 94ac9bccb..804c927e6 100644
--- a/unipile/models/get_posts_list200_response_data_inner.py
+++ b/unipile/models/get_posts_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,8 +19,8 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
-from unipile.models.get_messages_list200_response_data_inner_reactions_counter_inner import GetMessagesList200ResponseDataInnerReactionsCounterInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
from unipile.models.get_posts_list200_response_data_inner_analytics import GetPostsList200ResponseDataInnerAnalytics
from unipile.models.get_posts_list200_response_data_inner_author import GetPostsList200ResponseDataInnerAuthor
from unipile.models.get_posts_list200_response_data_inner_event import GetPostsList200ResponseDataInnerEvent
@@ -28,6 +28,7 @@
from unipile.models.get_posts_list200_response_data_inner_poll import GetPostsList200ResponseDataInnerPoll
from unipile.models.get_posts_list200_response_data_inner_quoted_post import GetPostsList200ResponseDataInnerQuotedPost
from unipile.models.get_posts_list200_response_data_inner_reposted_by import GetPostsList200ResponseDataInnerRepostedBy
+from unipile.models.get_posts_list200_response_data_inner_specifics import GetPostsList200ResponseDataInnerSpecifics
from unipile.models.get_posts_list200_response_data_inner_user_reacted import GetPostsList200ResponseDataInnerUserReacted
from typing import Optional, Set
from typing_extensions import Self
@@ -43,20 +44,21 @@ class GetPostsList200ResponseDataInner(BaseModel):
created_at: StrictStr = Field(description="The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
title: Optional[StrictStr] = Field(default=None, description="The title of the post.")
text: StrictStr = Field(description="The text content of the post.")
- author: GetPostsList200ResponseDataInnerAuthor
user_reacted: GetPostsList200ResponseDataInnerUserReacted
permissions: GetPostsList200ResponseDataInnerPermissions
- reactions_counter: Optional[List[GetMessagesList200ResponseDataInnerReactionsCounterInner]] = Field(description="A list of reactions to the element.")
+ reactions_counter: Optional[List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]] = Field(description="A list of reactions to the element.")
comments_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
reposts_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
poll: Optional[GetPostsList200ResponseDataInnerPoll] = None
event: Optional[GetPostsList200ResponseDataInnerEvent] = None
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="List of post attachments.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of post attachments.")
analytics: Optional[GetPostsList200ResponseDataInnerAnalytics] = None
is_repost: StrictBool = Field(description="`true` if this post is reposted by someone without quote. Quoted post does not qualify as a repost.")
+ author: GetPostsList200ResponseDataInnerAuthor
reposted_by: Optional[GetPostsList200ResponseDataInnerRepostedBy] = None
quoted_post: Optional[GetPostsList200ResponseDataInnerQuotedPost] = None
- __properties: ClassVar[List[str]] = ["object", "id", "share_url", "created_at", "title", "text", "author", "user_reacted", "permissions", "reactions_counter", "comments_counter", "reposts_counter", "poll", "event", "attachments", "analytics", "is_repost", "reposted_by", "quoted_post"]
+ specifics: Optional[GetPostsList200ResponseDataInnerSpecifics] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "share_url", "created_at", "title", "text", "user_reacted", "permissions", "reactions_counter", "comments_counter", "reposts_counter", "poll", "event", "attachments", "analytics", "is_repost", "author", "reposted_by", "quoted_post", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -104,9 +106,6 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
- # override the default output from pydantic by calling `to_dict()` of author
- if self.author:
- _dict['author'] = self.author.to_dict()
# override the default output from pydantic by calling `to_dict()` of user_reacted
if self.user_reacted:
_dict['user_reacted'] = self.user_reacted.to_dict()
@@ -117,8 +116,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.reactions_counter:
for _item_reactions_counter in self.reactions_counter:
- if _item_reactions_counter:
- _items.append(_item_reactions_counter.to_dict())
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
_dict['reactions_counter'] = _items
# override the default output from pydantic by calling `to_dict()` of poll
if self.poll:
@@ -130,18 +128,23 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of analytics
if self.analytics:
_dict['analytics'] = self.analytics.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
# override the default output from pydantic by calling `to_dict()` of reposted_by
if self.reposted_by:
_dict['reposted_by'] = self.reposted_by.to_dict()
# override the default output from pydantic by calling `to_dict()` of quoted_post
if self.quoted_post:
_dict['quoted_post'] = self.quoted_post.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
# set to None if reactions_counter (nullable) is None
# and model_fields_set contains the field
if self.reactions_counter is None and "reactions_counter" in self.model_fields_set:
@@ -175,19 +178,20 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"created_at": obj.get("created_at"),
"title": obj.get("title"),
"text": obj.get("text"),
- "author": GetPostsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
"user_reacted": GetPostsList200ResponseDataInnerUserReacted.from_dict(obj["user_reacted"]) if obj.get("user_reacted") is not None else None,
"permissions": GetPostsList200ResponseDataInnerPermissions.from_dict(obj["permissions"]) if obj.get("permissions") is not None else None,
- "reactions_counter": [GetMessagesList200ResponseDataInnerReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
"comments_counter": obj.get("comments_counter"),
"reposts_counter": obj.get("reposts_counter"),
"poll": GetPostsList200ResponseDataInnerPoll.from_dict(obj["poll"]) if obj.get("poll") is not None else None,
"event": GetPostsList200ResponseDataInnerEvent.from_dict(obj["event"]) if obj.get("event") is not None else None,
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"analytics": GetPostsList200ResponseDataInnerAnalytics.from_dict(obj["analytics"]) if obj.get("analytics") is not None else None,
"is_repost": obj.get("is_repost"),
+ "author": GetPostsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
"reposted_by": GetPostsList200ResponseDataInnerRepostedBy.from_dict(obj["reposted_by"]) if obj.get("reposted_by") is not None else None,
- "quoted_post": GetPostsList200ResponseDataInnerQuotedPost.from_dict(obj["quoted_post"]) if obj.get("quoted_post") is not None else None
+ "quoted_post": GetPostsList200ResponseDataInnerQuotedPost.from_dict(obj["quoted_post"]) if obj.get("quoted_post") is not None else None,
+ "specifics": GetPostsList200ResponseDataInnerSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
})
return _obj
diff --git a/unipile/models/get_posts_list200_response_data_inner_analytics.py b/unipile/models/get_posts_list200_response_data_inner_analytics.py
index 5338ee4cd..0e373821e 100644
--- a/unipile/models/get_posts_list200_response_data_inner_analytics.py
+++ b/unipile/models/get_posts_list200_response_data_inner_analytics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_posts_list200_response_data_inner_author.py b/unipile/models/get_posts_list200_response_data_inner_author.py
index 8801bc913..9d3035e0a 100644
--- a/unipile/models/get_posts_list200_response_data_inner_author.py
+++ b/unipile/models/get_posts_list200_response_data_inner_author.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -31,12 +32,15 @@ class GetPostsList200ResponseDataInnerAuthor(BaseModel):
object: StrictStr
type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
- display_name: StrictStr = Field(description="Display name of the user.")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
- __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "profile_url", "public_picture_url", "private_picture_download_url", "description"]
+ specifics: Optional[GetChatsList200ResponseDataInnerUserSpecifics] = None
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -91,6 +95,9 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
return _dict
@classmethod
@@ -108,10 +115,13 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"type": obj.get("type"),
"public_identifier": obj.get("public_identifier"),
"display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
"profile_url": obj.get("profile_url"),
"public_picture_url": obj.get("public_picture_url"),
"private_picture_download_url": obj.get("private_picture_download_url"),
- "description": obj.get("description")
+ "description": obj.get("description"),
+ "specifics": GetChatsList200ResponseDataInnerUserSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
})
return _obj
diff --git a/unipile/models/get_posts_list200_response_data_inner_event.py b/unipile/models/get_posts_list200_response_data_inner_event.py
index 51e63ad50..61795231c 100644
--- a/unipile/models/get_posts_list200_response_data_inner_event.py
+++ b/unipile/models/get_posts_list200_response_data_inner_event.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_posts_list200_response_data_inner_permissions.py b/unipile/models/get_posts_list200_response_data_inner_permissions.py
index 35e0149fa..8a6ae0b71 100644
--- a/unipile/models/get_posts_list200_response_data_inner_permissions.py
+++ b/unipile/models/get_posts_list200_response_data_inner_permissions.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_posts_list200_response_data_inner_poll.py b/unipile/models/get_posts_list200_response_data_inner_poll.py
index 4795cc11f..4b7cb0567 100644
--- a/unipile/models/get_posts_list200_response_data_inner_poll.py
+++ b/unipile/models/get_posts_list200_response_data_inner_poll.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -78,8 +78,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.options:
for _item_options in self.options:
- if _item_options:
- _items.append(_item_options.to_dict())
+ _items.append(_item_options.to_dict() if _item_options is not None else None)
_dict['options'] = _items
return _dict
diff --git a/unipile/models/get_posts_list200_response_data_inner_poll_options_inner.py b/unipile/models/get_posts_list200_response_data_inner_poll_options_inner.py
index a141a2f95..e6087ced0 100644
--- a/unipile/models/get_posts_list200_response_data_inner_poll_options_inner.py
+++ b/unipile/models/get_posts_list200_response_data_inner_poll_options_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_posts_list200_response_data_inner_quoted_post.py b/unipile/models/get_posts_list200_response_data_inner_quoted_post.py
index 9ff2d5e92..fb54a98dd 100644
--- a/unipile/models/get_posts_list200_response_data_inner_quoted_post.py
+++ b/unipile/models/get_posts_list200_response_data_inner_quoted_post.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,13 +19,14 @@
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
-from unipile.models.get_messages_list200_response_data_inner_reactions_counter_inner import GetMessagesList200ResponseDataInnerReactionsCounterInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
from unipile.models.get_posts_list200_response_data_inner_analytics import GetPostsList200ResponseDataInnerAnalytics
from unipile.models.get_posts_list200_response_data_inner_author import GetPostsList200ResponseDataInnerAuthor
from unipile.models.get_posts_list200_response_data_inner_event import GetPostsList200ResponseDataInnerEvent
from unipile.models.get_posts_list200_response_data_inner_permissions import GetPostsList200ResponseDataInnerPermissions
from unipile.models.get_posts_list200_response_data_inner_poll import GetPostsList200ResponseDataInnerPoll
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics import GetPostsList200ResponseDataInnerQuotedPostSpecifics
from unipile.models.get_posts_list200_response_data_inner_quoted_post_user_reacted import GetPostsList200ResponseDataInnerQuotedPostUserReacted
from typing import Optional, Set
from typing_extensions import Self
@@ -41,17 +42,18 @@ class GetPostsList200ResponseDataInnerQuotedPost(BaseModel):
created_at: StrictStr = Field(description="The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
title: Optional[StrictStr] = Field(default=None, description="The title of the post.")
text: StrictStr = Field(description="The text content of the post.")
- author: GetPostsList200ResponseDataInnerAuthor
user_reacted: GetPostsList200ResponseDataInnerQuotedPostUserReacted
permissions: GetPostsList200ResponseDataInnerPermissions
- reactions_counter: Optional[List[GetMessagesList200ResponseDataInnerReactionsCounterInner]] = Field(description="A list of reactions to the element.")
+ reactions_counter: Optional[List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]] = Field(description="A list of reactions to the element.")
comments_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
reposts_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of reposts of the post. `null` if counter is hidden.")
poll: Optional[GetPostsList200ResponseDataInnerPoll] = None
event: Optional[GetPostsList200ResponseDataInnerEvent] = None
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="List of post attachments.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of post attachments.")
analytics: Optional[GetPostsList200ResponseDataInnerAnalytics] = None
- __properties: ClassVar[List[str]] = ["object", "id", "share_url", "created_at", "title", "text", "author", "user_reacted", "permissions", "reactions_counter", "comments_counter", "reposts_counter", "poll", "event", "attachments", "analytics"]
+ author: GetPostsList200ResponseDataInnerAuthor
+ specifics: Optional[GetPostsList200ResponseDataInnerQuotedPostSpecifics] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "share_url", "created_at", "title", "text", "user_reacted", "permissions", "reactions_counter", "comments_counter", "reposts_counter", "poll", "event", "attachments", "analytics", "author", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -99,9 +101,6 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
- # override the default output from pydantic by calling `to_dict()` of author
- if self.author:
- _dict['author'] = self.author.to_dict()
# override the default output from pydantic by calling `to_dict()` of user_reacted
if self.user_reacted:
_dict['user_reacted'] = self.user_reacted.to_dict()
@@ -112,8 +111,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.reactions_counter:
for _item_reactions_counter in self.reactions_counter:
- if _item_reactions_counter:
- _items.append(_item_reactions_counter.to_dict())
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
_dict['reactions_counter'] = _items
# override the default output from pydantic by calling `to_dict()` of poll
if self.poll:
@@ -125,12 +123,17 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of analytics
if self.analytics:
_dict['analytics'] = self.analytics.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
# set to None if reactions_counter (nullable) is None
# and model_fields_set contains the field
if self.reactions_counter is None and "reactions_counter" in self.model_fields_set:
@@ -164,16 +167,17 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"created_at": obj.get("created_at"),
"title": obj.get("title"),
"text": obj.get("text"),
- "author": GetPostsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
"user_reacted": GetPostsList200ResponseDataInnerQuotedPostUserReacted.from_dict(obj["user_reacted"]) if obj.get("user_reacted") is not None else None,
"permissions": GetPostsList200ResponseDataInnerPermissions.from_dict(obj["permissions"]) if obj.get("permissions") is not None else None,
- "reactions_counter": [GetMessagesList200ResponseDataInnerReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
"comments_counter": obj.get("comments_counter"),
"reposts_counter": obj.get("reposts_counter"),
"poll": GetPostsList200ResponseDataInnerPoll.from_dict(obj["poll"]) if obj.get("poll") is not None else None,
"event": GetPostsList200ResponseDataInnerEvent.from_dict(obj["event"]) if obj.get("event") is not None else None,
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
- "analytics": GetPostsList200ResponseDataInnerAnalytics.from_dict(obj["analytics"]) if obj.get("analytics") is not None else None
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "analytics": GetPostsList200ResponseDataInnerAnalytics.from_dict(obj["analytics"]) if obj.get("analytics") is not None else None,
+ "author": GetPostsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
+ "specifics": GetPostsList200ResponseDataInnerQuotedPostSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
})
return _obj
diff --git a/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics.py b/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics.py
new file mode 100644
index 000000000..09ef910dc
--- /dev/null
+++ b/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics.py
@@ -0,0 +1,107 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_article import GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_job_posting import GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner import GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetPostsList200ResponseDataInnerQuotedPostSpecifics(BaseModel):
+ """
+ Object containing provider-specific post data.
+ """ # noqa: E501
+ mentions: Optional[List[GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner]] = None
+ job_posting: Optional[GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting] = None
+ article: Optional[GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle] = None
+ __properties: ClassVar[List[str]] = ["mentions", "job_posting", "article"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecifics from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in mentions (list)
+ _items = []
+ if self.mentions:
+ for _item_mentions in self.mentions:
+ _items.append(_item_mentions.to_dict() if _item_mentions is not None else None)
+ _dict['mentions'] = _items
+ # override the default output from pydantic by calling `to_dict()` of job_posting
+ if self.job_posting:
+ _dict['job_posting'] = self.job_posting.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of article
+ if self.article:
+ _dict['article'] = self.article.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecifics from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "mentions": [GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner.from_dict(_item) for _item in obj["mentions"]] if obj.get("mentions") is not None else None,
+ "job_posting": GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting.from_dict(obj["job_posting"]) if obj.get("job_posting") is not None else None,
+ "article": GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle.from_dict(obj["article"]) if obj.get("article") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_article.py b/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_article.py
new file mode 100644
index 000000000..d8bec700e
--- /dev/null
+++ b/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_article.py
@@ -0,0 +1,105 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle(BaseModel):
+ """
+ An article that can be included as an insert in the post.
+ """ # noqa: E501
+ id: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ title: StrictStr = Field(description="Title of the article.")
+ author: Optional[StrictStr] = Field(default=None, description="Author of the article.")
+ url: Optional[StrictStr] = Field(default=None, description="Public url to the article.")
+ published_at: Optional[StrictStr] = Field(default=None, description="The publication date of the article. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ excerpt: Optional[StrictStr] = Field(default=None, description="A short excerpt of the article content.")
+ picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the cover picture of the article.")
+ __properties: ClassVar[List[str]] = ["id", "title", "author", "url", "published_at", "excerpt", "picture_url"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if id (nullable) is None
+ # and model_fields_set contains the field
+ if self.id is None and "id" in self.model_fields_set:
+ _dict['id'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsArticle from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "title": obj.get("title"),
+ "author": obj.get("author"),
+ "url": obj.get("url"),
+ "published_at": obj.get("published_at"),
+ "excerpt": obj.get("excerpt"),
+ "picture_url": obj.get("picture_url")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_job_posting.py b/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_job_posting.py
new file mode 100644
index 000000000..1926dd071
--- /dev/null
+++ b/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_job_posting.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company import GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting(BaseModel):
+ """
+ A job posting that can be included as an insert in the post.
+ """ # noqa: E501
+ id: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ title: StrictStr = Field(description="Title of the job posting.")
+ location: StrictStr = Field(description="Location of the job posting.")
+ company: GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany
+ __properties: ClassVar[List[str]] = ["id", "title", "location", "company"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of company
+ if self.company:
+ _dict['company'] = self.company.to_dict()
+ # set to None if id (nullable) is None
+ # and model_fields_set contains the field
+ if self.id is None and "id" in self.model_fields_set:
+ _dict['id'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPosting from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "title": obj.get("title"),
+ "location": obj.get("location"),
+ "company": GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany.from_dict(obj["company"]) if obj.get("company") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company.py b/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company.py
new file mode 100644
index 000000000..32db8ddfb
--- /dev/null
+++ b/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_job_posting_company.py
@@ -0,0 +1,102 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany(BaseModel):
+ """
+ The company that published the job posting.
+ """ # noqa: E501
+ id: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ name: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the company.")
+ __properties: ClassVar[List[str]] = ["id", "name", "picture_url"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if id (nullable) is None
+ # and model_fields_set contains the field
+ if self.id is None and "id" in self.model_fields_set:
+ _dict['id'] = None
+
+ # set to None if name (nullable) is None
+ # and model_fields_set contains the field
+ if self.name is None and "name" in self.model_fields_set:
+ _dict['name'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsJobPostingCompany from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "name": obj.get("name"),
+ "picture_url": obj.get("picture_url")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner.py b/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner.py
new file mode 100644
index 000000000..78676c470
--- /dev/null
+++ b/unipile/models/get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner.py
@@ -0,0 +1,92 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Union
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner(BaseModel):
+ """
+ GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner
+ """ # noqa: E501
+ url: StrictStr = Field(description="Public URL targeted by the mention.")
+ start: Union[StrictFloat, StrictInt] = Field(description="Start index of the mention in the post text.")
+ length: Union[StrictFloat, StrictInt] = Field(description="Length of the mention in the post text.")
+ __properties: ClassVar[List[str]] = ["url", "start", "length"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "url": obj.get("url"),
+ "start": obj.get("start"),
+ "length": obj.get("length")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_posts_list200_response_data_inner_quoted_post_user_reacted.py b/unipile/models/get_posts_list200_response_data_inner_quoted_post_user_reacted.py
index d86ae2275..d558944a2 100644
--- a/unipile/models/get_posts_list200_response_data_inner_quoted_post_user_reacted.py
+++ b/unipile/models/get_posts_list200_response_data_inner_quoted_post_user_reacted.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_posts_list200_response_data_inner_reposted_by.py b/unipile/models/get_posts_list200_response_data_inner_reposted_by.py
index 7f1f64a5e..217e18ad5 100644
--- a/unipile/models/get_posts_list200_response_data_inner_reposted_by.py
+++ b/unipile/models/get_posts_list200_response_data_inner_reposted_by.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -31,12 +32,15 @@ class GetPostsList200ResponseDataInnerRepostedBy(BaseModel):
object: StrictStr
type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
- display_name: StrictStr = Field(description="Display name of the user.")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
- __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "profile_url", "public_picture_url", "private_picture_download_url", "description"]
+ specifics: Optional[GetChatsList200ResponseDataInnerUserSpecifics] = None
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -91,6 +95,9 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
return _dict
@classmethod
@@ -108,10 +115,13 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"type": obj.get("type"),
"public_identifier": obj.get("public_identifier"),
"display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
"profile_url": obj.get("profile_url"),
"public_picture_url": obj.get("public_picture_url"),
"private_picture_download_url": obj.get("private_picture_download_url"),
- "description": obj.get("description")
+ "description": obj.get("description"),
+ "specifics": GetChatsList200ResponseDataInnerUserSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
})
return _obj
diff --git a/unipile/models/get_posts_list200_response_data_inner_specifics.py b/unipile/models/get_posts_list200_response_data_inner_specifics.py
new file mode 100644
index 000000000..f77239f8a
--- /dev/null
+++ b/unipile/models/get_posts_list200_response_data_inner_specifics.py
@@ -0,0 +1,107 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_specifics_mentions_inner import GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner
+from unipile.models.get_posts_list200_response_data_inner_specifics_article import GetPostsList200ResponseDataInnerSpecificsArticle
+from unipile.models.get_posts_list200_response_data_inner_specifics_job_posting import GetPostsList200ResponseDataInnerSpecificsJobPosting
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetPostsList200ResponseDataInnerSpecifics(BaseModel):
+ """
+ Object containing provider-specific post data.
+ """ # noqa: E501
+ mentions: Optional[List[GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner]] = None
+ job_posting: Optional[GetPostsList200ResponseDataInnerSpecificsJobPosting] = None
+ article: Optional[GetPostsList200ResponseDataInnerSpecificsArticle] = None
+ __properties: ClassVar[List[str]] = ["mentions", "job_posting", "article"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerSpecifics from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in mentions (list)
+ _items = []
+ if self.mentions:
+ for _item_mentions in self.mentions:
+ _items.append(_item_mentions.to_dict() if _item_mentions is not None else None)
+ _dict['mentions'] = _items
+ # override the default output from pydantic by calling `to_dict()` of job_posting
+ if self.job_posting:
+ _dict['job_posting'] = self.job_posting.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of article
+ if self.article:
+ _dict['article'] = self.article.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerSpecifics from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "mentions": [GetPostsList200ResponseDataInnerQuotedPostSpecificsMentionsInner.from_dict(_item) for _item in obj["mentions"]] if obj.get("mentions") is not None else None,
+ "job_posting": GetPostsList200ResponseDataInnerSpecificsJobPosting.from_dict(obj["job_posting"]) if obj.get("job_posting") is not None else None,
+ "article": GetPostsList200ResponseDataInnerSpecificsArticle.from_dict(obj["article"]) if obj.get("article") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_posts_list200_response_data_inner_specifics_article.py b/unipile/models/get_posts_list200_response_data_inner_specifics_article.py
new file mode 100644
index 000000000..6be51a75b
--- /dev/null
+++ b/unipile/models/get_posts_list200_response_data_inner_specifics_article.py
@@ -0,0 +1,105 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetPostsList200ResponseDataInnerSpecificsArticle(BaseModel):
+ """
+ An article that can be included as an insert in the post.
+ """ # noqa: E501
+ id: Optional[StrictStr] = Field(description="Unique identifier of the article.")
+ title: StrictStr = Field(description="Title of the article.")
+ author: Optional[StrictStr] = Field(default=None, description="Author of the article.")
+ url: Optional[StrictStr] = Field(default=None, description="Public url to the article.")
+ published_at: Optional[StrictStr] = Field(default=None, description="The publication date of the article. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ excerpt: Optional[StrictStr] = Field(default=None, description="A short excerpt of the article content.")
+ picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the cover picture of the article.")
+ __properties: ClassVar[List[str]] = ["id", "title", "author", "url", "published_at", "excerpt", "picture_url"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerSpecificsArticle from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if id (nullable) is None
+ # and model_fields_set contains the field
+ if self.id is None and "id" in self.model_fields_set:
+ _dict['id'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerSpecificsArticle from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "title": obj.get("title"),
+ "author": obj.get("author"),
+ "url": obj.get("url"),
+ "published_at": obj.get("published_at"),
+ "excerpt": obj.get("excerpt"),
+ "picture_url": obj.get("picture_url")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_posts_list200_response_data_inner_specifics_job_posting.py b/unipile/models/get_posts_list200_response_data_inner_specifics_job_posting.py
new file mode 100644
index 000000000..a45989e76
--- /dev/null
+++ b/unipile/models/get_posts_list200_response_data_inner_specifics_job_posting.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_posts_list200_response_data_inner_specifics_job_posting_company import GetPostsList200ResponseDataInnerSpecificsJobPostingCompany
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetPostsList200ResponseDataInnerSpecificsJobPosting(BaseModel):
+ """
+ A job posting that can be included as an insert in the post.
+ """ # noqa: E501
+ id: Optional[StrictStr] = Field(description="Unique identifier of the job posting.")
+ title: StrictStr = Field(description="Title of the job posting.")
+ location: StrictStr = Field(description="Location of the job posting.")
+ company: GetPostsList200ResponseDataInnerSpecificsJobPostingCompany
+ __properties: ClassVar[List[str]] = ["id", "title", "location", "company"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerSpecificsJobPosting from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of company
+ if self.company:
+ _dict['company'] = self.company.to_dict()
+ # set to None if id (nullable) is None
+ # and model_fields_set contains the field
+ if self.id is None and "id" in self.model_fields_set:
+ _dict['id'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerSpecificsJobPosting from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "title": obj.get("title"),
+ "location": obj.get("location"),
+ "company": GetPostsList200ResponseDataInnerSpecificsJobPostingCompany.from_dict(obj["company"]) if obj.get("company") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_posts_list200_response_data_inner_specifics_job_posting_company.py b/unipile/models/get_posts_list200_response_data_inner_specifics_job_posting_company.py
new file mode 100644
index 000000000..ac8c4c96e
--- /dev/null
+++ b/unipile/models/get_posts_list200_response_data_inner_specifics_job_posting_company.py
@@ -0,0 +1,102 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetPostsList200ResponseDataInnerSpecificsJobPostingCompany(BaseModel):
+ """
+ The company that published the job posting.
+ """ # noqa: E501
+ id: Optional[StrictStr] = Field(description="Unique identifier of the company.")
+ name: Optional[StrictStr] = Field(description="Name of the company.")
+ picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the company.")
+ __properties: ClassVar[List[str]] = ["id", "name", "picture_url"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerSpecificsJobPostingCompany from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if id (nullable) is None
+ # and model_fields_set contains the field
+ if self.id is None and "id" in self.model_fields_set:
+ _dict['id'] = None
+
+ # set to None if name (nullable) is None
+ # and model_fields_set contains the field
+ if self.name is None and "name" in self.model_fields_set:
+ _dict['name'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetPostsList200ResponseDataInnerSpecificsJobPostingCompany from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "name": obj.get("name"),
+ "picture_url": obj.get("picture_url")
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_posts_list200_response_data_inner_user_reacted.py b/unipile/models/get_posts_list200_response_data_inner_user_reacted.py
index 5588eb223..96b3a22a2 100644
--- a/unipile/models/get_posts_list200_response_data_inner_user_reacted.py
+++ b/unipile/models/get_posts_list200_response_data_inner_user_reacted.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -33,7 +33,7 @@ class GetPostsList200ResponseDataInnerUserReacted(BaseModel):
# data type: bool
anyof_schema_1_validator: Optional[StrictBool] = None
# data type: str
- anyof_schema_2_validator: Optional[StrictStr] = Field(default=None, description="The ID of the Company.")
+ anyof_schema_2_validator: Optional[StrictStr] = Field(default=None, description="The text content of the message, when available.")
if TYPE_CHECKING:
actual_instance: Optional[Union[bool, str]] = None
else:
diff --git a/unipile/models/get_recruiter_hiring_project200_response.py b/unipile/models/get_recruiter_hiring_project200_response.py
index cb74b2d05..5c0550132 100644
--- a/unipile/models/get_recruiter_hiring_project200_response.py
+++ b/unipile/models/get_recruiter_hiring_project200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,6 +35,7 @@ class GetRecruiterHiringProject200Response(BaseModel):
id: StrictStr = Field(description="The ID of the Project.")
name: StrictStr = Field(description="The name of the Project.")
readonly: StrictBool = Field(description="Whether the Project is read only.")
+ archived: StrictBool = Field(description="Whether the Project has been archived.")
created_at: StrictStr = Field(description="The date on which the Project was created. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
last_accessed_at: Optional[StrictStr] = Field(default=None, description="The date on which the Project was last accessed. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
last_modified_at: StrictStr = Field(description="The date on which the Project was last modified. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
@@ -43,7 +44,7 @@ class GetRecruiterHiringProject200Response(BaseModel):
metadata: GetRecruiterHiringProject200ResponseMetadata
talent_pool: GetRecruiterHiringProjectList200ResponseDataInnerTalentPool
pipeline: GetRecruiterHiringProjectList200ResponseDataInnerPipeline
- __properties: ClassVar[List[str]] = ["object", "id", "name", "readonly", "created_at", "last_accessed_at", "last_modified_at", "visibility", "owner", "metadata", "talent_pool", "pipeline"]
+ __properties: ClassVar[List[str]] = ["object", "id", "name", "readonly", "archived", "created_at", "last_accessed_at", "last_modified_at", "visibility", "owner", "metadata", "talent_pool", "pipeline"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -126,6 +127,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"id": obj.get("id"),
"name": obj.get("name"),
"readonly": obj.get("readonly"),
+ "archived": obj.get("archived"),
"created_at": obj.get("created_at"),
"last_accessed_at": obj.get("last_accessed_at"),
"last_modified_at": obj.get("last_modified_at"),
diff --git a/unipile/models/get_recruiter_hiring_project200_response_metadata.py b/unipile/models/get_recruiter_hiring_project200_response_metadata.py
index 6a16fd4c8..a87ff228e 100644
--- a/unipile/models/get_recruiter_hiring_project200_response_metadata.py
+++ b/unipile/models/get_recruiter_hiring_project200_response_metadata.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -81,8 +81,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.locations:
for _item_locations in self.locations:
- if _item_locations:
- _items.append(_item_locations.to_dict())
+ _items.append(_item_locations.to_dict() if _item_locations is not None else None)
_dict['locations'] = _items
# override the default output from pydantic by calling `to_dict()` of company
if self.company:
diff --git a/unipile/models/get_recruiter_hiring_project_list200_response.py b/unipile/models/get_recruiter_hiring_project_list200_response.py
index 56157e278..d787ccaf9 100644
--- a/unipile/models/get_recruiter_hiring_project_list200_response.py
+++ b/unipile/models/get_recruiter_hiring_project_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetRecruiterHiringProjectList200Response(BaseModel):
GetRecruiterHiringProjectList200Response
""" # noqa: E501
data: List[GetRecruiterHiringProjectList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner.py b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner.py
index 641db51aa..80da34e0c 100644
--- a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner.py
+++ b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,6 +35,7 @@ class GetRecruiterHiringProjectList200ResponseDataInner(BaseModel):
id: StrictStr = Field(description="The ID of the Project.")
name: StrictStr = Field(description="The name of the Project.")
readonly: StrictBool = Field(description="Whether the Project is read only.")
+ archived: StrictBool = Field(description="Whether the Project has been archived.")
created_at: StrictStr = Field(description="The date on which the Project was created. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
last_accessed_at: Optional[StrictStr] = Field(default=None, description="The date on which the Project was last accessed. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
last_modified_at: StrictStr = Field(description="The date on which the Project was last modified. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
@@ -43,7 +44,7 @@ class GetRecruiterHiringProjectList200ResponseDataInner(BaseModel):
metadata: GetRecruiterHiringProjectList200ResponseDataInnerMetadata
talent_pool: GetRecruiterHiringProjectList200ResponseDataInnerTalentPool
pipeline: GetRecruiterHiringProjectList200ResponseDataInnerPipeline
- __properties: ClassVar[List[str]] = ["object", "id", "name", "readonly", "created_at", "last_accessed_at", "last_modified_at", "visibility", "owner", "metadata", "talent_pool", "pipeline"]
+ __properties: ClassVar[List[str]] = ["object", "id", "name", "readonly", "archived", "created_at", "last_accessed_at", "last_modified_at", "visibility", "owner", "metadata", "talent_pool", "pipeline"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -126,6 +127,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"id": obj.get("id"),
"name": obj.get("name"),
"readonly": obj.get("readonly"),
+ "archived": obj.get("archived"),
"created_at": obj.get("created_at"),
"last_accessed_at": obj.get("last_accessed_at"),
"last_modified_at": obj.get("last_modified_at"),
diff --git a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata.py b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata.py
index 26e41ced5..8a333aeab 100644
--- a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata.py
+++ b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -81,8 +81,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.locations:
for _item_locations in self.locations:
- if _item_locations:
- _items.append(_item_locations.to_dict())
+ _items.append(_item_locations.to_dict() if _item_locations is not None else None)
_dict['locations'] = _items
# override the default output from pydantic by calling `to_dict()` of company
if self.company:
diff --git a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata_company.py b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata_company.py
index 01e080ea9..1ede07f2e 100644
--- a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata_company.py
+++ b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata_locations_inner.py b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata_locations_inner.py
index df007fd1a..b23eacadf 100644
--- a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata_locations_inner.py
+++ b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_metadata_locations_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -18,7 +18,7 @@
import json
from pydantic import BaseModel, ConfigDict, Field, StrictStr
-from typing import Any, ClassVar, Dict, List
+from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -28,7 +28,7 @@ class GetRecruiterHiringProjectList200ResponseDataInnerMetadataLocationsInner(Ba
GetRecruiterHiringProjectList200ResponseDataInnerMetadataLocationsInner
""" # noqa: E501
name: StrictStr = Field(description="The name of the Location.")
- timezone: StrictStr = Field(description="The time zone of the Location.")
+ timezone: Optional[StrictStr] = Field(default=None, description="The time zone of the Location.")
__properties: ClassVar[List[str]] = ["name", "timezone"]
model_config = ConfigDict(
diff --git a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_owner.py b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_owner.py
index 6d6d43286..57b78972e 100644
--- a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_owner.py
+++ b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_owner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,7 +30,7 @@ class GetRecruiterHiringProjectList200ResponseDataInnerOwner(BaseModel):
id: StrictStr = Field(description="The ID of the Project owner.")
seat_id: StrictStr = Field(description="The seat ID of the Project owner.")
name: StrictStr = Field(description="The name of the Project owner.")
- email: StrictStr = Field(description="The email address of the Project owner.")
+ email: Optional[StrictStr] = Field(default=None, description="The email address of the Project owner.")
profile_url: StrictStr = Field(description="The profile URL of the Project owner.")
profile_headline: StrictStr = Field(description="The profile headline of the Project owner.")
public_picture_url: Optional[StrictStr] = Field(default=None, description="The profile picture URL of the Project owner.")
diff --git a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_pipeline.py b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_pipeline.py
index b58a8efdf..526684b25 100644
--- a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_pipeline.py
+++ b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_pipeline.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -79,8 +79,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.stages:
for _item_stages in self.stages:
- if _item_stages:
- _items.append(_item_stages.to_dict())
+ _items.append(_item_stages.to_dict() if _item_stages is not None else None)
_dict['stages'] = _items
return _dict
diff --git a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_pipeline_stages_inner.py b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_pipeline_stages_inner.py
index 7ad1122de..1b1dc0ade 100644
--- a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_pipeline_stages_inner.py
+++ b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_pipeline_stages_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_talent_pool.py b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_talent_pool.py
index 19c967615..a86e211bb 100644
--- a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_talent_pool.py
+++ b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_talent_pool.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -74,8 +74,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.channels:
for _item_channels in self.channels:
- if _item_channels:
- _items.append(_item_channels.to_dict())
+ _items.append(_item_channels.to_dict() if _item_channels is not None else None)
_dict['channels'] = _items
return _dict
diff --git a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_talent_pool_channels_inner.py b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_talent_pool_channels_inner.py
index 0c296d082..8e666bc41 100644
--- a/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_talent_pool_channels_inner.py
+++ b/unipile/models/get_recruiter_hiring_project_list200_response_data_inner_talent_pool_channels_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -38,8 +38,8 @@ class GetRecruiterHiringProjectList200ResponseDataInnerTalentPoolChannelsInner(B
@field_validator('type')
def type_validate_enum(cls, value):
"""Validates the enum"""
- if value not in set(['CAREER_SITE', 'MANUAL_IMPORT', 'INTERNAL_CANDIDATES', 'RECRUITER_SEARCH', 'REFERRAL', 'JOB_POSTING_RECOMMENDED_MATCHES', 'AUTOMATED_SOURCING', 'JOB_POSTING']):
- raise ValueError("must be one of enum values ('CAREER_SITE', 'MANUAL_IMPORT', 'INTERNAL_CANDIDATES', 'RECRUITER_SEARCH', 'REFERRAL', 'JOB_POSTING_RECOMMENDED_MATCHES', 'AUTOMATED_SOURCING', 'JOB_POSTING')")
+ if value not in set(['CAREER_SITE', 'MANUAL_IMPORT', 'INTERNAL_CANDIDATES', 'PROJECT_IMPORT', 'PROFILE_MATCHING', 'RECRUITER_SEARCH', 'REFERRAL', 'JOB_POSTING_RECOMMENDED_MATCHES', 'AUTOMATED_SOURCING', 'JOB_POSTING', 'APPLY_STARTERS', 'TALENT_AGENT', 'PIPELINE_BUILDER', 'INHERITED_JOB_POSTING']):
+ raise ValueError("must be one of enum values ('CAREER_SITE', 'MANUAL_IMPORT', 'INTERNAL_CANDIDATES', 'PROJECT_IMPORT', 'PROFILE_MATCHING', 'RECRUITER_SEARCH', 'REFERRAL', 'JOB_POSTING_RECOMMENDED_MATCHES', 'AUTOMATED_SOURCING', 'JOB_POSTING', 'APPLY_STARTERS', 'TALENT_AGENT', 'PIPELINE_BUILDER', 'INHERITED_JOB_POSTING')")
return value
@field_validator('state')
diff --git a/unipile/models/get_recruiter_job_posting_budget200_response.py b/unipile/models/get_recruiter_job_posting_budget200_response.py
index 2a2a21177..21237f96d 100644
--- a/unipile/models/get_recruiter_job_posting_budget200_response.py
+++ b/unipile/models/get_recruiter_job_posting_budget200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_job_posting_budget200_response_free.py b/unipile/models/get_recruiter_job_posting_budget200_response_free.py
index c69d97981..4fc6abf33 100644
--- a/unipile/models/get_recruiter_job_posting_budget200_response_free.py
+++ b/unipile/models/get_recruiter_job_posting_budget200_response_free.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_job_posting_budget200_response_promoted.py b/unipile/models/get_recruiter_job_posting_budget200_response_promoted.py
index 3f42af513..f0d1da309 100644
--- a/unipile/models/get_recruiter_job_posting_budget200_response_promoted.py
+++ b/unipile/models/get_recruiter_job_posting_budget200_response_promoted.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_job_posting_budget200_response_promoted_daily.py b/unipile/models/get_recruiter_job_posting_budget200_response_promoted_daily.py
index b747b6863..d2388ec06 100644
--- a/unipile/models/get_recruiter_job_posting_budget200_response_promoted_daily.py
+++ b/unipile/models/get_recruiter_job_posting_budget200_response_promoted_daily.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_job_posting_by_project_id200_response.py b/unipile/models/get_recruiter_job_posting_by_project_id200_response.py
index 18b8d6885..a842abc26 100644
--- a/unipile/models/get_recruiter_job_posting_by_project_id200_response.py
+++ b/unipile/models/get_recruiter_job_posting_by_project_id200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -93,8 +93,8 @@ def employment_status_validate_enum(cls, value):
@field_validator('experience_level')
def experience_level_validate_enum(cls, value):
"""Validates the enum"""
- if value not in set(['INTERNSHIP', 'ENTRY_LEVEL', 'ASSOCIATE', 'MID_SENIOR_LEVEL', 'DIRECTOR', 'EXECUTIVE']):
- raise ValueError("must be one of enum values ('INTERNSHIP', 'ENTRY_LEVEL', 'ASSOCIATE', 'MID_SENIOR_LEVEL', 'DIRECTOR', 'EXECUTIVE')")
+ if value not in set(['INTERNSHIP', 'ENTRY_LEVEL', 'ASSOCIATE', 'MID_SENIOR_LEVEL', 'DIRECTOR', 'EXECUTIVE', 'NOT_APPLICABLE']):
+ raise ValueError("must be one of enum values ('INTERNSHIP', 'ENTRY_LEVEL', 'ASSOCIATE', 'MID_SENIOR_LEVEL', 'DIRECTOR', 'EXECUTIVE', 'NOT_APPLICABLE')")
return value
model_config = ConfigDict(
@@ -143,15 +143,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.screening_questions:
for _item_screening_questions in self.screening_questions:
- if _item_screening_questions:
- _items.append(_item_screening_questions.to_dict())
+ _items.append(_item_screening_questions.to_dict() if _item_screening_questions is not None else None)
_dict['screening_questions'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in hiring_team (list)
_items = []
if self.hiring_team:
for _item_hiring_team in self.hiring_team:
- if _item_hiring_team:
- _items.append(_item_hiring_team.to_dict())
+ _items.append(_item_hiring_team.to_dict() if _item_hiring_team is not None else None)
_dict['hiring_team'] = _items
return _dict
diff --git a/unipile/models/get_recruiter_job_posting_by_project_id200_response_company.py b/unipile/models/get_recruiter_job_posting_by_project_id200_response_company.py
index 48a52512c..b919d2473 100644
--- a/unipile/models/get_recruiter_job_posting_by_project_id200_response_company.py
+++ b/unipile/models/get_recruiter_job_posting_by_project_id200_response_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class GetRecruiterJobPostingByProjectId200ResponseCompany(BaseModel):
"""
The budget allocated to the Job posting.
""" # noqa: E501
- id: Optional[StrictStr] = Field(description="The ID of the Company.")
+ id: Optional[StrictStr] = Field(description="The text content of the message, when available.")
name: StrictStr = Field(description="The budget allocated to the Job posting.")
public_picture_url: Optional[StrictStr] = Field(default=None, description="The budget allocated to the Job posting.")
profile_url: Optional[StrictStr] = Field(default=None, description="The budget allocated to the Job posting.")
diff --git a/unipile/models/get_recruiter_job_posting_by_project_id200_response_hiring_team_inner.py b/unipile/models/get_recruiter_job_posting_by_project_id200_response_hiring_team_inner.py
index da0ff7d2a..3b472aa55 100644
--- a/unipile/models/get_recruiter_job_posting_by_project_id200_response_hiring_team_inner.py
+++ b/unipile/models/get_recruiter_job_posting_by_project_id200_response_hiring_team_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_job_posting_by_project_id200_response_screening_questions_inner.py b/unipile/models/get_recruiter_job_posting_by_project_id200_response_screening_questions_inner.py
index ae6971c0a..512debf01 100644
--- a/unipile/models/get_recruiter_job_posting_by_project_id200_response_screening_questions_inner.py
+++ b/unipile/models/get_recruiter_job_posting_by_project_id200_response_screening_questions_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -18,7 +18,7 @@
import json
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
-from typing import Any, ClassVar, Dict, List
+from typing import Any, ClassVar, Dict, List, Optional
from unipile.models.get_recruiter_job_posting_by_project_id200_response_screening_questions_inner_choices_inner import GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInnerChoicesInner
from typing import Optional, Set
from typing_extensions import Self
@@ -30,7 +30,7 @@ class GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInner(BaseMo
""" # noqa: E501
question: StrictStr = Field(description="The text of the question.")
is_eliminatory: StrictBool = Field(description="Whether an unexpected answer is considered a disqualifying factor.")
- choices: List[GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInnerChoicesInner] = Field(description="A list of choices.")
+ choices: Optional[List[GetRecruiterJobPostingByProjectId200ResponseScreeningQuestionsInnerChoicesInner]] = Field(default=None, description="A list of choices.")
__properties: ClassVar[List[str]] = ["question", "is_eliminatory", "choices"]
model_config = ConfigDict(
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.choices:
for _item_choices in self.choices:
- if _item_choices:
- _items.append(_item_choices.to_dict())
+ _items.append(_item_choices.to_dict() if _item_choices is not None else None)
_dict['choices'] = _items
return _dict
diff --git a/unipile/models/get_recruiter_job_posting_by_project_id200_response_screening_questions_inner_choices_inner.py b/unipile/models/get_recruiter_job_posting_by_project_id200_response_screening_questions_inner_choices_inner.py
index 4411e277f..64a3ee858 100644
--- a/unipile/models/get_recruiter_job_posting_by_project_id200_response_screening_questions_inner_choices_inner.py
+++ b/unipile/models/get_recruiter_job_posting_by_project_id200_response_screening_questions_inner_choices_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_job_posting_list200_response.py b/unipile/models/get_recruiter_job_posting_list200_response.py
index f2af5492c..1aa889970 100644
--- a/unipile/models/get_recruiter_job_posting_list200_response.py
+++ b/unipile/models/get_recruiter_job_posting_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetRecruiterJobPostingList200Response(BaseModel):
GetRecruiterJobPostingList200Response
""" # noqa: E501
data: List[GetRecruiterJobPostingList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_recruiter_job_posting_list200_response_data_inner.py b/unipile/models/get_recruiter_job_posting_list200_response_data_inner.py
index fef005ea4..b41c37c6f 100644
--- a/unipile/models/get_recruiter_job_posting_list200_response_data_inner.py
+++ b/unipile/models/get_recruiter_job_posting_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_pipeline_candidates_request.py b/unipile/models/get_recruiter_pipeline_candidates_request.py
index 34f2c3326..89ce83f52 100644
--- a/unipile/models/get_recruiter_pipeline_candidates_request.py
+++ b/unipile/models/get_recruiter_pipeline_candidates_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -34,12 +34,12 @@ class GetRecruiterPipelineCandidatesRequest(BaseModel):
sort_by: Optional[StrictStr] = Field(default=None, description="The sort method. Native filter : Sort by ")
spotlights: Optional[List[StrictStr]] = Field(default=None, description="A list of spotlights.")
recruiting_activity: Optional[GetRecruiterPipelineCandidatesRequestRecruitingActivity] = None
- added_by: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Added by ")
- skills: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. Native filter : Skills ")
+ added_by: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SEAT` type to find out the possible values. Native filter : Added by ")
+ skills: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. Native filter : Skills ")
years_of_experience: Optional[List[GetClassicApplicantsRequestYearsOfExperienceInner]] = Field(default=None, description="A list of years ranges Native filter : Years of experience ")
- job_title: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values. Native filter : Job titles ")
- current_company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `CURRENT_COMPANY` type to find out the possible values. Native filter : Current companies ")
- current_location: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Current locations ")
+ job_title: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values. Native filter : Job titles ")
+ current_company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `CURRENT_COMPANY` type to find out the possible values. Native filter : Current companies ")
+ current_location: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Current locations ")
__properties: ClassVar[List[str]] = ["keywords", "stage_id", "sort_by", "spotlights", "recruiting_activity", "added_by", "skills", "years_of_experience", "job_title", "current_company", "current_location"]
@field_validator('sort_by')
@@ -109,8 +109,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.years_of_experience:
for _item_years_of_experience in self.years_of_experience:
- if _item_years_of_experience:
- _items.append(_item_years_of_experience.to_dict())
+ _items.append(_item_years_of_experience.to_dict() if _item_years_of_experience is not None else None)
_dict['years_of_experience'] = _items
return _dict
diff --git a/unipile/models/get_recruiter_pipeline_candidates_request_recruiting_activity.py b/unipile/models/get_recruiter_pipeline_candidates_request_recruiting_activity.py
index 84e30bfac..651cc7842 100644
--- a/unipile/models/get_recruiter_pipeline_candidates_request_recruiting_activity.py
+++ b/unipile/models/get_recruiter_pipeline_candidates_request_recruiting_activity.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_search_parameters_request.py b/unipile/models/get_recruiter_search_parameters_request.py
index 18eb33988..79a6e2118 100644
--- a/unipile/models/get_recruiter_search_parameters_request.py
+++ b/unipile/models/get_recruiter_search_parameters_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request.py b/unipile/models/get_recruiter_talent_pool_applicants_request.py
index 323f194a2..6e2ec0131 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -39,17 +39,16 @@ class GetRecruiterTalentPoolApplicantsRequest(BaseModel):
"""
GetRecruiterTalentPoolApplicantsRequest
""" # noqa: E501
- channel_id: StrictStr = Field(description="The ID of the JOB_POSTING channel from the Talent Pool.")
keywords: Optional[StrictStr] = Field(default=None, description="A keyword or group of keywords.")
sort_by: Optional[StrictStr] = Field(default=None, description="The sort method. Native filter : Sort by ")
spotlights: Optional[List[StrictStr]] = Field(default=None, description="A list of spotlights.")
- location: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Current locations ")
+ location: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Current locations ")
company: Optional[GetRecruiterTalentPoolApplicantsRequestCompany] = None
- skills: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. Native filter : Skills ")
+ skills: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SKILL` type to find out the possible values. Native filter : Skills ")
school: Optional[GetRecruiterTalentPoolApplicantsRequestSchool] = None
- industry: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. Native filter : Industries ")
- job_title: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values. Native filter : Job titles ")
- spoken_language: Optional[List[GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner]] = Field(default=None, description="A list of languages.")
+ industry: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. Native filter : Industries ")
+ job_title: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values. Native filter : Job titles ")
+ spoken_language: Optional[List[GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner]] = Field(default=None, description="A list of languages. Only available to Recruiter PRO contracts. Native filter : Spoken languages ")
spoken_language_proficiency: Optional[StrictStr] = Field(default=None, description="The level of proficiency for the spoken languages. Native filter : Spoken languages proficiency ")
network_distance: Optional[List[GetRecruiterTalentPoolApplicantsRequestNetworkDistanceInner]] = Field(default=None, description="A list of connection degrees (1 for First, 2 for Second, 3 for Third+ and GROUP for Common group members). Native filter : Network relationships ")
years_of_experience: Optional[GetRecruiterTalentPoolApplicantsRequestYearsOfExperience] = None
@@ -58,11 +57,12 @@ class GetRecruiterTalentPoolApplicantsRequest(BaseModel):
degree: Optional[GetRecruiterTalentPoolApplicantsRequestDegree] = None
field_of_study: Optional[GetRecruiterTalentPoolApplicantsRequestFieldOfStudy] = None
seniority: Optional[List[StrictStr]] = Field(default=None, description="A list of experience levels.")
- job_function: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions ")
+ job_function: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions ")
current_company: Optional[GetRecruiterTalentPoolApplicantsRequestCurrentCompany] = None
company_size: Optional[List[GetRecruiterTalentPoolApplicantsRequestCompanySizeInner]] = Field(default=None, description="A list of company size ranges.")
tags: Optional[GetRecruiterTalentPoolApplicantsRequestTags] = None
- __properties: ClassVar[List[str]] = ["channel_id", "keywords", "sort_by", "spotlights", "location", "company", "skills", "school", "industry", "job_title", "spoken_language", "spoken_language_proficiency", "network_distance", "years_of_experience", "years_in_current_position", "years_in_current_company", "degree", "field_of_study", "seniority", "job_function", "current_company", "company_size", "tags"]
+ additional_properties: Dict[str, Any] = {}
+ __properties: ClassVar[List[str]] = ["keywords", "sort_by", "spotlights", "location", "company", "skills", "school", "industry", "job_title", "spoken_language", "spoken_language_proficiency", "network_distance", "years_of_experience", "years_in_current_position", "years_in_current_company", "degree", "field_of_study", "seniority", "job_function", "current_company", "company_size", "tags"]
@field_validator('sort_by')
def sort_by_validate_enum(cls, value):
@@ -136,8 +136,10 @@ def to_dict(self) -> Dict[str, Any]:
* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
+ * Fields in `self.additional_properties` are added to the output dict.
"""
excluded_fields: Set[str] = set([
+ "additional_properties",
])
_dict = self.model_dump(
@@ -155,15 +157,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.spoken_language:
for _item_spoken_language in self.spoken_language:
- if _item_spoken_language:
- _items.append(_item_spoken_language.to_dict())
+ _items.append(_item_spoken_language.to_dict() if _item_spoken_language is not None else None)
_dict['spoken_language'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in network_distance (list)
_items = []
if self.network_distance:
for _item_network_distance in self.network_distance:
- if _item_network_distance:
- _items.append(_item_network_distance.to_dict())
+ _items.append(_item_network_distance.to_dict() if _item_network_distance is not None else None)
_dict['network_distance'] = _items
# override the default output from pydantic by calling `to_dict()` of years_of_experience
if self.years_of_experience:
@@ -187,12 +187,16 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.company_size:
for _item_company_size in self.company_size:
- if _item_company_size:
- _items.append(_item_company_size.to_dict())
+ _items.append(_item_company_size.to_dict() if _item_company_size is not None else None)
_dict['company_size'] = _items
# override the default output from pydantic by calling `to_dict()` of tags
if self.tags:
_dict['tags'] = self.tags.to_dict()
+ # puts key-value pairs in additional_properties in the top level
+ if self.additional_properties is not None:
+ for _key, _value in self.additional_properties.items():
+ _dict[_key] = _value
+
return _dict
@classmethod
@@ -205,7 +209,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
return cls.model_validate(obj)
_obj = cls.model_validate({
- "channel_id": obj.get("channel_id"),
"keywords": obj.get("keywords"),
"sort_by": obj.get("sort_by"),
"spotlights": obj.get("spotlights"),
@@ -229,6 +232,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"company_size": [GetRecruiterTalentPoolApplicantsRequestCompanySizeInner.from_dict(_item) for _item in obj["company_size"]] if obj.get("company_size") is not None else None,
"tags": GetRecruiterTalentPoolApplicantsRequestTags.from_dict(obj["tags"]) if obj.get("tags") is not None else None
})
+ # store additional fields in additional_properties
+ for _key in obj.keys():
+ if _key not in cls.__properties:
+ _obj.additional_properties[_key] = obj.get(_key)
+
return _obj
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_company.py b/unipile/models/get_recruiter_talent_pool_applicants_request_company.py
index e945312ce..fda6c8595 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_company.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class GetRecruiterTalentPoolApplicantsRequestCompany(BaseModel):
"""
Native filter : Companies
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_company_size_inner.py b/unipile/models/get_recruiter_talent_pool_applicants_request_company_size_inner.py
index 5cb514d23..b8add4bde 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_company_size_inner.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_company_size_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_current_company.py b/unipile/models/get_recruiter_talent_pool_applicants_request_current_company.py
index 15e9ad1be..44510e810 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_current_company.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_current_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class GetRecruiterTalentPoolApplicantsRequestCurrentCompany(BaseModel):
"""
Native filter : Current companies
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `CURRENT_COMPANY` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `CURRENT_COMPANY` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `CURRENT_COMPANY` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `CURRENT_COMPANY` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_degree.py b/unipile/models/get_recruiter_talent_pool_applicants_request_degree.py
index 8e151a481..0537bc75d 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_degree.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_degree.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class GetRecruiterTalentPoolApplicantsRequestDegree(BaseModel):
"""
Native filter : Degrees
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `DEGREE` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `DEGREE` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `DEGREE` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `DEGREE` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_field_of_study.py b/unipile/models/get_recruiter_talent_pool_applicants_request_field_of_study.py
index 433e72a56..b47cd077d 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_field_of_study.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_field_of_study.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class GetRecruiterTalentPoolApplicantsRequestFieldOfStudy(BaseModel):
"""
Native filter : Fields of study
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `FIELD_OF_STUDY` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `FIELD_OF_STUDY` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `FIELD_OF_STUDY` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `FIELD_OF_STUDY` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_network_distance_inner.py b/unipile/models/get_recruiter_talent_pool_applicants_request_network_distance_inner.py
index 2b8592013..f936d66e0 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_network_distance_inner.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_network_distance_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_school.py b/unipile/models/get_recruiter_talent_pool_applicants_request_school.py
index b91f6b61d..319ff4176 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_school.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_school.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class GetRecruiterTalentPoolApplicantsRequestSchool(BaseModel):
"""
Native filter : Schools
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_spoken_language_inner.py b/unipile/models/get_recruiter_talent_pool_applicants_request_spoken_language_inner.py
index af4b6775a..522502129 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_spoken_language_inner.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_spoken_language_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -25,9 +25,9 @@
class GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner(BaseModel):
"""
- Native filter : Spoken languages
+ GetRecruiterTalentPoolApplicantsRequestSpokenLanguageInner
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `SPOKEN_LANGUAGE` type to find out the possible values.")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `SPOKEN_LANGUAGE` type to find out the possible values.")
priority: Optional[StrictStr] = Field(default='CAN_HAVE', description="Whether the user can, must or shouldn't have the value. Native filter : Priority ")
__properties: ClassVar[List[str]] = ["id", "priority"]
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_tags.py b/unipile/models/get_recruiter_talent_pool_applicants_request_tags.py
index 5e5787c93..dff1445bc 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_tags.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_tags.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class GetRecruiterTalentPoolApplicantsRequestTags(BaseModel):
"""
Native filter : Tags
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `TAG` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `TAG` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `TAG` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `TAG` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_years_in_current_company.py b/unipile/models/get_recruiter_talent_pool_applicants_request_years_in_current_company.py
index b40366a91..1b965934a 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_years_in_current_company.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_years_in_current_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_years_in_current_position.py b/unipile/models/get_recruiter_talent_pool_applicants_request_years_in_current_position.py
index 9e37fc88b..0ec788084 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_years_in_current_position.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_years_in_current_position.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_recruiter_talent_pool_applicants_request_years_of_experience.py b/unipile/models/get_recruiter_talent_pool_applicants_request_years_of_experience.py
index e303f0b15..69510adc5 100644
--- a/unipile/models/get_recruiter_talent_pool_applicants_request_years_of_experience.py
+++ b/unipile/models/get_recruiter_talent_pool_applicants_request_years_of_experience.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_relation_requests_list200_response.py b/unipile/models/get_relation_requests_list200_response.py
index be2596d69..223ecf689 100644
--- a/unipile/models/get_relation_requests_list200_response.py
+++ b/unipile/models/get_relation_requests_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.linked_in_relation_request import LinkedInRelationRequest
+from unipile.models.get_relation_requests_list200_response_data_inner import GetRelationRequestsList200ResponseDataInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -28,8 +28,8 @@ class GetRelationRequestsList200Response(BaseModel):
"""
GetRelationRequestsList200Response
""" # noqa: E501
- data: List[LinkedInRelationRequest]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ data: List[GetRelationRequestsList200ResponseDataInner]
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
@@ -91,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
return cls.model_validate(obj)
_obj = cls.model_validate({
- "data": [LinkedInRelationRequest.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
+ "data": [GetRelationRequestsList200ResponseDataInner.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
"total_count": obj.get("total_count"),
"next_cursor": obj.get("next_cursor")
})
diff --git a/unipile/models/get_relation_requests_list200_response_data_inner.py b/unipile/models/get_relation_requests_list200_response_data_inner.py
new file mode 100644
index 000000000..20099bb03
--- /dev/null
+++ b/unipile/models/get_relation_requests_list200_response_data_inner.py
@@ -0,0 +1,116 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_relation_requests_list200_response_data_inner_user import GetRelationRequestsList200ResponseDataInnerUser
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetRelationRequestsList200ResponseDataInner(BaseModel):
+ """
+ GetRelationRequestsList200ResponseDataInner
+ """ # noqa: E501
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the relation / follow request. - `sent` if the current user has asked another one to be in his relations. - `received` if another user has asked the current one to be in his relations.")
+ id: StrictStr = Field(description="The unique identifier of the invitation for the provider.")
+ created_at: Optional[StrictStr] = Field(default=None, description="Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ message: Optional[StrictStr] = Field(default=None, description="Any message that comes with the invitation.")
+ user: Optional[GetRelationRequestsList200ResponseDataInnerUser] = None
+ __properties: ClassVar[List[str]] = ["object", "type", "id", "created_at", "message", "user"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['RelationRequest']):
+ raise ValueError("must be one of enum values ('RelationRequest')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['sent', 'received']):
+ raise ValueError("must be one of enum values ('sent', 'received')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetRelationRequestsList200ResponseDataInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of user
+ if self.user:
+ _dict['user'] = self.user.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetRelationRequestsList200ResponseDataInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "id": obj.get("id"),
+ "created_at": obj.get("created_at"),
+ "message": obj.get("message"),
+ "user": GetRelationRequestsList200ResponseDataInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_relation_requests_list200_response_data_inner_user.py b/unipile/models/get_relation_requests_list200_response_data_inner_user.py
new file mode 100644
index 000000000..ddaef25df
--- /dev/null
+++ b/unipile/models/get_relation_requests_list200_response_data_inner_user.py
@@ -0,0 +1,128 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class GetRelationRequestsList200ResponseDataInnerUser(BaseModel):
+ """
+ The user who is the target of the relation / follow request.
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[GetChatsList200ResponseDataInnerUserSpecifics] = None
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of GetRelationRequestsList200ResponseDataInnerUser from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of GetRelationRequestsList200ResponseDataInnerUser from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": GetChatsList200ResponseDataInnerUserSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/get_sales_account_lists200_response.py b/unipile/models/get_sales_account_lists200_response.py
index b17471576..5aea1c960 100644
--- a/unipile/models/get_sales_account_lists200_response.py
+++ b/unipile/models/get_sales_account_lists200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetSalesAccountLists200Response(BaseModel):
GetSalesAccountLists200Response
""" # noqa: E501
data: List[GetSalesAccountLists200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_sales_account_lists200_response_data_inner.py b/unipile/models/get_sales_account_lists200_response_data_inner.py
index 27c83a197..0bdcf0757 100644
--- a/unipile/models/get_sales_account_lists200_response_data_inner.py
+++ b/unipile/models/get_sales_account_lists200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_sales_lead_lists200_response.py b/unipile/models/get_sales_lead_lists200_response.py
index a95505537..9d3ae3794 100644
--- a/unipile/models/get_sales_lead_lists200_response.py
+++ b/unipile/models/get_sales_lead_lists200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetSalesLeadLists200Response(BaseModel):
GetSalesLeadLists200Response
""" # noqa: E501
data: List[GetSalesLeadLists200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_sales_lead_lists200_response_data_inner.py b/unipile/models/get_sales_lead_lists200_response_data_inner.py
index ff3ce00c7..271aadd50 100644
--- a/unipile/models/get_sales_lead_lists200_response_data_inner.py
+++ b/unipile/models/get_sales_lead_lists200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_thread200_response.py b/unipile/models/get_thread200_response.py
index fe055f1a0..7a475c67d 100644
--- a/unipile/models/get_thread200_response.py
+++ b/unipile/models/get_thread200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -83,8 +83,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.emails:
for _item_emails in self.emails:
- if _item_emails:
- _items.append(_item_emails.to_dict())
+ _items.append(_item_emails.to_dict() if _item_emails is not None else None)
_dict['emails'] = _items
return _dict
diff --git a/unipile/models/get_thread200_response_emails_inner.py b/unipile/models/get_thread200_response_emails_inner.py
index acf0fd76c..be0806f1f 100644
--- a/unipile/models/get_thread200_response_emails_inner.py
+++ b/unipile/models/get_thread200_response_emails_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,9 +19,9 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
from unipile.models.get_emails_list200_response_data_inner_from_inner import GetEmailsList200ResponseDataInnerFromInner
from unipile.models.get_emails_list200_response_data_inner_headers_inner import GetEmailsList200ResponseDataInnerHeadersInner
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -44,7 +44,7 @@ class GetThread200ResponseEmailsInner(BaseModel):
bcc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="The list of attendees that the email was BCC'd to.")
reply_to: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="The list of attendees that the replies should be sent to.")
var_date: StrictStr = Field(description="The date the email was sent. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).", alias="date")
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="The attachments of the email.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="The attachments of the email.")
folders: List[StrictStr] = Field(description="The IDs of folders the email is in. For Gmail, the IDs of labels assigned to the email.")
categories: Optional[List[StrictStr]] = Field(default=None, description="List of categories assigned to the email.")
is_unread: StrictBool = Field(description="Is the email unread.")
@@ -100,50 +100,43 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.headers:
for _item_headers in self.headers:
- if _item_headers:
- _items.append(_item_headers.to_dict())
+ _items.append(_item_headers.to_dict() if _item_headers is not None else None)
_dict['headers'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in var_from (list)
_items = []
if self.var_from:
for _item_var_from in self.var_from:
- if _item_var_from:
- _items.append(_item_var_from.to_dict())
+ _items.append(_item_var_from.to_dict() if _item_var_from is not None else None)
_dict['from'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in to (list)
_items = []
if self.to:
for _item_to in self.to:
- if _item_to:
- _items.append(_item_to.to_dict())
+ _items.append(_item_to.to_dict() if _item_to is not None else None)
_dict['to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in cc (list)
_items = []
if self.cc:
for _item_cc in self.cc:
- if _item_cc:
- _items.append(_item_cc.to_dict())
+ _items.append(_item_cc.to_dict() if _item_cc is not None else None)
_dict['cc'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in bcc (list)
_items = []
if self.bcc:
for _item_bcc in self.bcc:
- if _item_bcc:
- _items.append(_item_bcc.to_dict())
+ _items.append(_item_bcc.to_dict() if _item_bcc is not None else None)
_dict['bcc'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in reply_to (list)
_items = []
if self.reply_to:
for _item_reply_to in self.reply_to:
- if _item_reply_to:
- _items.append(_item_reply_to.to_dict())
+ _items.append(_item_reply_to.to_dict() if _item_reply_to is not None else None)
_dict['reply_to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
return _dict
@@ -171,7 +164,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"bcc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["bcc"]] if obj.get("bcc") is not None else None,
"reply_to": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["reply_to"]] if obj.get("reply_to") is not None else None,
"date": obj.get("date"),
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"folders": obj.get("folders"),
"categories": obj.get("categories"),
"is_unread": obj.get("is_unread")
diff --git a/unipile/models/get_user_chat200_response.py b/unipile/models/get_user_chat200_response.py
index 985a8428f..628fc6ea0 100644
--- a/unipile/models/get_user_chat200_response.py
+++ b/unipile/models/get_user_chat200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -82,8 +82,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_user_chat200_response_data_inner.py b/unipile/models/get_user_chat200_response_data_inner.py
index 2ad5d40cd..b5b4571eb 100644
--- a/unipile/models/get_user_chat200_response_data_inner.py
+++ b/unipile/models/get_user_chat200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_user_comments_list200_response.py b/unipile/models/get_user_comments_list200_response.py
index 8a22dbc21..838782cb0 100644
--- a/unipile/models/get_user_comments_list200_response.py
+++ b/unipile/models/get_user_comments_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetUserCommentsList200Response(BaseModel):
GetUserCommentsList200Response
""" # noqa: E501
data: List[GetUserCommentsList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_user_comments_list200_response_data_inner.py b/unipile/models/get_user_comments_list200_response_data_inner.py
index 78e06348d..fa6f860ab 100644
--- a/unipile/models/get_user_comments_list200_response_data_inner.py
+++ b/unipile/models/get_user_comments_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,8 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.get_messages_list200_response_data_inner_reactions_counter_inner import GetMessagesList200ResponseDataInnerReactionsCounterInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
from unipile.models.get_post_comments_list200_response_data_inner_author import GetPostCommentsList200ResponseDataInnerAuthor
from unipile.models.get_user_comments_list200_response_data_inner_parent_post import GetUserCommentsList200ResponseDataInnerParentPost
from typing import Optional, Set
@@ -33,16 +34,18 @@ class GetUserCommentsList200ResponseDataInner(BaseModel):
object: StrictStr
id: StrictStr = Field(description="The ID of the comment.")
thread_id: Optional[StrictStr] = Field(default=None, description="The ID of the thread if this is a reply to another comment.")
- author: GetPostCommentsList200ResponseDataInnerAuthor
created_at: StrictStr = Field(description="The creation date of the comment. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
text: StrictStr = Field(description="The text content of the comment.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of comment attachments.")
is_sender: StrictBool = Field(description="Is the current user the sender of the comment.")
can_reply: StrictBool = Field(description="Whether the current user can reply to the comment or not.")
can_react: StrictBool = Field(description="Whether the current user can react to the comment or not.")
reply_counter: Union[StrictFloat, StrictInt] = Field(description="The number of replies to the comment.")
- reactions_counter: List[GetMessagesList200ResponseDataInnerReactionsCounterInner] = Field(description="A list of reactions to the element.")
+ impressions_counter: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of impressions of the comment.")
+ reactions_counter: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner] = Field(description="A list of reactions to the element.")
+ author: GetPostCommentsList200ResponseDataInnerAuthor
parent_post: Optional[GetUserCommentsList200ResponseDataInnerParentPost]
- __properties: ClassVar[List[str]] = ["object", "id", "thread_id", "author", "created_at", "text", "is_sender", "can_reply", "can_react", "reply_counter", "reactions_counter", "parent_post"]
+ __properties: ClassVar[List[str]] = ["object", "id", "thread_id", "created_at", "text", "attachments", "is_sender", "can_reply", "can_react", "reply_counter", "impressions_counter", "reactions_counter", "author", "parent_post"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -90,16 +93,21 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
- # override the default output from pydantic by calling `to_dict()` of author
- if self.author:
- _dict['author'] = self.author.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
+ _items = []
+ if self.attachments:
+ for _item_attachments in self.attachments:
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
+ _dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in reactions_counter (list)
_items = []
if self.reactions_counter:
for _item_reactions_counter in self.reactions_counter:
- if _item_reactions_counter:
- _items.append(_item_reactions_counter.to_dict())
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
_dict['reactions_counter'] = _items
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
# override the default output from pydantic by calling `to_dict()` of parent_post
if self.parent_post:
_dict['parent_post'] = self.parent_post.to_dict()
@@ -123,14 +131,16 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"object": obj.get("object"),
"id": obj.get("id"),
"thread_id": obj.get("thread_id"),
- "author": GetPostCommentsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
"created_at": obj.get("created_at"),
"text": obj.get("text"),
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"is_sender": obj.get("is_sender"),
"can_reply": obj.get("can_reply"),
"can_react": obj.get("can_react"),
"reply_counter": obj.get("reply_counter"),
- "reactions_counter": [GetMessagesList200ResponseDataInnerReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "impressions_counter": obj.get("impressions_counter"),
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "author": GetPostCommentsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
"parent_post": GetUserCommentsList200ResponseDataInnerParentPost.from_dict(obj["parent_post"]) if obj.get("parent_post") is not None else None
})
return _obj
diff --git a/unipile/models/get_user_comments_list200_response_data_inner_parent_post.py b/unipile/models/get_user_comments_list200_response_data_inner_parent_post.py
index 7941a2258..f77eaa10d 100644
--- a/unipile/models/get_user_comments_list200_response_data_inner_parent_post.py
+++ b/unipile/models/get_user_comments_list200_response_data_inner_parent_post.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_user_comments_list200_response_data_inner_parent_post_any_of.py b/unipile/models/get_user_comments_list200_response_data_inner_parent_post_any_of.py
index dc5aab93f..7eae3594d 100644
--- a/unipile/models/get_user_comments_list200_response_data_inner_parent_post_any_of.py
+++ b/unipile/models/get_user_comments_list200_response_data_inner_parent_post_any_of.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,15 +27,15 @@
class GetUserCommentsList200ResponseDataInnerParentPostAnyOf(BaseModel):
"""
- The amount of available data may vary depending on the provider.
+ GetUserCommentsList200ResponseDataInnerParentPostAnyOf
""" # noqa: E501
object: StrictStr
id: StrictStr = Field(description="The ID of the post for the provider.")
share_url: Optional[StrictStr] = Field(default=None, description="The URL to share the post.")
text: Optional[StrictStr] = Field(default=None, description="The text content of the post.")
- author: Optional[GetPostsList200ResponseDataInnerAuthor] = None
attachments: Optional[List[GetUserCommentsList200ResponseDataInnerParentPostAnyOfAttachmentsInner]] = Field(default=None, description="Attachments of the parent post (e.g. post image).")
- __properties: ClassVar[List[str]] = ["object", "id", "share_url", "text", "author", "attachments"]
+ author: Optional[GetPostsList200ResponseDataInnerAuthor] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "share_url", "text", "attachments", "author"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -83,16 +83,15 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
- # override the default output from pydantic by calling `to_dict()` of author
- if self.author:
- _dict['author'] = self.author.to_dict()
# override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
return _dict
@classmethod
@@ -109,8 +108,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"id": obj.get("id"),
"share_url": obj.get("share_url"),
"text": obj.get("text"),
- "author": GetPostsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
- "attachments": [GetUserCommentsList200ResponseDataInnerParentPostAnyOfAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None
+ "attachments": [GetUserCommentsList200ResponseDataInnerParentPostAnyOfAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "author": GetPostsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None
})
return _obj
diff --git a/unipile/models/get_user_comments_list200_response_data_inner_parent_post_any_of_attachments_inner.py b/unipile/models/get_user_comments_list200_response_data_inner_parent_post_any_of_attachments_inner.py
index 50e1396fc..475067b48 100644
--- a/unipile/models/get_user_comments_list200_response_data_inner_parent_post_any_of_attachments_inner.py
+++ b/unipile/models/get_user_comments_list200_response_data_inner_parent_post_any_of_attachments_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/get_user_profile200_response.py b/unipile/models/get_user_profile200_response.py
index 85f76a57f..b6b64027c 100644
--- a/unipile/models/get_user_profile200_response.py
+++ b/unipile/models/get_user_profile200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.get_email_contacts_list200_response_data_inner_social_handles import GetEmailContactsList200ResponseDataInnerSocialHandles
+from unipile.models.get_contacts_list200_response_data_inner_social_handles import GetContactsList200ResponseDataInnerSocialHandles
from unipile.models.get_user_profile200_response_specifics import GetUserProfile200ResponseSpecifics
from typing import Optional, Set
from typing_extensions import Self
@@ -33,15 +33,16 @@ class GetUserProfile200Response(BaseModel):
object: StrictStr
type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
- display_name: StrictStr = Field(description="Display name of the user.")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: GetUserProfile200ResponseSpecifics
background_picture_url: Optional[StrictStr] = Field(default=None, description="URL of the user's background / banner picture.")
public_picture_url_large: Optional[StrictStr] = Field(default=None, description="URL of the user's public picture in large size.")
- first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
- last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
birth_date: Optional[StrictStr] = Field(default=None, description="Birth date of the user.")
addresses: Optional[List[Optional[StrictStr]]] = Field(default=None, description="List of user addresses.")
emails: Optional[List[StrictStr]] = Field(default=None, description="List of user email addresses.")
@@ -50,7 +51,7 @@ class GetUserProfile200Response(BaseModel):
bio: Optional[StrictStr] = Field(default=None, description="Biography of the user.")
location: Optional[StrictStr] = Field(default=None, description="Location of the user.")
muted_until: Optional[StrictStr] = Field(default=None, description="Date and time until when the user is muted. ")
- following: Optional[StrictBool] = Field(default=None, description="Whether the user is followed by the current user.")
+ is_following: Optional[StrictBool] = Field(default=None, description="Whether the user is followed by the current user.")
followers_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Number of followers of the user.")
following_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Number of users followed by the user.")
relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Number of relations of the user.")
@@ -58,10 +59,9 @@ class GetUserProfile200Response(BaseModel):
shared_followers_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Number of following users that follows the given profile.")
is_blocked: StrictBool = Field(description="Whether the user is blocked by the current user.")
provider: StrictStr = Field(description="The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP.")
- specifics: GetUserProfile200ResponseSpecifics
- social_handles: Optional[GetEmailContactsList200ResponseDataInnerSocialHandles] = None
+ social_handles: Optional[GetContactsList200ResponseDataInnerSocialHandles] = None
websites: Optional[List[StrictStr]] = Field(default=None, description="List of user websites.")
- __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "background_picture_url", "public_picture_url_large", "first_name", "last_name", "birth_date", "addresses", "emails", "phone_numbers", "created_at", "bio", "location", "muted_until", "following", "followers_count", "following_count", "relations_count", "shared_relations_count", "shared_followers_count", "is_blocked", "provider", "specifics", "social_handles", "websites"]
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics", "background_picture_url", "public_picture_url_large", "birth_date", "addresses", "emails", "phone_numbers", "created_at", "bio", "location", "muted_until", "is_following", "followers_count", "following_count", "relations_count", "shared_relations_count", "shared_followers_count", "is_blocked", "provider", "social_handles", "websites"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -146,14 +146,15 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"type": obj.get("type"),
"public_identifier": obj.get("public_identifier"),
"display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
"profile_url": obj.get("profile_url"),
"public_picture_url": obj.get("public_picture_url"),
"private_picture_download_url": obj.get("private_picture_download_url"),
"description": obj.get("description"),
+ "specifics": GetUserProfile200ResponseSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None,
"background_picture_url": obj.get("background_picture_url"),
"public_picture_url_large": obj.get("public_picture_url_large"),
- "first_name": obj.get("first_name"),
- "last_name": obj.get("last_name"),
"birth_date": obj.get("birth_date"),
"addresses": obj.get("addresses"),
"emails": obj.get("emails"),
@@ -162,7 +163,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"bio": obj.get("bio"),
"location": obj.get("location"),
"muted_until": obj.get("muted_until"),
- "following": obj.get("following"),
+ "is_following": obj.get("is_following"),
"followers_count": obj.get("followers_count"),
"following_count": obj.get("following_count"),
"relations_count": obj.get("relations_count"),
@@ -170,8 +171,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"shared_followers_count": obj.get("shared_followers_count"),
"is_blocked": obj.get("is_blocked"),
"provider": obj.get("provider"),
- "specifics": GetUserProfile200ResponseSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None,
- "social_handles": GetEmailContactsList200ResponseDataInnerSocialHandles.from_dict(obj["social_handles"]) if obj.get("social_handles") is not None else None,
+ "social_handles": GetContactsList200ResponseDataInnerSocialHandles.from_dict(obj["social_handles"]) if obj.get("social_handles") is not None else None,
"websites": obj.get("websites")
})
return _obj
diff --git a/unipile/models/get_user_profile200_response_specifics.py b/unipile/models/get_user_profile200_response_specifics.py
index 3a114adaf..446bb0551 100644
--- a/unipile/models/get_user_profile200_response_specifics.py
+++ b/unipile/models/get_user_profile200_response_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,16 +19,17 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.linked_in_certifications_inner import LinkedInCertificationsInner
-from unipile.models.linked_in_education_inner import LinkedInEducationInner
-from unipile.models.linked_in_experience_inner import LinkedInExperienceInner
-from unipile.models.linked_in_languages_inner import LinkedInLanguagesInner
-from unipile.models.linked_in_projects_inner import LinkedInProjectsInner
-from unipile.models.linked_in_recommendations import LinkedInRecommendations
-from unipile.models.linked_in_recruiting_profile import LinkedInRecruitingProfile
-from unipile.models.linked_in_relation_request import LinkedInRelationRequest
-from unipile.models.linked_in_skills_inner import LinkedInSkillsInner
-from unipile.models.linked_in_volunteer_experience_inner import LinkedInVolunteerExperienceInner
+from unipile.models.linked_in1_certifications_inner import LinkedIn1CertificationsInner
+from unipile.models.linked_in1_education_inner import LinkedIn1EducationInner
+from unipile.models.linked_in1_experience_inner import LinkedIn1ExperienceInner
+from unipile.models.linked_in1_interests import LinkedIn1Interests
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner
+from unipile.models.linked_in1_projects_inner import LinkedIn1ProjectsInner
+from unipile.models.linked_in1_recommendations import LinkedIn1Recommendations
+from unipile.models.linked_in1_recruiting_profile import LinkedIn1RecruitingProfile
+from unipile.models.linked_in1_relation_request import LinkedIn1RelationRequest
+from unipile.models.linked_in1_skills_inner import LinkedIn1SkillsInner
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -40,7 +41,7 @@ class GetUserProfile200ResponseSpecifics(BaseModel):
member_id: Optional[StrictStr] = Field(default=None, description="LinkedIn internal member ID of the user.")
can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether the user can be reached with inmails.")
network_distance: StrictStr = Field(description="Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.'")
- relation_request: Optional[LinkedInRelationRequest] = None
+ relation_request: Optional[LinkedIn1RelationRequest] = None
relation_request_status: Optional[StrictStr] = Field(default=None, description="The status of the relation request with the user if any.")
pronoun: Optional[StrictStr] = Field(default=None, description="The pronoun to be used to refer to this user.")
default_locale: Optional[StrictStr] = Field(default=None, description="Default locale for the user's profile (POSIX format e.g. en_US, fr_FR...).")
@@ -54,18 +55,20 @@ class GetUserProfile200ResponseSpecifics(BaseModel):
is_open_to_work: Optional[StrictBool] = Field(default=None, description="Whether the user is open to work.")
is_saved_lead: Optional[StrictBool] = Field(default=None, description="Whether the user is a saved lead.")
is_crm_imported: Optional[StrictBool] = Field(default=None, description="Whether the user is a CRM imported user.")
- skills: Optional[List[LinkedInSkillsInner]] = None
- experience: Optional[List[LinkedInExperienceInner]] = None
- education: Optional[List[LinkedInEducationInner]] = None
- languages: Optional[List[LinkedInLanguagesInner]] = None
- certifications: Optional[List[LinkedInCertificationsInner]] = None
- volunteer_experience: Optional[List[LinkedInVolunteerExperienceInner]] = None
- projects: Optional[List[LinkedInProjectsInner]] = None
- recommendations: Optional[LinkedInRecommendations] = None
+ skills: Optional[List[LinkedIn1SkillsInner]] = Field(default=None, description="A collection of the user's skills.")
+ experience: Optional[List[LinkedIn1ExperienceInner]] = Field(default=None, description="A collection of the user's professionnal experiences.")
+ education: Optional[List[LinkedIn1EducationInner]] = Field(default=None, description="A collection of the user's education.")
+ languages: Optional[List[LinkedIn1LanguagesInner]] = Field(default=None, description="A collection of the user's languages.")
+ certifications: Optional[List[LinkedIn1CertificationsInner]] = Field(default=None, description="A collection of the user's certifications.")
+ volunteer_experience: Optional[List[LinkedIn1VolunteerExperienceInner]] = Field(default=None, description="A collection of the user's volunteering experiences.")
+ projects: Optional[List[LinkedIn1ProjectsInner]] = Field(default=None, description="A collection of the user's projects.")
+ recommendations: Optional[LinkedIn1Recommendations] = None
+ interests: Optional[LinkedIn1Interests] = None
throttled_sections: Optional[List[StrictStr]] = Field(default=None, description="A list of sections that are temporary unavailable due to LinkedIn rate limiting.")
- recruiting_profile: Optional[LinkedInRecruitingProfile] = None
- messaging_identifier: Optional[StrictStr] = Field(description="The ID of the Company.")
- __properties: ClassVar[List[str]] = ["member_id", "can_send_inmail", "network_distance", "relation_request", "relation_request_status", "pronoun", "default_locale", "supported_locales", "notify_visit_token", "is_open_profile", "is_premium", "is_influencer", "is_creator", "is_hiring", "is_open_to_work", "is_saved_lead", "is_crm_imported", "skills", "experience", "education", "languages", "certifications", "volunteer_experience", "projects", "recommendations", "throttled_sections", "recruiting_profile", "messaging_identifier"]
+ recruiting_profile: Optional[LinkedIn1RecruitingProfile] = None
+ messaging_identifier: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ contact_name: Optional[StrictStr] = Field(default=None, description="Name saved by the connected account owner in their WhatsApp address book.")
+ __properties: ClassVar[List[str]] = ["member_id", "can_send_inmail", "network_distance", "relation_request", "relation_request_status", "pronoun", "default_locale", "supported_locales", "notify_visit_token", "is_open_profile", "is_premium", "is_influencer", "is_creator", "is_hiring", "is_open_to_work", "is_saved_lead", "is_crm_imported", "skills", "experience", "education", "languages", "certifications", "volunteer_experience", "projects", "recommendations", "interests", "throttled_sections", "recruiting_profile", "messaging_identifier", "contact_name"]
@field_validator('network_distance')
def network_distance_validate_enum(cls, value):
@@ -91,8 +94,8 @@ def throttled_sections_validate_enum(cls, value):
return value
for i in value:
- if i not in set(['experience', 'education', 'languages', 'skills', 'certifications', 'volunteer_experience', 'projects', 'recommendations']):
- raise ValueError("each list item must be one of ('experience', 'education', 'languages', 'skills', 'certifications', 'volunteer_experience', 'projects', 'recommendations')")
+ if i not in set(['experience', 'education', 'languages', 'skills', 'certifications', 'volunteer_experience', 'projects', 'recommendations', 'interests']):
+ raise ValueError("each list item must be one of ('experience', 'education', 'languages', 'skills', 'certifications', 'volunteer_experience', 'projects', 'recommendations', 'interests')")
return value
model_config = ConfigDict(
@@ -141,54 +144,50 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in experience (list)
_items = []
if self.experience:
for _item_experience in self.experience:
- if _item_experience:
- _items.append(_item_experience.to_dict())
+ _items.append(_item_experience.to_dict() if _item_experience is not None else None)
_dict['experience'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in education (list)
_items = []
if self.education:
for _item_education in self.education:
- if _item_education:
- _items.append(_item_education.to_dict())
+ _items.append(_item_education.to_dict() if _item_education is not None else None)
_dict['education'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in languages (list)
_items = []
if self.languages:
for _item_languages in self.languages:
- if _item_languages:
- _items.append(_item_languages.to_dict())
+ _items.append(_item_languages.to_dict() if _item_languages is not None else None)
_dict['languages'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in certifications (list)
_items = []
if self.certifications:
for _item_certifications in self.certifications:
- if _item_certifications:
- _items.append(_item_certifications.to_dict())
+ _items.append(_item_certifications.to_dict() if _item_certifications is not None else None)
_dict['certifications'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in volunteer_experience (list)
_items = []
if self.volunteer_experience:
for _item_volunteer_experience in self.volunteer_experience:
- if _item_volunteer_experience:
- _items.append(_item_volunteer_experience.to_dict())
+ _items.append(_item_volunteer_experience.to_dict() if _item_volunteer_experience is not None else None)
_dict['volunteer_experience'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in projects (list)
_items = []
if self.projects:
for _item_projects in self.projects:
- if _item_projects:
- _items.append(_item_projects.to_dict())
+ _items.append(_item_projects.to_dict() if _item_projects is not None else None)
_dict['projects'] = _items
# override the default output from pydantic by calling `to_dict()` of recommendations
if self.recommendations:
_dict['recommendations'] = self.recommendations.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of interests
+ if self.interests:
+ _dict['interests'] = self.interests.to_dict()
# override the default output from pydantic by calling `to_dict()` of recruiting_profile
if self.recruiting_profile:
_dict['recruiting_profile'] = self.recruiting_profile.to_dict()
@@ -212,7 +211,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"member_id": obj.get("member_id"),
"can_send_inmail": obj.get("can_send_inmail"),
"network_distance": obj.get("network_distance"),
- "relation_request": LinkedInRelationRequest.from_dict(obj["relation_request"]) if obj.get("relation_request") is not None else None,
+ "relation_request": LinkedIn1RelationRequest.from_dict(obj["relation_request"]) if obj.get("relation_request") is not None else None,
"relation_request_status": obj.get("relation_request_status"),
"pronoun": obj.get("pronoun"),
"default_locale": obj.get("default_locale"),
@@ -226,17 +225,19 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"is_open_to_work": obj.get("is_open_to_work"),
"is_saved_lead": obj.get("is_saved_lead"),
"is_crm_imported": obj.get("is_crm_imported"),
- "skills": [LinkedInSkillsInner.from_dict(_item) for _item in obj["skills"]] if obj.get("skills") is not None else None,
- "experience": [LinkedInExperienceInner.from_dict(_item) for _item in obj["experience"]] if obj.get("experience") is not None else None,
- "education": [LinkedInEducationInner.from_dict(_item) for _item in obj["education"]] if obj.get("education") is not None else None,
- "languages": [LinkedInLanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
- "certifications": [LinkedInCertificationsInner.from_dict(_item) for _item in obj["certifications"]] if obj.get("certifications") is not None else None,
- "volunteer_experience": [LinkedInVolunteerExperienceInner.from_dict(_item) for _item in obj["volunteer_experience"]] if obj.get("volunteer_experience") is not None else None,
- "projects": [LinkedInProjectsInner.from_dict(_item) for _item in obj["projects"]] if obj.get("projects") is not None else None,
- "recommendations": LinkedInRecommendations.from_dict(obj["recommendations"]) if obj.get("recommendations") is not None else None,
+ "skills": [LinkedIn1SkillsInner.from_dict(_item) for _item in obj["skills"]] if obj.get("skills") is not None else None,
+ "experience": [LinkedIn1ExperienceInner.from_dict(_item) for _item in obj["experience"]] if obj.get("experience") is not None else None,
+ "education": [LinkedIn1EducationInner.from_dict(_item) for _item in obj["education"]] if obj.get("education") is not None else None,
+ "languages": [LinkedIn1LanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
+ "certifications": [LinkedIn1CertificationsInner.from_dict(_item) for _item in obj["certifications"]] if obj.get("certifications") is not None else None,
+ "volunteer_experience": [LinkedIn1VolunteerExperienceInner.from_dict(_item) for _item in obj["volunteer_experience"]] if obj.get("volunteer_experience") is not None else None,
+ "projects": [LinkedIn1ProjectsInner.from_dict(_item) for _item in obj["projects"]] if obj.get("projects") is not None else None,
+ "recommendations": LinkedIn1Recommendations.from_dict(obj["recommendations"]) if obj.get("recommendations") is not None else None,
+ "interests": LinkedIn1Interests.from_dict(obj["interests"]) if obj.get("interests") is not None else None,
"throttled_sections": obj.get("throttled_sections"),
- "recruiting_profile": LinkedInRecruitingProfile.from_dict(obj["recruiting_profile"]) if obj.get("recruiting_profile") is not None else None,
- "messaging_identifier": obj.get("messaging_identifier")
+ "recruiting_profile": LinkedIn1RecruitingProfile.from_dict(obj["recruiting_profile"]) if obj.get("recruiting_profile") is not None else None,
+ "messaging_identifier": obj.get("messaging_identifier"),
+ "contact_name": obj.get("contact_name")
})
return _obj
diff --git a/unipile/models/get_user_reactions_list200_response.py b/unipile/models/get_user_reactions_list200_response.py
index 45f041874..19dc1d1fd 100644
--- a/unipile/models/get_user_reactions_list200_response.py
+++ b/unipile/models/get_user_reactions_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetUserReactionsList200Response(BaseModel):
GetUserReactionsList200Response
""" # noqa: E501
data: List[GetUserReactionsList200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_user_reactions_list200_response_data_inner.py b/unipile/models/get_user_reactions_list200_response_data_inner.py
index 960e77d61..1a144fe44 100644
--- a/unipile/models/get_user_reactions_list200_response_data_inner.py
+++ b/unipile/models/get_user_reactions_list200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.get_message_reactions_list200_response_data_inner_sender import GetMessageReactionsList200ResponseDataInnerSender
+from unipile.models.get_chats_list200_response_data_inner_participants_inner_user import GetChatsList200ResponseDataInnerParticipantsInnerUser
from unipile.models.get_user_comments_list200_response_data_inner_parent_post import GetUserCommentsList200ResponseDataInnerParentPost
from typing import Optional, Set
from typing_extensions import Self
@@ -31,10 +31,10 @@ class GetUserReactionsList200ResponseDataInner(BaseModel):
""" # noqa: E501
object: StrictStr
value: StrictStr = Field(description="Value of the reaction. Usually an emoji unicode.")
- sender: GetMessageReactionsList200ResponseDataInnerSender
is_sender: StrictBool = Field(description="Is the current user the sender of the reaction.")
+ sender: GetChatsList200ResponseDataInnerParticipantsInnerUser
parent_post: Optional[GetUserCommentsList200ResponseDataInnerParentPost]
- __properties: ClassVar[List[str]] = ["object", "value", "sender", "is_sender", "parent_post"]
+ __properties: ClassVar[List[str]] = ["object", "value", "is_sender", "sender", "parent_post"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -107,8 +107,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"object": obj.get("object"),
"value": obj.get("value"),
- "sender": GetMessageReactionsList200ResponseDataInnerSender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
"is_sender": obj.get("is_sender"),
+ "sender": GetChatsList200ResponseDataInnerParticipantsInnerUser.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
"parent_post": GetUserCommentsList200ResponseDataInnerParentPost.from_dict(obj["parent_post"]) if obj.get("parent_post") is not None else None
})
return _obj
diff --git a/unipile/models/get_user_relations200_response.py b/unipile/models/get_user_relations200_response.py
index 93fc3539d..2abdd5928 100644
--- a/unipile/models/get_user_relations200_response.py
+++ b/unipile/models/get_user_relations200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class GetUserRelations200Response(BaseModel):
GetUserRelations200Response
""" # noqa: E501
data: List[GetUserRelations200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/get_user_relations200_response_data_inner.py b/unipile/models/get_user_relations200_response_data_inner.py
index 5f6036a17..57765865e 100644
--- a/unipile/models/get_user_relations200_response_data_inner.py
+++ b/unipile/models/get_user_relations200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,9 +30,9 @@ class GetUserRelations200ResponseDataInner(BaseModel):
""" # noqa: E501
id: StrictStr = Field(description="Unique identifier of the user relation for the provider. Usually an internal identifier used by the API only.")
object: StrictStr
- user: GetUserRelations200ResponseDataInnerUser
created_at: Optional[StrictStr] = Field(default=None, description="Date and time when the relation was created. ")
- __properties: ClassVar[List[str]] = ["id", "object", "user", "created_at"]
+ user: GetUserRelations200ResponseDataInnerUser
+ __properties: ClassVar[List[str]] = ["id", "object", "created_at", "user"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -97,8 +97,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"id": obj.get("id"),
"object": obj.get("object"),
- "user": GetUserRelations200ResponseDataInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None,
- "created_at": obj.get("created_at")
+ "created_at": obj.get("created_at"),
+ "user": GetUserRelations200ResponseDataInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None
})
return _obj
diff --git a/unipile/models/get_user_relations200_response_data_inner_user.py b/unipile/models/get_user_relations200_response_data_inner_user.py
index 6de016a6a..ed114561e 100644
--- a/unipile/models/get_user_relations200_response_data_inner_user.py
+++ b/unipile/models/get_user_relations200_response_data_inner_user.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.get_chats_list200_response_data_inner_user_specifics import GetChatsList200ResponseDataInnerUserSpecifics
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -31,12 +32,15 @@ class GetUserRelations200ResponseDataInnerUser(BaseModel):
object: StrictStr
type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
- display_name: StrictStr = Field(description="Display name of the user.")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
- __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "profile_url", "public_picture_url", "private_picture_download_url", "description"]
+ specifics: Optional[GetChatsList200ResponseDataInnerUserSpecifics] = None
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -91,6 +95,9 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
return _dict
@classmethod
@@ -108,10 +115,13 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"type": obj.get("type"),
"public_identifier": obj.get("public_identifier"),
"display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
"profile_url": obj.get("profile_url"),
"public_picture_url": obj.get("public_picture_url"),
"private_picture_download_url": obj.get("private_picture_download_url"),
- "description": obj.get("description")
+ "description": obj.get("description"),
+ "specifics": GetChatsList200ResponseDataInnerUserSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
})
return _obj
diff --git a/unipile/models/image.py b/unipile/models/image.py
index ffeaa464e..7a698a9f6 100644
--- a/unipile/models/image.py
+++ b/unipile/models/image.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,6 +31,7 @@ class Image(BaseModel):
object: StrictStr
id: StrictStr = Field(description="The unique identifier of the attachment for the provider.")
file_size: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The size of the attachment in bytes.")
+ is_inline: StrictBool = Field(description="Is the attachment inline in the content.")
is_unavailable: Optional[StrictBool] = Field(default=None, description="The attachment is not available for download because it was removed from provider servers.")
mimetype: StrictStr = Field(description="The MIME type of the attachment.")
url: StrictStr = Field(description="The URL to download the attachment.")
@@ -39,7 +40,7 @@ class Image(BaseModel):
type: StrictStr
size: Optional[ImageSize] = None
sticker: StrictBool = Field(description="The image is a sticker (should be displayed differently)")
- __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "size", "sticker"]
+ __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_inline", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "size", "sticker"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -112,6 +113,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"object": obj.get("object"),
"id": obj.get("id"),
"file_size": obj.get("file_size"),
+ "is_inline": obj.get("is_inline"),
"is_unavailable": obj.get("is_unavailable"),
"mimetype": obj.get("mimetype"),
"url": obj.get("url"),
diff --git a/unipile/models/image1.py b/unipile/models/image1.py
index 1f2a6118c..9336b9a41 100644
--- a/unipile/models/image1.py
+++ b/unipile/models/image1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,6 +31,7 @@ class Image1(BaseModel):
object: StrictStr
id: StrictStr = Field(description="The unique identifier of the attachment for the provider.")
file_size: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The size of the attachment in bytes.")
+ is_inline: StrictBool = Field(description="Is the attachment inline in the content.")
is_unavailable: Optional[StrictBool] = Field(default=None, description="The attachment is not available for download because it was removed from provider servers.")
mimetype: StrictStr = Field(description="The MIME type of the attachment.")
url: StrictStr = Field(description="The URL to download the attachment.")
@@ -39,7 +40,7 @@ class Image1(BaseModel):
type: StrictStr
size: Optional[Image1Size] = None
sticker: StrictBool = Field(description="The image is a sticker (should be displayed differently)")
- __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "size", "sticker"]
+ __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_inline", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "size", "sticker"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -112,6 +113,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"object": obj.get("object"),
"id": obj.get("id"),
"file_size": obj.get("file_size"),
+ "is_inline": obj.get("is_inline"),
"is_unavailable": obj.get("is_unavailable"),
"mimetype": obj.get("mimetype"),
"url": obj.get("url"),
diff --git a/unipile/models/image1_size.py b/unipile/models/image1_size.py
index cd8cbb817..7088c2491 100644
--- a/unipile/models/image1_size.py
+++ b/unipile/models/image1_size.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/image_size.py b/unipile/models/image_size.py
index a053aa9d1..4d1d80538 100644
--- a/unipile/models/image_size.py
+++ b/unipile/models/image_size.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/imap.py b/unipile/models/imap.py
index d34cb209b..3b369eb30 100644
--- a/unipile/models/imap.py
+++ b/unipile/models/imap.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/imap_config.py b/unipile/models/imap_config.py
index 8daa54ccf..5aba05504 100644
--- a/unipile/models/imap_config.py
+++ b/unipile/models/imap_config.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class IMAPConfig(BaseModel):
IMAP specific configuration.
""" # noqa: E501
custom_proxy: Optional[CustomProxy] = None
- initial_sync_enable: StrictBool = Field(description="Whether the initial sync should be enabled. The initial sync is required to perform advanced search. Read more in the Synced Accounts guide.")
+ initial_sync_enable: Optional[StrictBool] = Field(default=False, description="Whether the initial sync should be enabled. The initial sync is required to perform advanced search. Read more in the Synced Accounts guide.")
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["custom_proxy", "initial_sync_enable"]
diff --git a/unipile/models/imap_connections_parameters.py b/unipile/models/imap_connections_parameters.py
index 09f4c626d..5f5d77dd9 100644
--- a/unipile/models/imap_connections_parameters.py
+++ b/unipile/models/imap_connections_parameters.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/imap_credentials.py b/unipile/models/imap_credentials.py
index edd3b589b..eca86143d 100644
--- a/unipile/models/imap_credentials.py
+++ b/unipile/models/imap_credentials.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/in_app_validation.py b/unipile/models/in_app_validation.py
index fa697f5ce..dec5f6f74 100644
--- a/unipile/models/in_app_validation.py
+++ b/unipile/models/in_app_validation.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/in_audk.py b/unipile/models/in_audk.py
index e13456c5e..b12984d17 100644
--- a/unipile/models/in_audk.py
+++ b/unipile/models/in_audk.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/in_gbpk.py b/unipile/models/in_gbpk.py
index 38a058b56..705b4d822 100644
--- a/unipile/models/in_gbpk.py
+++ b/unipile/models/in_gbpk.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/in_usdk.py b/unipile/models/in_usdk.py
index 5ebc1f18d..708f7ced3 100644
--- a/unipile/models/in_usdk.py
+++ b/unipile/models/in_usdk.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/include_activities.py b/unipile/models/include_activities.py
index cc1cd77fb..ffe8ed889 100644
--- a/unipile/models/include_activities.py
+++ b/unipile/models/include_activities.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/instagram.py b/unipile/models/instagram.py
index 410cb4319..8adeb6e81 100644
--- a/unipile/models/instagram.py
+++ b/unipile/models/instagram.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class Instagram(BaseModel):
"""
Instagram specific dataset for user profiles.
""" # noqa: E501
- messaging_identifier: Optional[StrictStr] = Field(description="The ID of the Company.")
+ messaging_identifier: Optional[StrictStr] = Field(description="The text content of the message, when available.")
__properties: ClassVar[List[str]] = ["messaging_identifier"]
model_config = ConfigDict(
diff --git a/unipile/models/instagram1.py b/unipile/models/instagram1.py
index c5fd21980..e7e92aa9f 100644
--- a/unipile/models/instagram1.py
+++ b/unipile/models/instagram1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/instagram1_config.py b/unipile/models/instagram1_config.py
index 6024fdf4c..8dad389d9 100644
--- a/unipile/models/instagram1_config.py
+++ b/unipile/models/instagram1_config.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/instagram1_credentials.py b/unipile/models/instagram1_credentials.py
index 9801ddd99..45fa7052a 100644
--- a/unipile/models/instagram1_credentials.py
+++ b/unipile/models/instagram1_credentials.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/jobs_search_results.py b/unipile/models/jobs_search_results.py
index b844c3bbc..d42efe68f 100644
--- a/unipile/models/jobs_search_results.py
+++ b/unipile/models/jobs_search_results.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class JobsSearchResults(BaseModel):
JobsSearchResults
""" # noqa: E501
data: List[JobsSearchResultsDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/jobs_search_results1.py b/unipile/models/jobs_search_results1.py
new file mode 100644
index 000000000..49625f760
--- /dev/null
+++ b/unipile/models/jobs_search_results1.py
@@ -0,0 +1,99 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from unipile.models.jobs_search_results1_data_inner import JobsSearchResults1DataInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class JobsSearchResults1(BaseModel):
+ """
+ JobsSearchResults1
+ """ # noqa: E501
+ data: List[JobsSearchResults1DataInner]
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
+ next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
+ __properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of JobsSearchResults1 from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in data (list)
+ _items = []
+ if self.data:
+ for _item_data in self.data:
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
+ _dict['data'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of JobsSearchResults1 from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "data": [JobsSearchResults1DataInner.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
+ "total_count": obj.get("total_count"),
+ "next_cursor": obj.get("next_cursor")
+ })
+ return _obj
+
+
diff --git a/unipile/models/jobs_search_results1_data_inner.py b/unipile/models/jobs_search_results1_data_inner.py
new file mode 100644
index 000000000..328b1206b
--- /dev/null
+++ b/unipile/models/jobs_search_results1_data_inner.py
@@ -0,0 +1,133 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.jobs_search_results_data_inner_company import JobsSearchResultsDataInnerCompany
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class JobsSearchResults1DataInner(BaseModel):
+ """
+ JobsSearchResults1DataInner
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The ID of the Job posting.")
+ title: StrictStr = Field(description="The title of the Job posting.")
+ location: Optional[StrictStr] = Field(default=None, description="The location of the Job posting.")
+ listed_at: Optional[StrictStr] = Field(default=None, description="The creation date of the Job posting. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ workplace_type: Optional[StrictStr] = Field(default=None, description="The type of workplace of the Job posting.")
+ url: StrictStr = Field(description="The URL of the Job posting.")
+ is_repost: StrictBool = Field(description="Whether the Job posting is a repost.")
+ is_promoted: StrictBool = Field(description="Whether the Job posting has been promoted.")
+ easy_apply: StrictBool = Field(description="Whether applicants are allowed to apply to the Job posting directly on LinkedIn.")
+ few_applicants: StrictBool = Field(description="Whether the Job posting received a limited number of applications.")
+ company: JobsSearchResultsDataInnerCompany
+ insights: List[StrictStr] = Field(description="A list of insights about the Job posting.")
+ __properties: ClassVar[List[str]] = ["object", "id", "title", "location", "listed_at", "workplace_type", "url", "is_repost", "is_promoted", "easy_apply", "few_applicants", "company", "insights"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['JobSearchResult']):
+ raise ValueError("must be one of enum values ('JobSearchResult')")
+ return value
+
+ @field_validator('workplace_type')
+ def workplace_type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set(['on_site', 'remote', 'hybrid']):
+ raise ValueError("must be one of enum values ('on_site', 'remote', 'hybrid')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of JobsSearchResults1DataInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of company
+ if self.company:
+ _dict['company'] = self.company.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of JobsSearchResults1DataInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "title": obj.get("title"),
+ "location": obj.get("location"),
+ "listed_at": obj.get("listed_at"),
+ "workplace_type": obj.get("workplace_type"),
+ "url": obj.get("url"),
+ "is_repost": obj.get("is_repost"),
+ "is_promoted": obj.get("is_promoted"),
+ "easy_apply": obj.get("easy_apply"),
+ "few_applicants": obj.get("few_applicants"),
+ "company": JobsSearchResultsDataInnerCompany.from_dict(obj["company"]) if obj.get("company") is not None else None,
+ "insights": obj.get("insights")
+ })
+ return _obj
+
+
diff --git a/unipile/models/jobs_search_results_data_inner.py b/unipile/models/jobs_search_results_data_inner.py
index f715c9ed4..795200eb9 100644
--- a/unipile/models/jobs_search_results_data_inner.py
+++ b/unipile/models/jobs_search_results_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/jobs_search_results_data_inner_company.py b/unipile/models/jobs_search_results_data_inner_company.py
index 84e57283f..121300ba3 100644
--- a/unipile/models/jobs_search_results_data_inner_company.py
+++ b/unipile/models/jobs_search_results_data_inner_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/jobs_sourced.py b/unipile/models/jobs_sourced.py
index 88a071664..2dd07c648 100644
--- a/unipile/models/jobs_sourced.py
+++ b/unipile/models/jobs_sourced.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,9 +17,8 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
-from typing import Any, ClassVar, Dict, List, Optional, Union
-from typing_extensions import Annotated
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -31,9 +30,8 @@ class JobsSourced(BaseModel):
source: StrictStr
keywords: Optional[StrictStr] = Field(default=None, description="A keyword or group of keywords to filter results.")
type: StrictStr = Field(description="The type of search parameter.")
- offset: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="An offset used for pagination.")
- limit: Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]] = Field(default=10, description="The limit of items to be returned.")
- __properties: ClassVar[List[str]] = ["source", "keywords", "type", "offset", "limit"]
+ additional_properties: Dict[str, Any] = {}
+ __properties: ClassVar[List[str]] = ["source", "keywords", "type"]
@field_validator('source')
def source_validate_enum(cls, value):
@@ -79,8 +77,10 @@ def to_dict(self) -> Dict[str, Any]:
* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
+ * Fields in `self.additional_properties` are added to the output dict.
"""
excluded_fields: Set[str] = set([
+ "additional_properties",
])
_dict = self.model_dump(
@@ -88,6 +88,11 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # puts key-value pairs in additional_properties in the top level
+ if self.additional_properties is not None:
+ for _key, _value in self.additional_properties.items():
+ _dict[_key] = _value
+
return _dict
@classmethod
@@ -102,10 +107,13 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"source": obj.get("source"),
"keywords": obj.get("keywords"),
- "type": obj.get("type"),
- "offset": obj.get("offset"),
- "limit": obj.get("limit") if obj.get("limit") is not None else 10
+ "type": obj.get("type")
})
+ # store additional fields in additional_properties
+ for _key in obj.keys():
+ if _key not in cls.__properties:
+ _obj.additional_properties[_key] = obj.get(_key)
+
return _obj
diff --git a/unipile/models/lead_list.py b/unipile/models/lead_list.py
index 9ca283e29..df730ce3f 100644
--- a/unipile/models/lead_list.py
+++ b/unipile/models/lead_list.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class LeadList(BaseModel):
LeadList
""" # noqa: E501
data: List[LeadListDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/lead_list_data_inner.py b/unipile/models/lead_list_data_inner.py
index b8782b6cf..e13a508f0 100644
--- a/unipile/models/lead_list_data_inner.py
+++ b/unipile/models/lead_list_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -24,8 +24,8 @@
from unipile.models.lead_list_data_inner_all_of_all_of_contact_info import LeadListDataInnerAllOfAllOfContactInfo
from unipile.models.lead_list_data_inner_all_of_all_of_social_handles import LeadListDataInnerAllOfAllOfSocialHandles
from unipile.models.lead_list_data_inner_all_of_associated_account import LeadListDataInnerAllOfAssociatedAccount
-from unipile.models.linked_in_languages_inner import LinkedInLanguagesInner
-from unipile.models.linked_in_volunteer_experience_inner import LinkedInVolunteerExperienceInner
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner
from unipile.models.partial_profile_work_experience_inner import PartialProfileWorkExperienceInner
from unipile.models.people_search1_data_inner_latest_contact import PeopleSearch1DataInnerLatestContact
from unipile.models.people_search1_data_inner_network_distance import PeopleSearch1DataInnerNetworkDistance
@@ -46,7 +46,7 @@ class LeadListDataInner(BaseModel):
public_picture_url_large: Optional[StrictStr] = Field(default=None, description="The public picture URL of the User in large size.")
relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations of the User.")
location: Optional[StrictStr] = Field(default=None, description="The location of the User.")
- headline: StrictStr = Field(description="The headline of the User.")
+ headline: Optional[StrictStr] = Field(default=None, description="The headline of the User.")
network_distance: PeopleSearch1DataInnerNetworkDistance
can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether it is possible to send an inMail to this User.")
shared_relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations that you share with the User.")
@@ -69,8 +69,8 @@ class LeadListDataInner(BaseModel):
education: List[FullProfileEducationInner]
skills: List[FullProfileSkillsInner]
work_experience: List[PartialProfileWorkExperienceInner]
- languages: List[LinkedInLanguagesInner]
- volunteering: List[LinkedInVolunteerExperienceInner]
+ languages: List[LinkedIn1LanguagesInner]
+ volunteering: List[LinkedIn1VolunteerExperienceInner]
object: StrictStr
saved_at: StrictStr = Field(description="The date on which the Lead was saved. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
associated_account: Optional[LeadListDataInnerAllOfAssociatedAccount] = None
@@ -138,36 +138,31 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.education:
for _item_education in self.education:
- if _item_education:
- _items.append(_item_education.to_dict())
+ _items.append(_item_education.to_dict() if _item_education is not None else None)
_dict['education'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in skills (list)
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in work_experience (list)
_items = []
if self.work_experience:
for _item_work_experience in self.work_experience:
- if _item_work_experience:
- _items.append(_item_work_experience.to_dict())
+ _items.append(_item_work_experience.to_dict() if _item_work_experience is not None else None)
_dict['work_experience'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in languages (list)
_items = []
if self.languages:
for _item_languages in self.languages:
- if _item_languages:
- _items.append(_item_languages.to_dict())
+ _items.append(_item_languages.to_dict() if _item_languages is not None else None)
_dict['languages'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in volunteering (list)
_items = []
if self.volunteering:
for _item_volunteering in self.volunteering:
- if _item_volunteering:
- _items.append(_item_volunteering.to_dict())
+ _items.append(_item_volunteering.to_dict() if _item_volunteering is not None else None)
_dict['volunteering'] = _items
# override the default output from pydantic by calling `to_dict()` of associated_account
if self.associated_account:
@@ -216,8 +211,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"education": [FullProfileEducationInner.from_dict(_item) for _item in obj["education"]] if obj.get("education") is not None else None,
"skills": [FullProfileSkillsInner.from_dict(_item) for _item in obj["skills"]] if obj.get("skills") is not None else None,
"work_experience": [PartialProfileWorkExperienceInner.from_dict(_item) for _item in obj["work_experience"]] if obj.get("work_experience") is not None else None,
- "languages": [LinkedInLanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
- "volunteering": [LinkedInVolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None,
+ "languages": [LinkedIn1LanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
+ "volunteering": [LinkedIn1VolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None,
"object": obj.get("object"),
"saved_at": obj.get("saved_at"),
"associated_account": LeadListDataInnerAllOfAssociatedAccount.from_dict(obj["associated_account"]) if obj.get("associated_account") is not None else None
diff --git a/unipile/models/lead_list_data_inner_all_of_all_of_contact_info.py b/unipile/models/lead_list_data_inner_all_of_all_of_contact_info.py
index 7adbb260a..2e4bbbbcd 100644
--- a/unipile/models/lead_list_data_inner_all_of_all_of_contact_info.py
+++ b/unipile/models/lead_list_data_inner_all_of_all_of_contact_info.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/lead_list_data_inner_all_of_all_of_social_handles.py b/unipile/models/lead_list_data_inner_all_of_all_of_social_handles.py
index b5758fbd9..1a0ca08e4 100644
--- a/unipile/models/lead_list_data_inner_all_of_all_of_social_handles.py
+++ b/unipile/models/lead_list_data_inner_all_of_all_of_social_handles.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/lead_list_data_inner_all_of_associated_account.py b/unipile/models/lead_list_data_inner_all_of_associated_account.py
index 099abbf5f..9e45ed517 100644
--- a/unipile/models/lead_list_data_inner_all_of_associated_account.py
+++ b/unipile/models/lead_list_data_inner_all_of_associated_account.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/link.py b/unipile/models/link.py
index 17e8d3f33..aa7e8696e 100644
--- a/unipile/models/link.py
+++ b/unipile/models/link.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List
-from unipile.models.linked_in_projects_inner_contributors_inner import LinkedInProjectsInnerContributorsInner
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,7 @@ class Link(BaseModel):
Link
""" # noqa: E501
last_updated_at: StrictStr = Field(description="The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
- last_updated_by: LinkedInProjectsInnerContributorsInner
+ last_updated_by: LinkedIn1InterestsTopVoicesInner
event: StrictStr = Field(description="The type of event.")
link_content: StrictStr = Field(description="The URL of the link.")
__properties: ClassVar[List[str]] = ["last_updated_at", "last_updated_by", "event", "link_content"]
@@ -96,7 +96,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"last_updated_at": obj.get("last_updated_at"),
- "last_updated_by": LinkedInProjectsInnerContributorsInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
+ "last_updated_by": LinkedIn1InterestsTopVoicesInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
"event": obj.get("event"),
"link_content": obj.get("link_content")
})
diff --git a/unipile/models/link1.py b/unipile/models/link1.py
index 9b9b01c84..093d37c6d 100644
--- a/unipile/models/link1.py
+++ b/unipile/models/link1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/link_new_account.py b/unipile/models/link_new_account.py
index 496303c91..cba0b2c15 100644
--- a/unipile/models/link_new_account.py
+++ b/unipile/models/link_new_account.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/link_new_account_config.py b/unipile/models/link_new_account_config.py
index 59ecb30a6..3c5e83d82 100644
--- a/unipile/models/link_new_account_config.py
+++ b/unipile/models/link_new_account_config.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -21,11 +21,11 @@
from typing import Any, ClassVar, Dict, List, Optional
from unipile.models.instagram1_config import Instagram1Config
from unipile.models.link_new_account_config_global import LinkNewAccountConfigGlobal
-from unipile.models.link_new_account_config_google import LinkNewAccountConfigGoogle
from unipile.models.link_new_account_config_imap import LinkNewAccountConfigImap
from unipile.models.link_new_account_config_linkedin import LinkNewAccountConfigLinkedin
+from unipile.models.oauth_outlook_google_config import OauthOutlookGoogleConfig
from unipile.models.telegram_config import TelegramConfig
-from unipile.models.whats_app_config import WhatsAppConfig
+from unipile.models.whats_app2_config import WhatsApp2Config
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -34,10 +34,10 @@ class LinkNewAccountConfig(BaseModel):
"""
Specific provider configuration for the hosted auth session.
""" # noqa: E501
- google: Optional[LinkNewAccountConfigGoogle] = None
- outlook: Optional[LinkNewAccountConfigGoogle] = None
+ google: Optional[OauthOutlookGoogleConfig] = None
+ outlook: Optional[OauthOutlookGoogleConfig] = None
linkedin: Optional[LinkNewAccountConfigLinkedin] = None
- whatsapp: Optional[WhatsAppConfig] = None
+ whatsapp: Optional[WhatsApp2Config] = None
instagram: Optional[Instagram1Config] = None
imap: Optional[LinkNewAccountConfigImap] = None
telegram: Optional[TelegramConfig] = None
@@ -127,10 +127,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
return cls.model_validate(obj)
_obj = cls.model_validate({
- "google": LinkNewAccountConfigGoogle.from_dict(obj["google"]) if obj.get("google") is not None else None,
- "outlook": LinkNewAccountConfigGoogle.from_dict(obj["outlook"]) if obj.get("outlook") is not None else None,
+ "google": OauthOutlookGoogleConfig.from_dict(obj["google"]) if obj.get("google") is not None else None,
+ "outlook": OauthOutlookGoogleConfig.from_dict(obj["outlook"]) if obj.get("outlook") is not None else None,
"linkedin": LinkNewAccountConfigLinkedin.from_dict(obj["linkedin"]) if obj.get("linkedin") is not None else None,
- "whatsapp": WhatsAppConfig.from_dict(obj["whatsapp"]) if obj.get("whatsapp") is not None else None,
+ "whatsapp": WhatsApp2Config.from_dict(obj["whatsapp"]) if obj.get("whatsapp") is not None else None,
"instagram": Instagram1Config.from_dict(obj["instagram"]) if obj.get("instagram") is not None else None,
"imap": LinkNewAccountConfigImap.from_dict(obj["imap"]) if obj.get("imap") is not None else None,
"telegram": TelegramConfig.from_dict(obj["telegram"]) if obj.get("telegram") is not None else None,
diff --git a/unipile/models/link_new_account_config_global.py b/unipile/models/link_new_account_config_global.py
index 7f5e32690..b1b51fd3d 100644
--- a/unipile/models/link_new_account_config_global.py
+++ b/unipile/models/link_new_account_config_global.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/link_new_account_config_imap.py b/unipile/models/link_new_account_config_imap.py
index a7937131d..b741a72fe 100644
--- a/unipile/models/link_new_account_config_imap.py
+++ b/unipile/models/link_new_account_config_imap.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class LinkNewAccountConfigImap(BaseModel):
IMAP specific configuration.
""" # noqa: E501
custom_proxy: Optional[CustomProxy] = None
- initial_sync_enable: StrictBool = Field(description="Whether the initial sync should be enabled. The initial sync is required to perform advanced search. Read more in the Synced Accounts guide.")
+ initial_sync_enable: Optional[StrictBool] = Field(default=False, description="Whether the initial sync should be enabled. The initial sync is required to perform advanced search. Read more in the Synced Accounts guide.")
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["custom_proxy", "initial_sync_enable"]
diff --git a/unipile/models/link_new_account_config_linkedin.py b/unipile/models/link_new_account_config_linkedin.py
index 4211f5919..2ae1b5df9 100644
--- a/unipile/models/link_new_account_config_linkedin.py
+++ b/unipile/models/link_new_account_config_linkedin.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -21,6 +21,7 @@
from typing import Any, ClassVar, Dict, List, Optional
from unipile.models.automatic_proxy_configuration import AutomaticProxyConfiguration
from unipile.models.custom_proxy1 import CustomProxy1
+from unipile.models.linked_in2_config_products import LinkedIn2ConfigProducts
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -31,22 +32,11 @@ class LinkNewAccountConfigLinkedin(BaseModel):
""" # noqa: E501
custom_proxy: Optional[CustomProxy1] = None
auto_proxy_config: Optional[AutomaticProxyConfiguration] = None
- products: Optional[List[StrictStr]] = Field(default=None, description="Specifies which LinkedIn products to connect to (if available on the users account). This allows you to disable access to certain product data within Unipile and avoid receiving events related to them. Note: This field does not require the user to be subscribed to the selected products — accounts without access will still be linked successfully. ⚠️ If you plan to access `recruiter` data, we recommend using the Cookie Authentication method for better compatibility. Leave undefined when re-authenticating an already linked account to keep the original configuration or specify a new list of products to augment / reduce the scope. `classic` : LinkedInSocial network `recruiter` : Recruiter `sales_navigator` : Sales navigator `company` : Company Pages ")
+ products: Optional[LinkedIn2ConfigProducts] = None
allow_methods: Optional[List[StrictStr]] = Field(default=None, description="The authentication methods to show in the hosted auth. `credentials` : Credentials Authentication `cookies` : Cookies Authentication ")
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["custom_proxy", "auto_proxy_config", "products", "allow_methods"]
- @field_validator('products')
- def products_validate_enum(cls, value):
- """Validates the enum"""
- if value is None:
- return value
-
- for i in value:
- if i not in set(['classic', 'recruiter', 'sales_navigator', 'company']):
- raise ValueError("each list item must be one of ('classic', 'recruiter', 'sales_navigator', 'company')")
- return value
-
@field_validator('allow_methods')
def allow_methods_validate_enum(cls, value):
"""Validates the enum"""
@@ -105,6 +95,9 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of auto_proxy_config
if self.auto_proxy_config:
_dict['auto_proxy_config'] = self.auto_proxy_config.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of products
+ if self.products:
+ _dict['products'] = self.products.to_dict()
# puts key-value pairs in additional_properties in the top level
if self.additional_properties is not None:
for _key, _value in self.additional_properties.items():
@@ -129,7 +122,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"custom_proxy": CustomProxy1.from_dict(obj["custom_proxy"]) if obj.get("custom_proxy") is not None else None,
"auto_proxy_config": AutomaticProxyConfiguration.from_dict(obj["auto_proxy_config"]) if obj.get("auto_proxy_config") is not None else None,
- "products": obj.get("products"),
+ "products": LinkedIn2ConfigProducts.from_dict(obj["products"]) if obj.get("products") is not None else None,
"allow_methods": obj.get("allow_methods")
})
# store additional fields in additional_properties
diff --git a/unipile/models/link_new_account_providers.py b/unipile/models/link_new_account_providers.py
index 44b875802..ef86a9ff4 100644
--- a/unipile/models/link_new_account_providers.py
+++ b/unipile/models/link_new_account_providers.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,7 +31,7 @@ class LinkNewAccountProviders(BaseModel):
"""
# data type: str
- anyof_schema_1_validator: Optional[StrictStr] = *
+ anyof_schema_1_validator: Optional[StrictStr] = '*'
# data type: List[str]
anyof_schema_2_validator: Optional[List[StrictStr]] = None
if TYPE_CHECKING:
diff --git a/unipile/models/linked_in.py b/unipile/models/linked_in.py
index cd34e67e0..a1993fb93 100644
--- a/unipile/models/linked_in.py
+++ b/unipile/models/linked_in.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,81 +17,38 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
-from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.linked_in_certifications_inner import LinkedInCertificationsInner
-from unipile.models.linked_in_education_inner import LinkedInEducationInner
-from unipile.models.linked_in_experience_inner import LinkedInExperienceInner
-from unipile.models.linked_in_languages_inner import LinkedInLanguagesInner
-from unipile.models.linked_in_projects_inner import LinkedInProjectsInner
-from unipile.models.linked_in_recommendations import LinkedInRecommendations
-from unipile.models.linked_in_recruiting_profile import LinkedInRecruitingProfile
-from unipile.models.linked_in_relation_request import LinkedInRelationRequest
-from unipile.models.linked_in_skills_inner import LinkedInSkillsInner
-from unipile.models.linked_in_volunteer_experience_inner import LinkedInVolunteerExperienceInner
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional, Union
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
class LinkedIn(BaseModel):
"""
- LinkedIn specific dataset for user profiles.
+ LinkedIn
""" # noqa: E501
- member_id: Optional[StrictStr] = Field(default=None, description="LinkedIn internal member ID of the user.")
- can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether the user can be reached with inmails.")
- network_distance: StrictStr = Field(description="Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.'")
- relation_request: Optional[LinkedInRelationRequest] = None
- relation_request_status: Optional[StrictStr] = Field(default=None, description="The status of the relation request with the user if any.")
- pronoun: Optional[StrictStr] = Field(default=None, description="The pronoun to be used to refer to this user.")
- default_locale: Optional[StrictStr] = Field(default=None, description="Default locale for the user's profile (POSIX format e.g. en_US, fr_FR...).")
- supported_locales: Optional[List[Optional[StrictStr]]] = Field(default=None, description="List of supported locales for the user's profile (POSIX format e.g. en_US, fr_FR...).")
- notify_visit_token: Optional[StrictStr] = Field(default=None, description="Payload that should be passed to the Notify profile visit route in order to notify the visit.")
- is_open_profile: Optional[StrictBool] = Field(default=None, description="Whether the user has an open profile (can be reached with free inmails).")
- is_premium: Optional[StrictBool] = Field(default=None, description="Whether the user has a premium subscription.")
- is_influencer: Optional[StrictBool] = Field(default=None, description="Whether the user is an influencer.")
- is_creator: Optional[StrictBool] = Field(default=None, description="Whether the user is a creator.")
- is_hiring: Optional[StrictBool] = Field(default=None, description="Whether the user is hiring.")
- is_open_to_work: Optional[StrictBool] = Field(default=None, description="Whether the user is open to work.")
- is_saved_lead: Optional[StrictBool] = Field(default=None, description="Whether the user is a saved lead.")
- is_crm_imported: Optional[StrictBool] = Field(default=None, description="Whether the user is a CRM imported user.")
- skills: Optional[List[LinkedInSkillsInner]] = None
- experience: Optional[List[LinkedInExperienceInner]] = None
- education: Optional[List[LinkedInEducationInner]] = None
- languages: Optional[List[LinkedInLanguagesInner]] = None
- certifications: Optional[List[LinkedInCertificationsInner]] = None
- volunteer_experience: Optional[List[LinkedInVolunteerExperienceInner]] = None
- projects: Optional[List[LinkedInProjectsInner]] = None
- recommendations: Optional[LinkedInRecommendations] = None
- throttled_sections: Optional[List[StrictStr]] = Field(default=None, description="A list of sections that are temporary unavailable due to LinkedIn rate limiting.")
- recruiting_profile: Optional[LinkedInRecruitingProfile] = None
- __properties: ClassVar[List[str]] = ["member_id", "can_send_inmail", "network_distance", "relation_request", "relation_request_status", "pronoun", "default_locale", "supported_locales", "notify_visit_token", "is_open_profile", "is_premium", "is_influencer", "is_creator", "is_hiring", "is_open_to_work", "is_saved_lead", "is_crm_imported", "skills", "experience", "education", "languages", "certifications", "volunteer_experience", "projects", "recommendations", "throttled_sections", "recruiting_profile"]
+ location: Optional[StrictStr] = Field(default=None, description="The geographical location of the user.")
+ network_distance: Optional[StrictStr] = Field(default=None, description="Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.'")
+ industry: Optional[StrictStr] = Field(default=None, description="The user's industry.")
+ is_following: Optional[StrictBool] = Field(default=None, description="Whether the current user follows the user.")
+ followers_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of followers of the user.")
+ relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations of the user.")
+ shared_relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations that you share with the user.")
+ website_url: Optional[StrictStr] = Field(default=None, description="The URL of the website provided by the user.")
+ portfolio_url: Optional[StrictStr] = Field(default=None, description="The URL of the portfolio provided by the user.")
+ services_page_url: Optional[StrictStr] = Field(default=None, description="The LinkedIn internal URL of the user's services page.")
+ is_premium: Optional[StrictBool] = Field(default=None, description="Whether the User has a premium account.")
+ is_verified: Optional[StrictBool] = Field(default=None, description="Whether the User has a verified account.")
+ __properties: ClassVar[List[str]] = ["location", "network_distance", "industry", "is_following", "followers_count", "relations_count", "shared_relations_count", "website_url", "portfolio_url", "services_page_url", "is_premium", "is_verified"]
@field_validator('network_distance')
def network_distance_validate_enum(cls, value):
- """Validates the enum"""
- if value not in set(['SELF', 'FIRST_DEGREE', 'SECOND_DEGREE', 'THIRD_DEGREE', 'OUT_OF_NETWORK']):
- raise ValueError("must be one of enum values ('SELF', 'FIRST_DEGREE', 'SECOND_DEGREE', 'THIRD_DEGREE', 'OUT_OF_NETWORK')")
- return value
-
- @field_validator('relation_request_status')
- def relation_request_status_validate_enum(cls, value):
"""Validates the enum"""
if value is None:
return value
- if value not in set(['PENDING', 'IGNORED', 'WITHDRAWN']):
- raise ValueError("must be one of enum values ('PENDING', 'IGNORED', 'WITHDRAWN')")
- return value
-
- @field_validator('throttled_sections')
- def throttled_sections_validate_enum(cls, value):
- """Validates the enum"""
- if value is None:
- return value
-
- for i in value:
- if i not in set(['experience', 'education', 'languages', 'skills', 'certifications', 'volunteer_experience', 'projects', 'recommendations']):
- raise ValueError("each list item must be one of ('experience', 'education', 'languages', 'skills', 'certifications', 'volunteer_experience', 'projects', 'recommendations')")
+ if value not in set(['SELF', 'FIRST_DEGREE', 'SECOND_DEGREE', 'THIRD_DEGREE', 'OUT_OF_NETWORK']):
+ raise ValueError("must be one of enum values ('SELF', 'FIRST_DEGREE', 'SECOND_DEGREE', 'THIRD_DEGREE', 'OUT_OF_NETWORK')")
return value
model_config = ConfigDict(
@@ -133,64 +90,6 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
- # override the default output from pydantic by calling `to_dict()` of relation_request
- if self.relation_request:
- _dict['relation_request'] = self.relation_request.to_dict()
- # override the default output from pydantic by calling `to_dict()` of each item in skills (list)
- _items = []
- if self.skills:
- for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
- _dict['skills'] = _items
- # override the default output from pydantic by calling `to_dict()` of each item in experience (list)
- _items = []
- if self.experience:
- for _item_experience in self.experience:
- if _item_experience:
- _items.append(_item_experience.to_dict())
- _dict['experience'] = _items
- # override the default output from pydantic by calling `to_dict()` of each item in education (list)
- _items = []
- if self.education:
- for _item_education in self.education:
- if _item_education:
- _items.append(_item_education.to_dict())
- _dict['education'] = _items
- # override the default output from pydantic by calling `to_dict()` of each item in languages (list)
- _items = []
- if self.languages:
- for _item_languages in self.languages:
- if _item_languages:
- _items.append(_item_languages.to_dict())
- _dict['languages'] = _items
- # override the default output from pydantic by calling `to_dict()` of each item in certifications (list)
- _items = []
- if self.certifications:
- for _item_certifications in self.certifications:
- if _item_certifications:
- _items.append(_item_certifications.to_dict())
- _dict['certifications'] = _items
- # override the default output from pydantic by calling `to_dict()` of each item in volunteer_experience (list)
- _items = []
- if self.volunteer_experience:
- for _item_volunteer_experience in self.volunteer_experience:
- if _item_volunteer_experience:
- _items.append(_item_volunteer_experience.to_dict())
- _dict['volunteer_experience'] = _items
- # override the default output from pydantic by calling `to_dict()` of each item in projects (list)
- _items = []
- if self.projects:
- for _item_projects in self.projects:
- if _item_projects:
- _items.append(_item_projects.to_dict())
- _dict['projects'] = _items
- # override the default output from pydantic by calling `to_dict()` of recommendations
- if self.recommendations:
- _dict['recommendations'] = self.recommendations.to_dict()
- # override the default output from pydantic by calling `to_dict()` of recruiting_profile
- if self.recruiting_profile:
- _dict['recruiting_profile'] = self.recruiting_profile.to_dict()
return _dict
@classmethod
@@ -203,33 +102,18 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
return cls.model_validate(obj)
_obj = cls.model_validate({
- "member_id": obj.get("member_id"),
- "can_send_inmail": obj.get("can_send_inmail"),
+ "location": obj.get("location"),
"network_distance": obj.get("network_distance"),
- "relation_request": LinkedInRelationRequest.from_dict(obj["relation_request"]) if obj.get("relation_request") is not None else None,
- "relation_request_status": obj.get("relation_request_status"),
- "pronoun": obj.get("pronoun"),
- "default_locale": obj.get("default_locale"),
- "supported_locales": obj.get("supported_locales"),
- "notify_visit_token": obj.get("notify_visit_token"),
- "is_open_profile": obj.get("is_open_profile"),
+ "industry": obj.get("industry"),
+ "is_following": obj.get("is_following"),
+ "followers_count": obj.get("followers_count"),
+ "relations_count": obj.get("relations_count"),
+ "shared_relations_count": obj.get("shared_relations_count"),
+ "website_url": obj.get("website_url"),
+ "portfolio_url": obj.get("portfolio_url"),
+ "services_page_url": obj.get("services_page_url"),
"is_premium": obj.get("is_premium"),
- "is_influencer": obj.get("is_influencer"),
- "is_creator": obj.get("is_creator"),
- "is_hiring": obj.get("is_hiring"),
- "is_open_to_work": obj.get("is_open_to_work"),
- "is_saved_lead": obj.get("is_saved_lead"),
- "is_crm_imported": obj.get("is_crm_imported"),
- "skills": [LinkedInSkillsInner.from_dict(_item) for _item in obj["skills"]] if obj.get("skills") is not None else None,
- "experience": [LinkedInExperienceInner.from_dict(_item) for _item in obj["experience"]] if obj.get("experience") is not None else None,
- "education": [LinkedInEducationInner.from_dict(_item) for _item in obj["education"]] if obj.get("education") is not None else None,
- "languages": [LinkedInLanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
- "certifications": [LinkedInCertificationsInner.from_dict(_item) for _item in obj["certifications"]] if obj.get("certifications") is not None else None,
- "volunteer_experience": [LinkedInVolunteerExperienceInner.from_dict(_item) for _item in obj["volunteer_experience"]] if obj.get("volunteer_experience") is not None else None,
- "projects": [LinkedInProjectsInner.from_dict(_item) for _item in obj["projects"]] if obj.get("projects") is not None else None,
- "recommendations": LinkedInRecommendations.from_dict(obj["recommendations"]) if obj.get("recommendations") is not None else None,
- "throttled_sections": obj.get("throttled_sections"),
- "recruiting_profile": LinkedInRecruitingProfile.from_dict(obj["recruiting_profile"]) if obj.get("recruiting_profile") is not None else None
+ "is_verified": obj.get("is_verified")
})
return _obj
diff --git a/unipile/models/linked_in1.py b/unipile/models/linked_in1.py
index 2fb8842f2..63b2cdb67 100644
--- a/unipile/models/linked_in1.py
+++ b/unipile/models/linked_in1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,30 +17,83 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.linked_in1_config import LinkedIn1Config
-from unipile.models.linked_in1_credentials import LinkedIn1Credentials
+from unipile.models.linked_in1_certifications_inner import LinkedIn1CertificationsInner
+from unipile.models.linked_in1_education_inner import LinkedIn1EducationInner
+from unipile.models.linked_in1_experience_inner import LinkedIn1ExperienceInner
+from unipile.models.linked_in1_interests import LinkedIn1Interests
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner
+from unipile.models.linked_in1_projects_inner import LinkedIn1ProjectsInner
+from unipile.models.linked_in1_recommendations import LinkedIn1Recommendations
+from unipile.models.linked_in1_recruiting_profile import LinkedIn1RecruitingProfile
+from unipile.models.linked_in1_relation_request import LinkedIn1RelationRequest
+from unipile.models.linked_in1_skills_inner import LinkedIn1SkillsInner
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
class LinkedIn1(BaseModel):
"""
- Start the authentication intent with LinkedIn provider.
+ LinkedIn specific dataset for user profiles.
""" # noqa: E501
- provider: StrictStr = Field(description="The provider to authenticate with.")
- user_agent: Optional[StrictStr] = Field(default=None, description="If encountering disconnection issues, enter the exact user agent of the browser on which the account has been connected before the `li_at` retrieval. You can easily get it in the browser's console with this command : `console.log(navigator.userAgent)`")
- user_timezone: Optional[StrictStr] = Field(default=None, description="The time zone of the current user can be used on a few specific features (e.g. scheduled actions). Setting it at authentication avoids having to do it on a case-by-case basis later on.")
- credentials: LinkedIn1Credentials
- config: Optional[LinkedIn1Config] = None
- __properties: ClassVar[List[str]] = ["provider", "user_agent", "user_timezone", "credentials", "config"]
-
- @field_validator('provider')
- def provider_validate_enum(cls, value):
+ member_id: Optional[StrictStr] = Field(default=None, description="LinkedIn internal member ID of the user.")
+ can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether the user can be reached with inmails.")
+ network_distance: StrictStr = Field(description="Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.'")
+ relation_request: Optional[LinkedIn1RelationRequest] = None
+ relation_request_status: Optional[StrictStr] = Field(default=None, description="The status of the relation request with the user if any.")
+ pronoun: Optional[StrictStr] = Field(default=None, description="The pronoun to be used to refer to this user.")
+ default_locale: Optional[StrictStr] = Field(default=None, description="Default locale for the user's profile (POSIX format e.g. en_US, fr_FR...).")
+ supported_locales: Optional[List[Optional[StrictStr]]] = Field(default=None, description="List of supported locales for the user's profile (POSIX format e.g. en_US, fr_FR...).")
+ notify_visit_token: Optional[StrictStr] = Field(default=None, description="Payload that should be passed to the Notify profile visit route in order to notify the visit.")
+ is_open_profile: Optional[StrictBool] = Field(default=None, description="Whether the user has an open profile (can be reached with free inmails).")
+ is_premium: Optional[StrictBool] = Field(default=None, description="Whether the user has a premium subscription.")
+ is_influencer: Optional[StrictBool] = Field(default=None, description="Whether the user is an influencer.")
+ is_creator: Optional[StrictBool] = Field(default=None, description="Whether the user is a creator.")
+ is_hiring: Optional[StrictBool] = Field(default=None, description="Whether the user is hiring.")
+ is_open_to_work: Optional[StrictBool] = Field(default=None, description="Whether the user is open to work.")
+ is_saved_lead: Optional[StrictBool] = Field(default=None, description="Whether the user is a saved lead.")
+ is_crm_imported: Optional[StrictBool] = Field(default=None, description="Whether the user is a CRM imported user.")
+ skills: Optional[List[LinkedIn1SkillsInner]] = Field(default=None, description="A collection of the user's skills.")
+ experience: Optional[List[LinkedIn1ExperienceInner]] = Field(default=None, description="A collection of the user's professionnal experiences.")
+ education: Optional[List[LinkedIn1EducationInner]] = Field(default=None, description="A collection of the user's education.")
+ languages: Optional[List[LinkedIn1LanguagesInner]] = Field(default=None, description="A collection of the user's languages.")
+ certifications: Optional[List[LinkedIn1CertificationsInner]] = Field(default=None, description="A collection of the user's certifications.")
+ volunteer_experience: Optional[List[LinkedIn1VolunteerExperienceInner]] = Field(default=None, description="A collection of the user's volunteering experiences.")
+ projects: Optional[List[LinkedIn1ProjectsInner]] = Field(default=None, description="A collection of the user's projects.")
+ recommendations: Optional[LinkedIn1Recommendations] = None
+ interests: Optional[LinkedIn1Interests] = None
+ throttled_sections: Optional[List[StrictStr]] = Field(default=None, description="A list of sections that are temporary unavailable due to LinkedIn rate limiting.")
+ recruiting_profile: Optional[LinkedIn1RecruitingProfile] = None
+ __properties: ClassVar[List[str]] = ["member_id", "can_send_inmail", "network_distance", "relation_request", "relation_request_status", "pronoun", "default_locale", "supported_locales", "notify_visit_token", "is_open_profile", "is_premium", "is_influencer", "is_creator", "is_hiring", "is_open_to_work", "is_saved_lead", "is_crm_imported", "skills", "experience", "education", "languages", "certifications", "volunteer_experience", "projects", "recommendations", "interests", "throttled_sections", "recruiting_profile"]
+
+ @field_validator('network_distance')
+ def network_distance_validate_enum(cls, value):
"""Validates the enum"""
- if value not in set(['linkedin']):
- raise ValueError("must be one of enum values ('linkedin')")
+ if value not in set(['SELF', 'FIRST_DEGREE', 'SECOND_DEGREE', 'THIRD_DEGREE', 'OUT_OF_NETWORK']):
+ raise ValueError("must be one of enum values ('SELF', 'FIRST_DEGREE', 'SECOND_DEGREE', 'THIRD_DEGREE', 'OUT_OF_NETWORK')")
+ return value
+
+ @field_validator('relation_request_status')
+ def relation_request_status_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set(['PENDING', 'IGNORED', 'WITHDRAWN']):
+ raise ValueError("must be one of enum values ('PENDING', 'IGNORED', 'WITHDRAWN')")
+ return value
+
+ @field_validator('throttled_sections')
+ def throttled_sections_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ for i in value:
+ if i not in set(['experience', 'education', 'languages', 'skills', 'certifications', 'volunteer_experience', 'projects', 'recommendations', 'interests']):
+ raise ValueError("each list item must be one of ('experience', 'education', 'languages', 'skills', 'certifications', 'volunteer_experience', 'projects', 'recommendations', 'interests')")
return value
model_config = ConfigDict(
@@ -82,12 +135,60 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
- # override the default output from pydantic by calling `to_dict()` of credentials
- if self.credentials:
- _dict['credentials'] = self.credentials.to_dict()
- # override the default output from pydantic by calling `to_dict()` of config
- if self.config:
- _dict['config'] = self.config.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of relation_request
+ if self.relation_request:
+ _dict['relation_request'] = self.relation_request.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in skills (list)
+ _items = []
+ if self.skills:
+ for _item_skills in self.skills:
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
+ _dict['skills'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in experience (list)
+ _items = []
+ if self.experience:
+ for _item_experience in self.experience:
+ _items.append(_item_experience.to_dict() if _item_experience is not None else None)
+ _dict['experience'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in education (list)
+ _items = []
+ if self.education:
+ for _item_education in self.education:
+ _items.append(_item_education.to_dict() if _item_education is not None else None)
+ _dict['education'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in languages (list)
+ _items = []
+ if self.languages:
+ for _item_languages in self.languages:
+ _items.append(_item_languages.to_dict() if _item_languages is not None else None)
+ _dict['languages'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in certifications (list)
+ _items = []
+ if self.certifications:
+ for _item_certifications in self.certifications:
+ _items.append(_item_certifications.to_dict() if _item_certifications is not None else None)
+ _dict['certifications'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in volunteer_experience (list)
+ _items = []
+ if self.volunteer_experience:
+ for _item_volunteer_experience in self.volunteer_experience:
+ _items.append(_item_volunteer_experience.to_dict() if _item_volunteer_experience is not None else None)
+ _dict['volunteer_experience'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in projects (list)
+ _items = []
+ if self.projects:
+ for _item_projects in self.projects:
+ _items.append(_item_projects.to_dict() if _item_projects is not None else None)
+ _dict['projects'] = _items
+ # override the default output from pydantic by calling `to_dict()` of recommendations
+ if self.recommendations:
+ _dict['recommendations'] = self.recommendations.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of interests
+ if self.interests:
+ _dict['interests'] = self.interests.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of recruiting_profile
+ if self.recruiting_profile:
+ _dict['recruiting_profile'] = self.recruiting_profile.to_dict()
return _dict
@classmethod
@@ -100,11 +201,34 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
return cls.model_validate(obj)
_obj = cls.model_validate({
- "provider": obj.get("provider"),
- "user_agent": obj.get("user_agent"),
- "user_timezone": obj.get("user_timezone"),
- "credentials": LinkedIn1Credentials.from_dict(obj["credentials"]) if obj.get("credentials") is not None else None,
- "config": LinkedIn1Config.from_dict(obj["config"]) if obj.get("config") is not None else None
+ "member_id": obj.get("member_id"),
+ "can_send_inmail": obj.get("can_send_inmail"),
+ "network_distance": obj.get("network_distance"),
+ "relation_request": LinkedIn1RelationRequest.from_dict(obj["relation_request"]) if obj.get("relation_request") is not None else None,
+ "relation_request_status": obj.get("relation_request_status"),
+ "pronoun": obj.get("pronoun"),
+ "default_locale": obj.get("default_locale"),
+ "supported_locales": obj.get("supported_locales"),
+ "notify_visit_token": obj.get("notify_visit_token"),
+ "is_open_profile": obj.get("is_open_profile"),
+ "is_premium": obj.get("is_premium"),
+ "is_influencer": obj.get("is_influencer"),
+ "is_creator": obj.get("is_creator"),
+ "is_hiring": obj.get("is_hiring"),
+ "is_open_to_work": obj.get("is_open_to_work"),
+ "is_saved_lead": obj.get("is_saved_lead"),
+ "is_crm_imported": obj.get("is_crm_imported"),
+ "skills": [LinkedIn1SkillsInner.from_dict(_item) for _item in obj["skills"]] if obj.get("skills") is not None else None,
+ "experience": [LinkedIn1ExperienceInner.from_dict(_item) for _item in obj["experience"]] if obj.get("experience") is not None else None,
+ "education": [LinkedIn1EducationInner.from_dict(_item) for _item in obj["education"]] if obj.get("education") is not None else None,
+ "languages": [LinkedIn1LanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
+ "certifications": [LinkedIn1CertificationsInner.from_dict(_item) for _item in obj["certifications"]] if obj.get("certifications") is not None else None,
+ "volunteer_experience": [LinkedIn1VolunteerExperienceInner.from_dict(_item) for _item in obj["volunteer_experience"]] if obj.get("volunteer_experience") is not None else None,
+ "projects": [LinkedIn1ProjectsInner.from_dict(_item) for _item in obj["projects"]] if obj.get("projects") is not None else None,
+ "recommendations": LinkedIn1Recommendations.from_dict(obj["recommendations"]) if obj.get("recommendations") is not None else None,
+ "interests": LinkedIn1Interests.from_dict(obj["interests"]) if obj.get("interests") is not None else None,
+ "throttled_sections": obj.get("throttled_sections"),
+ "recruiting_profile": LinkedIn1RecruitingProfile.from_dict(obj["recruiting_profile"]) if obj.get("recruiting_profile") is not None else None
})
return _obj
diff --git a/unipile/models/linked_in1_certifications_inner.py b/unipile/models/linked_in1_certifications_inner.py
new file mode 100644
index 000000000..12f2574cd
--- /dev/null
+++ b/unipile/models/linked_in1_certifications_inner.py
@@ -0,0 +1,106 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in1_certifications_inner_organization import LinkedIn1CertificationsInnerOrganization
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1CertificationsInner(BaseModel):
+ """
+ LinkedIn1CertificationsInner
+ """ # noqa: E501
+ title: StrictStr = Field(description="Name of the certification.")
+ organization: LinkedIn1CertificationsInnerOrganization
+ issued_on: Optional[StrictStr] = Field(default=None, description="Date the certification was issued in MM/DD/YYYY format.")
+ expires_on: Optional[StrictStr] = Field(default=None, description="Expiration date of the certification in MM/DD/YYYY format.")
+ license: Optional[StrictStr] = Field(default=None, description="License identifier.")
+ skills: Optional[List[Optional[StrictStr]]] = Field(default=None, description="Skills acquired through certification.")
+ skills_preview: Optional[StrictStr] = Field(default=None, description="Insight of the skills acquired through certification.")
+ url: Optional[StrictStr] = Field(default=None, description="Public URL to the certification.")
+ __properties: ClassVar[List[str]] = ["title", "organization", "issued_on", "expires_on", "license", "skills", "skills_preview", "url"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1CertificationsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of organization
+ if self.organization:
+ _dict['organization'] = self.organization.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1CertificationsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "title": obj.get("title"),
+ "organization": LinkedIn1CertificationsInnerOrganization.from_dict(obj["organization"]) if obj.get("organization") is not None else None,
+ "issued_on": obj.get("issued_on"),
+ "expires_on": obj.get("expires_on"),
+ "license": obj.get("license"),
+ "skills": obj.get("skills"),
+ "skills_preview": obj.get("skills_preview"),
+ "url": obj.get("url")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_certifications_inner_organization.py b/unipile/models/linked_in1_certifications_inner_organization.py
new file mode 100644
index 000000000..68327ad09
--- /dev/null
+++ b/unipile/models/linked_in1_certifications_inner_organization.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1CertificationsInnerOrganization(BaseModel):
+ """
+ LinkedIn1CertificationsInnerOrganization
+ """ # noqa: E501
+ name: Optional[StrictStr] = Field(default=None, description="Name of the company.")
+ id: Optional[StrictStr] = Field(description="Unique identifier of the company.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the company.")
+ picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the company.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the company.")
+ industries: Optional[List[StrictStr]] = Field(default=None, description="Industry types of the company.")
+ __properties: ClassVar[List[str]] = ["name", "id", "public_identifier", "picture_url", "profile_url", "industries"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1CertificationsInnerOrganization from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if id (nullable) is None
+ # and model_fields_set contains the field
+ if self.id is None and "id" in self.model_fields_set:
+ _dict['id'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1CertificationsInnerOrganization from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "name": obj.get("name"),
+ "id": obj.get("id"),
+ "public_identifier": obj.get("public_identifier"),
+ "picture_url": obj.get("picture_url"),
+ "profile_url": obj.get("profile_url"),
+ "industries": obj.get("industries")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_education_inner.py b/unipile/models/linked_in1_education_inner.py
new file mode 100644
index 000000000..9cb47c8e6
--- /dev/null
+++ b/unipile/models/linked_in1_education_inner.py
@@ -0,0 +1,112 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in1_education_inner_school import LinkedIn1EducationInnerSchool
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1EducationInner(BaseModel):
+ """
+ LinkedIn1EducationInner
+ """ # noqa: E501
+ id: Optional[StrictStr] = Field(default=None, description="Id of the education entry.")
+ school: LinkedIn1EducationInnerSchool
+ degree: Optional[StrictStr] = Field(default=None, description="Name of the degree.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the education.")
+ activities: Optional[StrictStr] = Field(default=None, description="Activities carried out during education.")
+ skills: Optional[List[Optional[StrictStr]]] = Field(default=None, description="Skills acquired through training.")
+ skills_preview: Optional[StrictStr] = Field(default=None, description="Insight of the skills acquired through training.")
+ grade: Optional[StrictStr] = Field(default=None, description="Reached academic level of the education.")
+ fields_of_study: Optional[List[Optional[StrictStr]]] = Field(default=None, description="Fields of study of the education.")
+ started_on: Optional[StrictStr] = Field(default=None, description="Start date of the education in MM/DD/YYYY format.")
+ ended_on: Optional[StrictStr] = Field(default=None, description="End date of the education in MM/DD/YYYY format.")
+ __properties: ClassVar[List[str]] = ["id", "school", "degree", "description", "activities", "skills", "skills_preview", "grade", "fields_of_study", "started_on", "ended_on"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1EducationInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of school
+ if self.school:
+ _dict['school'] = self.school.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1EducationInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "school": LinkedIn1EducationInnerSchool.from_dict(obj["school"]) if obj.get("school") is not None else None,
+ "degree": obj.get("degree"),
+ "description": obj.get("description"),
+ "activities": obj.get("activities"),
+ "skills": obj.get("skills"),
+ "skills_preview": obj.get("skills_preview"),
+ "grade": obj.get("grade"),
+ "fields_of_study": obj.get("fields_of_study"),
+ "started_on": obj.get("started_on"),
+ "ended_on": obj.get("ended_on")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_education_inner_school.py b/unipile/models/linked_in1_education_inner_school.py
new file mode 100644
index 000000000..62de1bc98
--- /dev/null
+++ b/unipile/models/linked_in1_education_inner_school.py
@@ -0,0 +1,99 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1EducationInnerSchool(BaseModel):
+ """
+ LinkedIn1EducationInnerSchool
+ """ # noqa: E501
+ id: Optional[StrictStr] = Field(description="Unique identifier of the school.")
+ name: Optional[StrictStr] = Field(default=None, description="Name of the school.")
+ picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the school.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the school.")
+ __properties: ClassVar[List[str]] = ["id", "name", "picture_url", "profile_url"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1EducationInnerSchool from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if id (nullable) is None
+ # and model_fields_set contains the field
+ if self.id is None and "id" in self.model_fields_set:
+ _dict['id'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1EducationInnerSchool from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "name": obj.get("name"),
+ "picture_url": obj.get("picture_url"),
+ "profile_url": obj.get("profile_url")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_experience_inner.py b/unipile/models/linked_in1_experience_inner.py
new file mode 100644
index 000000000..0a78ec3fd
--- /dev/null
+++ b/unipile/models/linked_in1_experience_inner.py
@@ -0,0 +1,132 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in1_experience_inner_company import LinkedIn1ExperienceInnerCompany
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1ExperienceInner(BaseModel):
+ """
+ LinkedIn1ExperienceInner
+ """ # noqa: E501
+ id: Optional[StrictStr] = Field(default=None, description="Id of the work experience entry.")
+ company: LinkedIn1ExperienceInnerCompany
+ job_title: StrictStr = Field(description="Job title of the experience.")
+ started_on: Optional[StrictStr] = Field(default=None, description="Start date of the experience in MM/DD/YYYY format.")
+ ended_on: Optional[StrictStr] = Field(default=None, description="End date of the experience in MM/DD/YYYY format.")
+ location: Optional[StrictStr] = Field(default=None, description="Location of the experience.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the experience.")
+ employment_type: Optional[StrictStr] = Field(default=None, description="Employment type of the experience.")
+ workplace_type: Optional[StrictStr] = Field(default=None, description="Workplace type of the experience.")
+ skills: Optional[List[Optional[StrictStr]]] = Field(default=None, description="Skills acquired with experience.")
+ skills_preview: Optional[StrictStr] = Field(default=None, description="Insight of the skills acquired with experience.")
+ __properties: ClassVar[List[str]] = ["id", "company", "job_title", "started_on", "ended_on", "location", "description", "employment_type", "workplace_type", "skills", "skills_preview"]
+
+ @field_validator('employment_type')
+ def employment_type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set(['SELF_EMPLOYED', 'CONTRACT', 'CONTRACT_PART_TIME', 'PERMANENT', 'PERMANENT_PART_TIME', 'INTERNSHIP', 'APPRENTICESHIP', 'FREELANCE', 'FREELANCE_ARTS_WORKER', 'CIVIL_SERVICE_INTERNSHIP', 'VOLUNTEERING', 'CIVIL_SERVANT', 'TEMPORARY']):
+ raise ValueError("must be one of enum values ('SELF_EMPLOYED', 'CONTRACT', 'CONTRACT_PART_TIME', 'PERMANENT', 'PERMANENT_PART_TIME', 'INTERNSHIP', 'APPRENTICESHIP', 'FREELANCE', 'FREELANCE_ARTS_WORKER', 'CIVIL_SERVICE_INTERNSHIP', 'VOLUNTEERING', 'CIVIL_SERVANT', 'TEMPORARY')")
+ return value
+
+ @field_validator('workplace_type')
+ def workplace_type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set(['ON_SITE', 'HYBRID', 'REMOTE']):
+ raise ValueError("must be one of enum values ('ON_SITE', 'HYBRID', 'REMOTE')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1ExperienceInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of company
+ if self.company:
+ _dict['company'] = self.company.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1ExperienceInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "company": LinkedIn1ExperienceInnerCompany.from_dict(obj["company"]) if obj.get("company") is not None else None,
+ "job_title": obj.get("job_title"),
+ "started_on": obj.get("started_on"),
+ "ended_on": obj.get("ended_on"),
+ "location": obj.get("location"),
+ "description": obj.get("description"),
+ "employment_type": obj.get("employment_type"),
+ "workplace_type": obj.get("workplace_type"),
+ "skills": obj.get("skills"),
+ "skills_preview": obj.get("skills_preview")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_experience_inner_company.py b/unipile/models/linked_in1_experience_inner_company.py
new file mode 100644
index 000000000..ee1503a9f
--- /dev/null
+++ b/unipile/models/linked_in1_experience_inner_company.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1ExperienceInnerCompany(BaseModel):
+ """
+ LinkedIn1ExperienceInnerCompany
+ """ # noqa: E501
+ name: Optional[StrictStr] = Field(default=None, description="Name of the company.")
+ id: Optional[StrictStr] = Field(description="Unique identifier of the company.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the company.")
+ picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the company.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the company.")
+ industries: Optional[List[Optional[StrictStr]]] = Field(default=None, description="Industry types of the company.")
+ __properties: ClassVar[List[str]] = ["name", "id", "public_identifier", "picture_url", "profile_url", "industries"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1ExperienceInnerCompany from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if id (nullable) is None
+ # and model_fields_set contains the field
+ if self.id is None and "id" in self.model_fields_set:
+ _dict['id'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1ExperienceInnerCompany from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "name": obj.get("name"),
+ "id": obj.get("id"),
+ "public_identifier": obj.get("public_identifier"),
+ "picture_url": obj.get("picture_url"),
+ "profile_url": obj.get("profile_url"),
+ "industries": obj.get("industries")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_interests.py b/unipile/models/linked_in1_interests.py
new file mode 100644
index 000000000..34639bd97
--- /dev/null
+++ b/unipile/models/linked_in1_interests.py
@@ -0,0 +1,131 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in1_interests_companies_inner import LinkedIn1InterestsCompaniesInner
+from unipile.models.linked_in1_interests_groups_inner import LinkedIn1InterestsGroupsInner
+from unipile.models.linked_in1_interests_newsletters_inner import LinkedIn1InterestsNewslettersInner
+from unipile.models.linked_in1_interests_schools_inner import LinkedIn1InterestsSchoolsInner
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1Interests(BaseModel):
+ """
+ The user's interests.
+ """ # noqa: E501
+ top_voices: Optional[List[LinkedIn1InterestsTopVoicesInner]] = Field(default=None, description="A collection of Top voice User profiles.")
+ companies: Optional[List[LinkedIn1InterestsCompaniesInner]] = Field(default=None, description="A collection of Companies.")
+ schools: Optional[List[LinkedIn1InterestsSchoolsInner]] = Field(default=None, description="A collection of Schools.")
+ newsletters: Optional[List[LinkedIn1InterestsNewslettersInner]] = Field(default=None, description="A collection of Newsletters.")
+ groups: Optional[List[LinkedIn1InterestsGroupsInner]] = Field(default=None, description="A collection of Groups.")
+ __properties: ClassVar[List[str]] = ["top_voices", "companies", "schools", "newsletters", "groups"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1Interests from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in top_voices (list)
+ _items = []
+ if self.top_voices:
+ for _item_top_voices in self.top_voices:
+ _items.append(_item_top_voices.to_dict() if _item_top_voices is not None else None)
+ _dict['top_voices'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in companies (list)
+ _items = []
+ if self.companies:
+ for _item_companies in self.companies:
+ _items.append(_item_companies.to_dict() if _item_companies is not None else None)
+ _dict['companies'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in schools (list)
+ _items = []
+ if self.schools:
+ for _item_schools in self.schools:
+ _items.append(_item_schools.to_dict() if _item_schools is not None else None)
+ _dict['schools'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in newsletters (list)
+ _items = []
+ if self.newsletters:
+ for _item_newsletters in self.newsletters:
+ _items.append(_item_newsletters.to_dict() if _item_newsletters is not None else None)
+ _dict['newsletters'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in groups (list)
+ _items = []
+ if self.groups:
+ for _item_groups in self.groups:
+ _items.append(_item_groups.to_dict() if _item_groups is not None else None)
+ _dict['groups'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1Interests from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "top_voices": [LinkedIn1InterestsTopVoicesInner.from_dict(_item) for _item in obj["top_voices"]] if obj.get("top_voices") is not None else None,
+ "companies": [LinkedIn1InterestsCompaniesInner.from_dict(_item) for _item in obj["companies"]] if obj.get("companies") is not None else None,
+ "schools": [LinkedIn1InterestsSchoolsInner.from_dict(_item) for _item in obj["schools"]] if obj.get("schools") is not None else None,
+ "newsletters": [LinkedIn1InterestsNewslettersInner.from_dict(_item) for _item in obj["newsletters"]] if obj.get("newsletters") is not None else None,
+ "groups": [LinkedIn1InterestsGroupsInner.from_dict(_item) for _item in obj["groups"]] if obj.get("groups") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_interests_companies_inner.py b/unipile/models/linked_in1_interests_companies_inner.py
new file mode 100644
index 000000000..73bfd776b
--- /dev/null
+++ b/unipile/models/linked_in1_interests_companies_inner.py
@@ -0,0 +1,109 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1InterestsCompaniesInner(BaseModel):
+ """
+ LinkedIn1InterestsCompaniesInner
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The ID of the Company for the provider.")
+ name: StrictStr = Field(description="The name of the Company.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="The public profile URL of the Company.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="The public picture URL of the Company.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="The public identifier of the Company.")
+ followers_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of followers of the Company.")
+ is_following: Optional[StrictBool] = Field(default=None, description="Whether the current user is following the Company.")
+ __properties: ClassVar[List[str]] = ["object", "id", "name", "profile_url", "public_picture_url", "public_identifier", "followers_count", "is_following"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['CompanyLightProfile']):
+ raise ValueError("must be one of enum values ('CompanyLightProfile')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1InterestsCompaniesInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1InterestsCompaniesInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "name": obj.get("name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "public_identifier": obj.get("public_identifier"),
+ "followers_count": obj.get("followers_count"),
+ "is_following": obj.get("is_following")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_interests_groups_inner.py b/unipile/models/linked_in1_interests_groups_inner.py
new file mode 100644
index 000000000..9c7c16053
--- /dev/null
+++ b/unipile/models/linked_in1_interests_groups_inner.py
@@ -0,0 +1,98 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1InterestsGroupsInner(BaseModel):
+ """
+ LinkedIn1InterestsGroupsInner
+ """ # noqa: E501
+ id: Optional[StrictStr] = Field(default=None, description="The ID of the group.")
+ name: StrictStr = Field(description="The name of the group.")
+ url: Optional[StrictStr] = Field(default=None, description="The URL to the group.")
+ members_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of members of the group.")
+ is_member: StrictBool = Field(description="Whether the current user is a member of the group.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="The public picture URL of the group.")
+ __properties: ClassVar[List[str]] = ["id", "name", "url", "members_count", "is_member", "public_picture_url"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1InterestsGroupsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1InterestsGroupsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "name": obj.get("name"),
+ "url": obj.get("url"),
+ "members_count": obj.get("members_count"),
+ "is_member": obj.get("is_member"),
+ "public_picture_url": obj.get("public_picture_url")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_interests_newsletters_inner.py b/unipile/models/linked_in1_interests_newsletters_inner.py
new file mode 100644
index 000000000..911490b31
--- /dev/null
+++ b/unipile/models/linked_in1_interests_newsletters_inner.py
@@ -0,0 +1,110 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1InterestsNewslettersInner(BaseModel):
+ """
+ LinkedIn1InterestsNewslettersInner
+ """ # noqa: E501
+ id: Optional[StrictStr] = Field(default=None, description="The ID of the newsletter.")
+ title: StrictStr = Field(description="The title of the newsletter.")
+ url: Optional[StrictStr] = Field(default=None, description="The URL to the newsletter.")
+ description: Optional[StrictStr] = Field(default=None, description="The description of the newsletter.")
+ is_subscribed: StrictBool = Field(description="Whether the current user has subscribed to the newsletter.")
+ posting_frequency: Optional[StrictStr] = Field(default=None, description="The posting frequency of the newsletter.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="The public picture URL of the newsletter.")
+ __properties: ClassVar[List[str]] = ["id", "title", "url", "description", "is_subscribed", "posting_frequency", "public_picture_url"]
+
+ @field_validator('posting_frequency')
+ def posting_frequency_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set(['MONTHLY', 'WEEKLY', 'BIWEEKLY', 'DAILY']):
+ raise ValueError("must be one of enum values ('MONTHLY', 'WEEKLY', 'BIWEEKLY', 'DAILY')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1InterestsNewslettersInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1InterestsNewslettersInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "title": obj.get("title"),
+ "url": obj.get("url"),
+ "description": obj.get("description"),
+ "is_subscribed": obj.get("is_subscribed"),
+ "posting_frequency": obj.get("posting_frequency"),
+ "public_picture_url": obj.get("public_picture_url")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_interests_schools_inner.py b/unipile/models/linked_in1_interests_schools_inner.py
new file mode 100644
index 000000000..ee229d6e5
--- /dev/null
+++ b/unipile/models/linked_in1_interests_schools_inner.py
@@ -0,0 +1,109 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1InterestsSchoolsInner(BaseModel):
+ """
+ LinkedIn1InterestsSchoolsInner
+ """ # noqa: E501
+ id: StrictStr = Field(description="The ID of the Company for the provider.")
+ name: StrictStr = Field(description="The name of the Company.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="The public profile URL of the Company.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="The public picture URL of the Company.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="The public identifier of the Company.")
+ followers_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of followers of the Company.")
+ is_following: Optional[StrictBool] = Field(default=None, description="Whether the current user is following the Company.")
+ object: StrictStr
+ __properties: ClassVar[List[str]] = ["id", "name", "profile_url", "public_picture_url", "public_identifier", "followers_count", "is_following", "object"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['SchoolLightProfile']):
+ raise ValueError("must be one of enum values ('SchoolLightProfile')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1InterestsSchoolsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1InterestsSchoolsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "name": obj.get("name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "public_identifier": obj.get("public_identifier"),
+ "followers_count": obj.get("followers_count"),
+ "is_following": obj.get("is_following"),
+ "object": obj.get("object")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_interests_top_voices_inner.py b/unipile/models/linked_in1_interests_top_voices_inner.py
new file mode 100644
index 000000000..c203ad59f
--- /dev/null
+++ b/unipile/models/linked_in1_interests_top_voices_inner.py
@@ -0,0 +1,128 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in import LinkedIn
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1InterestsTopVoicesInner(BaseModel):
+ """
+ LinkedIn1InterestsTopVoicesInner
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[LinkedIn] = None
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1InterestsTopVoicesInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of specifics
+ if self.specifics:
+ _dict['specifics'] = self.specifics.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1InterestsTopVoicesInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": LinkedIn.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_languages_inner.py b/unipile/models/linked_in1_languages_inner.py
new file mode 100644
index 000000000..5f2e3f7fa
--- /dev/null
+++ b/unipile/models/linked_in1_languages_inner.py
@@ -0,0 +1,100 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1LanguagesInner(BaseModel):
+ """
+ LinkedIn1LanguagesInner
+ """ # noqa: E501
+ language: StrictStr = Field(description="Name of the language.")
+ proficiency: Optional[StrictStr] = Field(default=None, description="Level of fluency in the language.")
+ __properties: ClassVar[List[str]] = ["language", "proficiency"]
+
+ @field_validator('proficiency')
+ def proficiency_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set(['ELEMENTARY', 'LIMITED_WORKING', 'PROFESSIONAL_WORKING', 'FULL_PROFESSIONAL', 'NATIVE_OR_BILINGUAL']):
+ raise ValueError("must be one of enum values ('ELEMENTARY', 'LIMITED_WORKING', 'PROFESSIONAL_WORKING', 'FULL_PROFESSIONAL', 'NATIVE_OR_BILINGUAL')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1LanguagesInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1LanguagesInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "language": obj.get("language"),
+ "proficiency": obj.get("proficiency")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_projects_inner.py b/unipile/models/linked_in1_projects_inner.py
new file mode 100644
index 000000000..52149cacd
--- /dev/null
+++ b/unipile/models/linked_in1_projects_inner.py
@@ -0,0 +1,107 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in1_projects_inner_contributors_inner import LinkedIn1ProjectsInnerContributorsInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1ProjectsInner(BaseModel):
+ """
+ LinkedIn1ProjectsInner
+ """ # noqa: E501
+ name: StrictStr = Field(description="Name of the project.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the project.")
+ contributors: List[LinkedIn1ProjectsInnerContributorsInner] = Field(description="Contributors to the project.")
+ skills: Optional[List[Optional[StrictStr]]] = Field(default=None, description="Skills related to the project.")
+ skills_preview: Optional[StrictStr] = Field(default=None, description="Insight of the skills related to the project.")
+ started_on: Optional[StrictStr] = Field(default=None, description="Start date of the project in MM/DD/YYYY format.")
+ ended_on: Optional[StrictStr] = Field(default=None, description="End date of the project in MM/DD/YYYY format.")
+ __properties: ClassVar[List[str]] = ["name", "description", "contributors", "skills", "skills_preview", "started_on", "ended_on"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1ProjectsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in contributors (list)
+ _items = []
+ if self.contributors:
+ for _item_contributors in self.contributors:
+ _items.append(_item_contributors.to_dict() if _item_contributors is not None else None)
+ _dict['contributors'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1ProjectsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "name": obj.get("name"),
+ "description": obj.get("description"),
+ "contributors": [LinkedIn1ProjectsInnerContributorsInner.from_dict(_item) for _item in obj["contributors"]] if obj.get("contributors") is not None else None,
+ "skills": obj.get("skills"),
+ "skills_preview": obj.get("skills_preview"),
+ "started_on": obj.get("started_on"),
+ "ended_on": obj.get("ended_on")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_projects_inner_contributors_inner.py b/unipile/models/linked_in1_projects_inner_contributors_inner.py
new file mode 100644
index 000000000..4341dbc70
--- /dev/null
+++ b/unipile/models/linked_in1_projects_inner_contributors_inner.py
@@ -0,0 +1,129 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1ProjectsInnerContributorsInner(BaseModel):
+ """
+ LinkedIn1ProjectsInnerContributorsInner
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[Any] = Field(default=None, description="Provider-specific user data.")
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1ProjectsInnerContributorsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1ProjectsInnerContributorsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_recommendations.py b/unipile/models/linked_in1_recommendations.py
new file mode 100644
index 000000000..025e10194
--- /dev/null
+++ b/unipile/models/linked_in1_recommendations.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field
+from typing import Any, ClassVar, Dict, List
+from unipile.models.linked_in1_recommendations_received_inner import LinkedIn1RecommendationsReceivedInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1Recommendations(BaseModel):
+ """
+ LinkedIn1Recommendations
+ """ # noqa: E501
+ received: List[LinkedIn1RecommendationsReceivedInner] = Field(description="A collection of the user's received recommendations.")
+ given: List[LinkedIn1RecommendationsReceivedInner] = Field(description="A collection of the user's given recommendations.")
+ __properties: ClassVar[List[str]] = ["received", "given"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1Recommendations from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in received (list)
+ _items = []
+ if self.received:
+ for _item_received in self.received:
+ _items.append(_item_received.to_dict() if _item_received is not None else None)
+ _dict['received'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in given (list)
+ _items = []
+ if self.given:
+ for _item_given in self.given:
+ _items.append(_item_given.to_dict() if _item_given is not None else None)
+ _dict['given'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1Recommendations from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "received": [LinkedIn1RecommendationsReceivedInner.from_dict(_item) for _item in obj["received"]] if obj.get("received") is not None else None,
+ "given": [LinkedIn1RecommendationsReceivedInner.from_dict(_item) for _item in obj["given"]] if obj.get("given") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_recommendations_received_inner.py b/unipile/models/linked_in1_recommendations_received_inner.py
new file mode 100644
index 000000000..00d257b43
--- /dev/null
+++ b/unipile/models/linked_in1_recommendations_received_inner.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in1_recommendations_received_inner_user import LinkedIn1RecommendationsReceivedInnerUser
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1RecommendationsReceivedInner(BaseModel):
+ """
+ LinkedIn1RecommendationsReceivedInner
+ """ # noqa: E501
+ caption: Optional[StrictStr] = Field(default=None, description="Recommendation details, including date and actors relationship.")
+ created_on: Optional[StrictStr] = Field(default=None, description="Creation date of the recommendation.")
+ text: StrictStr = Field(description="Content of the recommendation.")
+ user: Optional[LinkedIn1RecommendationsReceivedInnerUser]
+ __properties: ClassVar[List[str]] = ["caption", "created_on", "text", "user"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecommendationsReceivedInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of user
+ if self.user:
+ _dict['user'] = self.user.to_dict()
+ # set to None if user (nullable) is None
+ # and model_fields_set contains the field
+ if self.user is None and "user" in self.model_fields_set:
+ _dict['user'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecommendationsReceivedInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "caption": obj.get("caption"),
+ "created_on": obj.get("created_on"),
+ "text": obj.get("text"),
+ "user": LinkedIn1RecommendationsReceivedInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_recommendations_received_inner_user.py b/unipile/models/linked_in1_recommendations_received_inner_user.py
new file mode 100644
index 000000000..eb9609390
--- /dev/null
+++ b/unipile/models/linked_in1_recommendations_received_inner_user.py
@@ -0,0 +1,129 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1RecommendationsReceivedInnerUser(BaseModel):
+ """
+ User who has given or received the recommendation.
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[Any] = Field(default=None, description="Provider-specific user data.")
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecommendationsReceivedInnerUser from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecommendationsReceivedInnerUser from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_recruiting_profile.py b/unipile/models/linked_in1_recruiting_profile.py
new file mode 100644
index 000000000..c3cbf702a
--- /dev/null
+++ b/unipile/models/linked_in1_recruiting_profile.py
@@ -0,0 +1,113 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in1_recruiting_profile_events_inner import LinkedIn1RecruitingProfileEventsInner
+from unipile.models.linked_in1_recruiting_profile_notes_inner import LinkedIn1RecruitingProfileNotesInner
+from unipile.models.linked_in1_recruiting_profile_tags_inner import LinkedIn1RecruitingProfileTagsInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1RecruitingProfile(BaseModel):
+ """
+ LinkedIn1RecruitingProfile
+ """ # noqa: E501
+ events: Optional[List[LinkedIn1RecruitingProfileEventsInner]] = Field(default=None, description="A list of events related to the user.")
+ notes: List[LinkedIn1RecruitingProfileNotesInner] = Field(description="A list of notes about the user.")
+ tags: List[LinkedIn1RecruitingProfileTagsInner] = Field(description="A list of tags about the user.")
+ __properties: ClassVar[List[str]] = ["events", "notes", "tags"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecruitingProfile from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in events (list)
+ _items = []
+ if self.events:
+ for _item_events in self.events:
+ _items.append(_item_events.to_dict() if _item_events is not None else None)
+ _dict['events'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in notes (list)
+ _items = []
+ if self.notes:
+ for _item_notes in self.notes:
+ _items.append(_item_notes.to_dict() if _item_notes is not None else None)
+ _dict['notes'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in tags (list)
+ _items = []
+ if self.tags:
+ for _item_tags in self.tags:
+ _items.append(_item_tags.to_dict() if _item_tags is not None else None)
+ _dict['tags'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecruitingProfile from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "events": [LinkedIn1RecruitingProfileEventsInner.from_dict(_item) for _item in obj["events"]] if obj.get("events") is not None else None,
+ "notes": [LinkedIn1RecruitingProfileNotesInner.from_dict(_item) for _item in obj["notes"]] if obj.get("notes") is not None else None,
+ "tags": [LinkedIn1RecruitingProfileTagsInner.from_dict(_item) for _item in obj["tags"]] if obj.get("tags") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_recruiting_profile_events_inner.py b/unipile/models/linked_in1_recruiting_profile_events_inner.py
new file mode 100644
index 000000000..6226b1bc0
--- /dev/null
+++ b/unipile/models/linked_in1_recruiting_profile_events_inner.py
@@ -0,0 +1,194 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+from inspect import getfullargspec
+import json
+import pprint
+import re # noqa: F401
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
+from typing import Optional
+from unipile.models.link import Link
+from unipile.models.message import Message
+from unipile.models.note import Note
+from unipile.models.pipeline_change import PipelineChange
+from unipile.models.profile_view import ProfileView
+from unipile.models.unhandled import Unhandled
+from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
+from typing_extensions import Literal, Self
+from pydantic import Field
+
+LINKEDIN1RECRUITINGPROFILEEVENTSINNER_ANY_OF_SCHEMAS = ["Link", "Message", "Note", "PipelineChange", "ProfileView", "Unhandled"]
+
+class LinkedIn1RecruitingProfileEventsInner(BaseModel):
+ """
+ LinkedIn1RecruitingProfileEventsInner
+ """
+
+ # data type: Message
+ anyof_schema_1_validator: Optional[Message] = None
+ # data type: Note
+ anyof_schema_2_validator: Optional[Note] = None
+ # data type: Link
+ anyof_schema_3_validator: Optional[Link] = None
+ # data type: PipelineChange
+ anyof_schema_4_validator: Optional[PipelineChange] = None
+ # data type: ProfileView
+ anyof_schema_5_validator: Optional[ProfileView] = None
+ # data type: Unhandled
+ anyof_schema_6_validator: Optional[Unhandled] = None
+ if TYPE_CHECKING:
+ actual_instance: Optional[Union[Link, Message, Note, PipelineChange, ProfileView, Unhandled]] = None
+ else:
+ actual_instance: Any = None
+ any_of_schemas: Set[str] = { "Link", "Message", "Note", "PipelineChange", "ProfileView", "Unhandled" }
+
+ model_config = {
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+ def __init__(self, *args, **kwargs) -> None:
+ if args:
+ if len(args) > 1:
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
+ if kwargs:
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
+ super().__init__(actual_instance=args[0])
+ else:
+ super().__init__(**kwargs)
+
+ @field_validator('actual_instance')
+ def actual_instance_must_validate_anyof(cls, v):
+ instance = LinkedIn1RecruitingProfileEventsInner.model_construct()
+ error_messages = []
+ # validate data type: Message
+ if not isinstance(v, Message):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Message`")
+ else:
+ return v
+
+ # validate data type: Note
+ if not isinstance(v, Note):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Note`")
+ else:
+ return v
+
+ # validate data type: Link
+ if not isinstance(v, Link):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Link`")
+ else:
+ return v
+
+ # validate data type: PipelineChange
+ if not isinstance(v, PipelineChange):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `PipelineChange`")
+ else:
+ return v
+
+ # validate data type: ProfileView
+ if not isinstance(v, ProfileView):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `ProfileView`")
+ else:
+ return v
+
+ # validate data type: Unhandled
+ if not isinstance(v, Unhandled):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Unhandled`")
+ else:
+ return v
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when setting the actual_instance in LinkedIn1RecruitingProfileEventsInner with anyOf schemas: Link, Message, Note, PipelineChange, ProfileView, Unhandled. Details: " + ", ".join(error_messages))
+ else:
+ return v
+
+ @classmethod
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
+ return cls.from_json(json.dumps(obj))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Returns the object represented by the json string"""
+ instance = cls.model_construct()
+ error_messages = []
+ # anyof_schema_1_validator: Optional[Message] = None
+ try:
+ instance.actual_instance = Message.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_2_validator: Optional[Note] = None
+ try:
+ instance.actual_instance = Note.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_3_validator: Optional[Link] = None
+ try:
+ instance.actual_instance = Link.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_4_validator: Optional[PipelineChange] = None
+ try:
+ instance.actual_instance = PipelineChange.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_5_validator: Optional[ProfileView] = None
+ try:
+ instance.actual_instance = ProfileView.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_6_validator: Optional[Unhandled] = None
+ try:
+ instance.actual_instance = Unhandled.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when deserializing the JSON string into LinkedIn1RecruitingProfileEventsInner with anyOf schemas: Link, Message, Note, PipelineChange, ProfileView, Unhandled. Details: " + ", ".join(error_messages))
+ else:
+ return instance
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the actual instance"""
+ if self.actual_instance is None:
+ return "null"
+
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
+ return self.actual_instance.to_json()
+ else:
+ return json.dumps(self.actual_instance)
+
+ def to_dict(self) -> Optional[Union[Dict[str, Any], Link, Message, Note, PipelineChange, ProfileView, Unhandled]]:
+ """Returns the dict representation of the actual instance"""
+ if self.actual_instance is None:
+ return None
+
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
+ return self.actual_instance.to_dict()
+ else:
+ return self.actual_instance
+
+ def to_str(self) -> str:
+ """Returns the string representation of the actual instance"""
+ return pprint.pformat(self.model_dump())
+
+
diff --git a/unipile/models/linked_in1_recruiting_profile_notes_inner.py b/unipile/models/linked_in1_recruiting_profile_notes_inner.py
new file mode 100644
index 000000000..2279cc9d3
--- /dev/null
+++ b/unipile/models/linked_in1_recruiting_profile_notes_inner.py
@@ -0,0 +1,107 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
+from unipile.models.linked_in1_recruiting_profile_notes_inner_comments_inner import LinkedIn1RecruitingProfileNotesInnerCommentsInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1RecruitingProfileNotesInner(BaseModel):
+ """
+ LinkedIn1RecruitingProfileNotesInner
+ """ # noqa: E501
+ project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project where the note was added.")
+ content: StrictStr = Field(description="The text content of the note.")
+ last_modified_at: StrictStr = Field(description="The time at which the note was last modified. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ author: LinkedIn1InterestsTopVoicesInner
+ comments: List[LinkedIn1RecruitingProfileNotesInnerCommentsInner] = Field(description="A list of comments published on this note.")
+ __properties: ClassVar[List[str]] = ["project_id", "content", "last_modified_at", "author", "comments"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecruitingProfileNotesInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in comments (list)
+ _items = []
+ if self.comments:
+ for _item_comments in self.comments:
+ _items.append(_item_comments.to_dict() if _item_comments is not None else None)
+ _dict['comments'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecruitingProfileNotesInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "project_id": obj.get("project_id"),
+ "content": obj.get("content"),
+ "last_modified_at": obj.get("last_modified_at"),
+ "author": LinkedIn1InterestsTopVoicesInner.from_dict(obj["author"]) if obj.get("author") is not None else None,
+ "comments": [LinkedIn1RecruitingProfileNotesInnerCommentsInner.from_dict(_item) for _item in obj["comments"]] if obj.get("comments") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_recruiting_profile_notes_inner_comments_inner.py b/unipile/models/linked_in1_recruiting_profile_notes_inner_comments_inner.py
new file mode 100644
index 000000000..67e2c19b6
--- /dev/null
+++ b/unipile/models/linked_in1_recruiting_profile_notes_inner_comments_inner.py
@@ -0,0 +1,96 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1RecruitingProfileNotesInnerCommentsInner(BaseModel):
+ """
+ LinkedIn1RecruitingProfileNotesInnerCommentsInner
+ """ # noqa: E501
+ content: StrictStr = Field(description="The text content of the comment.")
+ author: LinkedIn1InterestsTopVoicesInner
+ last_modified_at: StrictStr = Field(description="The time at which the comment was last modified. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ __properties: ClassVar[List[str]] = ["content", "author", "last_modified_at"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecruitingProfileNotesInnerCommentsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecruitingProfileNotesInnerCommentsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "content": obj.get("content"),
+ "author": LinkedIn1InterestsTopVoicesInner.from_dict(obj["author"]) if obj.get("author") is not None else None,
+ "last_modified_at": obj.get("last_modified_at")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_recruiting_profile_tags_inner.py b/unipile/models/linked_in1_recruiting_profile_tags_inner.py
new file mode 100644
index 000000000..47979261a
--- /dev/null
+++ b/unipile/models/linked_in1_recruiting_profile_tags_inner.py
@@ -0,0 +1,90 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1RecruitingProfileTagsInner(BaseModel):
+ """
+ LinkedIn1RecruitingProfileTagsInner
+ """ # noqa: E501
+ id: StrictStr = Field(description="The ID of the tag.")
+ content: StrictStr = Field(description="The text content of the tag.")
+ __properties: ClassVar[List[str]] = ["id", "content"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecruitingProfileTagsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1RecruitingProfileTagsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "content": obj.get("content")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_relation_request.py b/unipile/models/linked_in1_relation_request.py
new file mode 100644
index 000000000..cef9e205a
--- /dev/null
+++ b/unipile/models/linked_in1_relation_request.py
@@ -0,0 +1,116 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in1_relation_request_user import LinkedIn1RelationRequestUser
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1RelationRequest(BaseModel):
+ """
+ LinkedIn1RelationRequest
+ """ # noqa: E501
+ object: StrictStr
+ user: Optional[LinkedIn1RelationRequestUser] = None
+ type: StrictStr = Field(description="Type of the relation / follow request. - `sent` if the current user has asked another one to be in his relations. - `received` if another user has asked the current one to be in his relations.")
+ id: StrictStr = Field(description="The unique identifier of the invitation for the provider.")
+ created_at: Optional[StrictStr] = Field(default=None, description="Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ message: Optional[StrictStr] = Field(default=None, description="Any message that comes with the invitation.")
+ __properties: ClassVar[List[str]] = ["object", "user", "type", "id", "created_at", "message"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['RelationRequest']):
+ raise ValueError("must be one of enum values ('RelationRequest')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['sent', 'received']):
+ raise ValueError("must be one of enum values ('sent', 'received')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1RelationRequest from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of user
+ if self.user:
+ _dict['user'] = self.user.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1RelationRequest from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "user": LinkedIn1RelationRequestUser.from_dict(obj["user"]) if obj.get("user") is not None else None,
+ "type": obj.get("type"),
+ "id": obj.get("id"),
+ "created_at": obj.get("created_at"),
+ "message": obj.get("message")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_relation_request_user.py b/unipile/models/linked_in1_relation_request_user.py
new file mode 100644
index 000000000..028f1313f
--- /dev/null
+++ b/unipile/models/linked_in1_relation_request_user.py
@@ -0,0 +1,129 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1RelationRequestUser(BaseModel):
+ """
+ The user who is the target of the relation / follow request.
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[Any] = Field(default=None, description="Provider-specific user data.")
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1RelationRequestUser from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1RelationRequestUser from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_skills_inner.py b/unipile/models/linked_in1_skills_inner.py
new file mode 100644
index 000000000..bc6204df9
--- /dev/null
+++ b/unipile/models/linked_in1_skills_inner.py
@@ -0,0 +1,96 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1SkillsInner(BaseModel):
+ """
+ LinkedIn1SkillsInner
+ """ # noqa: E501
+ name: StrictStr = Field(description="Name of the skill.")
+ endorsement_count: Union[StrictFloat, StrictInt] = Field(description="Number of people who endorsed the skill.")
+ endorsement_id: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Unique identifier to be used to endorse the skill.")
+ endorsed: Optional[StrictBool] = Field(default=None, description="Whether the viewer has endorsed the skill.")
+ insights: Optional[List[Optional[StrictStr]]] = Field(default=None, description="Insights about the skill.")
+ __properties: ClassVar[List[str]] = ["name", "endorsement_count", "endorsement_id", "endorsed", "insights"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1SkillsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1SkillsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "name": obj.get("name"),
+ "endorsement_count": obj.get("endorsement_count"),
+ "endorsement_id": obj.get("endorsement_id"),
+ "endorsed": obj.get("endorsed"),
+ "insights": obj.get("insights")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in1_volunteer_experience_inner.py b/unipile/models/linked_in1_volunteer_experience_inner.py
new file mode 100644
index 000000000..312f6bb86
--- /dev/null
+++ b/unipile/models/linked_in1_volunteer_experience_inner.py
@@ -0,0 +1,102 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in1_certifications_inner_organization import LinkedIn1CertificationsInnerOrganization
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn1VolunteerExperienceInner(BaseModel):
+ """
+ LinkedIn1VolunteerExperienceInner
+ """ # noqa: E501
+ organization: Optional[LinkedIn1CertificationsInnerOrganization] = None
+ role: StrictStr = Field(description="Role in the experience.")
+ cause: Optional[StrictStr] = Field(default=None, description="Cause of the experience.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the experience.")
+ started_on: Optional[StrictStr] = Field(default=None, description="Start date of the experience in MM/DD/YYYY format.")
+ ended_on: Optional[StrictStr] = Field(default=None, description="End date of the experience in MM/DD/YYYY format.")
+ __properties: ClassVar[List[str]] = ["organization", "role", "cause", "description", "started_on", "ended_on"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn1VolunteerExperienceInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of organization
+ if self.organization:
+ _dict['organization'] = self.organization.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn1VolunteerExperienceInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "organization": LinkedIn1CertificationsInnerOrganization.from_dict(obj["organization"]) if obj.get("organization") is not None else None,
+ "role": obj.get("role"),
+ "cause": obj.get("cause"),
+ "description": obj.get("description"),
+ "started_on": obj.get("started_on"),
+ "ended_on": obj.get("ended_on")
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in2.py b/unipile/models/linked_in2.py
new file mode 100644
index 000000000..1b5fa97d2
--- /dev/null
+++ b/unipile/models/linked_in2.py
@@ -0,0 +1,109 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in2_config import LinkedIn2Config
+from unipile.models.linked_in2_credentials import LinkedIn2Credentials
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn2(BaseModel):
+ """
+ Start the authentication intent with LinkedIn provider.
+ """ # noqa: E501
+ provider: StrictStr = Field(description="The provider to authenticate with.")
+ user_timezone: Optional[StrictStr] = Field(default=None, description="The time zone of the current user can be used on a few specific features (e.g. scheduled actions). Setting it at authentication avoids having to do it on a case-by-case basis later on.")
+ credentials: LinkedIn2Credentials
+ config: Optional[LinkedIn2Config] = None
+ __properties: ClassVar[List[str]] = ["provider", "user_timezone", "credentials", "config"]
+
+ @field_validator('provider')
+ def provider_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['linkedin']):
+ raise ValueError("must be one of enum values ('linkedin')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn2 from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of credentials
+ if self.credentials:
+ _dict['credentials'] = self.credentials.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of config
+ if self.config:
+ _dict['config'] = self.config.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn2 from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "provider": obj.get("provider"),
+ "user_timezone": obj.get("user_timezone"),
+ "credentials": LinkedIn2Credentials.from_dict(obj["credentials"]) if obj.get("credentials") is not None else None,
+ "config": LinkedIn2Config.from_dict(obj["config"]) if obj.get("config") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/linked_in2_config.py b/unipile/models/linked_in2_config.py
new file mode 100644
index 000000000..20ad45325
--- /dev/null
+++ b/unipile/models/linked_in2_config.py
@@ -0,0 +1,122 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.automatic_proxy_configuration import AutomaticProxyConfiguration
+from unipile.models.custom_proxy1 import CustomProxy1
+from unipile.models.linked_in2_config_products import LinkedIn2ConfigProducts
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class LinkedIn2Config(BaseModel):
+ """
+ LinkedIn specific configuration.
+ """ # noqa: E501
+ custom_proxy: Optional[CustomProxy1] = None
+ auto_proxy_config: Optional[AutomaticProxyConfiguration] = None
+ products: Optional[LinkedIn2ConfigProducts] = None
+ additional_properties: Dict[str, Any] = {}
+ __properties: ClassVar[List[str]] = ["custom_proxy", "auto_proxy_config", "products"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of LinkedIn2Config from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ * Fields in `self.additional_properties` are added to the output dict.
+ """
+ excluded_fields: Set[str] = set([
+ "additional_properties",
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of custom_proxy
+ if self.custom_proxy:
+ _dict['custom_proxy'] = self.custom_proxy.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of auto_proxy_config
+ if self.auto_proxy_config:
+ _dict['auto_proxy_config'] = self.auto_proxy_config.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of products
+ if self.products:
+ _dict['products'] = self.products.to_dict()
+ # puts key-value pairs in additional_properties in the top level
+ if self.additional_properties is not None:
+ for _key, _value in self.additional_properties.items():
+ _dict[_key] = _value
+
+ # set to None if custom_proxy (nullable) is None
+ # and model_fields_set contains the field
+ if self.custom_proxy is None and "custom_proxy" in self.model_fields_set:
+ _dict['custom_proxy'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of LinkedIn2Config from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "custom_proxy": CustomProxy1.from_dict(obj["custom_proxy"]) if obj.get("custom_proxy") is not None else None,
+ "auto_proxy_config": AutomaticProxyConfiguration.from_dict(obj["auto_proxy_config"]) if obj.get("auto_proxy_config") is not None else None,
+ "products": LinkedIn2ConfigProducts.from_dict(obj["products"]) if obj.get("products") is not None else None
+ })
+ # store additional fields in additional_properties
+ for _key in obj.keys():
+ if _key not in cls.__properties:
+ _obj.additional_properties[_key] = obj.get(_key)
+
+ return _obj
+
+
diff --git a/unipile/models/linked_in2_config_products.py b/unipile/models/linked_in2_config_products.py
new file mode 100644
index 000000000..e198d9c0f
--- /dev/null
+++ b/unipile/models/linked_in2_config_products.py
@@ -0,0 +1,139 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+from inspect import getfullargspec
+import json
+import pprint
+import re # noqa: F401
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
+from typing import List, Optional
+from typing_extensions import Annotated
+from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
+from typing_extensions import Literal, Self
+from pydantic import Field
+
+LINKEDIN2CONFIGPRODUCTS_ANY_OF_SCHEMAS = ["List[str]"]
+
+class LinkedIn2ConfigProducts(BaseModel):
+ """
+ Specifies which LinkedIn products to activate. For the premium `recruiter` and `sales_navigator` products, only one can be activated per account. Also, if the account does not have an active subscription, the linking will fail.
When reconnecting an account, just omit this field to keep connecting the same products, or provide new values to expand or narrow the products scope. Learn more about Linkedin products `classic` : LinkedIn Social network
`recruiter` : Recruiter
`sales_navigator` : Sales navigator
`company` : Company Pages
+ """
+
+ # data type: List[str]
+ anyof_schema_1_validator: Optional[Annotated[List[StrictStr], Field(min_length=1)]] = None
+ # data type: List[str]
+ anyof_schema_2_validator: Optional[Annotated[List[StrictStr], Field(min_length=1)]] = None
+ if TYPE_CHECKING:
+ actual_instance: Optional[Union[List[str]]] = None
+ else:
+ actual_instance: Any = None
+ any_of_schemas: Set[str] = { "List[str]" }
+
+ model_config = {
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+ def __init__(self, *args, **kwargs) -> None:
+ if args:
+ if len(args) > 1:
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
+ if kwargs:
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
+ super().__init__(actual_instance=args[0])
+ else:
+ super().__init__(**kwargs)
+
+ @field_validator('actual_instance')
+ def actual_instance_must_validate_anyof(cls, v):
+ instance = LinkedIn2ConfigProducts.model_construct()
+ error_messages = []
+ # validate data type: List[str]
+ try:
+ instance.anyof_schema_1_validator = v
+ return v
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # validate data type: List[str]
+ try:
+ instance.anyof_schema_2_validator = v
+ return v
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ if error_messages:
+ # no match
+ raise ValueError("No match found when setting the actual_instance in LinkedIn2ConfigProducts with anyOf schemas: List[str]. Details: " + ", ".join(error_messages))
+ else:
+ return v
+
+ @classmethod
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
+ return cls.from_json(json.dumps(obj))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Returns the object represented by the json string"""
+ instance = cls.model_construct()
+ error_messages = []
+ # deserialize data into List[str]
+ try:
+ # validation
+ instance.anyof_schema_1_validator = json.loads(json_str)
+ # assign value to actual_instance
+ instance.actual_instance = instance.anyof_schema_1_validator
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # deserialize data into List[str]
+ try:
+ # validation
+ instance.anyof_schema_2_validator = json.loads(json_str)
+ # assign value to actual_instance
+ instance.actual_instance = instance.anyof_schema_2_validator
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when deserializing the JSON string into LinkedIn2ConfigProducts with anyOf schemas: List[str]. Details: " + ", ".join(error_messages))
+ else:
+ return instance
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the actual instance"""
+ if self.actual_instance is None:
+ return "null"
+
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
+ return self.actual_instance.to_json()
+ else:
+ return json.dumps(self.actual_instance)
+
+ def to_dict(self) -> Optional[Union[Dict[str, Any], List[str]]]:
+ """Returns the dict representation of the actual instance"""
+ if self.actual_instance is None:
+ return None
+
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
+ return self.actual_instance.to_dict()
+ else:
+ return self.actual_instance
+
+ def to_str(self) -> str:
+ """Returns the string representation of the actual instance"""
+ return pprint.pformat(self.model_dump())
+
+
diff --git a/unipile/models/linked_in2_credentials.py b/unipile/models/linked_in2_credentials.py
new file mode 100644
index 000000000..63ee979ee
--- /dev/null
+++ b/unipile/models/linked_in2_credentials.py
@@ -0,0 +1,134 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+from inspect import getfullargspec
+import json
+import pprint
+import re # noqa: F401
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
+from typing import Optional
+from unipile.models.basic_authentication1 import BasicAuthentication1
+from unipile.models.cookie_authentication import CookieAuthentication
+from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
+from typing_extensions import Literal, Self
+from pydantic import Field
+
+LINKEDIN2CREDENTIALS_ANY_OF_SCHEMAS = ["BasicAuthentication1", "CookieAuthentication"]
+
+class LinkedIn2Credentials(BaseModel):
+ """
+ The user credentials required by the provider to authenticate with.
+ """
+
+ # data type: BasicAuthentication1
+ anyof_schema_1_validator: Optional[BasicAuthentication1] = None
+ # data type: CookieAuthentication
+ anyof_schema_2_validator: Optional[CookieAuthentication] = None
+ if TYPE_CHECKING:
+ actual_instance: Optional[Union[BasicAuthentication1, CookieAuthentication]] = None
+ else:
+ actual_instance: Any = None
+ any_of_schemas: Set[str] = { "BasicAuthentication1", "CookieAuthentication" }
+
+ model_config = {
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+ def __init__(self, *args, **kwargs) -> None:
+ if args:
+ if len(args) > 1:
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
+ if kwargs:
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
+ super().__init__(actual_instance=args[0])
+ else:
+ super().__init__(**kwargs)
+
+ @field_validator('actual_instance')
+ def actual_instance_must_validate_anyof(cls, v):
+ instance = LinkedIn2Credentials.model_construct()
+ error_messages = []
+ # validate data type: BasicAuthentication1
+ if not isinstance(v, BasicAuthentication1):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `BasicAuthentication1`")
+ else:
+ return v
+
+ # validate data type: CookieAuthentication
+ if not isinstance(v, CookieAuthentication):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `CookieAuthentication`")
+ else:
+ return v
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when setting the actual_instance in LinkedIn2Credentials with anyOf schemas: BasicAuthentication1, CookieAuthentication. Details: " + ", ".join(error_messages))
+ else:
+ return v
+
+ @classmethod
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
+ return cls.from_json(json.dumps(obj))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Returns the object represented by the json string"""
+ instance = cls.model_construct()
+ error_messages = []
+ # anyof_schema_1_validator: Optional[BasicAuthentication1] = None
+ try:
+ instance.actual_instance = BasicAuthentication1.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_2_validator: Optional[CookieAuthentication] = None
+ try:
+ instance.actual_instance = CookieAuthentication.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when deserializing the JSON string into LinkedIn2Credentials with anyOf schemas: BasicAuthentication1, CookieAuthentication. Details: " + ", ".join(error_messages))
+ else:
+ return instance
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the actual instance"""
+ if self.actual_instance is None:
+ return "null"
+
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
+ return self.actual_instance.to_json()
+ else:
+ return json.dumps(self.actual_instance)
+
+ def to_dict(self) -> Optional[Union[Dict[str, Any], BasicAuthentication1, CookieAuthentication]]:
+ """Returns the dict representation of the actual instance"""
+ if self.actual_instance is None:
+ return None
+
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
+ return self.actual_instance.to_dict()
+ else:
+ return self.actual_instance
+
+ def to_str(self) -> str:
+ """Returns the string representation of the actual instance"""
+ return pprint.pformat(self.model_dump())
+
+
diff --git a/unipile/models/linked_in_classic.py b/unipile/models/linked_in_classic.py
index 1dfdebd7a..909dbcb58 100644
--- a/unipile/models/linked_in_classic.py
+++ b/unipile/models/linked_in_classic.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/linked_in_classic_applicant.py b/unipile/models/linked_in_classic_applicant.py
index 2b2e32746..aff01e158 100644
--- a/unipile/models/linked_in_classic_applicant.py
+++ b/unipile/models/linked_in_classic_applicant.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class LinkedInClassicApplicant(BaseModel):
Options available when the recipient is a candidate for one of your job postings.
""" # noqa: E501
id: StrictStr = Field(description="The applicant ID of the recipient.")
- messaging_token: StrictStr = Field(description="The messaging token to be retrieved using the Get an Applicant endpoint.")
+ messaging_token: StrictStr = Field(description="The messaging token to be retrieved using the Get an Applicant endpoint.")
__properties: ClassVar[List[str]] = ["id", "messaging_token"]
model_config = ConfigDict(
diff --git a/unipile/models/linked_in_recruiter.py b/unipile/models/linked_in_recruiter.py
index 253b73a39..def6a0a9b 100644
--- a/unipile/models/linked_in_recruiter.py
+++ b/unipile/models/linked_in_recruiter.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/linked_in_recruiter_follow_up.py b/unipile/models/linked_in_recruiter_follow_up.py
index dc2457199..7b7f1cb0c 100644
--- a/unipile/models/linked_in_recruiter_follow_up.py
+++ b/unipile/models/linked_in_recruiter_follow_up.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -78,8 +78,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of scheduled_for
if self.scheduled_for:
diff --git a/unipile/models/linked_in_recruiter_follow_up_scheduled_for.py b/unipile/models/linked_in_recruiter_follow_up_scheduled_for.py
index 8642335c3..2a315b6dd 100644
--- a/unipile/models/linked_in_recruiter_follow_up_scheduled_for.py
+++ b/unipile/models/linked_in_recruiter_follow_up_scheduled_for.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/linked_in_sales_navigator.py b/unipile/models/linked_in_sales_navigator.py
index 4981cfb83..5694c4745 100644
--- a/unipile/models/linked_in_sales_navigator.py
+++ b/unipile/models/linked_in_sales_navigator.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/list_accounts200_response.py b/unipile/models/list_accounts200_response.py
index b99ac7496..f26f66e67 100644
--- a/unipile/models/list_accounts200_response.py
+++ b/unipile/models/list_accounts200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -83,8 +83,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/list_classic_user_job_postings200_response.py b/unipile/models/list_classic_user_job_postings200_response.py
index b301fced7..ccb23ed99 100644
--- a/unipile/models/list_classic_user_job_postings200_response.py
+++ b/unipile/models/list_classic_user_job_postings200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class ListClassicUserJobPostings200Response(BaseModel):
ListClassicUserJobPostings200Response
""" # noqa: E501
data: List[ListClassicUserJobPostings200ResponseDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/list_classic_user_job_postings200_response_data_inner.py b/unipile/models/list_classic_user_job_postings200_response_data_inner.py
index 1ab9b4ffa..5cbe9e78a 100644
--- a/unipile/models/list_classic_user_job_postings200_response_data_inner.py
+++ b/unipile/models/list_classic_user_job_postings200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/list_user_followers200_response.py b/unipile/models/list_user_followers200_response.py
index fd345713c..5082204f3 100644
--- a/unipile/models/list_user_followers200_response.py
+++ b/unipile/models/list_user_followers200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.linked_in_projects_inner_contributors_inner import LinkedInProjectsInnerContributorsInner
+from unipile.models.get_chats_list200_response_data_inner_participants_inner_user import GetChatsList200ResponseDataInnerParticipantsInnerUser
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -28,8 +28,8 @@ class ListUserFollowers200Response(BaseModel):
"""
ListUserFollowers200Response
""" # noqa: E501
- data: List[LinkedInProjectsInnerContributorsInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ data: List[GetChatsList200ResponseDataInnerParticipantsInnerUser]
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
@@ -91,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
return cls.model_validate(obj)
_obj = cls.model_validate({
- "data": [LinkedInProjectsInnerContributorsInner.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
+ "data": [GetChatsList200ResponseDataInnerParticipantsInnerUser.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
"total_count": obj.get("total_count"),
"next_cursor": obj.get("next_cursor")
})
diff --git a/unipile/models/list_webhook_conversations200_response.py b/unipile/models/list_webhook_conversations200_response.py
index 0b9c88629..822add043 100644
--- a/unipile/models/list_webhook_conversations200_response.py
+++ b/unipile/models/list_webhook_conversations200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -83,8 +83,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/list_webhook_conversations200_response_data_inner.py b/unipile/models/list_webhook_conversations200_response_data_inner.py
index a8b84d912..4773a713c 100644
--- a/unipile/models/list_webhook_conversations200_response_data_inner.py
+++ b/unipile/models/list_webhook_conversations200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,10 +30,10 @@ class ListWebhookConversations200ResponseDataInner(BaseModel):
""" # noqa: E501
first_attempt: StrictBool
event_type: Annotated[str, Field(strict=True, max_length=255)]
- created_at: Optional[StrictStr] = Field(description="The ID of the Company.")
+ created_at: Optional[StrictStr] = Field(description="The text content of the message, when available.")
http_status: Optional[Annotated[int, Field(le=2147483647, strict=True, ge=-2147483648)]]
- endpoint_url: Optional[StrictStr] = Field(description="The ID of the Company.")
- response_body: Optional[StrictStr] = Field(description="The ID of the Company.")
+ endpoint_url: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ response_body: Optional[StrictStr] = Field(description="The text content of the message, when available.")
object: StrictStr
id: Annotated[str, Field(strict=True)]
endpoint_id: Annotated[str, Field(strict=True)]
@@ -47,33 +47,24 @@ def object_validate_enum(cls, value):
raise ValueError("must be one of enum values ('WebhookConversation')")
return value
- @field_validator('id')
+ @field_validator('id', mode="before")
def id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^wc_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^wc_(.*)$", value):
raise ValueError(r"must validate the regular expression /^wc_(.*)$/")
return value
- @field_validator('endpoint_id')
+ @field_validator('endpoint_id', mode="before")
def endpoint_id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^we_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^we_(.*)$", value):
raise ValueError(r"must validate the regular expression /^we_(.*)$/")
return value
- @field_validator('event_id')
+ @field_validator('event_id', mode="before")
def event_id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^evt_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^evt_(.*)$", value):
raise ValueError(r"must validate the regular expression /^evt_(.*)$/")
return value
diff --git a/unipile/models/list_webhook_endpoints200_response.py b/unipile/models/list_webhook_endpoints200_response.py
index 239e2c338..65e33926a 100644
--- a/unipile/models/list_webhook_endpoints200_response.py
+++ b/unipile/models/list_webhook_endpoints200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -83,8 +83,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/list_webhook_endpoints200_response_data_inner.py b/unipile/models/list_webhook_endpoints200_response_data_inner.py
index 565cb2337..e790f16cb 100644
--- a/unipile/models/list_webhook_endpoints200_response_data_inner.py
+++ b/unipile/models/list_webhook_endpoints200_response_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,7 +31,7 @@ class ListWebhookEndpoints200ResponseDataInner(BaseModel):
""" # noqa: E501
enabled: StrictBool
description: Optional[StrictStr]
- url: Optional[StrictStr] = Field(description="The ID of the Company.")
+ url: Optional[StrictStr] = Field(description="The text content of the message, when available.")
trigger_events: List[StrictStr]
secret: Annotated[str, Field(strict=True, max_length=36)]
object: StrictStr
@@ -45,8 +45,8 @@ class ListWebhookEndpoints200ResponseDataInner(BaseModel):
def trigger_events_validate_enum(cls, value):
"""Validates the enum"""
for i in value:
- if i not in set(['account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.paused', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.request.accept']):
- raise ValueError("each list item must be one of ('account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.paused', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.request.accept')")
+ if i not in set(['account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.degraded', 'account.status.partial', 'account.locked', 'account.unlocked', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'message.reaction.delete', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.new']):
+ raise ValueError("each list item must be one of ('account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.degraded', 'account.status.partial', 'account.locked', 'account.unlocked', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'message.reaction.delete', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.new')")
return value
@field_validator('object')
@@ -56,23 +56,17 @@ def object_validate_enum(cls, value):
raise ValueError("must be one of enum values ('WebhookEndpoint')")
return value
- @field_validator('id')
+ @field_validator('id', mode="before")
def id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^we_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^we_(.*)$", value):
raise ValueError(r"must validate the regular expression /^we_(.*)$/")
return value
- @field_validator('application_id')
+ @field_validator('application_id', mode="before")
def application_id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^app_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^app_(.*)$", value):
raise ValueError(r"must validate the regular expression /^app_(.*)$/")
return value
@@ -119,8 +113,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.account_targets:
for _item_account_targets in self.account_targets:
- if _item_account_targets:
- _items.append(_item_account_targets.to_dict())
+ _items.append(_item_account_targets.to_dict() if _item_account_targets is not None else None)
_dict['account_targets'] = _items
# set to None if description (nullable) is None
# and model_fields_set contains the field
diff --git a/unipile/models/list_webhook_endpoints200_response_data_inner_account_targets_inner.py b/unipile/models/list_webhook_endpoints200_response_data_inner_account_targets_inner.py
index 3c17c89e3..cbde3965e 100644
--- a/unipile/models/list_webhook_endpoints200_response_data_inner_account_targets_inner.py
+++ b/unipile/models/list_webhook_endpoints200_response_data_inner_account_targets_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -49,13 +49,10 @@ def object_validate_enum(cls, value):
raise ValueError("must be one of enum values ('WebhookEndpointAccountTarget')")
return value
- @field_validator('id')
+ @field_validator('id', mode="before")
def id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^acc_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^acc_(.*)$", value):
raise ValueError(r"must validate the regular expression /^acc_(.*)$/")
return value
diff --git a/unipile/models/loading.py b/unipile/models/loading.py
new file mode 100644
index 000000000..9cd2692b0
--- /dev/null
+++ b/unipile/models/loading.py
@@ -0,0 +1,95 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class Loading(BaseModel):
+ """
+ The authentication is continuing in the background and requires no user input.
+ """ # noqa: E501
+ type: StrictStr
+ __properties: ClassVar[List[str]] = ["type"]
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['LOADING']):
+ raise ValueError("must be one of enum values ('LOADING')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of Loading from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of Loading from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "type": obj.get("type")
+ })
+ return _obj
+
+
diff --git a/unipile/models/media_share.py b/unipile/models/media_share.py
index dd4506a8d..8b5275e5f 100644
--- a/unipile/models/media_share.py
+++ b/unipile/models/media_share.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,6 +30,7 @@ class MediaShare(BaseModel):
object: StrictStr
id: StrictStr = Field(description="The unique identifier of the attachment for the provider.")
file_size: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The size of the attachment in bytes.")
+ is_inline: StrictBool = Field(description="Is the attachment inline in the content.")
is_unavailable: Optional[StrictBool] = Field(default=None, description="The attachment is not available for download because it was removed from provider servers.")
mimetype: StrictStr = Field(description="The MIME type of the attachment.")
url: StrictStr = Field(description="The URL of the shared content.")
@@ -39,7 +40,7 @@ class MediaShare(BaseModel):
media_type: StrictStr = Field(description="The type of content being shared.")
author: Optional[StrictStr] = Field(default=None, description="The author of the shared content, if applicable.")
description: Optional[StrictStr] = Field(default=None, description="A brief description of the shared content.")
- __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "media_type", "author", "description"]
+ __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_inline", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "media_type", "author", "description"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -116,6 +117,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"object": obj.get("object"),
"id": obj.get("id"),
"file_size": obj.get("file_size"),
+ "is_inline": obj.get("is_inline"),
"is_unavailable": obj.get("is_unavailable"),
"mimetype": obj.get("mimetype"),
"url": obj.get("url"),
diff --git a/unipile/models/message.py b/unipile/models/message.py
index 551bce71f..0aef2f552 100644
--- a/unipile/models/message.py
+++ b/unipile/models/message.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -18,8 +18,8 @@
import json
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
-from typing import Any, ClassVar, Dict, List
-from unipile.models.linked_in_projects_inner_contributors_inner import LinkedInProjectsInnerContributorsInner
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,9 +29,9 @@ class Message(BaseModel):
Message
""" # noqa: E501
last_updated_at: StrictStr = Field(description="The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
- last_updated_by: LinkedInProjectsInnerContributorsInner
+ last_updated_by: LinkedIn1InterestsTopVoicesInner
event: StrictStr = Field(description="The type of event.")
- message_content: StrictStr = Field(description="The text content of the message.")
+ message_content: Optional[StrictStr] = Field(description="The text content of the message, when available.")
message_status: StrictStr = Field(description="The current status of the message.")
__properties: ClassVar[List[str]] = ["last_updated_at", "last_updated_by", "event", "message_content", "message_status"]
@@ -91,6 +91,11 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of last_updated_by
if self.last_updated_by:
_dict['last_updated_by'] = self.last_updated_by.to_dict()
+ # set to None if message_content (nullable) is None
+ # and model_fields_set contains the field
+ if self.message_content is None and "message_content" in self.model_fields_set:
+ _dict['message_content'] = None
+
return _dict
@classmethod
@@ -104,7 +109,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"last_updated_at": obj.get("last_updated_at"),
- "last_updated_by": LinkedInProjectsInnerContributorsInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
+ "last_updated_by": LinkedIn1InterestsTopVoicesInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
"event": obj.get("event"),
"message_content": obj.get("message_content"),
"message_status": obj.get("message_status")
diff --git a/unipile/models/message_file.py b/unipile/models/message_file.py
index 9996a5dcc..e00a038bf 100644
--- a/unipile/models/message_file.py
+++ b/unipile/models/message_file.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/message_file_metadata.py b/unipile/models/message_file_metadata.py
index 6992d33a8..9e0c817ad 100644
--- a/unipile/models/message_file_metadata.py
+++ b/unipile/models/message_file_metadata.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/message_pin_status.py b/unipile/models/message_pin_status.py
index 7868f7828..c399be415 100644
--- a/unipile/models/message_pin_status.py
+++ b/unipile/models/message_pin_status.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/mock.py b/unipile/models/mock.py
index 28b27a78b..713c3c0bd 100644
--- a/unipile/models/mock.py
+++ b/unipile/models/mock.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/modify_email_request.py b/unipile/models/modify_email_request.py
index 990ab4e19..9b076bbfa 100644
--- a/unipile/models/modify_email_request.py
+++ b/unipile/models/modify_email_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,7 +17,7 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
from typing_extensions import Annotated
from unipile.models.modify_email_request_specifics import ModifyEmailRequestSpecifics
@@ -29,7 +29,7 @@ class ModifyEmailRequest(BaseModel):
"""
ModifyEmailRequest
""" # noqa: E501
- folders_ids: Optional[Annotated[List[Optional[StrictStr]], Field(min_length=1)]] = Field(default=None, description="The ID(s) of the folder(s) to apply, overwriting all folders previously associated with the Email. Outlook emails can be in a single folder only. Google allows a single email to appear in multiple folders.")
+ folders_ids: Optional[Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=1)]] = Field(default=None, description="The ID(s) of the folder(s) to apply, overwriting all folders previously associated with the Email. Outlook emails can be in a single folder only. Google allows a single email to appear in multiple folders.")
specifics: Optional[ModifyEmailRequestSpecifics] = None
__properties: ClassVar[List[str]] = ["folders_ids", "specifics"]
diff --git a/unipile/models/modify_email_request_specifics.py b/unipile/models/modify_email_request_specifics.py
index a6ac3e99d..89a48d9e0 100644
--- a/unipile/models/modify_email_request_specifics.py
+++ b/unipile/models/modify_email_request_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/modify_email_request_specifics_all_of_outlook.py b/unipile/models/modify_email_request_specifics_all_of_outlook.py
index d5918ad84..5daec04f1 100644
--- a/unipile/models/modify_email_request_specifics_all_of_outlook.py
+++ b/unipile/models/modify_email_request_specifics_all_of_outlook.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/modify_message200_response.py b/unipile/models/modify_message200_response.py
index 6e39c2ce0..7d0c65ce1 100644
--- a/unipile/models/modify_message200_response.py
+++ b/unipile/models/modify_message200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,12 +19,13 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.get_messages_list200_response_data_inner_event_metadata import GetMessagesList200ResponseDataInnerEventMetadata
-from unipile.models.get_messages_list200_response_data_inner_forwarded import GetMessagesList200ResponseDataInnerForwarded
-from unipile.models.get_messages_list200_response_data_inner_quoted import GetMessagesList200ResponseDataInnerQuoted
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
-from unipile.models.get_messages_list200_response_data_inner_reactions_counter_inner import GetMessagesList200ResponseDataInnerReactionsCounterInner
-from unipile.models.get_messages_list200_response_data_inner_sender import GetMessagesList200ResponseDataInnerSender
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_event_metadata import GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_forwarded import GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_hyperlinks_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted import GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_sender import GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -49,15 +50,16 @@ class ModifyMessage200Response(BaseModel):
is_event: StrictBool = Field(description="Is the message an event. Events are special messages that are not displayed in the chat but can be used to trigger actions.")
is_mentionned: StrictBool = Field(description="Is the message mentionning the current user. Usually to notify.")
event_type: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The type of message event. 0 : Unknown (Not implemented) 1 : Chat name update 2 : Chat description update 3 : New participant added to the chat group 4 : Participant kicked or left the chat group 5 : A message is pinned 6 : Permissions have been updated 7 : Participant was promoted or demoted 8 : Reaction 9 : Call Missed 10 : Call Started 11 : Call Ended 12 : Call Rejected 13 : Scheduled Call Created 14 : Scheduled Call Cancelled 15 : Scheduled Call Started 16 : Announcement ")
- event_metadata: Optional[GetMessagesList200ResponseDataInnerEventMetadata] = None
- reactions_counter: List[GetMessagesList200ResponseDataInnerReactionsCounterInner] = Field(description="A list of reactions to the element.")
- sender: Optional[GetMessagesList200ResponseDataInnerSender] = None
+ event_metadata: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata] = None
+ reactions_counter: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner] = Field(description="A list of reactions to the element.")
+ sender: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender] = None
provider: StrictStr = Field(description="The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP.")
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="List of message attachments.")
- quoted: Optional[GetMessagesList200ResponseDataInnerQuoted] = None
- forwarded: Optional[GetMessagesList200ResponseDataInnerForwarded] = None
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of message attachments.")
+ hyperlinks: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner] = Field(description="List of message hyperlinks.")
+ quoted: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted] = None
+ forwarded: Optional[GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded] = None
specifics: Optional[Any] = None
- __properties: ClassVar[List[str]] = ["object", "id", "text", "sender_id", "chat_id", "timestamp", "is_sender", "is_hidden", "is_seen", "is_delivered", "is_deleted", "is_edited", "is_pinned", "is_event", "is_mentionned", "event_type", "event_metadata", "reactions_counter", "sender", "provider", "attachments", "quoted", "forwarded", "specifics"]
+ __properties: ClassVar[List[str]] = ["object", "id", "text", "sender_id", "chat_id", "timestamp", "is_sender", "is_hidden", "is_seen", "is_delivered", "is_deleted", "is_edited", "is_pinned", "is_event", "is_mentionned", "event_type", "event_metadata", "reactions_counter", "sender", "provider", "attachments", "hyperlinks", "quoted", "forwarded", "specifics"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -129,8 +131,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.reactions_counter:
for _item_reactions_counter in self.reactions_counter:
- if _item_reactions_counter:
- _items.append(_item_reactions_counter.to_dict())
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
_dict['reactions_counter'] = _items
# override the default output from pydantic by calling `to_dict()` of sender
if self.sender:
@@ -139,9 +140,14 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in hyperlinks (list)
+ _items = []
+ if self.hyperlinks:
+ for _item_hyperlinks in self.hyperlinks:
+ _items.append(_item_hyperlinks.to_dict() if _item_hyperlinks is not None else None)
+ _dict['hyperlinks'] = _items
# override the default output from pydantic by calling `to_dict()` of quoted
if self.quoted:
_dict['quoted'] = self.quoted.to_dict()
@@ -181,13 +187,14 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"is_event": obj.get("is_event"),
"is_mentionned": obj.get("is_mentionned"),
"event_type": obj.get("event_type"),
- "event_metadata": GetMessagesList200ResponseDataInnerEventMetadata.from_dict(obj["event_metadata"]) if obj.get("event_metadata") is not None else None,
- "reactions_counter": [GetMessagesList200ResponseDataInnerReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
- "sender": GetMessagesList200ResponseDataInnerSender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
+ "event_metadata": GetChatsList200ResponseDataInnerLastMessageAnyOf1EventMetadata.from_dict(obj["event_metadata"]) if obj.get("event_metadata") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "sender": GetChatsList200ResponseDataInnerLastMessageAnyOf1Sender.from_dict(obj["sender"]) if obj.get("sender") is not None else None,
"provider": obj.get("provider"),
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
- "quoted": GetMessagesList200ResponseDataInnerQuoted.from_dict(obj["quoted"]) if obj.get("quoted") is not None else None,
- "forwarded": GetMessagesList200ResponseDataInnerForwarded.from_dict(obj["forwarded"]) if obj.get("forwarded") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "hyperlinks": [GetChatsList200ResponseDataInnerLastMessageAnyOf1HyperlinksInner.from_dict(_item) for _item in obj["hyperlinks"]] if obj.get("hyperlinks") is not None else None,
+ "quoted": GetChatsList200ResponseDataInnerLastMessageAnyOf1Quoted.from_dict(obj["quoted"]) if obj.get("quoted") is not None else None,
+ "forwarded": GetChatsList200ResponseDataInnerLastMessageAnyOf1Forwarded.from_dict(obj["forwarded"]) if obj.get("forwarded") is not None else None,
"specifics": obj.get("specifics")
})
return _obj
diff --git a/unipile/models/modify_message_request.py b/unipile/models/modify_message_request.py
index 9357d5b64..4b2022769 100644
--- a/unipile/models/modify_message_request.py
+++ b/unipile/models/modify_message_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/multiple_choices.py b/unipile/models/multiple_choices.py
index 7a48cb730..59218ccbe 100644
--- a/unipile/models/multiple_choices.py
+++ b/unipile/models/multiple_choices.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/multiple_choices1.py b/unipile/models/multiple_choices1.py
index 7c11a76fa..30a094e49 100644
--- a/unipile/models/multiple_choices1.py
+++ b/unipile/models/multiple_choices1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/new_participant_joined_the_chat_group.py b/unipile/models/new_participant_joined_the_chat_group.py
index 5a0e52e05..5bfdf6534 100644
--- a/unipile/models/new_participant_joined_the_chat_group.py
+++ b/unipile/models/new_participant_joined_the_chat_group.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/note.py b/unipile/models/note.py
index 351c7bdd9..c1f1cb7c8 100644
--- a/unipile/models/note.py
+++ b/unipile/models/note.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.linked_in_projects_inner_contributors_inner import LinkedInProjectsInnerContributorsInner
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,7 @@ class Note(BaseModel):
Note
""" # noqa: E501
last_updated_at: StrictStr = Field(description="The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
- last_updated_by: LinkedInProjectsInnerContributorsInner
+ last_updated_by: LinkedIn1InterestsTopVoicesInner
event: StrictStr = Field(description="The type of event.")
note_content: Optional[StrictStr] = Field(default=None, description="The text content of the note.")
__properties: ClassVar[List[str]] = ["last_updated_at", "last_updated_by", "event", "note_content"]
@@ -96,7 +96,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"last_updated_at": obj.get("last_updated_at"),
- "last_updated_by": LinkedInProjectsInnerContributorsInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
+ "last_updated_by": LinkedIn1InterestsTopVoicesInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
"event": obj.get("event"),
"note_content": obj.get("note_content")
})
diff --git a/unipile/models/numeric_answer.py b/unipile/models/numeric_answer.py
index 50b414dd6..e65ca85ca 100644
--- a/unipile/models/numeric_answer.py
+++ b/unipile/models/numeric_answer.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/oauth_outlook_google.py b/unipile/models/oauth_outlook_google.py
index 6e7fef61d..2da8d30e8 100644
--- a/unipile/models/oauth_outlook_google.py
+++ b/unipile/models/oauth_outlook_google.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/oauth_outlook_google_config.py b/unipile/models/oauth_outlook_google_config.py
index fd08e07f0..7bea5ca3d 100644
--- a/unipile/models/oauth_outlook_google_config.py
+++ b/unipile/models/oauth_outlook_google_config.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,8 +17,9 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from unipile.models.custom_proxy1 import CustomProxy1
from typing import Optional, Set
from typing_extensions import Self
@@ -29,7 +30,7 @@ class OauthOutlookGoogleConfig(BaseModel):
Oauth authentication configuration.
""" # noqa: E501
custom_proxy: Optional[CustomProxy1] = None
- oauth_scope: Optional[List[Optional[StrictStr]]] = Field(default=None, description="Override of the list of authorizations to request from the Provider. Use this field to narrow the scope of API access. For example, if your application only uses the Calendar API, you may request authorization solely for the calendar, excluding email access for providers like Google. Make sure to give only authorizations accepted by your registered provider application. If left unspecified, all authorizations defined in the Provider OAuth settings section will be requested.")
+ oauth_scope: Optional[Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=1)]] = Field(default=None, description="The final list of authorizations to request from the Provider. Use this field to expand or narrow the scope of API access. For example, if your application only uses the Calendar API, you may request authorization solely for the calendar, excluding email access for providers like Google. Make sure to give only authorizations accepted by your registered provider application. For a new account, omitting this field requests the authorizations defined in the Provider OAuth settings. For a reconnect, omitting it preserves already granted authorizations and adds the authorizations currently defined in the Provider OAuth settings.")
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["custom_proxy", "oauth_scope"]
diff --git a/unipile/models/oauth_url.py b/unipile/models/oauth_url.py
index f761d64f8..0d8bb0bf0 100644
--- a/unipile/models/oauth_url.py
+++ b/unipile/models/oauth_url.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/one_time_password.py b/unipile/models/one_time_password.py
index a9098f411..1468a2603 100644
--- a/unipile/models/one_time_password.py
+++ b/unipile/models/one_time_password.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,8 +17,8 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, StrictStr, field_validator
-from typing import Any, ClassVar, Dict, List
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -28,7 +28,8 @@ class OneTimePassword(BaseModel):
A one-time password was sent to the user's phone or email address. The user needs to enter the code in the next checkpoint.
""" # noqa: E501
type: StrictStr
- __properties: ClassVar[List[str]] = ["type"]
+ channel: Optional[StrictStr] = Field(default=None, description="The channel the one-time password was sent through, when known.")
+ __properties: ClassVar[List[str]] = ["type", "channel"]
@field_validator('type')
def type_validate_enum(cls, value):
@@ -37,6 +38,16 @@ def type_validate_enum(cls, value):
raise ValueError("must be one of enum values ('OTP')")
return value
+ @field_validator('channel')
+ def channel_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set(['EMAIL', 'SMS', 'WHATSAPP']):
+ raise ValueError("must be one of enum values ('EMAIL', 'SMS', 'WHATSAPP')")
+ return value
+
model_config = ConfigDict(
validate_by_name=True,
validate_by_alias=True,
@@ -88,7 +99,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
return cls.model_validate(obj)
_obj = cls.model_validate({
- "type": obj.get("type")
+ "type": obj.get("type"),
+ "channel": obj.get("channel")
})
return _obj
diff --git a/unipile/models/otpor_in_app_validation.py b/unipile/models/otpor_in_app_validation.py
index 8f363e20a..d0ae60192 100644
--- a/unipile/models/otpor_in_app_validation.py
+++ b/unipile/models/otpor_in_app_validation.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,8 +17,8 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, StrictStr, field_validator
-from typing import Any, ClassVar, Dict, List
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -28,7 +28,8 @@ class OTPOrInAppValidation(BaseModel):
The user can either enter a one-time password sent to their phone/email or validate a notification sent to their phone.
""" # noqa: E501
type: StrictStr
- __properties: ClassVar[List[str]] = ["type"]
+ channel: Optional[StrictStr] = Field(default=None, description="The channel the one-time password was sent through, when known.")
+ __properties: ClassVar[List[str]] = ["type", "channel"]
@field_validator('type')
def type_validate_enum(cls, value):
@@ -37,6 +38,16 @@ def type_validate_enum(cls, value):
raise ValueError("must be one of enum values ('OTP_OR_IN_APP_VALIDATION')")
return value
+ @field_validator('channel')
+ def channel_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set(['EMAIL', 'SMS', 'WHATSAPP']):
+ raise ValueError("must be one of enum values ('EMAIL', 'SMS', 'WHATSAPP')")
+ return value
+
model_config = ConfigDict(
validate_by_name=True,
validate_by_alias=True,
@@ -88,7 +99,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
return cls.model_validate(obj)
_obj = cls.model_validate({
- "type": obj.get("type")
+ "type": obj.get("type"),
+ "channel": obj.get("channel")
})
return _obj
diff --git a/unipile/models/partial_profile.py b/unipile/models/partial_profile.py
index ea2bcd8fa..1936bb0fb 100644
--- a/unipile/models/partial_profile.py
+++ b/unipile/models/partial_profile.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,7 +30,7 @@ class PartialProfile(BaseModel):
PartialProfile
""" # noqa: E501
id: StrictStr = Field(description="The ID of the user.")
- headline: StrictStr = Field(description="The headline of the User.")
+ headline: Optional[StrictStr] = Field(default=None, description="The headline of the User.")
network_distance: StrictStr = Field(description="Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.'")
location: Optional[StrictStr] = Field(default=None, description="The location of the User.")
can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether it is possible to send an inMail to this User.")
@@ -101,8 +101,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.work_experience:
for _item_work_experience in self.work_experience:
- if _item_work_experience:
- _items.append(_item_work_experience.to_dict())
+ _items.append(_item_work_experience.to_dict() if _item_work_experience is not None else None)
_dict['work_experience'] = _items
return _dict
diff --git a/unipile/models/partial_profile1.py b/unipile/models/partial_profile1.py
index c9b11f160..d6072d981 100644
--- a/unipile/models/partial_profile1.py
+++ b/unipile/models/partial_profile1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,7 +31,7 @@ class PartialProfile1(BaseModel):
""" # noqa: E501
object: StrictStr
id: StrictStr = Field(description="The ID of the user.")
- headline: StrictStr = Field(description="The headline of the User.")
+ headline: Optional[StrictStr] = Field(default=None, description="The headline of the User.")
network_distance: StrictStr = Field(description="Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.'")
location: Optional[StrictStr] = Field(default=None, description="The location of the User.")
can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether it is possible to send an inMail to this User.")
@@ -117,8 +117,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.work_experience:
for _item_work_experience in self.work_experience:
- if _item_work_experience:
- _items.append(_item_work_experience.to_dict())
+ _items.append(_item_work_experience.to_dict() if _item_work_experience is not None else None)
_dict['work_experience'] = _items
return _dict
diff --git a/unipile/models/partial_profile_hiring_project.py b/unipile/models/partial_profile_hiring_project.py
index 1431b1c8e..7c036d399 100644
--- a/unipile/models/partial_profile_hiring_project.py
+++ b/unipile/models/partial_profile_hiring_project.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/partial_profile_work_experience_inner.py b/unipile/models/partial_profile_work_experience_inner.py
index 46147cf4d..dd2d947e3 100644
--- a/unipile/models/partial_profile_work_experience_inner.py
+++ b/unipile/models/partial_profile_work_experience_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.linked_in_certifications_inner_organization import LinkedInCertificationsInnerOrganization
+from unipile.models.linked_in1_certifications_inner_organization import LinkedIn1CertificationsInnerOrganization
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,7 @@ class PartialProfileWorkExperienceInner(BaseModel):
PartialProfileWorkExperienceInner
""" # noqa: E501
id: Optional[StrictStr] = Field(default=None, description="Id of the work experience entry.")
- company: LinkedInCertificationsInnerOrganization
+ company: LinkedIn1CertificationsInnerOrganization
job_title: StrictStr = Field(description="Job title of the experience.")
started_on: Optional[StrictStr] = Field(default=None, description="Start date of the experience in MM/DD/YYYY format.")
ended_on: Optional[StrictStr] = Field(default=None, description="End date of the experience in MM/DD/YYYY format.")
@@ -116,7 +116,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"id": obj.get("id"),
- "company": LinkedInCertificationsInnerOrganization.from_dict(obj["company"]) if obj.get("company") is not None else None,
+ "company": LinkedIn1CertificationsInnerOrganization.from_dict(obj["company"]) if obj.get("company") is not None else None,
"job_title": obj.get("job_title"),
"started_on": obj.get("started_on"),
"ended_on": obj.get("ended_on"),
diff --git a/unipile/models/participant_removed_from_chat_group.py b/unipile/models/participant_removed_from_chat_group.py
index 9eb7df219..e428826e6 100644
--- a/unipile/models/participant_removed_from_chat_group.py
+++ b/unipile/models/participant_removed_from_chat_group.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/participant_role_updated.py b/unipile/models/participant_role_updated.py
index 2dea6e115..7fe9e1ccb 100644
--- a/unipile/models/participant_role_updated.py
+++ b/unipile/models/participant_role_updated.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/people_search.py b/unipile/models/people_search.py
index 83900422d..681d86593 100644
--- a/unipile/models/people_search.py
+++ b/unipile/models/people_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class PeopleSearch(BaseModel):
PeopleSearch
""" # noqa: E501
data: List[PeopleSearchDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/people_search1.py b/unipile/models/people_search1.py
index f27a1b8a9..1c3231822 100644
--- a/unipile/models/people_search1.py
+++ b/unipile/models/people_search1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class PeopleSearch1(BaseModel):
PeopleSearch1
""" # noqa: E501
data: List[PeopleSearch1DataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/people_search1_data_inner.py b/unipile/models/people_search1_data_inner.py
index 2a3b40b34..dd888773a 100644
--- a/unipile/models/people_search1_data_inner.py
+++ b/unipile/models/people_search1_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -21,8 +21,8 @@
from typing import Any, ClassVar, Dict, List, Optional, Union
from unipile.models.full_profile_education_inner import FullProfileEducationInner
from unipile.models.full_profile_skills_inner import FullProfileSkillsInner
-from unipile.models.linked_in_languages_inner import LinkedInLanguagesInner
-from unipile.models.linked_in_volunteer_experience_inner import LinkedInVolunteerExperienceInner
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner
from unipile.models.partial_profile_work_experience_inner import PartialProfileWorkExperienceInner
from unipile.models.people_search1_data_inner_contact_info import PeopleSearch1DataInnerContactInfo
from unipile.models.people_search1_data_inner_latest_contact import PeopleSearch1DataInnerLatestContact
@@ -46,7 +46,7 @@ class PeopleSearch1DataInner(BaseModel):
public_picture_url_large: Optional[StrictStr] = Field(default=None, description="The public picture URL of the User in large size.")
relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations of the User.")
location: Optional[StrictStr] = Field(default=None, description="The location of the User.")
- headline: StrictStr = Field(description="The headline of the User.")
+ headline: Optional[StrictStr] = Field(default=None, description="The headline of the User.")
network_distance: PeopleSearch1DataInnerNetworkDistance
can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether it is possible to send an inMail to this User.")
product: StrictStr
@@ -72,8 +72,8 @@ class PeopleSearch1DataInner(BaseModel):
education: List[FullProfileEducationInner]
skills: List[FullProfileSkillsInner]
work_experience: List[PartialProfileWorkExperienceInner]
- languages: List[LinkedInLanguagesInner]
- volunteering: List[LinkedInVolunteerExperienceInner]
+ languages: List[LinkedIn1LanguagesInner]
+ volunteering: List[LinkedIn1VolunteerExperienceInner]
__properties: ClassVar[List[str]] = ["object", "id", "member_id", "display_name", "public_identifier", "profile_url", "public_picture_url", "public_picture_url_large", "relations_count", "location", "headline", "network_distance", "can_send_inmail", "product", "shared_relations_count", "summary", "has_been_viewed", "has_been_saved", "has_posted_recently", "has_viewed_your_profile", "was_hired_recently", "was_promoted_recently", "follows_your_company", "is_premium", "is_past_colleague", "is_open_profile", "websites", "addresses", "contact_info", "latest_contact", "lists_count", "notes_count", "social_handles", "education", "skills", "work_experience", "languages", "volunteering"]
@field_validator('object')
@@ -145,36 +145,31 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.education:
for _item_education in self.education:
- if _item_education:
- _items.append(_item_education.to_dict())
+ _items.append(_item_education.to_dict() if _item_education is not None else None)
_dict['education'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in skills (list)
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in work_experience (list)
_items = []
if self.work_experience:
for _item_work_experience in self.work_experience:
- if _item_work_experience:
- _items.append(_item_work_experience.to_dict())
+ _items.append(_item_work_experience.to_dict() if _item_work_experience is not None else None)
_dict['work_experience'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in languages (list)
_items = []
if self.languages:
for _item_languages in self.languages:
- if _item_languages:
- _items.append(_item_languages.to_dict())
+ _items.append(_item_languages.to_dict() if _item_languages is not None else None)
_dict['languages'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in volunteering (list)
_items = []
if self.volunteering:
for _item_volunteering in self.volunteering:
- if _item_volunteering:
- _items.append(_item_volunteering.to_dict())
+ _items.append(_item_volunteering.to_dict() if _item_volunteering is not None else None)
_dict['volunteering'] = _items
return _dict
@@ -224,8 +219,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"education": [FullProfileEducationInner.from_dict(_item) for _item in obj["education"]] if obj.get("education") is not None else None,
"skills": [FullProfileSkillsInner.from_dict(_item) for _item in obj["skills"]] if obj.get("skills") is not None else None,
"work_experience": [PartialProfileWorkExperienceInner.from_dict(_item) for _item in obj["work_experience"]] if obj.get("work_experience") is not None else None,
- "languages": [LinkedInLanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
- "volunteering": [LinkedInVolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None
+ "languages": [LinkedIn1LanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
+ "volunteering": [LinkedIn1VolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None
})
return _obj
diff --git a/unipile/models/people_search1_data_inner_contact_info.py b/unipile/models/people_search1_data_inner_contact_info.py
index 85c9240f1..dde18ff97 100644
--- a/unipile/models/people_search1_data_inner_contact_info.py
+++ b/unipile/models/people_search1_data_inner_contact_info.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/people_search1_data_inner_latest_contact.py b/unipile/models/people_search1_data_inner_latest_contact.py
index dbac47ceb..a1b98ad25 100644
--- a/unipile/models/people_search1_data_inner_latest_contact.py
+++ b/unipile/models/people_search1_data_inner_latest_contact.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -35,8 +35,8 @@ class PeopleSearch1DataInnerLatestContact(BaseModel):
@field_validator('type')
def type_validate_enum(cls, value):
"""Validates the enum"""
- if value not in set(['MESSAGE', 'INVITATION', 'PROFILE_VIEW']):
- raise ValueError("must be one of enum values ('MESSAGE', 'INVITATION', 'PROFILE_VIEW')")
+ if value not in set(['MESSAGE', 'INVITATION_SENT', 'INVITATION_ACCEPTED', 'PROFILE_VIEW']):
+ raise ValueError("must be one of enum values ('MESSAGE', 'INVITATION_SENT', 'INVITATION_ACCEPTED', 'PROFILE_VIEW')")
return value
model_config = ConfigDict(
diff --git a/unipile/models/people_search1_data_inner_network_distance.py b/unipile/models/people_search1_data_inner_network_distance.py
index 5277fcebc..4d049bbcc 100644
--- a/unipile/models/people_search1_data_inner_network_distance.py
+++ b/unipile/models/people_search1_data_inner_network_distance.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/people_search1_data_inner_social_handles.py b/unipile/models/people_search1_data_inner_social_handles.py
index 1c22b6492..07547bab0 100644
--- a/unipile/models/people_search1_data_inner_social_handles.py
+++ b/unipile/models/people_search1_data_inner_social_handles.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class PeopleSearch1DataInnerSocialHandles(BaseModel):
"""
Social handles of the User.
""" # noqa: E501
- twitter: Optional[StrictStr] = Field(default=None, description="The ID of the Company.")
+ twitter: Optional[StrictStr] = Field(default=None, description="The text content of the message, when available.")
__properties: ClassVar[List[str]] = ["twitter"]
model_config = ConfigDict(
diff --git a/unipile/models/people_search2.py b/unipile/models/people_search2.py
index 65ca5c5db..e0a16942c 100644
--- a/unipile/models/people_search2.py
+++ b/unipile/models/people_search2.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class PeopleSearch2(BaseModel):
PeopleSearch2
""" # noqa: E501
data: List[PeopleSearch2DataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/people_search2_data_inner.py b/unipile/models/people_search2_data_inner.py
index 9527c0de0..b2fa4511b 100644
--- a/unipile/models/people_search2_data_inner.py
+++ b/unipile/models/people_search2_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -23,8 +23,8 @@
from unipile.models.full_profile_skills_inner import FullProfileSkillsInner
from unipile.models.lead_list_data_inner_all_of_all_of_contact_info import LeadListDataInnerAllOfAllOfContactInfo
from unipile.models.lead_list_data_inner_all_of_all_of_social_handles import LeadListDataInnerAllOfAllOfSocialHandles
-from unipile.models.linked_in_languages_inner import LinkedInLanguagesInner
-from unipile.models.linked_in_volunteer_experience_inner import LinkedInVolunteerExperienceInner
+from unipile.models.linked_in1_languages_inner import LinkedIn1LanguagesInner
+from unipile.models.linked_in1_volunteer_experience_inner import LinkedIn1VolunteerExperienceInner
from unipile.models.partial_profile_work_experience_inner import PartialProfileWorkExperienceInner
from unipile.models.people_search1_data_inner_latest_contact import PeopleSearch1DataInnerLatestContact
from unipile.models.people_search1_data_inner_network_distance import PeopleSearch1DataInnerNetworkDistance
@@ -46,7 +46,7 @@ class PeopleSearch2DataInner(BaseModel):
public_picture_url_large: Optional[StrictStr] = Field(default=None, description="The public picture URL of the User in large size.")
relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations of the User.")
location: Optional[StrictStr] = Field(default=None, description="The location of the User.")
- headline: StrictStr = Field(description="The headline of the User.")
+ headline: Optional[StrictStr] = Field(default=None, description="The headline of the User.")
network_distance: PeopleSearch1DataInnerNetworkDistance
can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether it is possible to send an inMail to this User.")
product: StrictStr
@@ -72,8 +72,8 @@ class PeopleSearch2DataInner(BaseModel):
education: List[FullProfileEducationInner]
skills: List[FullProfileSkillsInner]
work_experience: List[PartialProfileWorkExperienceInner]
- languages: List[LinkedInLanguagesInner]
- volunteering: List[LinkedInVolunteerExperienceInner]
+ languages: List[LinkedIn1LanguagesInner]
+ volunteering: List[LinkedIn1VolunteerExperienceInner]
__properties: ClassVar[List[str]] = ["object", "id", "member_id", "display_name", "public_identifier", "profile_url", "public_picture_url", "public_picture_url_large", "relations_count", "location", "headline", "network_distance", "can_send_inmail", "product", "shared_relations_count", "summary", "has_been_viewed", "has_been_saved", "has_posted_recently", "has_viewed_your_profile", "was_hired_recently", "was_promoted_recently", "follows_your_company", "is_premium", "is_past_colleague", "is_open_profile", "websites", "addresses", "contact_info", "latest_contact", "lists_count", "notes_count", "social_handles", "education", "skills", "work_experience", "languages", "volunteering"]
@field_validator('object')
@@ -145,36 +145,31 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.education:
for _item_education in self.education:
- if _item_education:
- _items.append(_item_education.to_dict())
+ _items.append(_item_education.to_dict() if _item_education is not None else None)
_dict['education'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in skills (list)
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in work_experience (list)
_items = []
if self.work_experience:
for _item_work_experience in self.work_experience:
- if _item_work_experience:
- _items.append(_item_work_experience.to_dict())
+ _items.append(_item_work_experience.to_dict() if _item_work_experience is not None else None)
_dict['work_experience'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in languages (list)
_items = []
if self.languages:
for _item_languages in self.languages:
- if _item_languages:
- _items.append(_item_languages.to_dict())
+ _items.append(_item_languages.to_dict() if _item_languages is not None else None)
_dict['languages'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in volunteering (list)
_items = []
if self.volunteering:
for _item_volunteering in self.volunteering:
- if _item_volunteering:
- _items.append(_item_volunteering.to_dict())
+ _items.append(_item_volunteering.to_dict() if _item_volunteering is not None else None)
_dict['volunteering'] = _items
return _dict
@@ -224,8 +219,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"education": [FullProfileEducationInner.from_dict(_item) for _item in obj["education"]] if obj.get("education") is not None else None,
"skills": [FullProfileSkillsInner.from_dict(_item) for _item in obj["skills"]] if obj.get("skills") is not None else None,
"work_experience": [PartialProfileWorkExperienceInner.from_dict(_item) for _item in obj["work_experience"]] if obj.get("work_experience") is not None else None,
- "languages": [LinkedInLanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
- "volunteering": [LinkedInVolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None
+ "languages": [LinkedIn1LanguagesInner.from_dict(_item) for _item in obj["languages"]] if obj.get("languages") is not None else None,
+ "volunteering": [LinkedIn1VolunteerExperienceInner.from_dict(_item) for _item in obj["volunteering"]] if obj.get("volunteering") is not None else None
})
return _obj
diff --git a/unipile/models/people_search_data_inner.py b/unipile/models/people_search_data_inner.py
index 492131633..bb280c391 100644
--- a/unipile/models/people_search_data_inner.py
+++ b/unipile/models/people_search_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/people_search_results.py b/unipile/models/people_search_results.py
index ddaf80bf2..de00e464b 100644
--- a/unipile/models/people_search_results.py
+++ b/unipile/models/people_search_results.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class PeopleSearchResults(BaseModel):
PeopleSearchResults
""" # noqa: E501
data: List[PeopleSearchResultsDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/people_search_results_data_inner.py b/unipile/models/people_search_results_data_inner.py
index 63c8d2725..2184a46f2 100644
--- a/unipile/models/people_search_results_data_inner.py
+++ b/unipile/models/people_search_results_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,7 +37,7 @@ class PeopleSearchResultsDataInner(BaseModel):
public_picture_url_large: Optional[StrictStr] = Field(default=None, description="The public picture URL of the User in large size.")
relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations of the User.")
location: Optional[StrictStr] = Field(default=None, description="The location of the User.")
- headline: StrictStr = Field(description="The headline of the User.")
+ headline: Optional[StrictStr] = Field(default=None, description="The headline of the User.")
network_distance: StrictStr = Field(description="Network distance to a User. `SELF`: Yourself. `FIRST_DEGREE`: 1st degree connection. `SECOND_DEGREE`: 2nd degree connection (connection of a 1st degree). `THIRD_DEGREE`: 3rd degree connection (connection of a 2nd degree). `OUT_OF_NETWORK`: Unreachable user.'")
can_send_inmail: Optional[StrictBool] = Field(default=None, description="Whether it is possible to send an inMail to this User.")
product: StrictStr
@@ -48,7 +48,10 @@ class PeopleSearchResultsDataInner(BaseModel):
is_premium: Optional[StrictBool] = Field(default=None, description="Whether the User has a premium account.")
is_open_profile: Optional[StrictBool] = Field(default=None, description="Whether the User has an Open Profile. The Open Profile feature allows anyone on LinkedIn to contact a Premium member for free.")
shared_relations_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The number of relations that you share with the User.")
- __properties: ClassVar[List[str]] = ["object", "id", "member_id", "display_name", "public_identifier", "profile_url", "public_picture_url", "public_picture_url_large", "relations_count", "location", "headline", "network_distance", "can_send_inmail", "product", "followers_count", "industry", "is_verified", "keywords_match", "is_premium", "is_open_profile", "shared_relations_count"]
+ website_url: Optional[StrictStr] = Field(default=None, description="The URL of the website provided by the User.")
+ portfolio_url: Optional[StrictStr] = Field(default=None, description="The URL of the portfolio provided by the User.")
+ services_page_url: Optional[StrictStr] = Field(default=None, description="The LinkedIn internal URL of the User's services page.")
+ __properties: ClassVar[List[str]] = ["object", "id", "member_id", "display_name", "public_identifier", "profile_url", "public_picture_url", "public_picture_url_large", "relations_count", "location", "headline", "network_distance", "can_send_inmail", "product", "followers_count", "industry", "is_verified", "keywords_match", "is_premium", "is_open_profile", "shared_relations_count", "website_url", "portfolio_url", "services_page_url"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -142,7 +145,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"keywords_match": obj.get("keywords_match"),
"is_premium": obj.get("is_premium"),
"is_open_profile": obj.get("is_open_profile"),
- "shared_relations_count": obj.get("shared_relations_count")
+ "shared_relations_count": obj.get("shared_relations_count"),
+ "website_url": obj.get("website_url"),
+ "portfolio_url": obj.get("portfolio_url"),
+ "services_page_url": obj.get("services_page_url")
})
return _obj
diff --git a/unipile/models/perform_classic_companies_search_request.py b/unipile/models/perform_classic_companies_search_request.py
index 84f46f1a9..bd8999dc0 100644
--- a/unipile/models/perform_classic_companies_search_request.py
+++ b/unipile/models/perform_classic_companies_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,8 +29,8 @@ class PerformClassicCompaniesSearchRequest(BaseModel):
PerformClassicCompaniesSearchRequest
""" # noqa: E501
keywords: Optional[StrictStr] = Field(default=None, description="A keyword or group of keywords.")
- location: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Locations ")
- industry: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. Native filter : Industry ")
+ location: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Locations ")
+ industry: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. Native filter : Industry ")
headcount: Optional[List[PerformClassicCompaniesSearchRequestHeadcountInner]] = Field(default=None, description="A list of company headcount ranges.")
has_job_postings: Optional[StrictBool] = Field(default=None, description="Whether the companies should have active job postings on LinkedIn. Native filter : Job listings on LinkedIn ")
is_employing_relations: Optional[StrictBool] = Field(default=None, description="Whether the companies should have first degree relations among employees. Native filter : Relations ")
@@ -82,8 +82,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.headcount:
for _item_headcount in self.headcount:
- if _item_headcount:
- _items.append(_item_headcount.to_dict())
+ _items.append(_item_headcount.to_dict() if _item_headcount is not None else None)
_dict['headcount'] = _items
# puts key-value pairs in additional_properties in the top level
if self.additional_properties is not None:
diff --git a/unipile/models/perform_classic_companies_search_request_headcount_inner.py b/unipile/models/perform_classic_companies_search_request_headcount_inner.py
index 4b0b39b15..22fad7493 100644
--- a/unipile/models/perform_classic_companies_search_request_headcount_inner.py
+++ b/unipile/models/perform_classic_companies_search_request_headcount_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_classic_jobs_search_request.py b/unipile/models/perform_classic_jobs_search_request.py
index 1f99a87d1..08921015d 100644
--- a/unipile/models/perform_classic_jobs_search_request.py
+++ b/unipile/models/perform_classic_jobs_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -34,13 +34,13 @@ class PerformClassicJobsSearchRequest(BaseModel):
workplace_type: Optional[List[StrictStr]] = Field(default=None, description="A list of workplace types. Native filter : Remote ")
seniority: Optional[List[StrictStr]] = Field(default=None, description="A list of experience levels required by the jobs. Native filter : Experience level ")
employment_status: Optional[List[StrictStr]] = Field(default=None, description="A list of employment statuses. Native filter : Job type ")
- company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : Company ")
- primary_location: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Primary location ")
- location: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location ")
+ company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : Company ")
+ primary_location: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Primary location ")
+ location: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Location ")
location_radius: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The distance radius around the location in kilometers. Native filter : Distance ")
- industry: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. Native filter : Industry ")
- function: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. Native filter : Job function ")
- job_title: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values. Native filter : Job title ")
+ industry: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. Native filter : Industry ")
+ function: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. Native filter : Job function ")
+ job_title: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values. Native filter : Job title ")
easy_apply: Optional[StrictBool] = Field(default=None, description="Whether the application can me made directly on LinkedIn. Native filter : Easy apply ")
has_verifications: Optional[StrictBool] = Field(default=None, description="Whether the jobs have a verification badge. Native filter : Has verifications ")
under_10_applicants: Optional[StrictBool] = Field(default=None, description="Whether the jobs didn't receive more than 10 applications. Native filter : Under 10 applicants ")
diff --git a/unipile/models/perform_classic_jobs_search_request_salary.py b/unipile/models/perform_classic_jobs_search_request_salary.py
index 31b353f12..8c4c88797 100644
--- a/unipile/models/perform_classic_jobs_search_request_salary.py
+++ b/unipile/models/perform_classic_jobs_search_request_salary.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_classic_people_search_request.py b/unipile/models/perform_classic_people_search_request.py
index 80fb43093..27031a930 100644
--- a/unipile/models/perform_classic_people_search_request.py
+++ b/unipile/models/perform_classic_people_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,14 +31,14 @@ class PerformClassicPeopleSearchRequest(BaseModel):
""" # noqa: E501
keywords: Optional[StrictStr] = Field(default=None, description="A keyword or group of keywords.")
network_distance: Optional[List[Union[StrictFloat, StrictInt]]] = Field(default=None, description="A list of connection degrees (1 for First, 2 for Second and 3 for Third+). Native filter : Connections ")
- location: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Locations ")
- current_company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : Current company ")
- past_company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : Past company ")
- school: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SCHOOL` type to find out the possible values. Native filter : School ")
- connections_of: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `RELATION` type to find out the possible values. Native filter : Connections of ")
- followers_of: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `PEOPLE` type to find out the possible values. Native filter : Followers of ")
- industry: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. Native filter : Industry ")
- service: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SERVICE` type to find out the possible values. Native filter : Service categories ")
+ location: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Locations ")
+ current_company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : Current company ")
+ past_company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : Past company ")
+ school: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SCHOOL` type to find out the possible values. Native filter : School ")
+ connections_of: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `RELATION` type to find out the possible values. Native filter : Connections of ")
+ followers_of: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `PEOPLE` type to find out the possible values. Native filter : Followers of ")
+ industry: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. Native filter : Industry ")
+ service: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SERVICE` type to find out the possible values. Native filter : Service categories ")
profile_language: Optional[List[Annotated[str, Field(min_length=2, strict=True, max_length=2)]]] = Field(default=None, description="A list of ISO 639-1 language codes. Native filter : Profile language ")
open_to_volunteering: Optional[StrictBool] = Field(default=None, description="Whether the users should be open to volunteering. Native filter : Open to Volunteering ")
advanced_keywords: Optional[PerformClassicPeopleSearchRequestAdvancedKeywords] = None
diff --git a/unipile/models/perform_classic_people_search_request_advanced_keywords.py b/unipile/models/perform_classic_people_search_request_advanced_keywords.py
index e15ba3ad1..b4ddeae17 100644
--- a/unipile/models/perform_classic_people_search_request_advanced_keywords.py
+++ b/unipile/models/perform_classic_people_search_request_advanced_keywords.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_classic_posts_search_request.py b/unipile/models/perform_classic_posts_search_request.py
index aa2fde810..68789cea5 100644
--- a/unipile/models/perform_classic_posts_search_request.py
+++ b/unipile/models/perform_classic_posts_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_classic_posts_search_request_author.py b/unipile/models/perform_classic_posts_search_request_author.py
index 4158e8cbe..b07b67488 100644
--- a/unipile/models/perform_classic_posts_search_request_author.py
+++ b/unipile/models/perform_classic_posts_search_request_author.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,8 +28,8 @@ class PerformClassicPostsSearchRequestAuthor(BaseModel):
Advanced filters on post authors.
""" # noqa: E501
keywords: Optional[StrictStr] = Field(default=None, description=" Native filter : Author keywords ")
- company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : Author company ")
- industry: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. Native filter : Author industry ")
+ company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : Author company ")
+ industry: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values. Native filter : Author industry ")
__properties: ClassVar[List[str]] = ["keywords", "company", "industry"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_classic_posts_search_request_mentioning.py b/unipile/models/perform_classic_posts_search_request_mentioning.py
index f4e5477d8..74bfc85f3 100644
--- a/unipile/models/perform_classic_posts_search_request_mentioning.py
+++ b/unipile/models/perform_classic_posts_search_request_mentioning.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformClassicPostsSearchRequestMentioning(BaseModel):
"""
The users/companies mentionned in the posts.
""" # noqa: E501
- member: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PEOPLE` type to find out the possible values. Native filter : Mentioning member ")
- company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : Mentioning company ")
+ member: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PEOPLE` type to find out the possible values. Native filter : Mentioning member ")
+ company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : Mentioning company ")
__properties: ClassVar[List[str]] = ["member", "company"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_classic_posts_search_request_posted_by.py b/unipile/models/perform_classic_posts_search_request_posted_by.py
index fd494e563..409502174 100644
--- a/unipile/models/perform_classic_posts_search_request_posted_by.py
+++ b/unipile/models/perform_classic_posts_search_request_posted_by.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformClassicPostsSearchRequestPostedBy(BaseModel):
"""
The users/companies who published the posts.
""" # noqa: E501
- member: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PEOPLE` type to find out the possible values. Native filter : From member ")
- company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : From company ")
+ member: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PEOPLE` type to find out the possible values. Native filter : From member ")
+ company: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY` type to find out the possible values. Native filter : From company ")
me: Optional[StrictBool] = Field(default=None, description="Whether the posts should have been published by yourself. Native filter : Posted by [Me] ")
relations: Optional[StrictBool] = Field(default=None, description="Whether the posts should have been published by your relations. Native filter : Posted by [1st connections] ")
people_you_follow: Optional[StrictBool] = Field(default=None, description="Whether the posts should have been published by users you follow. Native filter : Posted by [People you follow] ")
diff --git a/unipile/models/perform_classic_search_from_url200_response.py b/unipile/models/perform_classic_search_from_url200_response.py
index d6644d29d..732836e05 100644
--- a/unipile/models/perform_classic_search_from_url200_response.py
+++ b/unipile/models/perform_classic_search_from_url200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_classic_search_from_url_request.py b/unipile/models/perform_classic_search_from_url_request.py
index c3e4b5b1f..a0327dcb6 100644
--- a/unipile/models/perform_classic_search_from_url_request.py
+++ b/unipile/models/perform_classic_search_from_url_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request.py
index 43b50b20d..f3421b137 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -78,21 +78,21 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequest(BaseModel):
workplace_type: Optional[List[StrictStr]] = Field(default=None, description="A list of workplace types.")
school: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner]] = Field(default=None, description="A list of schools.")
field_of_study: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestFieldOfStudyInner]] = Field(default=None, description="A list of fields of study.")
- employment_type: Optional[List[StrictStr]] = Field(default=None, description="A list of employment types.")
+ employment_type: Optional[List[StrictStr]] = Field(default=None, description="A list of employment types. Only available to Recruiter PRO contracts. Native filter : Employment type ")
graduation_year: Optional[PerformRecruiterPeopleSearchFromTalentPoolRequestGraduationYear] = None
industry: Optional[PerformRecruiterPeopleSearchFromTalentPoolRequestIndustry] = None
seniority: Optional[List[StrictStr]] = Field(default=None, description="A list of senorities.")
- spoken_language: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner]] = Field(default=None, description="A list of languages.")
- profile_language: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Profile languages ")
+ spoken_language: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner]] = Field(default=None, description="A list of languages. Only available to Recruiter PRO contracts. Native filter : Spoken languages ")
+ profile_language: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Profile languages ")
project: Optional[PerformRecruiterPeopleSearchFromTalentPoolRequestProject] = None
- job_function: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions ")
+ job_function: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions ")
first_name: Optional[List[StrictStr]] = Field(default=None, description="A list of names.")
last_name: Optional[List[StrictStr]] = Field(default=None, description="A list of names.")
recently_joined: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestRecentlyJoinedInner]] = Field(default=None, description="A list of days ranges.")
is_military_veteran: Optional[StrictBool] = Field(default=None, description="Whether the users should have military background. Native filter : Military veterans ")
recruiting_activity: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestRecruitingActivityInner]] = Field(default=None, description="A list of recruiting activities.")
hide_previously_viewed: Optional[PerformRecruiterPeopleSearchFromTalentPoolRequestHidePreviouslyViewed] = None
- group: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `GROUP` type to find out the possible values. Native filter : All groups ")
+ group: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `GROUP` type to find out the possible values. Native filter : All groups ")
is_past_applicant: Optional[StrictBool] = Field(default=None, description="Whether the users should have already applied to at least one of your job postings. Native filter : Past applicants ")
notes: Optional[List[StrictStr]] = Field(default=None, description="A list of notes.")
tags: Optional[PerformRecruiterPeopleSearchFromTalentPoolRequestTags] = None
@@ -208,71 +208,61 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.network_distance:
for _item_network_distance in self.network_distance:
- if _item_network_distance:
- _items.append(_item_network_distance.to_dict())
+ _items.append(_item_network_distance.to_dict() if _item_network_distance is not None else None)
_dict['network_distance'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in location (list)
_items = []
if self.location:
for _item_location in self.location:
- if _item_location:
- _items.append(_item_location.to_dict())
+ _items.append(_item_location.to_dict() if _item_location is not None else None)
_dict['location'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in postal_code (list)
_items = []
if self.postal_code:
for _item_postal_code in self.postal_code:
- if _item_postal_code:
- _items.append(_item_postal_code.to_dict())
+ _items.append(_item_postal_code.to_dict() if _item_postal_code is not None else None)
_dict['postal_code'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in job_title (list)
_items = []
if self.job_title:
for _item_job_title in self.job_title:
- if _item_job_title:
- _items.append(_item_job_title.to_dict())
+ _items.append(_item_job_title.to_dict() if _item_job_title is not None else None)
_dict['job_title'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in occupation (list)
_items = []
if self.occupation:
for _item_occupation in self.occupation:
- if _item_occupation:
- _items.append(_item_occupation.to_dict())
+ _items.append(_item_occupation.to_dict() if _item_occupation is not None else None)
_dict['occupation'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in skills (list)
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in company (list)
_items = []
if self.company:
for _item_company in self.company:
- if _item_company:
- _items.append(_item_company.to_dict())
+ _items.append(_item_company.to_dict() if _item_company is not None else None)
_dict['company'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in current_company (list)
_items = []
if self.current_company:
for _item_current_company in self.current_company:
- if _item_current_company:
- _items.append(_item_current_company.to_dict())
+ _items.append(_item_current_company.to_dict() if _item_current_company is not None else None)
_dict['current_company'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in past_company (list)
_items = []
if self.past_company:
for _item_past_company in self.past_company:
- if _item_past_company:
- _items.append(_item_past_company.to_dict())
+ _items.append(_item_past_company.to_dict() if _item_past_company is not None else None)
_dict['past_company'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in company_size (list)
_items = []
if self.company_size:
for _item_company_size in self.company_size:
- if _item_company_size:
- _items.append(_item_company_size.to_dict())
+ _items.append(_item_company_size.to_dict() if _item_company_size is not None else None)
_dict['company_size'] = _items
# override the default output from pydantic by calling `to_dict()` of years_of_experience
if self.years_of_experience:
@@ -290,15 +280,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.school:
for _item_school in self.school:
- if _item_school:
- _items.append(_item_school.to_dict())
+ _items.append(_item_school.to_dict() if _item_school is not None else None)
_dict['school'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in field_of_study (list)
_items = []
if self.field_of_study:
for _item_field_of_study in self.field_of_study:
- if _item_field_of_study:
- _items.append(_item_field_of_study.to_dict())
+ _items.append(_item_field_of_study.to_dict() if _item_field_of_study is not None else None)
_dict['field_of_study'] = _items
# override the default output from pydantic by calling `to_dict()` of graduation_year
if self.graduation_year:
@@ -310,8 +298,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.spoken_language:
for _item_spoken_language in self.spoken_language:
- if _item_spoken_language:
- _items.append(_item_spoken_language.to_dict())
+ _items.append(_item_spoken_language.to_dict() if _item_spoken_language is not None else None)
_dict['spoken_language'] = _items
# override the default output from pydantic by calling `to_dict()` of project
if self.project:
@@ -320,15 +307,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.recently_joined:
for _item_recently_joined in self.recently_joined:
- if _item_recently_joined:
- _items.append(_item_recently_joined.to_dict())
+ _items.append(_item_recently_joined.to_dict() if _item_recently_joined is not None else None)
_dict['recently_joined'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in recruiting_activity (list)
_items = []
if self.recruiting_activity:
for _item_recruiting_activity in self.recruiting_activity:
- if _item_recruiting_activity:
- _items.append(_item_recruiting_activity.to_dict())
+ _items.append(_item_recruiting_activity.to_dict() if _item_recruiting_activity is not None else None)
_dict['recruiting_activity'] = _items
# override the default output from pydantic by calling `to_dict()` of hide_previously_viewed
if self.hide_previously_viewed:
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_company_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_company_inner.py
index 6bc41eaf5..c16db4a54 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_company_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_company_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestCompanyInner(BaseModel):
PerformRecruiterPeopleSearchFromTalentPoolRequestCompanyInner
""" # noqa: E501
name: StrictStr = Field(description="The company name.")
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
priority: Optional[StrictStr] = Field(default='CAN_HAVE', description="Whether the user can, must or shouldn't have the value. Native filter : Priority ")
preferences: Optional[StrictStr] = Field(default='CURRENT_OR_PAST', description="Indicates how this company relates to the user's professionnal history. ")
__properties: ClassVar[List[str]] = ["name", "id", "priority", "preferences"]
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_current_company_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_current_company_inner.py
index ed800597a..305cdd811 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_current_company_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_current_company_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestCurrentCompanyInner(BaseM
"""
PerformRecruiterPeopleSearchFromTalentPoolRequestCurrentCompanyInner
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `COMPANY` type to find out the possible values.")
priority: Optional[StrictStr] = Field(default='CAN_HAVE', description="Whether the user can, must or shouldn't have the value. Native filter : Priority ")
__properties: ClassVar[List[str]] = ["id", "priority"]
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_degree.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_degree.py
index 4b9701d65..5890fbad2 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_degree.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_degree.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestDegree(BaseModel):
"""
Native filter : Degrees
""" # noqa: E501
- include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `DEGREE` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `DEGREE` type to find out the possible values.")
+ include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `DEGREE` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `DEGREE` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_field_of_study_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_field_of_study_inner.py
index 0e40b0e6f..7a9a34d3c 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_field_of_study_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_field_of_study_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestFieldOfStudyInner(BaseMod
"""
Native filter : Fields of study
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `FIELD_OF_STUDY` type to find out the possible values.")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `FIELD_OF_STUDY` type to find out the possible values.")
priority: Optional[StrictStr] = Field(default='CAN_HAVE', description="Whether the user can, must or shouldn't have the value. Native filter : Priority ")
__properties: ClassVar[List[str]] = ["id", "priority"]
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_graduation_year.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_graduation_year.py
index fad5462f5..c7237170f 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_graduation_year.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_graduation_year.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_hide_previously_viewed.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_hide_previously_viewed.py
index d234727c4..fcf4bfd2d 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_hide_previously_viewed.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_hide_previously_viewed.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_industry.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_industry.py
index 514e4e95a..5b0dfd260 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_industry.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_industry.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestIndustry(BaseModel):
"""
Native filter : Industries
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_job_title_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_job_title_inner.py
index de206a7d4..573851df8 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_job_title_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_job_title_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestJobTitleInner(BaseModel):
Native filter : Job titles
""" # noqa: E501
name: StrictStr = Field(description="The job title.")
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
priority: Optional[StrictStr] = Field(default='CAN_HAVE', description="Whether the user can, must or shouldn't have the value. Native filter : Priority ")
preferences: Optional[StrictStr] = Field(default='CURRENT_OR_PAST', description="Indicates how this professional experience relates to the user's current employment status. ")
__properties: ClassVar[List[str]] = ["name", "id", "priority", "preferences"]
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_load_custom_filter.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_load_custom_filter.py
index 090ed0f50..33603a056 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_load_custom_filter.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_load_custom_filter.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestLoadCustomFilter(BaseMode
"""
Custom filter to be loaded. Can be associated with other filters.
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `CUSTOM_FILTER` type to find out the possible values. Native filter : Custom filters ")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `CUSTOM_FILTER` type to find out the possible values. Native filter : Custom filters ")
__properties: ClassVar[List[str]] = ["id"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_load_saved_search.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_load_saved_search.py
index 702154cdf..c58fc932a 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_load_saved_search.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_load_saved_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestLoadSavedSearch(BaseModel
"""
Saved search to be loaded. Can be associated with other filters.
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `SAVED_SEARCH` type to find out the possible values. Native filter : Saved searches ")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `SAVED_SEARCH` type to find out the possible values. Native filter : Saved searches ")
new_results_only: Optional[StrictBool] = Field(default=None, description="Whether only newest results should be returned.")
__properties: ClassVar[List[str]] = ["id", "new_results_only"]
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_location_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_location_inner.py
index e518ba123..c8ef32e25 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_location_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_location_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestLocationInner(BaseModel):
"""
PerformRecruiterPeopleSearchFromTalentPoolRequestLocationInner
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Locations ")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `LOCATION` type to find out the possible values. Native filter : Locations ")
priority: Optional[StrictStr] = Field(default='CAN_HAVE', description="Whether the user can, must or shouldn't have the value. Native filter : Priority ")
preferences: Optional[StrictStr] = Field(default='CURRENT', description="Indicates the location preference of the user. ")
__properties: ClassVar[List[str]] = ["id", "priority", "preferences"]
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_occupation_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_occupation_inner.py
index 784938c0b..863462618 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_occupation_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_occupation_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestOccupationInner(BaseModel
Occupations are selections of job titles in the same industry. Native filter : Occupations
""" # noqa: E501
name: StrictStr = Field(description="The occupation name.")
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `OCCUPATION` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `OCCUPATION` type to find out the possible values.")
priority: Optional[StrictStr] = Field(default='CAN_HAVE', description="Whether the user can, must or shouldn't have the value. Native filter : Priority ")
preferences: Optional[StrictStr] = Field(default='CURRENT_OR_PAST', description="Indicates how this professional experience relates to the user's current employment status. ")
__properties: ClassVar[List[str]] = ["name", "id", "priority", "preferences"]
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_postal_code_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_postal_code_inner.py
index 5c6f71dfc..36765d759 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_postal_code_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_postal_code_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestPostalCodeInner(BaseModel
PerformRecruiterPeopleSearchFromTalentPoolRequestPostalCodeInner
""" # noqa: E501
name: StrictStr = Field(description="The postal code location name.")
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `ZIPCODE` type to find out the possible values. Native filter : Postal code / Zip code ")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `ZIPCODE` type to find out the possible values. Native filter : Postal code / Zip code ")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_project.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_project.py
index 2754a9863..6f7b282b8 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_project.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_project.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -75,15 +75,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.include:
for _item_include in self.include:
- if _item_include:
- _items.append(_item_include.to_dict())
+ _items.append(_item_include.to_dict() if _item_include is not None else None)
_dict['include'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in exclude (list)
_items = []
if self.exclude:
for _item_exclude in self.exclude:
- if _item_exclude:
- _items.append(_item_exclude.to_dict())
+ _items.append(_item_exclude.to_dict() if _item_exclude is not None else None)
_dict['exclude'] = _items
return _dict
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_project_include_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_project_include_inner.py
index 725709605..b302d1560 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_project_include_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_project_include_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestProjectIncludeInner(BaseM
"""
PerformRecruiterPeopleSearchFromTalentPoolRequestProjectIncludeInner
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `PROJECT` type to find out the possible values.")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `PROJECT` type to find out the possible values.")
title: StrictStr = Field(description="The title of the project.")
__properties: ClassVar[List[str]] = ["id", "title"]
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_recently_joined_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_recently_joined_inner.py
index bd839097f..bd78992f9 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_recently_joined_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_recently_joined_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_recruiting_activity_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_recruiting_activity_inner.py
index a43421c32..720351d1a 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_recruiting_activity_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_recruiting_activity_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_save_custom_filter.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_save_custom_filter.py
index dc07555aa..e35641c03 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_save_custom_filter.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_save_custom_filter.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_save_search.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_save_search.py
index 0300533d1..9321957fd 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_save_search.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_save_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_school_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_school_inner.py
index 285a5fbde..8bfd3de67 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_school_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_school_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner(BaseModel):
"""
PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `SCHOOL` type to find out the possible values. Native filter : Schools ")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `SCHOOL` type to find out the possible values. Native filter : Schools ")
priority: Optional[StrictStr] = Field(default='CAN_HAVE', description="Whether the user can, must or shouldn't have the value. Native filter : Priority ")
__properties: ClassVar[List[str]] = ["id", "priority"]
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_skills_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_skills_inner.py
index 2217dd741..23b85c96e 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_skills_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_skills_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestSkillsInner(BaseModel):
PerformRecruiterPeopleSearchFromTalentPoolRequestSkillsInner
""" # noqa: E501
name: StrictStr = Field(description="The skill name.")
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `SKILL` type to find out the possible values.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `SKILL` type to find out the possible values.")
priority: Optional[StrictStr] = Field(default='CAN_HAVE', description="Whether the user can, must or shouldn't have the value. Native filter : Priority ")
__properties: ClassVar[List[str]] = ["name", "id", "priority"]
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_spoken_language_inner.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_spoken_language_inner.py
index 00ae4e021..7ad9ce514 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_spoken_language_inner.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_spoken_language_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -25,11 +25,11 @@
class PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner(BaseModel):
"""
- Native filter : Spoken languages
+ PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `SPOKEN_LANGUAGE` type to find out the possible values.")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `SPOKEN_LANGUAGE` type to find out the possible values.")
priority: Optional[StrictStr] = Field(default='CAN_HAVE', description="Whether the user can, must or shouldn't have the value. Native filter : Priority ")
- proficiency: Optional[StrictStr] = Field(default=None, description="The level of proficiency for the spoken languages. Native filter : Spoken languages proficiency ")
+ proficiency: Optional[StrictStr] = Field(default=None, description="The level of proficiency for the spoken language. Native filter : Spoken languages proficiency ")
__properties: ClassVar[List[str]] = ["id", "priority", "proficiency"]
@field_validator('priority')
diff --git a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_tags.py b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_tags.py
index 78836fc8e..2ffdd50da 100644
--- a/unipile/models/perform_recruiter_people_search_from_talent_pool_request_tags.py
+++ b/unipile/models/perform_recruiter_people_search_from_talent_pool_request_tags.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformRecruiterPeopleSearchFromTalentPoolRequestTags(BaseModel):
"""
Native filter : Tags
""" # noqa: E501
- include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `TAG` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `TAG` type to find out the possible values.")
+ include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `TAG` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `TAG` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_recruiter_people_search_request.py b/unipile/models/perform_recruiter_people_search_request.py
index e21882e14..868b8646a 100644
--- a/unipile/models/perform_recruiter_people_search_request.py
+++ b/unipile/models/perform_recruiter_people_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -78,21 +78,21 @@ class PerformRecruiterPeopleSearchRequest(BaseModel):
workplace_type: Optional[List[StrictStr]] = Field(default=None, description="A list of workplace types.")
school: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestSchoolInner]] = Field(default=None, description="A list of schools.")
field_of_study: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestFieldOfStudyInner]] = Field(default=None, description="A list of fields of study.")
- employment_type: Optional[List[StrictStr]] = Field(default=None, description="A list of employment types.")
+ employment_type: Optional[List[StrictStr]] = Field(default=None, description="A list of employment types. Only available to Recruiter PRO contracts. Native filter : Employment type ")
graduation_year: Optional[PerformRecruiterPeopleSearchFromTalentPoolRequestGraduationYear] = None
industry: Optional[PerformRecruiterPeopleSearchRequestIndustry] = None
seniority: Optional[List[StrictStr]] = Field(default=None, description="A list of senorities.")
- spoken_language: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner]] = Field(default=None, description="A list of languages.")
- profile_language: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Profile languages ")
+ spoken_language: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestSpokenLanguageInner]] = Field(default=None, description="A list of languages. Only available to Recruiter PRO contracts. Native filter : Spoken languages ")
+ profile_language: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Profile languages ")
project: Optional[PerformRecruiterPeopleSearchFromTalentPoolRequestProject] = None
- job_function: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions ")
+ job_function: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values. Native filter : Job functions ")
first_name: Optional[List[StrictStr]] = Field(default=None, description="A list of names.")
last_name: Optional[List[StrictStr]] = Field(default=None, description="A list of names.")
recently_joined: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestRecentlyJoinedInner]] = Field(default=None, description="A list of days ranges.")
is_military_veteran: Optional[StrictBool] = Field(default=None, description="Whether the users should have military background. Native filter : Military veterans ")
recruiting_activity: Optional[List[PerformRecruiterPeopleSearchFromTalentPoolRequestRecruitingActivityInner]] = Field(default=None, description="A list of recruiting activities.")
hide_previously_viewed: Optional[PerformRecruiterPeopleSearchFromTalentPoolRequestHidePreviouslyViewed] = None
- group: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `GROUP` type to find out the possible values. Native filter : All groups ")
+ group: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `GROUP` type to find out the possible values. Native filter : All groups ")
is_past_applicant: Optional[StrictBool] = Field(default=None, description="Whether the users should have already applied to at least one of your job postings. Native filter : Past applicants ")
notes: Optional[List[StrictStr]] = Field(default=None, description="A list of notes.")
tags: Optional[PerformRecruiterPeopleSearchFromTalentPoolRequestTags] = None
@@ -210,71 +210,61 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.network_distance:
for _item_network_distance in self.network_distance:
- if _item_network_distance:
- _items.append(_item_network_distance.to_dict())
+ _items.append(_item_network_distance.to_dict() if _item_network_distance is not None else None)
_dict['network_distance'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in location (list)
_items = []
if self.location:
for _item_location in self.location:
- if _item_location:
- _items.append(_item_location.to_dict())
+ _items.append(_item_location.to_dict() if _item_location is not None else None)
_dict['location'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in postal_code (list)
_items = []
if self.postal_code:
for _item_postal_code in self.postal_code:
- if _item_postal_code:
- _items.append(_item_postal_code.to_dict())
+ _items.append(_item_postal_code.to_dict() if _item_postal_code is not None else None)
_dict['postal_code'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in job_title (list)
_items = []
if self.job_title:
for _item_job_title in self.job_title:
- if _item_job_title:
- _items.append(_item_job_title.to_dict())
+ _items.append(_item_job_title.to_dict() if _item_job_title is not None else None)
_dict['job_title'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in occupation (list)
_items = []
if self.occupation:
for _item_occupation in self.occupation:
- if _item_occupation:
- _items.append(_item_occupation.to_dict())
+ _items.append(_item_occupation.to_dict() if _item_occupation is not None else None)
_dict['occupation'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in skills (list)
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in company (list)
_items = []
if self.company:
for _item_company in self.company:
- if _item_company:
- _items.append(_item_company.to_dict())
+ _items.append(_item_company.to_dict() if _item_company is not None else None)
_dict['company'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in current_company (list)
_items = []
if self.current_company:
for _item_current_company in self.current_company:
- if _item_current_company:
- _items.append(_item_current_company.to_dict())
+ _items.append(_item_current_company.to_dict() if _item_current_company is not None else None)
_dict['current_company'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in past_company (list)
_items = []
if self.past_company:
for _item_past_company in self.past_company:
- if _item_past_company:
- _items.append(_item_past_company.to_dict())
+ _items.append(_item_past_company.to_dict() if _item_past_company is not None else None)
_dict['past_company'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in company_size (list)
_items = []
if self.company_size:
for _item_company_size in self.company_size:
- if _item_company_size:
- _items.append(_item_company_size.to_dict())
+ _items.append(_item_company_size.to_dict() if _item_company_size is not None else None)
_dict['company_size'] = _items
# override the default output from pydantic by calling `to_dict()` of years_of_experience
if self.years_of_experience:
@@ -292,15 +282,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.school:
for _item_school in self.school:
- if _item_school:
- _items.append(_item_school.to_dict())
+ _items.append(_item_school.to_dict() if _item_school is not None else None)
_dict['school'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in field_of_study (list)
_items = []
if self.field_of_study:
for _item_field_of_study in self.field_of_study:
- if _item_field_of_study:
- _items.append(_item_field_of_study.to_dict())
+ _items.append(_item_field_of_study.to_dict() if _item_field_of_study is not None else None)
_dict['field_of_study'] = _items
# override the default output from pydantic by calling `to_dict()` of graduation_year
if self.graduation_year:
@@ -312,8 +300,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.spoken_language:
for _item_spoken_language in self.spoken_language:
- if _item_spoken_language:
- _items.append(_item_spoken_language.to_dict())
+ _items.append(_item_spoken_language.to_dict() if _item_spoken_language is not None else None)
_dict['spoken_language'] = _items
# override the default output from pydantic by calling `to_dict()` of project
if self.project:
@@ -322,15 +309,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.recently_joined:
for _item_recently_joined in self.recently_joined:
- if _item_recently_joined:
- _items.append(_item_recently_joined.to_dict())
+ _items.append(_item_recently_joined.to_dict() if _item_recently_joined is not None else None)
_dict['recently_joined'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in recruiting_activity (list)
_items = []
if self.recruiting_activity:
for _item_recruiting_activity in self.recruiting_activity:
- if _item_recruiting_activity:
- _items.append(_item_recruiting_activity.to_dict())
+ _items.append(_item_recruiting_activity.to_dict() if _item_recruiting_activity is not None else None)
_dict['recruiting_activity'] = _items
# override the default output from pydantic by calling `to_dict()` of hide_previously_viewed
if self.hide_previously_viewed:
diff --git a/unipile/models/perform_recruiter_people_search_request_industry.py b/unipile/models/perform_recruiter_people_search_request_industry.py
index aec7c0c0a..5707618ca 100644
--- a/unipile/models/perform_recruiter_people_search_request_industry.py
+++ b/unipile/models/perform_recruiter_people_search_request_industry.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformRecruiterPeopleSearchRequestIndustry(BaseModel):
"""
Native filter : Industries
""" # noqa: E501
- include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
+ include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_recruiter_search_from_url200_response.py b/unipile/models/perform_recruiter_search_from_url200_response.py
index 47ca66f84..6c9070299 100644
--- a/unipile/models/perform_recruiter_search_from_url200_response.py
+++ b/unipile/models/perform_recruiter_search_from_url200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_sales_companies_search_request.py b/unipile/models/perform_sales_companies_search_request.py
index c9912f932..ea8c60b2f 100644
--- a/unipile/models/perform_sales_companies_search_request.py
+++ b/unipile/models/perform_sales_companies_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -129,8 +129,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.headcount:
for _item_headcount in self.headcount:
- if _item_headcount:
- _items.append(_item_headcount.to_dict())
+ _items.append(_item_headcount.to_dict() if _item_headcount is not None else None)
_dict['headcount'] = _items
# override the default output from pydantic by calling `to_dict()` of headcount_growth
if self.headcount_growth:
@@ -148,8 +147,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.followers:
for _item_followers in self.followers:
- if _item_followers:
- _items.append(_item_followers.to_dict())
+ _items.append(_item_followers.to_dict() if _item_followers is not None else None)
_dict['followers'] = _items
# override the default output from pydantic by calling `to_dict()` of department_headcount
if self.department_headcount:
@@ -161,8 +159,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.fortune:
for _item_fortune in self.fortune:
- if _item_fortune:
- _items.append(_item_fortune.to_dict())
+ _items.append(_item_fortune.to_dict() if _item_fortune is not None else None)
_dict['fortune'] = _items
# override the default output from pydantic by calling `to_dict()` of account_list
if self.account_list:
diff --git a/unipile/models/perform_sales_companies_search_request_account_list.py b/unipile/models/perform_sales_companies_search_request_account_list.py
index fd61d3d5f..096b4282f 100644
--- a/unipile/models/perform_sales_companies_search_request_account_list.py
+++ b/unipile/models/perform_sales_companies_search_request_account_list.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesCompaniesSearchRequestAccountList(BaseModel):
"""
Native filter : Workflow / Account lists
""" # noqa: E501
- include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `ACCOUNT_LIST` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `ACCOUNT_LIST` type to find out the possible values.")
+ include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `ACCOUNT_LIST` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `ACCOUNT_LIST` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_companies_search_request_annual_revenue.py b/unipile/models/perform_sales_companies_search_request_annual_revenue.py
index d545bb328..ffb8abd74 100644
--- a/unipile/models/perform_sales_companies_search_request_annual_revenue.py
+++ b/unipile/models/perform_sales_companies_search_request_annual_revenue.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -53,13 +53,10 @@ def max_validate_enum(cls, value):
raise ValueError("must be one of enum values (0.5, 1, 2.5, 5, 10, 20, 50, 100, 500, 1000)")
return value
- @field_validator('currency')
+ @field_validator('currency', mode="before")
def currency_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^[A-Z]{3}$", value):
+ if isinstance(value, str) and not re.match(r"^[A-Z]{3}$", value):
raise ValueError(r"must validate the regular expression /^[A-Z]{3}$/")
return value
diff --git a/unipile/models/perform_sales_companies_search_request_department_headcount.py b/unipile/models/perform_sales_companies_search_request_department_headcount.py
index 082133724..d76f95d00 100644
--- a/unipile/models/perform_sales_companies_search_request_department_headcount.py
+++ b/unipile/models/perform_sales_companies_search_request_department_headcount.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class PerformSalesCompaniesSearchRequestDepartmentHeadcount(BaseModel):
""" # noqa: E501
min: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
max: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
- department: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values.")
+ department: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["min", "max", "department"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_companies_search_request_department_headcount_growth.py b/unipile/models/perform_sales_companies_search_request_department_headcount_growth.py
index 8f0ab6660..11cece6e6 100644
--- a/unipile/models/perform_sales_companies_search_request_department_headcount_growth.py
+++ b/unipile/models/perform_sales_companies_search_request_department_headcount_growth.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class PerformSalesCompaniesSearchRequestDepartmentHeadcountGrowth(BaseModel):
""" # noqa: E501
min: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
max: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
- department: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values.")
+ department: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["min", "max", "department"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_companies_search_request_followers_inner.py b/unipile/models/perform_sales_companies_search_request_followers_inner.py
index c99543820..73333a141 100644
--- a/unipile/models/perform_sales_companies_search_request_followers_inner.py
+++ b/unipile/models/perform_sales_companies_search_request_followers_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_sales_companies_search_request_fortune_inner.py b/unipile/models/perform_sales_companies_search_request_fortune_inner.py
index aa668a431..5aed54b79 100644
--- a/unipile/models/perform_sales_companies_search_request_fortune_inner.py
+++ b/unipile/models/perform_sales_companies_search_request_fortune_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_sales_companies_search_request_headcount_growth.py b/unipile/models/perform_sales_companies_search_request_headcount_growth.py
index 4ac9cc13c..0061b9fed 100644
--- a/unipile/models/perform_sales_companies_search_request_headcount_growth.py
+++ b/unipile/models/perform_sales_companies_search_request_headcount_growth.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_sales_companies_search_request_headcount_inner.py b/unipile/models/perform_sales_companies_search_request_headcount_inner.py
index a53209bb2..6edb2fc5a 100644
--- a/unipile/models/perform_sales_companies_search_request_headcount_inner.py
+++ b/unipile/models/perform_sales_companies_search_request_headcount_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,8 +37,8 @@ def min_validate_enum(cls, value):
if value is None:
return value
- if value not in set([1, 51, 201, 501, 1001, 5001, 10001]):
- raise ValueError("must be one of enum values (1, 51, 201, 501, 1001, 5001, 10001)")
+ if value not in set([1, 11, 51, 201, 501, 1001, 5001, 10001]):
+ raise ValueError("must be one of enum values (1, 11, 51, 201, 501, 1001, 5001, 10001)")
return value
@field_validator('max')
@@ -47,8 +47,8 @@ def max_validate_enum(cls, value):
if value is None:
return value
- if value not in set([0, 10, 200, 500, 1000, 5000, 10000]):
- raise ValueError("must be one of enum values (0, 10, 200, 500, 1000, 5000, 10000)")
+ if value not in set([0, 10, 50, 200, 500, 1000, 5000, 10000]):
+ raise ValueError("must be one of enum values (0, 10, 50, 200, 500, 1000, 5000, 10000)")
return value
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_companies_search_request_industry.py b/unipile/models/perform_sales_companies_search_request_industry.py
index 97e728d20..eed0e0612 100644
--- a/unipile/models/perform_sales_companies_search_request_industry.py
+++ b/unipile/models/perform_sales_companies_search_request_industry.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesCompaniesSearchRequestIndustry(BaseModel):
"""
Native filter : Company attributes / Industry
""" # noqa: E501
- include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
+ include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_companies_search_request_location.py b/unipile/models/perform_sales_companies_search_request_location.py
index df23a352c..66d64521b 100644
--- a/unipile/models/perform_sales_companies_search_request_location.py
+++ b/unipile/models/perform_sales_companies_search_request_location.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesCompaniesSearchRequestLocation(BaseModel):
"""
Native filter : Company attributes / Headquarters location / Region
""" # noqa: E501
- include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
+ include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_companies_search_request_postal_code.py b/unipile/models/perform_sales_companies_search_request_postal_code.py
index 39faf5046..fbcca053c 100644
--- a/unipile/models/perform_sales_companies_search_request_postal_code.py
+++ b/unipile/models/perform_sales_companies_search_request_postal_code.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesCompaniesSearchRequestPostalCode(BaseModel):
"""
Native filter : Company attributes / Headquarters location / Postal code
""" # noqa: E501
- include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `POSTAL_CODE` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `POSTAL_CODE` type to find out the possible values.")
+ include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `POSTAL_CODE` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `POSTAL_CODE` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request.py b/unipile/models/perform_sales_people_search_request.py
index d65e78259..05cbbf9c9 100644
--- a/unipile/models/perform_sales_people_search_request.py
+++ b/unipile/models/perform_sales_people_search_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -71,19 +71,19 @@ class PerformSalesPeopleSearchRequest(BaseModel):
industry: Optional[PerformSalesPeopleSearchRequestIndustry] = None
first_name: Optional[List[StrictStr]] = Field(default=None, description="A list of names.")
last_name: Optional[List[StrictStr]] = Field(default=None, description="A list of names.")
- profile_language: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Personal / Profile language ")
+ profile_language: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PROFILE_LANGUAGE` type to find out the possible values. Native filter : Personal / Profile language ")
years_of_experience: Optional[List[PerformSalesPeopleSearchRequestYearsOfExperienceInner]] = Field(default=None, description="A list of years ranges.")
group: Optional[PerformSalesPeopleSearchRequestGroup] = None
school: Optional[PerformSalesPeopleSearchRequestSchool] = None
following_your_company: Optional[StrictBool] = Field(default=None, description="Whether the users are following your company. Native filter : Buyer intent / Following your company ")
viewed_your_profile_recently: Optional[StrictBool] = Field(default=None, description="Whether the users visited your profile recently. Native filter : Buyer intent / Viewed your profile recently ")
network_distance: Optional[List[GetRecruiterTalentPoolApplicantsRequestNetworkDistanceInner]] = Field(default=None, description="A list of connection degrees (1 for First, 2 for Second, 3 for Third+ and GROUP for Common group members). Native filter : Best path in / Connection ")
- connections_of: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `RELATION` type to find out the possible values. Native filter : Best path in / Connections of ")
+ connections_of: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `RELATION` type to find out the possible values. Native filter : Best path in / Connections of ")
past_colleague: Optional[StrictBool] = Field(default=None, description="Whether the users are past colleagues of yours. Native filter : Best path in / Past colleague ")
shared_experiences: Optional[StrictBool] = Field(default=None, description="Whether the users share professionnal experiences with you. Native filter : Buyer intent / Shared experiences ")
changed_jobs: Optional[StrictBool] = Field(default=None, description="Whether the users recently changed jobs. Native filter : Recent updates / Changed jobs ")
posted_on_linkedin: Optional[StrictBool] = Field(default=None, description="Whether the users recently published posts on LinkedIn. Native filter : Recent updates / Posted on Linkedin ")
- persona: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PERSONA` type to find out the possible values. Native filter : Workflow / Persona ")
+ persona: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `PERSONA` type to find out the possible values. Native filter : Workflow / Persona ")
account_list: Optional[PerformSalesPeopleSearchRequestAccountList] = None
lead_list: Optional[PerformSalesPeopleSearchRequestLeadList] = None
recent_interaction: Optional[PerformSalesPeopleSearchRequestRecentInteraction] = None
@@ -162,8 +162,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.company_headcount:
for _item_company_headcount in self.company_headcount:
- if _item_company_headcount:
- _items.append(_item_company_headcount.to_dict())
+ _items.append(_item_company_headcount.to_dict() if _item_company_headcount is not None else None)
_dict['company_headcount'] = _items
# override the default output from pydantic by calling `to_dict()` of company_location
if self.company_location:
@@ -184,15 +183,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.years_in_company:
for _item_years_in_company in self.years_in_company:
- if _item_years_in_company:
- _items.append(_item_years_in_company.to_dict())
+ _items.append(_item_years_in_company.to_dict() if _item_years_in_company is not None else None)
_dict['years_in_company'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in years_in_position (list)
_items = []
if self.years_in_position:
for _item_years_in_position in self.years_in_position:
- if _item_years_in_position:
- _items.append(_item_years_in_position.to_dict())
+ _items.append(_item_years_in_position.to_dict() if _item_years_in_position is not None else None)
_dict['years_in_position'] = _items
# override the default output from pydantic by calling `to_dict()` of location
if self.location:
@@ -207,8 +204,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.years_of_experience:
for _item_years_of_experience in self.years_of_experience:
- if _item_years_of_experience:
- _items.append(_item_years_of_experience.to_dict())
+ _items.append(_item_years_of_experience.to_dict() if _item_years_of_experience is not None else None)
_dict['years_of_experience'] = _items
# override the default output from pydantic by calling `to_dict()` of group
if self.group:
@@ -220,8 +216,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.network_distance:
for _item_network_distance in self.network_distance:
- if _item_network_distance:
- _items.append(_item_network_distance.to_dict())
+ _items.append(_item_network_distance.to_dict() if _item_network_distance is not None else None)
_dict['network_distance'] = _items
# override the default output from pydantic by calling `to_dict()` of account_list
if self.account_list:
diff --git a/unipile/models/perform_sales_people_search_request_account_list.py b/unipile/models/perform_sales_people_search_request_account_list.py
index 320c043b2..6bd2915cd 100644
--- a/unipile/models/perform_sales_people_search_request_account_list.py
+++ b/unipile/models/perform_sales_people_search_request_account_list.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesPeopleSearchRequestAccountList(BaseModel):
"""
Native filter : Workflow / Account lists
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `ACCOUNT_LIST` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `ACCOUNT_LIST` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `ACCOUNT_LIST` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `ACCOUNT_LIST` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_company_headcount_inner.py b/unipile/models/perform_sales_people_search_request_company_headcount_inner.py
index 7a40a2049..51f3e0bda 100644
--- a/unipile/models/perform_sales_people_search_request_company_headcount_inner.py
+++ b/unipile/models/perform_sales_people_search_request_company_headcount_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -37,8 +37,8 @@ def min_validate_enum(cls, value):
if value is None:
return value
- if value not in set([1, 51, 201, 501, 1001, 5001, 10001]):
- raise ValueError("must be one of enum values (1, 51, 201, 501, 1001, 5001, 10001)")
+ if value not in set([1, 11, 51, 201, 501, 1001, 5001, 10001]):
+ raise ValueError("must be one of enum values (1, 11, 51, 201, 501, 1001, 5001, 10001)")
return value
@field_validator('max')
@@ -47,8 +47,8 @@ def max_validate_enum(cls, value):
if value is None:
return value
- if value not in set([0, 10, 200, 500, 1000, 5000, 10000]):
- raise ValueError("must be one of enum values (0, 10, 200, 500, 1000, 5000, 10000)")
+ if value not in set([0, 10, 50, 200, 500, 1000, 5000, 10000]):
+ raise ValueError("must be one of enum values (0, 10, 50, 200, 500, 1000, 5000, 10000)")
return value
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_company_location.py b/unipile/models/perform_sales_people_search_request_company_location.py
index c13cd2819..dc6e1b05d 100644
--- a/unipile/models/perform_sales_people_search_request_company_location.py
+++ b/unipile/models/perform_sales_people_search_request_company_location.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesPeopleSearchRequestCompanyLocation(BaseModel):
"""
Native filter : Company / Company headquarters location
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_current_company.py b/unipile/models/perform_sales_people_search_request_current_company.py
index b90af0ab7..63061eb5d 100644
--- a/unipile/models/perform_sales_people_search_request_current_company.py
+++ b/unipile/models/perform_sales_people_search_request_current_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -25,10 +25,10 @@
class PerformSalesPeopleSearchRequestCurrentCompany(BaseModel):
"""
- Native filter : Company / Current company
+ You can also use company names in plain text format. Native filter : Company / Current company
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY or ACCOUNT_LIST` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY or ACCOUNT_LIST` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY or ACCOUNT_LIST` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY or ACCOUNT_LIST` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_current_job_title.py b/unipile/models/perform_sales_people_search_request_current_job_title.py
index c11a26e61..217c933b8 100644
--- a/unipile/models/perform_sales_people_search_request_current_job_title.py
+++ b/unipile/models/perform_sales_people_search_request_current_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -25,10 +25,10 @@
class PerformSalesPeopleSearchRequestCurrentJobTitle(BaseModel):
"""
- Native filter : Role / Current job title
+ You can also use job titles in plain text format. Native filter : Role / Current job title
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_function.py b/unipile/models/perform_sales_people_search_request_function.py
index 9aa9701de..9cbafc18d 100644
--- a/unipile/models/perform_sales_people_search_request_function.py
+++ b/unipile/models/perform_sales_people_search_request_function.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesPeopleSearchRequestFunction(BaseModel):
"""
Native filter : Role / Function
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_FUNCTION` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_group.py b/unipile/models/perform_sales_people_search_request_group.py
index ad46df326..33bf1f1e2 100644
--- a/unipile/models/perform_sales_people_search_request_group.py
+++ b/unipile/models/perform_sales_people_search_request_group.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesPeopleSearchRequestGroup(BaseModel):
"""
Native filter : Personal / Groups
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `GROUP` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `GROUP` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `GROUP` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `GROUP` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_industry.py b/unipile/models/perform_sales_people_search_request_industry.py
index 18f2ee11c..9d3309465 100644
--- a/unipile/models/perform_sales_people_search_request_industry.py
+++ b/unipile/models/perform_sales_people_search_request_industry.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesPeopleSearchRequestIndustry(BaseModel):
"""
Native filter : Personal / Industry
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `INDUSTRY` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_lead_list.py b/unipile/models/perform_sales_people_search_request_lead_list.py
index 5cdd02870..65649a5c5 100644
--- a/unipile/models/perform_sales_people_search_request_lead_list.py
+++ b/unipile/models/perform_sales_people_search_request_lead_list.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesPeopleSearchRequestLeadList(BaseModel):
"""
Native filter : Workflow / Lead lists
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LEAD_LIST` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LEAD_LIST` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LEAD_LIST` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LEAD_LIST` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_load_recent_search.py b/unipile/models/perform_sales_people_search_request_load_recent_search.py
index 72c797a1a..279f4e258 100644
--- a/unipile/models/perform_sales_people_search_request_load_recent_search.py
+++ b/unipile/models/perform_sales_people_search_request_load_recent_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class PerformSalesPeopleSearchRequestLoadRecentSearch(BaseModel):
"""
Recent search to be loaded. Overrides all other filters.
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `RECENT_SEARCH` type to find out the possible values. Native filter : Recent search ")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `RECENT_SEARCH` type to find out the possible values. Native filter : Recent search ")
__properties: ClassVar[List[str]] = ["id"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_load_saved_search.py b/unipile/models/perform_sales_people_search_request_load_saved_search.py
index d855b1dec..e5f8480f3 100644
--- a/unipile/models/perform_sales_people_search_request_load_saved_search.py
+++ b/unipile/models/perform_sales_people_search_request_load_saved_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,7 +27,7 @@ class PerformSalesPeopleSearchRequestLoadSavedSearch(BaseModel):
"""
Saved search to be loaded. Overrides all other filters.
""" # noqa: E501
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `SAVED_PEOPLE_SEARCH` type to find out the possible values. Native filter : Saved search ")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `SAVED_PEOPLE_SEARCH` type to find out the possible values. Native filter : Saved search ")
last_viewed_at: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="A Unix timestamp indicating the last time the search results were accessed, to be used to retrieve only the new results.")
__properties: ClassVar[List[str]] = ["id", "last_viewed_at"]
diff --git a/unipile/models/perform_sales_people_search_request_location.py b/unipile/models/perform_sales_people_search_request_location.py
index ce3d232d1..afed91e3f 100644
--- a/unipile/models/perform_sales_people_search_request_location.py
+++ b/unipile/models/perform_sales_people_search_request_location.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesPeopleSearchRequestLocation(BaseModel):
"""
Native filter : Personal / Geography / Region
""" # noqa: E501
- include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
+ include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_past_company.py b/unipile/models/perform_sales_people_search_request_past_company.py
index d8c8766b7..b4c6fd84a 100644
--- a/unipile/models/perform_sales_people_search_request_past_company.py
+++ b/unipile/models/perform_sales_people_search_request_past_company.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -25,10 +25,10 @@
class PerformSalesPeopleSearchRequestPastCompany(BaseModel):
"""
- Native filter : Company / Past company
+ You can also use company names in plain text format. Native filter : Company / Past company
""" # noqa: E501
- include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY or ACCOUNT_LIST` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY or ACCOUNT_LIST` type to find out the possible values.")
+ include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY or ACCOUNT_LIST` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `COMPANY or ACCOUNT_LIST` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_past_job_title.py b/unipile/models/perform_sales_people_search_request_past_job_title.py
index 80c6b5694..6ab1dd0e7 100644
--- a/unipile/models/perform_sales_people_search_request_past_job_title.py
+++ b/unipile/models/perform_sales_people_search_request_past_job_title.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -25,10 +25,10 @@
class PerformSalesPeopleSearchRequestPastJobTitle(BaseModel):
"""
- Native filter : Role / Past job title
+ You can also use job titles in plain text format. Native filter : Role / Past job title
""" # noqa: E501
- include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
+ include: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_postal_code.py b/unipile/models/perform_sales_people_search_request_postal_code.py
index 9b547fe05..79cd9d7a5 100644
--- a/unipile/models/perform_sales_people_search_request_postal_code.py
+++ b/unipile/models/perform_sales_people_search_request_postal_code.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesPeopleSearchRequestPostalCode(BaseModel):
"""
Native filter : Personal / Geography / Postal code
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `POSTAL_CODE` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `POSTAL_CODE` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `POSTAL_CODE` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `POSTAL_CODE` type to find out the possible values.")
radius: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The distance radius around the postal code in miles.")
__properties: ClassVar[List[str]] = ["include", "exclude", "radius"]
diff --git a/unipile/models/perform_sales_people_search_request_recent_interaction.py b/unipile/models/perform_sales_people_search_request_recent_interaction.py
index 004e296c0..fb0d834f6 100644
--- a/unipile/models/perform_sales_people_search_request_recent_interaction.py
+++ b/unipile/models/perform_sales_people_search_request_recent_interaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_sales_people_search_request_save_search.py b/unipile/models/perform_sales_people_search_request_save_search.py
index 1d1211bf8..e4d2cc2fd 100644
--- a/unipile/models/perform_sales_people_search_request_save_search.py
+++ b/unipile/models/perform_sales_people_search_request_save_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_sales_people_search_request_saved_resources.py b/unipile/models/perform_sales_people_search_request_saved_resources.py
index 1afdef779..9338aa19f 100644
--- a/unipile/models/perform_sales_people_search_request_saved_resources.py
+++ b/unipile/models/perform_sales_people_search_request_saved_resources.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_sales_people_search_request_school.py b/unipile/models/perform_sales_people_search_request_school.py
index 169842270..225e10088 100644
--- a/unipile/models/perform_sales_people_search_request_school.py
+++ b/unipile/models/perform_sales_people_search_request_school.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class PerformSalesPeopleSearchRequestSchool(BaseModel):
"""
Native filter : Personal / School
""" # noqa: E501
- include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
- exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
+ include: Optional[List[Optional[StrictStr]]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
+ exclude: Optional[List[StrictStr]] = Field(default=None, description="A list of parameter IDs. Use List Search Parameters with `SCHOOL` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["include", "exclude"]
model_config = ConfigDict(
diff --git a/unipile/models/perform_sales_people_search_request_seniority.py b/unipile/models/perform_sales_people_search_request_seniority.py
index ce65eab1d..d4c558151 100644
--- a/unipile/models/perform_sales_people_search_request_seniority.py
+++ b/unipile/models/perform_sales_people_search_request_seniority.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_sales_people_search_request_years_in_company_inner.py b/unipile/models/perform_sales_people_search_request_years_in_company_inner.py
index 3353ff334..782047d79 100644
--- a/unipile/models/perform_sales_people_search_request_years_in_company_inner.py
+++ b/unipile/models/perform_sales_people_search_request_years_in_company_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_sales_people_search_request_years_in_position_inner.py b/unipile/models/perform_sales_people_search_request_years_in_position_inner.py
index 0ca6599fc..cb6b08e3f 100644
--- a/unipile/models/perform_sales_people_search_request_years_in_position_inner.py
+++ b/unipile/models/perform_sales_people_search_request_years_in_position_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_sales_people_search_request_years_of_experience_inner.py b/unipile/models/perform_sales_people_search_request_years_of_experience_inner.py
index 69b373cc6..2dbc91e15 100644
--- a/unipile/models/perform_sales_people_search_request_years_of_experience_inner.py
+++ b/unipile/models/perform_sales_people_search_request_years_of_experience_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/perform_sales_search_from_url200_response.py b/unipile/models/perform_sales_search_from_url200_response.py
index 7de9526b3..622aa257f 100644
--- a/unipile/models/perform_sales_search_from_url200_response.py
+++ b/unipile/models/perform_sales_search_from_url200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -34,10 +34,10 @@ class PerformSalesSearchFromUrl200Response(BaseModel):
PerformSalesSearchFromUrl200Response
"""
- # data type: CompaniesSearch
- anyof_schema_1_validator: Optional[CompaniesSearch] = None
# data type: PeopleSearch1
- anyof_schema_2_validator: Optional[PeopleSearch1] = None
+ anyof_schema_1_validator: Optional[PeopleSearch1] = None
+ # data type: CompaniesSearch
+ anyof_schema_2_validator: Optional[CompaniesSearch] = None
# data type: LeadList
anyof_schema_3_validator: Optional[LeadList] = None
# data type: AccountList
@@ -67,18 +67,18 @@ def __init__(self, *args, **kwargs) -> None:
def actual_instance_must_validate_anyof(cls, v):
instance = PerformSalesSearchFromUrl200Response.model_construct()
error_messages = []
- # validate data type: CompaniesSearch
- if not isinstance(v, CompaniesSearch):
- error_messages.append(f"Error! Input type `{type(v)}` is not `CompaniesSearch`")
- else:
- return v
-
# validate data type: PeopleSearch1
if not isinstance(v, PeopleSearch1):
error_messages.append(f"Error! Input type `{type(v)}` is not `PeopleSearch1`")
else:
return v
+ # validate data type: CompaniesSearch
+ if not isinstance(v, CompaniesSearch):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `CompaniesSearch`")
+ else:
+ return v
+
# validate data type: LeadList
if not isinstance(v, LeadList):
error_messages.append(f"Error! Input type `{type(v)}` is not `LeadList`")
@@ -106,15 +106,15 @@ def from_json(cls, json_str: str) -> Self:
"""Returns the object represented by the json string"""
instance = cls.model_construct()
error_messages = []
- # anyof_schema_1_validator: Optional[CompaniesSearch] = None
+ # anyof_schema_1_validator: Optional[PeopleSearch1] = None
try:
- instance.actual_instance = CompaniesSearch.from_json(json_str)
+ instance.actual_instance = PeopleSearch1.from_json(json_str)
return instance
except (ValidationError, ValueError) as e:
error_messages.append(str(e))
- # anyof_schema_2_validator: Optional[PeopleSearch1] = None
+ # anyof_schema_2_validator: Optional[CompaniesSearch] = None
try:
- instance.actual_instance = PeopleSearch1.from_json(json_str)
+ instance.actual_instance = CompaniesSearch.from_json(json_str)
return instance
except (ValidationError, ValueError) as e:
error_messages.append(str(e))
diff --git a/unipile/models/phone_register.py b/unipile/models/phone_register.py
index 5014f7098..ac18e1070 100644
--- a/unipile/models/phone_register.py
+++ b/unipile/models/phone_register.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/pipeline_candidates_search.py b/unipile/models/pipeline_candidates_search.py
index 9afc943a0..08f70d295 100644
--- a/unipile/models/pipeline_candidates_search.py
+++ b/unipile/models/pipeline_candidates_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class PipelineCandidatesSearch(BaseModel):
PipelineCandidatesSearch
""" # noqa: E501
data: List[PipelineCandidatesSearchDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/pipeline_candidates_search_data_inner.py b/unipile/models/pipeline_candidates_search_data_inner.py
index a8e7c8f78..b31f028cc 100644
--- a/unipile/models/pipeline_candidates_search_data_inner.py
+++ b/unipile/models/pipeline_candidates_search_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/pipeline_change.py b/unipile/models/pipeline_change.py
index b7f58fbcf..0825f3d7f 100644
--- a/unipile/models/pipeline_change.py
+++ b/unipile/models/pipeline_change.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List
-from unipile.models.linked_in_projects_inner_contributors_inner import LinkedInProjectsInnerContributorsInner
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,7 @@ class PipelineChange(BaseModel):
PipelineChange
""" # noqa: E501
last_updated_at: StrictStr = Field(description="The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
- last_updated_by: LinkedInProjectsInnerContributorsInner
+ last_updated_by: LinkedIn1InterestsTopVoicesInner
event: StrictStr = Field(description="The type of event.")
project_id: StrictStr = Field(description="The ID of the project the user is related to.")
project_name: StrictStr = Field(description="The name of the project the user is related to.")
@@ -98,7 +98,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"last_updated_at": obj.get("last_updated_at"),
- "last_updated_by": LinkedInProjectsInnerContributorsInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
+ "last_updated_by": LinkedIn1InterestsTopVoicesInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
"event": obj.get("event"),
"project_id": obj.get("project_id"),
"project_name": obj.get("project_name"),
diff --git a/unipile/models/pipeline_sourced.py b/unipile/models/pipeline_sourced.py
index 92648e735..4d7493668 100644
--- a/unipile/models/pipeline_sourced.py
+++ b/unipile/models/pipeline_sourced.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -32,6 +32,7 @@ class PipelineSourced(BaseModel):
stage_id: Optional[StrictStr] = Field(default=None, description="In Pipeline context, the ID of the Stage to get parameters from. Leave undefined to get results from all stages.")
keywords: Optional[StrictStr] = Field(default=None, description="A keyword or group of keywords to filter results. Applicable to SEAT only.")
type: StrictStr = Field(description="The type of search parameter.")
+ additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["source", "project_id", "stage_id", "keywords", "type"]
@field_validator('source')
@@ -78,8 +79,10 @@ def to_dict(self) -> Dict[str, Any]:
* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
+ * Fields in `self.additional_properties` are added to the output dict.
"""
excluded_fields: Set[str] = set([
+ "additional_properties",
])
_dict = self.model_dump(
@@ -87,6 +90,11 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # puts key-value pairs in additional_properties in the top level
+ if self.additional_properties is not None:
+ for _key, _value in self.additional_properties.items():
+ _dict[_key] = _value
+
return _dict
@classmethod
@@ -105,6 +113,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"keywords": obj.get("keywords"),
"type": obj.get("type")
})
+ # store additional fields in additional_properties
+ for _key in obj.keys():
+ if _key not in cls.__properties:
+ _obj.additional_properties[_key] = obj.get(_key)
+
return _obj
diff --git a/unipile/models/posts_search_results.py b/unipile/models/posts_search_results.py
index c5c718abc..0922916a9 100644
--- a/unipile/models/posts_search_results.py
+++ b/unipile/models/posts_search_results.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,7 +29,7 @@ class PostsSearchResults(BaseModel):
PostsSearchResults
""" # noqa: E501
data: List[PostsSearchResultsDataInner]
- total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the endpoint.")
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
__properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
@@ -76,8 +76,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.data:
for _item_data in self.data:
- if _item_data:
- _items.append(_item_data.to_dict())
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
_dict['data'] = _items
return _dict
diff --git a/unipile/models/posts_search_results_data_inner.py b/unipile/models/posts_search_results_data_inner.py
index 9e15732eb..60ef653aa 100644
--- a/unipile/models/posts_search_results_data_inner.py
+++ b/unipile/models/posts_search_results_data_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,16 +19,16 @@
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional, Union
-from unipile.models.get_messages_list200_response_data_inner_quoted_attachments_inner import GetMessagesList200ResponseDataInnerQuotedAttachmentsInner
-from unipile.models.get_messages_list200_response_data_inner_reactions_counter_inner import GetMessagesList200ResponseDataInnerReactionsCounterInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
from unipile.models.get_posts_list200_response_data_inner_analytics import GetPostsList200ResponseDataInnerAnalytics
-from unipile.models.get_posts_list200_response_data_inner_author import GetPostsList200ResponseDataInnerAuthor
from unipile.models.get_posts_list200_response_data_inner_event import GetPostsList200ResponseDataInnerEvent
from unipile.models.get_posts_list200_response_data_inner_permissions import GetPostsList200ResponseDataInnerPermissions
from unipile.models.get_posts_list200_response_data_inner_poll import GetPostsList200ResponseDataInnerPoll
-from unipile.models.get_posts_list200_response_data_inner_quoted_post import GetPostsList200ResponseDataInnerQuotedPost
from unipile.models.get_posts_list200_response_data_inner_quoted_post_user_reacted import GetPostsList200ResponseDataInnerQuotedPostUserReacted
-from unipile.models.get_posts_list200_response_data_inner_reposted_by import GetPostsList200ResponseDataInnerRepostedBy
+from unipile.models.update_post200_response_author import UpdatePost200ResponseAuthor
+from unipile.models.update_post200_response_quoted_post import UpdatePost200ResponseQuotedPost
+from unipile.models.update_post200_response_reposted_by import UpdatePost200ResponseRepostedBy
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -43,20 +43,21 @@ class PostsSearchResultsDataInner(BaseModel):
created_at: StrictStr = Field(description="The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
title: Optional[StrictStr] = Field(default=None, description="The title of the post.")
text: StrictStr = Field(description="The text content of the post.")
- author: GetPostsList200ResponseDataInnerAuthor
+ author: UpdatePost200ResponseAuthor
user_reacted: GetPostsList200ResponseDataInnerQuotedPostUserReacted
permissions: GetPostsList200ResponseDataInnerPermissions
- reactions_counter: Optional[List[GetMessagesList200ResponseDataInnerReactionsCounterInner]] = Field(description="A list of reactions to the element.")
+ reactions_counter: Optional[List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]] = Field(description="A list of reactions to the element.")
comments_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
reposts_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of reposts of the post. `null` if counter is hidden.")
poll: Optional[GetPostsList200ResponseDataInnerPoll] = None
event: Optional[GetPostsList200ResponseDataInnerEvent] = None
- attachments: List[GetMessagesList200ResponseDataInnerQuotedAttachmentsInner] = Field(description="List of post attachments.")
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of post attachments.")
analytics: Optional[GetPostsList200ResponseDataInnerAnalytics] = None
+ specifics: Optional[Any] = Field(default=None, description="Object containing provider-specific post data.")
is_repost: StrictBool = Field(description="`true` if this post is reposted by someone without quote. Quoted post does not qualify as a repost.")
- reposted_by: Optional[GetPostsList200ResponseDataInnerRepostedBy] = None
- quoted_post: Optional[GetPostsList200ResponseDataInnerQuotedPost] = None
- __properties: ClassVar[List[str]] = ["object", "id", "share_url", "created_at", "title", "text", "author", "user_reacted", "permissions", "reactions_counter", "comments_counter", "reposts_counter", "poll", "event", "attachments", "analytics", "is_repost", "reposted_by", "quoted_post"]
+ reposted_by: Optional[UpdatePost200ResponseRepostedBy] = None
+ quoted_post: Optional[UpdatePost200ResponseQuotedPost] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "share_url", "created_at", "title", "text", "author", "user_reacted", "permissions", "reactions_counter", "comments_counter", "reposts_counter", "poll", "event", "attachments", "analytics", "specifics", "is_repost", "reposted_by", "quoted_post"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -117,8 +118,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.reactions_counter:
for _item_reactions_counter in self.reactions_counter:
- if _item_reactions_counter:
- _items.append(_item_reactions_counter.to_dict())
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
_dict['reactions_counter'] = _items
# override the default output from pydantic by calling `to_dict()` of poll
if self.poll:
@@ -130,8 +130,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of analytics
if self.analytics:
@@ -157,6 +156,11 @@ def to_dict(self) -> Dict[str, Any]:
if self.reposts_counter is None and "reposts_counter" in self.model_fields_set:
_dict['reposts_counter'] = None
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
return _dict
@classmethod
@@ -175,19 +179,20 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"created_at": obj.get("created_at"),
"title": obj.get("title"),
"text": obj.get("text"),
- "author": GetPostsList200ResponseDataInnerAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
+ "author": UpdatePost200ResponseAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
"user_reacted": GetPostsList200ResponseDataInnerQuotedPostUserReacted.from_dict(obj["user_reacted"]) if obj.get("user_reacted") is not None else None,
"permissions": GetPostsList200ResponseDataInnerPermissions.from_dict(obj["permissions"]) if obj.get("permissions") is not None else None,
- "reactions_counter": [GetMessagesList200ResponseDataInnerReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
"comments_counter": obj.get("comments_counter"),
"reposts_counter": obj.get("reposts_counter"),
"poll": GetPostsList200ResponseDataInnerPoll.from_dict(obj["poll"]) if obj.get("poll") is not None else None,
"event": GetPostsList200ResponseDataInnerEvent.from_dict(obj["event"]) if obj.get("event") is not None else None,
- "attachments": [GetMessagesList200ResponseDataInnerQuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"analytics": GetPostsList200ResponseDataInnerAnalytics.from_dict(obj["analytics"]) if obj.get("analytics") is not None else None,
+ "specifics": obj.get("specifics"),
"is_repost": obj.get("is_repost"),
- "reposted_by": GetPostsList200ResponseDataInnerRepostedBy.from_dict(obj["reposted_by"]) if obj.get("reposted_by") is not None else None,
- "quoted_post": GetPostsList200ResponseDataInnerQuotedPost.from_dict(obj["quoted_post"]) if obj.get("quoted_post") is not None else None
+ "reposted_by": UpdatePost200ResponseRepostedBy.from_dict(obj["reposted_by"]) if obj.get("reposted_by") is not None else None,
+ "quoted_post": UpdatePost200ResponseQuotedPost.from_dict(obj["quoted_post"]) if obj.get("quoted_post") is not None else None
})
return _obj
diff --git a/unipile/models/profile_view.py b/unipile/models/profile_view.py
index ff8607311..2520acbf1 100644
--- a/unipile/models/profile_view.py
+++ b/unipile/models/profile_view.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List
-from unipile.models.linked_in_projects_inner_contributors_inner import LinkedInProjectsInnerContributorsInner
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,7 @@ class ProfileView(BaseModel):
ProfileView
""" # noqa: E501
last_updated_at: StrictStr = Field(description="The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
- last_updated_by: LinkedInProjectsInnerContributorsInner
+ last_updated_by: LinkedIn1InterestsTopVoicesInner
event: StrictStr = Field(description="The type of event.")
__properties: ClassVar[List[str]] = ["last_updated_at", "last_updated_by", "event"]
@@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"last_updated_at": obj.get("last_updated_at"),
- "last_updated_by": LinkedInProjectsInnerContributorsInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
+ "last_updated_by": LinkedIn1InterestsTopVoicesInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
"event": obj.get("event")
})
return _obj
diff --git a/unipile/models/proxy_request200_response.py b/unipile/models/proxy_request200_response.py
index 1dd8dcfe5..ce00db362 100644
--- a/unipile/models/proxy_request200_response.py
+++ b/unipile/models/proxy_request200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,7 +17,7 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, StrictStr, field_validator
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
@@ -28,7 +28,7 @@ class ProxyRequest200Response(BaseModel):
ProxyRequest200Response
""" # noqa: E501
object: StrictStr
- data: Optional[Any]
+ data: Optional[Any] = Field(description="The raw response data that your LinkedIn request returned.")
__properties: ClassVar[List[str]] = ["object", "data"]
@field_validator('object')
diff --git a/unipile/models/proxy_request_request.py b/unipile/models/proxy_request_request.py
index 678372f31..7dbc00eb5 100644
--- a/unipile/models/proxy_request_request.py
+++ b/unipile/models/proxy_request_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/publish_classic_job_posting200_response.py b/unipile/models/publish_classic_job_posting200_response.py
index 1af470421..d853f7da2 100644
--- a/unipile/models/publish_classic_job_posting200_response.py
+++ b/unipile/models/publish_classic_job_posting200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/publish_classic_job_posting_request.py b/unipile/models/publish_classic_job_posting_request.py
index 9e2d1ecd7..67cc65999 100644
--- a/unipile/models/publish_classic_job_posting_request.py
+++ b/unipile/models/publish_classic_job_posting_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/publish_in_free_mode.py b/unipile/models/publish_in_free_mode.py
index 96d394f54..d2ce5afd1 100644
--- a/unipile/models/publish_in_free_mode.py
+++ b/unipile/models/publish_in_free_mode.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/publish_in_free_mode1.py b/unipile/models/publish_in_free_mode1.py
index d7edf61b7..5e6620554 100644
--- a/unipile/models/publish_in_free_mode1.py
+++ b/unipile/models/publish_in_free_mode1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/publish_in_promoted_mode.py b/unipile/models/publish_in_promoted_mode.py
index 199132dee..7dce7f627 100644
--- a/unipile/models/publish_in_promoted_mode.py
+++ b/unipile/models/publish_in_promoted_mode.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/publish_in_promoted_mode1.py b/unipile/models/publish_in_promoted_mode1.py
index b5d27d85f..6e1f6928e 100644
--- a/unipile/models/publish_in_promoted_mode1.py
+++ b/unipile/models/publish_in_promoted_mode1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/publish_in_promoted_mode1_budget.py b/unipile/models/publish_in_promoted_mode1_budget.py
index d38e7ff9f..a4dca8fb3 100644
--- a/unipile/models/publish_in_promoted_mode1_budget.py
+++ b/unipile/models/publish_in_promoted_mode1_budget.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/publish_in_promoted_mode_budget.py b/unipile/models/publish_in_promoted_mode_budget.py
index 5be17a303..43f767d16 100644
--- a/unipile/models/publish_in_promoted_mode_budget.py
+++ b/unipile/models/publish_in_promoted_mode_budget.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/publish_recruiter_job_posting_request.py b/unipile/models/publish_recruiter_job_posting_request.py
index ef2a11300..14831c9d0 100644
--- a/unipile/models/publish_recruiter_job_posting_request.py
+++ b/unipile/models/publish_recruiter_job_posting_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/qr_code.py b/unipile/models/qr_code.py
index d50a38160..ae01f8894 100644
--- a/unipile/models/qr_code.py
+++ b/unipile/models/qr_code.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -40,13 +40,10 @@ def object_validate_enum(cls, value):
raise ValueError("must be one of enum values ('AuthenticationQrCode')")
return value
- @field_validator('intent_id')
+ @field_validator('intent_id', mode="before")
def intent_id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^acc_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^acc_(.*)$", value):
raise ValueError(r"must validate the regular expression /^acc_(.*)$/")
return value
diff --git a/unipile/models/re_authenticate_existing_account.py b/unipile/models/re_authenticate_existing_account.py
index 4db6836ce..fdc386878 100644
--- a/unipile/models/re_authenticate_existing_account.py
+++ b/unipile/models/re_authenticate_existing_account.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,23 +28,20 @@
class ReAuthenticateExistingAccount(BaseModel):
"""
- Generate a link to re-authenticate an existing account with Unipile.
+ Generate a link to re-authenticate or reconfigure an entire existing account with Unipile.
""" # noqa: E501
expires_on: datetime = Field(description="The expiration date of the link. Use ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
domain: Optional[StrictStr] = Field(default=None, description="Optional Hosted Auth hostname to use in the generated link instead of the default `auth.unipile.com`. The hostname must already be explicitly verified by Unipile for the parent Application.")
redirect_uri: StrictStr = Field(description="The URL to redirect to after the authentication process. If the authentication succeeded, `account_id` and `provider` will be present in query params, along the specified `state`. If the authentication has failed, `error_title` is present instead. This is useful for your app to be aware of the authentication result and to redirect the user to the correct page of your app.")
state: Optional[StrictStr] = Field(default=None, description="State data sent as query parameter in the redirect_uri and in the `account.add` / `account.reconnect` webhook payload after the authentication process.")
config: Optional[LinkNewAccountConfig] = None
- account_id: Annotated[str, Field(strict=True)] = Field(description="Required to re-authenticate an existing account. The ID of the Account to re-authenticate.")
+ account_id: Annotated[str, Field(strict=True)] = Field(description="Required to re-authenticate or reconfigure an existing account. The entire account is refreshed and all configured products are restarted.")
__properties: ClassVar[List[str]] = ["expires_on", "domain", "redirect_uri", "state", "config", "account_id"]
- @field_validator('account_id')
+ @field_validator('account_id', mode="before")
def account_id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^acc_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^acc_(.*)$", value):
raise ValueError(r"must validate the regular expression /^acc_(.*)$/")
return value
diff --git a/unipile/models/reaction.py b/unipile/models/reaction.py
index eacd85ec5..e498302de 100644
--- a/unipile/models/reaction.py
+++ b/unipile/models/reaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/read_email200_response.py b/unipile/models/read_email200_response.py
index 7b0c0f197..adc6e0827 100644
--- a/unipile/models/read_email200_response.py
+++ b/unipile/models/read_email200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/read_message200_response.py b/unipile/models/read_message200_response.py
index 481b99df1..300bf98ea 100644
--- a/unipile/models/read_message200_response.py
+++ b/unipile/models/read_message200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/recruiter_saved_search.py b/unipile/models/recruiter_saved_search.py
index 31258a42b..cf2bbe43a 100644
--- a/unipile/models/recruiter_saved_search.py
+++ b/unipile/models/recruiter_saved_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,7 +30,7 @@ class RecruiterSavedSearch(BaseModel):
""" # noqa: E501
object: StrictStr
product: StrictStr
- query: Optional[StrictStr] = Field(description="The ID of the Company.")
+ query: Optional[StrictStr] = Field(description="The text content of the message, when available.")
new_results_count: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
project: Optional[RecruiterSavedSearchProject] = None
__properties: ClassVar[List[str]] = ["object", "product", "query", "new_results_count", "project"]
diff --git a/unipile/models/recruiter_saved_search_project.py b/unipile/models/recruiter_saved_search_project.py
index 0e6dcae62..a4ba77085 100644
--- a/unipile/models/recruiter_saved_search_project.py
+++ b/unipile/models/recruiter_saved_search_project.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class RecruiterSavedSearchProject(BaseModel):
"""
RecruiterSavedSearchProject
""" # noqa: E501
- id: Optional[StrictStr] = Field(description="The ID of the Company.")
- name: Optional[StrictStr] = Field(description="The ID of the Company.")
+ id: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ name: Optional[StrictStr] = Field(description="The text content of the message, when available.")
__properties: ClassVar[List[str]] = ["id", "name"]
model_config = ConfigDict(
diff --git a/unipile/models/remove_account200_response.py b/unipile/models/remove_account200_response.py
index 3b7ce88ee..4dba088fe 100644
--- a/unipile/models/remove_account200_response.py
+++ b/unipile/models/remove_account200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/remove_message_reaction200_response.py b/unipile/models/remove_message_reaction200_response.py
index 75d3cfafb..f80cfd395 100644
--- a/unipile/models/remove_message_reaction200_response.py
+++ b/unipile/models/remove_message_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/remove_message_reaction_request.py b/unipile/models/remove_message_reaction_request.py
index ad5d48a5b..4546bae6d 100644
--- a/unipile/models/remove_message_reaction_request.py
+++ b/unipile/models/remove_message_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/remove_participant200_response.py b/unipile/models/remove_participant200_response.py
index a3b60a044..0e6d3c81b 100644
--- a/unipile/models/remove_participant200_response.py
+++ b/unipile/models/remove_participant200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/remove_post_comment_reaction200_response.py b/unipile/models/remove_post_comment_reaction200_response.py
index 70a720d0a..d9187d5c3 100644
--- a/unipile/models/remove_post_comment_reaction200_response.py
+++ b/unipile/models/remove_post_comment_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/remove_post_comment_reaction_request.py b/unipile/models/remove_post_comment_reaction_request.py
index f777638dc..39096f5f9 100644
--- a/unipile/models/remove_post_comment_reaction_request.py
+++ b/unipile/models/remove_post_comment_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/remove_post_comment_reaction_request_reaction.py b/unipile/models/remove_post_comment_reaction_request_reaction.py
index 76d273421..7007953f7 100644
--- a/unipile/models/remove_post_comment_reaction_request_reaction.py
+++ b/unipile/models/remove_post_comment_reaction_request_reaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/remove_post_reaction200_response.py b/unipile/models/remove_post_reaction200_response.py
index 24482d63d..6a27bf8c1 100644
--- a/unipile/models/remove_post_reaction200_response.py
+++ b/unipile/models/remove_post_reaction200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/remove_post_reaction_request.py b/unipile/models/remove_post_reaction_request.py
index b0a57784e..c0384557d 100644
--- a/unipile/models/remove_post_reaction_request.py
+++ b/unipile/models/remove_post_reaction_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/remove_post_reaction_request_reaction.py b/unipile/models/remove_post_reaction_request_reaction.py
index 2c356b7d1..8bb2c8902 100644
--- a/unipile/models/remove_post_reaction_request_reaction.py
+++ b/unipile/models/remove_post_reaction_request_reaction.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/request_checkpoint200_response.py b/unipile/models/request_checkpoint200_response.py
new file mode 100644
index 000000000..c7961f4ef
--- /dev/null
+++ b/unipile/models/request_checkpoint200_response.py
@@ -0,0 +1,134 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+from inspect import getfullargspec
+import json
+import pprint
+import re # noqa: F401
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
+from typing import Optional
+from unipile.models.checkpoint import Checkpoint
+from unipile.models.qr_code import QRCode
+from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
+from typing_extensions import Literal, Self
+from pydantic import Field
+
+REQUESTCHECKPOINT200RESPONSE_ANY_OF_SCHEMAS = ["Checkpoint", "QRCode"]
+
+class RequestCheckpoint200Response(BaseModel):
+ """
+ RequestCheckpoint200Response
+ """
+
+ # data type: Checkpoint
+ anyof_schema_1_validator: Optional[Checkpoint] = None
+ # data type: QRCode
+ anyof_schema_2_validator: Optional[QRCode] = None
+ if TYPE_CHECKING:
+ actual_instance: Optional[Union[Checkpoint, QRCode]] = None
+ else:
+ actual_instance: Any = None
+ any_of_schemas: Set[str] = { "Checkpoint", "QRCode" }
+
+ model_config = {
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+ def __init__(self, *args, **kwargs) -> None:
+ if args:
+ if len(args) > 1:
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
+ if kwargs:
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
+ super().__init__(actual_instance=args[0])
+ else:
+ super().__init__(**kwargs)
+
+ @field_validator('actual_instance')
+ def actual_instance_must_validate_anyof(cls, v):
+ instance = RequestCheckpoint200Response.model_construct()
+ error_messages = []
+ # validate data type: Checkpoint
+ if not isinstance(v, Checkpoint):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `Checkpoint`")
+ else:
+ return v
+
+ # validate data type: QRCode
+ if not isinstance(v, QRCode):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `QRCode`")
+ else:
+ return v
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when setting the actual_instance in RequestCheckpoint200Response with anyOf schemas: Checkpoint, QRCode. Details: " + ", ".join(error_messages))
+ else:
+ return v
+
+ @classmethod
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
+ return cls.from_json(json.dumps(obj))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Returns the object represented by the json string"""
+ instance = cls.model_construct()
+ error_messages = []
+ # anyof_schema_1_validator: Optional[Checkpoint] = None
+ try:
+ instance.actual_instance = Checkpoint.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_2_validator: Optional[QRCode] = None
+ try:
+ instance.actual_instance = QRCode.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when deserializing the JSON string into RequestCheckpoint200Response with anyOf schemas: Checkpoint, QRCode. Details: " + ", ".join(error_messages))
+ else:
+ return instance
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the actual instance"""
+ if self.actual_instance is None:
+ return "null"
+
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
+ return self.actual_instance.to_json()
+ else:
+ return json.dumps(self.actual_instance)
+
+ def to_dict(self) -> Optional[Union[Dict[str, Any], Checkpoint, QRCode]]:
+ """Returns the dict representation of the actual instance"""
+ if self.actual_instance is None:
+ return None
+
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
+ return self.actual_instance.to_dict()
+ else:
+ return self.actual_instance
+
+ def to_str(self) -> str:
+ """Returns the string representation of the actual instance"""
+ return pprint.pformat(self.model_dump())
+
+
diff --git a/unipile/models/request_checkpoint_request.py b/unipile/models/request_checkpoint_request.py
new file mode 100644
index 000000000..69ec1a46f
--- /dev/null
+++ b/unipile/models/request_checkpoint_request.py
@@ -0,0 +1,108 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class RequestCheckpointRequest(BaseModel):
+ """
+ RequestCheckpointRequest
+ """ # noqa: E501
+ intent_id: Annotated[str, Field(strict=True)] = Field(description="The ID of the intent for which a checkpoint must be requested.")
+ challenge: Optional[StrictStr] = Field(default=None, description="The alternative verification method to switch to. Must be one of the `id`s listed in the CHALLENGE_SELECTION checkpoint.")
+ __properties: ClassVar[List[str]] = ["intent_id", "challenge"]
+
+ @field_validator('intent_id', mode="before")
+ def intent_id_validate_regular_expression(cls, value):
+ """Validates the regular expression"""
+ if isinstance(value, str) and not re.match(r"^acc_(.*)$", value):
+ raise ValueError(r"must validate the regular expression /^acc_(.*)$/")
+ return value
+
+ @field_validator('challenge')
+ def challenge_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ if value not in set(['EMAIL', 'SMS', 'WHATSAPP']):
+ raise ValueError("must be one of enum values ('EMAIL', 'SMS', 'WHATSAPP')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of RequestCheckpointRequest from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of RequestCheckpointRequest from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "intent_id": obj.get("intent_id"),
+ "challenge": obj.get("challenge")
+ })
+ return _obj
+
+
diff --git a/unipile/models/resend_checkpoint_request.py b/unipile/models/resend_checkpoint_request.py
new file mode 100644
index 000000000..88938003e
--- /dev/null
+++ b/unipile/models/resend_checkpoint_request.py
@@ -0,0 +1,96 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, field_validator
+from typing import Any, ClassVar, Dict, List
+from typing_extensions import Annotated
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class ResendCheckpointRequest(BaseModel):
+ """
+ ResendCheckpointRequest
+ """ # noqa: E501
+ intent_id: Annotated[str, Field(strict=True)] = Field(description="The ID of the intent for which a checkpoint must be resent.")
+ __properties: ClassVar[List[str]] = ["intent_id"]
+
+ @field_validator('intent_id', mode="before")
+ def intent_id_validate_regular_expression(cls, value):
+ """Validates the regular expression"""
+ if isinstance(value, str) and not re.match(r"^acc_(.*)$", value):
+ raise ValueError(r"must validate the regular expression /^acc_(.*)$/")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of ResendCheckpointRequest from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of ResendCheckpointRequest from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "intent_id": obj.get("intent_id")
+ })
+ return _obj
+
+
diff --git a/unipile/models/sales_navigator_saved_search.py b/unipile/models/sales_navigator_saved_search.py
index 46c3f04b0..92f6c0f61 100644
--- a/unipile/models/sales_navigator_saved_search.py
+++ b/unipile/models/sales_navigator_saved_search.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/save_recruiter_candidate_to_pipeline200_response.py b/unipile/models/save_recruiter_candidate_to_pipeline200_response.py
index 7734e48d1..12c927ddf 100644
--- a/unipile/models/save_recruiter_candidate_to_pipeline200_response.py
+++ b/unipile/models/save_recruiter_candidate_to_pipeline200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/save_recruiter_candidate_to_pipeline_request.py b/unipile/models/save_recruiter_candidate_to_pipeline_request.py
index 821d39d76..09f1926e3 100644
--- a/unipile/models/save_recruiter_candidate_to_pipeline_request.py
+++ b/unipile/models/save_recruiter_candidate_to_pipeline_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/save_sales_account_to_list200_response.py b/unipile/models/save_sales_account_to_list200_response.py
index 17659f027..6afe23a98 100644
--- a/unipile/models/save_sales_account_to_list200_response.py
+++ b/unipile/models/save_sales_account_to_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/save_sales_account_to_list_request.py b/unipile/models/save_sales_account_to_list_request.py
index d80b10826..e34ff8585 100644
--- a/unipile/models/save_sales_account_to_list_request.py
+++ b/unipile/models/save_sales_account_to_list_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/save_sales_lead_to_list200_response.py b/unipile/models/save_sales_lead_to_list200_response.py
index 741764a2a..c501e2f99 100644
--- a/unipile/models/save_sales_lead_to_list200_response.py
+++ b/unipile/models/save_sales_lead_to_list200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/save_sales_lead_to_list_request.py b/unipile/models/save_sales_lead_to_list_request.py
index 76c0a952a..6dfeaf992 100644
--- a/unipile/models/save_sales_lead_to_list_request.py
+++ b/unipile/models/save_sales_lead_to_list_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/scheduled_call_cancelled.py b/unipile/models/scheduled_call_cancelled.py
index 00974d99c..f5e50c788 100644
--- a/unipile/models/scheduled_call_cancelled.py
+++ b/unipile/models/scheduled_call_cancelled.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/scheduled_call_created.py b/unipile/models/scheduled_call_created.py
index afce3f315..e16fe6b58 100644
--- a/unipile/models/scheduled_call_created.py
+++ b/unipile/models/scheduled_call_created.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/scheduled_call_started.py b/unipile/models/scheduled_call_started.py
index 11445a2b9..79e896fe7 100644
--- a/unipile/models/scheduled_call_started.py
+++ b/unipile/models/scheduled_call_started.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/search_locations200_response_inner.py b/unipile/models/search_locations200_response_inner.py
index efd98b8ee..34a18b67f 100644
--- a/unipile/models/search_locations200_response_inner.py
+++ b/unipile/models/search_locations200_response_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/search_or_job_posting_sourced.py b/unipile/models/search_or_job_posting_sourced.py
index 5904f5af3..b75b2b45f 100644
--- a/unipile/models/search_or_job_posting_sourced.py
+++ b/unipile/models/search_or_job_posting_sourced.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,9 +17,8 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
-from typing import Any, ClassVar, Dict, List, Optional, Union
-from typing_extensions import Annotated
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -31,9 +30,8 @@ class SearchOrJobPostingSourced(BaseModel):
source: StrictStr
keywords: Optional[StrictStr] = Field(default=None, description="A keyword or group of keywords to filter results. Not applicable to JOB_FUNCTION, PROFILE_LANGUAGE and CUSTOM_FILTER.")
type: StrictStr = Field(description="The type of search parameter.")
- offset: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="An offset used for pagination. Not applicable to JOB_FUNCTION.")
- limit: Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]] = Field(default=10, description="Not applicable to JOB_FUNCTION.")
- __properties: ClassVar[List[str]] = ["source", "keywords", "type", "offset", "limit"]
+ additional_properties: Dict[str, Any] = {}
+ __properties: ClassVar[List[str]] = ["source", "keywords", "type"]
@field_validator('source')
def source_validate_enum(cls, value):
@@ -45,8 +43,8 @@ def source_validate_enum(cls, value):
@field_validator('type')
def type_validate_enum(cls, value):
"""Validates the enum"""
- if value not in set(['OCCUPATION', 'JOB_TITLE', 'JOB_FUNCTION', 'LOCATION', 'ZIPCODE', 'SKILL', 'COMPANY', 'SCHOOL', 'INDUSTRY', 'GROUP', 'PROJECT', 'CUSTOM_FILTER', 'PROFILE_LANGUAGE', 'SEAT', 'SAVED_SEARCH', 'DEGREE']):
- raise ValueError("must be one of enum values ('OCCUPATION', 'JOB_TITLE', 'JOB_FUNCTION', 'LOCATION', 'ZIPCODE', 'SKILL', 'COMPANY', 'SCHOOL', 'INDUSTRY', 'GROUP', 'PROJECT', 'CUSTOM_FILTER', 'PROFILE_LANGUAGE', 'SEAT', 'SAVED_SEARCH', 'DEGREE')")
+ if value not in set(['OCCUPATION', 'JOB_TITLE', 'JOB_FUNCTION', 'LOCATION', 'ZIPCODE', 'SKILL', 'COMPANY', 'SCHOOL', 'INDUSTRY', 'GROUP', 'PROJECT', 'CUSTOM_FILTER', 'PROFILE_LANGUAGE', 'SPOKEN_LANGUAGE', 'SEAT', 'SAVED_SEARCH', 'DEGREE']):
+ raise ValueError("must be one of enum values ('OCCUPATION', 'JOB_TITLE', 'JOB_FUNCTION', 'LOCATION', 'ZIPCODE', 'SKILL', 'COMPANY', 'SCHOOL', 'INDUSTRY', 'GROUP', 'PROJECT', 'CUSTOM_FILTER', 'PROFILE_LANGUAGE', 'SPOKEN_LANGUAGE', 'SEAT', 'SAVED_SEARCH', 'DEGREE')")
return value
model_config = ConfigDict(
@@ -79,8 +77,10 @@ def to_dict(self) -> Dict[str, Any]:
* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
+ * Fields in `self.additional_properties` are added to the output dict.
"""
excluded_fields: Set[str] = set([
+ "additional_properties",
])
_dict = self.model_dump(
@@ -88,6 +88,11 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # puts key-value pairs in additional_properties in the top level
+ if self.additional_properties is not None:
+ for _key, _value in self.additional_properties.items():
+ _dict[_key] = _value
+
return _dict
@classmethod
@@ -102,10 +107,13 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"source": obj.get("source"),
"keywords": obj.get("keywords"),
- "type": obj.get("type"),
- "offset": obj.get("offset"),
- "limit": obj.get("limit") if obj.get("limit") is not None else 10
+ "type": obj.get("type")
})
+ # store additional fields in additional_properties
+ for _key in obj.keys():
+ if _key not in cls.__properties:
+ _obj.additional_properties[_key] = obj.get(_key)
+
return _obj
diff --git a/unipile/models/search_parameters_list.py b/unipile/models/search_parameters_list.py
new file mode 100644
index 000000000..e1ab387d5
--- /dev/null
+++ b/unipile/models/search_parameters_list.py
@@ -0,0 +1,99 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from unipile.models.search_parameters_list_data_inner import SearchParametersListDataInner
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class SearchParametersList(BaseModel):
+ """
+ SearchParametersList
+ """ # noqa: E501
+ data: List[SearchParametersListDataInner]
+ total_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total number of results if supported by the provider.")
+ next_cursor: Optional[StrictStr] = Field(default=None, description="Cursor to get the next page of results if supported. Else use `offset`.")
+ __properties: ClassVar[List[str]] = ["data", "total_count", "next_cursor"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of SearchParametersList from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in data (list)
+ _items = []
+ if self.data:
+ for _item_data in self.data:
+ _items.append(_item_data.to_dict() if _item_data is not None else None)
+ _dict['data'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of SearchParametersList from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "data": [SearchParametersListDataInner.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
+ "total_count": obj.get("total_count"),
+ "next_cursor": obj.get("next_cursor")
+ })
+ return _obj
+
+
diff --git a/unipile/models/search_parameters_list_data_inner.py b/unipile/models/search_parameters_list_data_inner.py
new file mode 100644
index 000000000..cae36b01a
--- /dev/null
+++ b/unipile/models/search_parameters_list_data_inner.py
@@ -0,0 +1,105 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.search_parameters_list_data_inner_metadata import SearchParametersListDataInnerMetadata
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class SearchParametersListDataInner(BaseModel):
+ """
+ SearchParametersListDataInner
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The identifier of the search parameter.")
+ name: StrictStr = Field(description="The display name of the search parameter.")
+ metadata: Optional[SearchParametersListDataInnerMetadata] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "name", "metadata"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['SearchParameter']):
+ raise ValueError("must be one of enum values ('SearchParameter')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of SearchParametersListDataInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of metadata
+ if self.metadata:
+ _dict['metadata'] = self.metadata.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of SearchParametersListDataInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "name": obj.get("name"),
+ "metadata": SearchParametersListDataInnerMetadata.from_dict(obj["metadata"]) if obj.get("metadata") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/search_parameters_list_data_inner_metadata.py b/unipile/models/search_parameters_list_data_inner_metadata.py
new file mode 100644
index 000000000..00c0d8b8c
--- /dev/null
+++ b/unipile/models/search_parameters_list_data_inner_metadata.py
@@ -0,0 +1,134 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+from inspect import getfullargspec
+import json
+import pprint
+import re # noqa: F401
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
+from typing import Optional
+from unipile.models.recruiter_saved_search import RecruiterSavedSearch
+from unipile.models.sales_navigator_saved_search import SalesNavigatorSavedSearch
+from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
+from typing_extensions import Literal, Self
+from pydantic import Field
+
+SEARCHPARAMETERSLISTDATAINNERMETADATA_ANY_OF_SCHEMAS = ["RecruiterSavedSearch", "SalesNavigatorSavedSearch"]
+
+class SearchParametersListDataInnerMetadata(BaseModel):
+ """
+ Metadata about the current parameter.
+ """
+
+ # data type: SalesNavigatorSavedSearch
+ anyof_schema_1_validator: Optional[SalesNavigatorSavedSearch] = None
+ # data type: RecruiterSavedSearch
+ anyof_schema_2_validator: Optional[RecruiterSavedSearch] = None
+ if TYPE_CHECKING:
+ actual_instance: Optional[Union[RecruiterSavedSearch, SalesNavigatorSavedSearch]] = None
+ else:
+ actual_instance: Any = None
+ any_of_schemas: Set[str] = { "RecruiterSavedSearch", "SalesNavigatorSavedSearch" }
+
+ model_config = {
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+ def __init__(self, *args, **kwargs) -> None:
+ if args:
+ if len(args) > 1:
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
+ if kwargs:
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
+ super().__init__(actual_instance=args[0])
+ else:
+ super().__init__(**kwargs)
+
+ @field_validator('actual_instance')
+ def actual_instance_must_validate_anyof(cls, v):
+ instance = SearchParametersListDataInnerMetadata.model_construct()
+ error_messages = []
+ # validate data type: SalesNavigatorSavedSearch
+ if not isinstance(v, SalesNavigatorSavedSearch):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `SalesNavigatorSavedSearch`")
+ else:
+ return v
+
+ # validate data type: RecruiterSavedSearch
+ if not isinstance(v, RecruiterSavedSearch):
+ error_messages.append(f"Error! Input type `{type(v)}` is not `RecruiterSavedSearch`")
+ else:
+ return v
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when setting the actual_instance in SearchParametersListDataInnerMetadata with anyOf schemas: RecruiterSavedSearch, SalesNavigatorSavedSearch. Details: " + ", ".join(error_messages))
+ else:
+ return v
+
+ @classmethod
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
+ return cls.from_json(json.dumps(obj))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Returns the object represented by the json string"""
+ instance = cls.model_construct()
+ error_messages = []
+ # anyof_schema_1_validator: Optional[SalesNavigatorSavedSearch] = None
+ try:
+ instance.actual_instance = SalesNavigatorSavedSearch.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+ # anyof_schema_2_validator: Optional[RecruiterSavedSearch] = None
+ try:
+ instance.actual_instance = RecruiterSavedSearch.from_json(json_str)
+ return instance
+ except (ValidationError, ValueError) as e:
+ error_messages.append(str(e))
+
+ if error_messages:
+ # no match
+ raise ValueError("No match found when deserializing the JSON string into SearchParametersListDataInnerMetadata with anyOf schemas: RecruiterSavedSearch, SalesNavigatorSavedSearch. Details: " + ", ".join(error_messages))
+ else:
+ return instance
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the actual instance"""
+ if self.actual_instance is None:
+ return "null"
+
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
+ return self.actual_instance.to_json()
+ else:
+ return json.dumps(self.actual_instance)
+
+ def to_dict(self) -> Optional[Union[Dict[str, Any], RecruiterSavedSearch, SalesNavigatorSavedSearch]]:
+ """Returns the dict representation of the actual instance"""
+ if self.actual_instance is None:
+ return None
+
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
+ return self.actual_instance.to_dict()
+ else:
+ return self.actual_instance
+
+ def to_str(self) -> str:
+ """Returns the string representation of the actual instance"""
+ return pprint.pformat(self.model_dump())
+
+
diff --git a/unipile/models/select_contract200_response.py b/unipile/models/select_contract200_response.py
index 43ca5b0e9..32838f9c1 100644
--- a/unipile/models/select_contract200_response.py
+++ b/unipile/models/select_contract200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/send_email200_response.py b/unipile/models/send_email200_response.py
index f727faec0..50ad3b630 100644
--- a/unipile/models/send_email200_response.py
+++ b/unipile/models/send_email200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -18,7 +18,7 @@
import json
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
-from typing import Any, ClassVar, Dict, List
+from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,7 @@ class SendEmail200Response(BaseModel):
""" # noqa: E501
object: StrictStr
id: StrictStr = Field(description="The ID of the email.")
- message_id: StrictStr = Field(description="The Message-ID header value of the email. Use `id` in Unipile requests.")
+ message_id: Optional[StrictStr] = Field(default=None, description="The Message-ID header value of the email. Use `id` in Unipile requests. May be absent when the header could not be retrieved after sending (the email has been sent anyway).")
__properties: ClassVar[List[str]] = ["object", "id", "message_id"]
@field_validator('object')
diff --git a/unipile/models/send_email_request.py b/unipile/models/send_email_request.py
index 78628dcfb..15439e624 100644
--- a/unipile/models/send_email_request.py
+++ b/unipile/models/send_email_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from unipile.models.get_emails_list200_response_data_inner_from_inner import GetEmailsList200ResponseDataInnerFromInner
from unipile.models.send_email_request_attachments_inner import SendEmailRequestAttachmentsInner
from unipile.models.send_email_request_custom_headers_inner import SendEmailRequestCustomHeadersInner
@@ -38,12 +39,13 @@ class SendEmailRequest(BaseModel):
to: List[GetEmailsList200ResponseDataInnerFromInner] = Field(description="List of attendees to set in `to` header.")
cc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="List of attendees to set in `cc` header.")
bcc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="List of attendees to set in `bcc` header.")
- reply_to: Optional[StrictStr] = Field(default=None, description="The ID of the email message that you're replying to. For Gmail and Outlook, this is the provider ID for the email message that you're replying to. For IMAP Send, this is the RFC822 Message-ID header of the email message that you're replying to.")
+ reply_to: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="List of attendees to set in the standard `Reply-To` header. Recipients answering the email will reply to these addresses instead of `from`. To reply inside an existing conversation, use `reply_to_message_id` instead.")
+ reply_to_message_id: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The ID of the email message that you're replying to. For Gmail and Outlook, this is the provider ID for the email message that you're replying to. For IMAP Send, this is the RFC822 Message-ID header of the email message that you're replying to.")
attachments: Optional[List[SendEmailRequestAttachmentsInner]] = Field(default=None, description="The list of file attachments to the email.")
- custom_headers: Optional[List[SendEmailRequestCustomHeadersInner]] = Field(default=None, description="An array of custom headers to add to the email.")
+ custom_headers: Optional[List[SendEmailRequestCustomHeadersInner]] = Field(default=None, description="An array of custom headers to add to the email. Each header overrides any existing header with the same name (case-insensitive), including headers set by other fields such as `to`, `cc`, `bcc`, `from`, `subject`, or `reply_to`. A `Reply-To` custom header therefore takes precedence over the `reply_to` field and its value is used verbatim.")
tracking_options: Optional[SendEmailRequestTrackingOptions] = None
additional_properties: Dict[str, Any] = {}
- __properties: ClassVar[List[str]] = ["html", "plain_text", "subject", "from", "to", "cc", "bcc", "reply_to", "attachments", "custom_headers", "tracking_options"]
+ __properties: ClassVar[List[str]] = ["html", "plain_text", "subject", "from", "to", "cc", "bcc", "reply_to", "reply_to_message_id", "attachments", "custom_headers", "tracking_options"]
model_config = ConfigDict(
validate_by_name=True,
@@ -93,36 +95,37 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.to:
for _item_to in self.to:
- if _item_to:
- _items.append(_item_to.to_dict())
+ _items.append(_item_to.to_dict() if _item_to is not None else None)
_dict['to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in cc (list)
_items = []
if self.cc:
for _item_cc in self.cc:
- if _item_cc:
- _items.append(_item_cc.to_dict())
+ _items.append(_item_cc.to_dict() if _item_cc is not None else None)
_dict['cc'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in bcc (list)
_items = []
if self.bcc:
for _item_bcc in self.bcc:
- if _item_bcc:
- _items.append(_item_bcc.to_dict())
+ _items.append(_item_bcc.to_dict() if _item_bcc is not None else None)
_dict['bcc'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in reply_to (list)
+ _items = []
+ if self.reply_to:
+ for _item_reply_to in self.reply_to:
+ _items.append(_item_reply_to.to_dict() if _item_reply_to is not None else None)
+ _dict['reply_to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in custom_headers (list)
_items = []
if self.custom_headers:
for _item_custom_headers in self.custom_headers:
- if _item_custom_headers:
- _items.append(_item_custom_headers.to_dict())
+ _items.append(_item_custom_headers.to_dict() if _item_custom_headers is not None else None)
_dict['custom_headers'] = _items
# override the default output from pydantic by calling `to_dict()` of tracking_options
if self.tracking_options:
@@ -151,7 +154,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"to": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["to"]] if obj.get("to") is not None else None,
"cc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["cc"]] if obj.get("cc") is not None else None,
"bcc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["bcc"]] if obj.get("bcc") is not None else None,
- "reply_to": obj.get("reply_to"),
+ "reply_to": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["reply_to"]] if obj.get("reply_to") is not None else None,
+ "reply_to_message_id": obj.get("reply_to_message_id"),
"attachments": [SendEmailRequestAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"custom_headers": [SendEmailRequestCustomHeadersInner.from_dict(_item) for _item in obj["custom_headers"]] if obj.get("custom_headers") is not None else None,
"tracking_options": SendEmailRequestTrackingOptions.from_dict(obj["tracking_options"]) if obj.get("tracking_options") is not None else None
diff --git a/unipile/models/send_email_request_attachments_inner.py b/unipile/models/send_email_request_attachments_inner.py
index 5c7cc0fe8..23e2c713e 100644
--- a/unipile/models/send_email_request_attachments_inner.py
+++ b/unipile/models/send_email_request_attachments_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/send_email_request_custom_headers_inner.py b/unipile/models/send_email_request_custom_headers_inner.py
index 4324d3b5c..e8cafa84f 100644
--- a/unipile/models/send_email_request_custom_headers_inner.py
+++ b/unipile/models/send_email_request_custom_headers_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class SendEmailRequestCustomHeadersInner(BaseModel):
"""
SendEmailRequestCustomHeadersInner
""" # noqa: E501
- name: Optional[StrictStr] = Field(description="The ID of the Company.")
- value: Optional[StrictStr] = Field(description="The ID of the Company.")
+ name: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ value: Optional[StrictStr] = Field(description="The text content of the message, when available.")
__properties: ClassVar[List[str]] = ["name", "value"]
model_config = ConfigDict(
diff --git a/unipile/models/send_email_request_tracking_options.py b/unipile/models/send_email_request_tracking_options.py
index 5ae7b7f31..57824188c 100644
--- a/unipile/models/send_email_request_tracking_options.py
+++ b/unipile/models/send_email_request_tracking_options.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,10 +28,11 @@ class SendEmailRequestTrackingOptions(BaseModel):
Configuration of tracking for this email.
""" # noqa: E501
opens: Optional[StrictBool] = Field(default=False, description="If `true`, trigger webhooks listening to `tracking.open` when the email is opened by the recipient.")
- links: Optional[StrictBool] = Field(default=False, description="If `true`, trigger webhooks listening to `tracking.link` when the recipient click on a link in the email content.")
+ clicks: Optional[StrictBool] = Field(default=False, description="If `true`, trigger webhooks listening to `tracking.click` when the recipient click on a link in the email content.")
label: Optional[StrictStr] = Field(default=None, description="A label to be sent in the tracking event. This can help you to identify the sent email.")
- custom_domain: Optional[StrictStr] = Field(default=None, description="Your custom domain pointing to https://tracking.unipile.com to handle links tracking.")
- __properties: ClassVar[List[str]] = ["opens", "links", "label", "custom_domain"]
+ custom_domain: Optional[StrictStr] = Field(default=None, description="Your custom domain pointing to https://s2.lnk-fllw.com to handle links tracking.")
+ additional_properties: Dict[str, Any] = {}
+ __properties: ClassVar[List[str]] = ["opens", "clicks", "label", "custom_domain"]
model_config = ConfigDict(
validate_by_name=True,
@@ -63,8 +64,10 @@ def to_dict(self) -> Dict[str, Any]:
* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
+ * Fields in `self.additional_properties` are added to the output dict.
"""
excluded_fields: Set[str] = set([
+ "additional_properties",
])
_dict = self.model_dump(
@@ -72,6 +75,11 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
+ # puts key-value pairs in additional_properties in the top level
+ if self.additional_properties is not None:
+ for _key, _value in self.additional_properties.items():
+ _dict[_key] = _value
+
return _dict
@classmethod
@@ -85,10 +93,15 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"opens": obj.get("opens") if obj.get("opens") is not None else False,
- "links": obj.get("links") if obj.get("links") is not None else False,
+ "clicks": obj.get("clicks") if obj.get("clicks") is not None else False,
"label": obj.get("label"),
"custom_domain": obj.get("custom_domain")
})
+ # store additional fields in additional_properties
+ for _key in obj.keys():
+ if _key not in cls.__properties:
+ _obj.additional_properties[_key] = obj.get(_key)
+
return _obj
diff --git a/unipile/models/send_message200_response.py b/unipile/models/send_message200_response.py
index 23573562d..2722a1b9e 100644
--- a/unipile/models/send_message200_response.py
+++ b/unipile/models/send_message200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/send_message200_response_message_id.py b/unipile/models/send_message200_response_message_id.py
index 5166b2cb3..81425db1e 100644
--- a/unipile/models/send_message200_response_message_id.py
+++ b/unipile/models/send_message200_response_message_id.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,7 +31,7 @@ class SendMessage200ResponseMessageId(BaseModel):
"""
# data type: str
- anyof_schema_1_validator: Optional[StrictStr] = Field(default=None, description="The ID of the Company.")
+ anyof_schema_1_validator: Optional[StrictStr] = Field(default=None, description="The text content of the message, when available.")
# data type: List[str]
anyof_schema_2_validator: Optional[List[StrictStr]] = None
if TYPE_CHECKING:
diff --git a/unipile/models/send_message_request.py b/unipile/models/send_message_request.py
index 4fd6da534..3ef8eec45 100644
--- a/unipile/models/send_message_request.py
+++ b/unipile/models/send_message_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from unipile.models.message_file import MessageFile
from typing import Optional, Set
from typing_extensions import Self
@@ -29,7 +30,7 @@ class SendMessageRequest(BaseModel):
SendMessageRequest
""" # noqa: E501
text: StrictStr = Field(description="The textual content of first message to be sent. It's recommended not to use HTML or Markdown.")
- quote_id: Optional[StrictStr] = Field(default=None, description="The ID of the Message to quote / reply to.")
+ quote_id: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The ID of the Message to quote / reply to.")
attachments: Optional[List[MessageFile]] = Field(default=None, description="The list of file attachments to the message to be sent in the chat.")
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["text", "quote_id", "attachments"]
@@ -79,8 +80,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# puts key-value pairs in additional_properties in the top level
if self.additional_properties is not None:
diff --git a/unipile/models/set_composing_status200_response.py b/unipile/models/set_composing_status200_response.py
index 68264e6d2..0cae6dc0c 100644
--- a/unipile/models/set_composing_status200_response.py
+++ b/unipile/models/set_composing_status200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/set_presence200_response.py b/unipile/models/set_presence200_response.py
index bf6b2ab83..af322dda0 100644
--- a/unipile/models/set_presence200_response.py
+++ b/unipile/models/set_presence200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/set_presence_request.py b/unipile/models/set_presence_request.py
index e87cd21c7..6ed7a896f 100644
--- a/unipile/models/set_presence_request.py
+++ b/unipile/models/set_presence_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/smtp_connections_parameters.py b/unipile/models/smtp_connections_parameters.py
index 37e7e0fca..b432248aa 100644
--- a/unipile/models/smtp_connections_parameters.py
+++ b/unipile/models/smtp_connections_parameters.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/solve_checkpoint200_response.py b/unipile/models/solve_checkpoint200_response.py
index 501e0cf40..0ed80e1e5 100644
--- a/unipile/models/solve_checkpoint200_response.py
+++ b/unipile/models/solve_checkpoint200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/solve_checkpoint_request.py b/unipile/models/solve_checkpoint_request.py
index d702ec86b..99436eb30 100644
--- a/unipile/models/solve_checkpoint_request.py
+++ b/unipile/models/solve_checkpoint_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -29,16 +29,13 @@ class SolveCheckpointRequest(BaseModel):
SolveCheckpointRequest
""" # noqa: E501
code: StrictStr = Field(description="The code to solve the checkpoint. Check the AuthenticationCheckpoint response you have already obtained to see what type of code is expected.")
- intent_id: Annotated[str, Field(strict=True)] = Field(description="The ID of the intent to solve.")
+ intent_id: Annotated[str, Field(strict=True)] = Field(description="The ID of the intent for which a checkpoint must be solved.")
__properties: ClassVar[List[str]] = ["code", "intent_id"]
- @field_validator('intent_id')
+ @field_validator('intent_id', mode="before")
def intent_id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^acc_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^acc_(.*)$", value):
raise ValueError(r"must validate the regular expression /^acc_(.*)$/")
return value
diff --git a/unipile/models/start_auth_intent_request.py b/unipile/models/start_auth_intent_request.py
index 339e17a33..963689ee7 100644
--- a/unipile/models/start_auth_intent_request.py
+++ b/unipile/models/start_auth_intent_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -33,13 +33,12 @@ class StartAuthIntentRequest(BaseModel):
provider: StrictStr = Field(description="The provider to authenticate with.")
credentials: Instagram1Credentials
config: Optional[Instagram1Config] = None
- user_agent: Optional[StrictStr] = Field(default=None, description="If encountering disconnection issues, enter the exact user agent of the browser on which the account has been connected before the `li_at` retrieval. You can easily get it in the browser's console with this command : `console.log(navigator.userAgent)`")
user_timezone: Optional[StrictStr] = Field(default=None, description="The time zone of the current user can be used on a few specific features (e.g. scheduled actions). Setting it at authentication avoids having to do it on a case-by-case basis later on.")
oauth_callback_redirect_uri: StrictStr = Field(description="The URL to redirect to after the user has authenticated using the Provider's oAuth screen.")
login_hint: Optional[StrictStr] = Field(default=None, description="Uses the hint to simplify the login flow either by prefilling the email / username / phone number field in the authentication form.")
state: Optional[StrictStr] = Field(default=None, description="State data sent in the `account.add` / `account.reconnect` webhook payload after the authentication process.")
- account_id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The ID of the Account to re-authenticate. Must be a disconnected account, and `provider` must match the provider of the account. If not specified, will link as new account.")
- __properties: ClassVar[List[str]] = ["provider", "credentials", "config", "user_agent", "user_timezone", "oauth_callback_redirect_uri", "login_hint", "state", "account_id"]
+ account_id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The ID of the Account to re-authenticate or reconfigure. The account may be running, partially connected, or disconnected, and `provider` must match its provider. Reconnecting always refreshes the entire account and restarts all configured products. If not specified, a new account is linked.")
+ __properties: ClassVar[List[str]] = ["provider", "credentials", "config", "user_timezone", "oauth_callback_redirect_uri", "login_hint", "state", "account_id"]
@field_validator('provider')
def provider_validate_enum(cls, value):
@@ -48,16 +47,13 @@ def provider_validate_enum(cls, value):
raise ValueError("must be one of enum values ('instagram')")
return value
- @field_validator('account_id')
+ @field_validator('account_id', mode="before")
def account_id_validate_regular_expression(cls, value):
"""Validates the regular expression"""
if value is None:
return value
- if not isinstance(value, str):
- value = str(value)
-
- if not re.match(r"^acc_(.*)$", value):
+ if isinstance(value, str) and not re.match(r"^acc_(.*)$", value):
raise ValueError(r"must validate the regular expression /^acc_(.*)$/")
return value
@@ -121,7 +117,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"provider": obj.get("provider"),
"credentials": Instagram1Credentials.from_dict(obj["credentials"]) if obj.get("credentials") is not None else None,
"config": Instagram1Config.from_dict(obj["config"]) if obj.get("config") is not None else None,
- "user_agent": obj.get("user_agent"),
"user_timezone": obj.get("user_timezone"),
"oauth_callback_redirect_uri": obj.get("oauth_callback_redirect_uri"),
"login_hint": obj.get("login_hint"),
diff --git a/unipile/models/start_chat200_response.py b/unipile/models/start_chat200_response.py
index 922ddc491..cc0909b16 100644
--- a/unipile/models/start_chat200_response.py
+++ b/unipile/models/start_chat200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/start_chat200_response_message_id.py b/unipile/models/start_chat200_response_message_id.py
index 613d71aa7..40ef88a54 100644
--- a/unipile/models/start_chat200_response_message_id.py
+++ b/unipile/models/start_chat200_response_message_id.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,7 +31,7 @@ class StartChat200ResponseMessageId(BaseModel):
"""
# data type: str
- anyof_schema_1_validator: Optional[StrictStr] = Field(default=None, description="The ID of the Company.")
+ anyof_schema_1_validator: Optional[StrictStr] = Field(default=None, description="The text content of the message, when available.")
# data type: List[Optional[str]]
anyof_schema_2_validator: Optional[List[Optional[StrictStr]]] = None
if TYPE_CHECKING:
diff --git a/unipile/models/start_chat_request.py b/unipile/models/start_chat_request.py
index a31bd0bfb..6e11faf14 100644
--- a/unipile/models/start_chat_request.py
+++ b/unipile/models/start_chat_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -83,8 +83,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of specifics
if self.specifics:
diff --git a/unipile/models/start_chat_request_specifics.py b/unipile/models/start_chat_request_specifics.py
index ca2acc983..1c334a3c2 100644
--- a/unipile/models/start_chat_request_specifics.py
+++ b/unipile/models/start_chat_request_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/start_chat_request_specifics_linkedin.py b/unipile/models/start_chat_request_specifics_linkedin.py
index f5f746208..8a1ad4d1d 100644
--- a/unipile/models/start_chat_request_specifics_linkedin.py
+++ b/unipile/models/start_chat_request_specifics_linkedin.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/start_chat_request_users_ids.py b/unipile/models/start_chat_request_users_ids.py
index b41692b8c..59a38c588 100644
--- a/unipile/models/start_chat_request_users_ids.py
+++ b/unipile/models/start_chat_request_users_ids.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,26 +19,27 @@
import re # noqa: F401
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
from typing import List, Optional
+from typing_extensions import Annotated
from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
from typing_extensions import Literal, Self
from pydantic import Field
-STARTCHATREQUESTUSERSIDS_ANY_OF_SCHEMAS = ["List[Optional[str]]", "str"]
+STARTCHATREQUESTUSERSIDS_ANY_OF_SCHEMAS = ["List[str]", "str"]
class StartChatRequestUsersIds(BaseModel):
"""
Participants of the chat.
"""
- # data type: List[Optional[str]]
- anyof_schema_1_validator: Optional[List[Optional[StrictStr]]] = Field(default=None, description="An array of user IDs to start a `group` chat.")
+ # data type: List[str]
+ anyof_schema_1_validator: Optional[Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=1)]] = Field(default=None, description="An array of user IDs to start a `group` chat.")
# data type: str
- anyof_schema_2_validator: Optional[StrictStr] = Field(default=None, description="A single user ID to start a `1to1` chat.")
+ anyof_schema_2_validator: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A single user ID to start a `1to1` chat.")
if TYPE_CHECKING:
- actual_instance: Optional[Union[List[Optional[str]], str]] = None
+ actual_instance: Optional[Union[List[str], str]] = None
else:
actual_instance: Any = None
- any_of_schemas: Set[str] = { "List[Optional[str]]", "str" }
+ any_of_schemas: Set[str] = { "List[str]", "str" }
model_config = {
"validate_assignment": True,
@@ -59,7 +60,7 @@ def __init__(self, *args, **kwargs) -> None:
def actual_instance_must_validate_anyof(cls, v):
instance = StartChatRequestUsersIds.model_construct()
error_messages = []
- # validate data type: List[Optional[str]]
+ # validate data type: List[str]
try:
instance.anyof_schema_1_validator = v
return v
@@ -73,7 +74,7 @@ def actual_instance_must_validate_anyof(cls, v):
error_messages.append(str(e))
if error_messages:
# no match
- raise ValueError("No match found when setting the actual_instance in StartChatRequestUsersIds with anyOf schemas: List[Optional[str]], str. Details: " + ", ".join(error_messages))
+ raise ValueError("No match found when setting the actual_instance in StartChatRequestUsersIds with anyOf schemas: List[str], str. Details: " + ", ".join(error_messages))
else:
return v
@@ -86,7 +87,7 @@ def from_json(cls, json_str: str) -> Self:
"""Returns the object represented by the json string"""
instance = cls.model_construct()
error_messages = []
- # deserialize data into List[Optional[str]]
+ # deserialize data into List[str]
try:
# validation
instance.anyof_schema_1_validator = json.loads(json_str)
@@ -107,7 +108,7 @@ def from_json(cls, json_str: str) -> Self:
if error_messages:
# no match
- raise ValueError("No match found when deserializing the JSON string into StartChatRequestUsersIds with anyOf schemas: List[Optional[str]], str. Details: " + ", ".join(error_messages))
+ raise ValueError("No match found when deserializing the JSON string into StartChatRequestUsersIds with anyOf schemas: List[str], str. Details: " + ", ".join(error_messages))
else:
return instance
@@ -121,7 +122,7 @@ def to_json(self) -> str:
else:
return json.dumps(self.actual_instance)
- def to_dict(self) -> Optional[Union[Dict[str, Any], List[Optional[str]], str]]:
+ def to_dict(self) -> Optional[Union[Dict[str, Any], List[str], str]]:
"""Returns the dict representation of the actual instance"""
if self.actual_instance is None:
return None
diff --git a/unipile/models/submit_classic_company_otp_code200_response.py b/unipile/models/submit_classic_company_otp_code200_response.py
index 8e5f32eea..732954d0e 100644
--- a/unipile/models/submit_classic_company_otp_code200_response.py
+++ b/unipile/models/submit_classic_company_otp_code200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/submit_classic_company_otp_code_request.py b/unipile/models/submit_classic_company_otp_code_request.py
index c943dffdb..98e652dfd 100644
--- a/unipile/models/submit_classic_company_otp_code_request.py
+++ b/unipile/models/submit_classic_company_otp_code_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/telegram.py b/unipile/models/telegram.py
index 3edd9a649..37023e00d 100644
--- a/unipile/models/telegram.py
+++ b/unipile/models/telegram.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/telegram_config.py b/unipile/models/telegram_config.py
index 7b25100dd..326a97aba 100644
--- a/unipile/models/telegram_config.py
+++ b/unipile/models/telegram_config.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/telegram_credentials.py b/unipile/models/telegram_credentials.py
index c385324d8..79fd4240d 100644
--- a/unipile/models/telegram_credentials.py
+++ b/unipile/models/telegram_credentials.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/trash_email200_response.py b/unipile/models/trash_email200_response.py
index 0819be118..a49611cb8 100644
--- a/unipile/models/trash_email200_response.py
+++ b/unipile/models/trash_email200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/two_factor_authentication.py b/unipile/models/two_factor_authentication.py
index 4fdced2a6..3ff900d5a 100644
--- a/unipile/models/two_factor_authentication.py
+++ b/unipile/models/two_factor_authentication.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/unfollow_user200_response.py b/unipile/models/unfollow_user200_response.py
index e5c49ceaf..3ee7b6bbe 100644
--- a/unipile/models/unfollow_user200_response.py
+++ b/unipile/models/unfollow_user200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/unhandled.py b/unipile/models/unhandled.py
index b9059e386..4f8ed9242 100644
--- a/unipile/models/unhandled.py
+++ b/unipile/models/unhandled.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,7 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List
-from unipile.models.linked_in_projects_inner_contributors_inner import LinkedInProjectsInnerContributorsInner
+from unipile.models.linked_in1_interests_top_voices_inner import LinkedIn1InterestsTopVoicesInner
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
@@ -29,7 +29,7 @@ class Unhandled(BaseModel):
Unhandled
""" # noqa: E501
last_updated_at: StrictStr = Field(description="The time at which the activity was updated. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
- last_updated_by: LinkedInProjectsInnerContributorsInner
+ last_updated_by: LinkedIn1InterestsTopVoicesInner
event: StrictStr = Field(description="The type of event.")
__properties: ClassVar[List[str]] = ["last_updated_at", "last_updated_by", "event"]
@@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"last_updated_at": obj.get("last_updated_at"),
- "last_updated_by": LinkedInProjectsInnerContributorsInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
+ "last_updated_by": LinkedIn1InterestsTopVoicesInner.from_dict(obj["last_updated_by"]) if obj.get("last_updated_by") is not None else None,
"event": obj.get("event")
})
return _obj
diff --git a/unipile/models/unread_email200_response.py b/unipile/models/unread_email200_response.py
index 5a34de233..7f60b8512 100644
--- a/unipile/models/unread_email200_response.py
+++ b/unipile/models/unread_email200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_account_request.py b/unipile/models/update_account_request.py
index 2930054ca..a54f76df3 100644
--- a/unipile/models/update_account_request.py
+++ b/unipile/models/update_account_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,10 +28,11 @@ class UpdateAccountRequest(BaseModel):
"""
UpdateAccountRequest
""" # noqa: E501
- metadata: Dict[str, StrictStr] = Field(description="Metadata of the account.")
+ metadata: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="Custom key-value data for the account. Replaces the account `metadata.custom_data` field; other metadata fields are not modified. Any fields not provided will be removed.")
+ auto_proxy_country: Optional[StrictStr] = Field(default=None, description="The country to use for Automatic Proxy Protection.")
proxy: Optional[CustomProxy1] = None
additional_properties: Dict[str, Any] = {}
- __properties: ClassVar[List[str]] = ["metadata", "proxy"]
+ __properties: ClassVar[List[str]] = ["metadata", "auto_proxy_country", "proxy"]
model_config = ConfigDict(
validate_by_name=True,
@@ -100,6 +101,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"metadata": obj.get("metadata"),
+ "auto_proxy_country": obj.get("auto_proxy_country"),
"proxy": CustomProxy1.from_dict(obj["proxy"]) if obj.get("proxy") is not None else None
})
# store additional fields in additional_properties
diff --git a/unipile/models/update_calendar_event_request.py b/unipile/models/update_calendar_event_request.py
index 1fd21ff8b..d599ab202 100644
--- a/unipile/models/update_calendar_event_request.py
+++ b/unipile/models/update_calendar_event_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -44,8 +44,9 @@ class UpdateCalendarEventRequest(BaseModel):
start: Optional[GetCalendarEventList200ResponseDataInnerStart] = None
end: Optional[GetCalendarEventList200ResponseDataInnerEnd] = None
notify: Optional[StrictStr] = Field(default='all', description="Only available for google, guests to send updates to: - `all`: Notify all guests. - `externalOnly`: Notify only guests not on the calendar's domain. - `none`: Do not notify any guests.")
+ timezone: Optional[StrictStr] = Field(default=None, description="The IANA timezone the event is expressed in (e.g. `Europe/Paris`). Defaults to UTC when omitted.")
additional_properties: Dict[str, Any] = {}
- __properties: ClassVar[List[str]] = ["title", "body", "location", "background_color", "transparency", "visibility", "conference", "is_attendees_list_hidden", "attendees", "recurrence", "start", "end", "notify"]
+ __properties: ClassVar[List[str]] = ["title", "body", "location", "background_color", "transparency", "visibility", "conference", "is_attendees_list_hidden", "attendees", "recurrence", "start", "end", "notify", "timezone"]
@field_validator('transparency')
def transparency_validate_enum(cls, value):
@@ -125,8 +126,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.attendees:
for _item_attendees in self.attendees:
- if _item_attendees:
- _items.append(_item_attendees.to_dict())
+ _items.append(_item_attendees.to_dict() if _item_attendees is not None else None)
_dict['attendees'] = _items
# override the default output from pydantic by calling `to_dict()` of start
if self.start:
@@ -163,7 +163,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"recurrence": obj.get("recurrence"),
"start": GetCalendarEventList200ResponseDataInnerStart.from_dict(obj["start"]) if obj.get("start") is not None else None,
"end": GetCalendarEventList200ResponseDataInnerEnd.from_dict(obj["end"]) if obj.get("end") is not None else None,
- "notify": obj.get("notify") if obj.get("notify") is not None else 'all'
+ "notify": obj.get("notify") if obj.get("notify") is not None else 'all',
+ "timezone": obj.get("timezone")
})
# store additional fields in additional_properties
for _key in obj.keys():
diff --git a/unipile/models/update_calendar_request.py b/unipile/models/update_calendar_request.py
index 539e8485a..de6b92d7a 100644
--- a/unipile/models/update_calendar_request.py
+++ b/unipile/models/update_calendar_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,8 +30,9 @@ class UpdateCalendarRequest(BaseModel):
name: Optional[StrictStr] = Field(default=None, description="Name of the new calendar")
description: Optional[StrictStr] = Field(default=None, description="Description of the calendar")
background_color: Optional[StrictStr] = Field(default=None, description="Background color of the calendar in hexadecimal format.")
+ timezone: Optional[StrictStr] = Field(default=None, description="Timezone used in this calendar (IANA, e.g. `Europe/Paris`).")
additional_properties: Dict[str, Any] = {}
- __properties: ClassVar[List[str]] = ["name", "description", "background_color"]
+ __properties: ClassVar[List[str]] = ["name", "description", "background_color", "timezone"]
model_config = ConfigDict(
validate_by_name=True,
@@ -93,7 +94,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"name": obj.get("name"),
"description": obj.get("description"),
- "background_color": obj.get("background_color")
+ "background_color": obj.get("background_color"),
+ "timezone": obj.get("timezone")
})
# store additional fields in additional_properties
for _key in obj.keys():
diff --git a/unipile/models/update_chat200_response.py b/unipile/models/update_chat200_response.py
new file mode 100644
index 000000000..a25cce60d
--- /dev/null
+++ b/unipile/models/update_chat200_response.py
@@ -0,0 +1,199 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from typing_extensions import Annotated
+from unipile.models.get_chat200_response_last_message import GetChat200ResponseLastMessage
+from unipile.models.get_chat200_response_muted_until import GetChat200ResponseMutedUntil
+from unipile.models.update_chat200_response_participants_inner import UpdateChat200ResponseParticipantsInner
+from unipile.models.update_chat200_response_user import UpdateChat200ResponseUser
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class UpdateChat200Response(BaseModel):
+ """
+ UpdateChat200Response
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The unique identifier of the chat for the provider.")
+ name: StrictStr = Field(description="The name / title of the chat. If the provider does not provide a name, name is built out of participants usernames.")
+ label: Optional[StrictStr] = Field(default=None, description="If supported by the provider, a label associated with the chat.")
+ description: Optional[StrictStr] = Field(default=None, description="The description / subject of the chat.")
+ image_url: Optional[StrictStr] = Field(default=None, description="The URL of the chat image.")
+ created_at: Optional[StrictStr] = Field(default=None, description="The creation date of the chat. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ updated_at: Optional[StrictStr] = Field(default=None, description="The last update date of the chat. Use ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). Some providers update this field on new messages.")
+ last_message_timestamp: Optional[StrictStr] = Field(default=None, description="The timestamp of the last message in the chat. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ muted_until: GetChat200ResponseMutedUntil
+ creator_id: Optional[StrictStr] = Field(default=None, description="The ID of the user who created the chat.")
+ user_id: Optional[StrictStr] = Field(default=None, description="The ID of the other participant in the chat if 1to1 chat.")
+ is_group: StrictBool = Field(description="Is the chat a group chat.")
+ is_1to1: StrictBool = Field(description="Is the chat a 1to1 chat.")
+ is_channel: StrictBool = Field(description="Is the chat a channel chat.")
+ type: StrictStr = Field(description="The type of the chat. - `group` is a group chat. - `1to1` is a 1to1 chat. - `channel` is a channel chat.")
+ is_pinned: StrictBool = Field(description="Is the chat pinned at the top of the list, if supported by the provider.")
+ is_readonly: StrictBool = Field(description="Is the chat read-only for the current user. Trying to send messages in read-only chats will fail.")
+ is_archived: StrictBool = Field(description="Is the chat archived. Archived chats are usually hidden from the chat list.")
+ folders: List[StrictStr] = Field(description="A list of folders the chat belongs to.")
+ participants_count: Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]] = Field(default=None, description="The number of participants in the chat if the chat is a group.")
+ unread_count: Union[Annotated[float, Field(strict=True, ge=-1)], Annotated[int, Field(strict=True, ge=-1)]] = Field(description="The number of unread messages in the chat. `0` if the chat is read, `-1` if the chat was manually marked as unread by the user and does not have any unread messages.")
+ restrictions: Optional[List[StrictStr]] = Field(default=None, description="List of action restrictions of the chat. - `send_message` is the permission to send messages.")
+ participants: Optional[List[UpdateChat200ResponseParticipantsInner]] = Field(default=None, description="List of participants in the chat if group chat.")
+ last_message: Optional[GetChat200ResponseLastMessage] = None
+ user: Optional[UpdateChat200ResponseUser] = None
+ provider: StrictStr = Field(description="The provider's of the Account. - `mock` is mock. - `whatsapp` is WhatsApp. - `linkedin` is LinkedIn. - `instagram` is Instagram. - `google` is Google. - `outlook` is Outlook. - `telegram` is Telegram. - `imap` is IMAP.")
+ specifics: Optional[Any] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "name", "label", "description", "image_url", "created_at", "updated_at", "last_message_timestamp", "muted_until", "creator_id", "user_id", "is_group", "is_1to1", "is_channel", "type", "is_pinned", "is_readonly", "is_archived", "folders", "participants_count", "unread_count", "restrictions", "participants", "last_message", "user", "provider", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['Chat']):
+ raise ValueError("must be one of enum values ('Chat')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['group', '1to1', 'channel']):
+ raise ValueError("must be one of enum values ('group', '1to1', 'channel')")
+ return value
+
+ @field_validator('restrictions')
+ def restrictions_validate_enum(cls, value):
+ """Validates the enum"""
+ if value is None:
+ return value
+
+ for i in value:
+ if i not in set(['send_message']):
+ raise ValueError("each list item must be one of ('send_message')")
+ return value
+
+ @field_validator('provider')
+ def provider_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['mock', 'whatsapp', 'linkedin', 'google', 'outlook', 'imap', 'telegram', 'instagram']):
+ raise ValueError("must be one of enum values ('mock', 'whatsapp', 'linkedin', 'google', 'outlook', 'imap', 'telegram', 'instagram')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of UpdateChat200Response from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of muted_until
+ if self.muted_until:
+ _dict['muted_until'] = self.muted_until.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in participants (list)
+ _items = []
+ if self.participants:
+ for _item_participants in self.participants:
+ _items.append(_item_participants.to_dict() if _item_participants is not None else None)
+ _dict['participants'] = _items
+ # override the default output from pydantic by calling `to_dict()` of last_message
+ if self.last_message:
+ _dict['last_message'] = self.last_message.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of user
+ if self.user:
+ _dict['user'] = self.user.to_dict()
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of UpdateChat200Response from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "name": obj.get("name"),
+ "label": obj.get("label"),
+ "description": obj.get("description"),
+ "image_url": obj.get("image_url"),
+ "created_at": obj.get("created_at"),
+ "updated_at": obj.get("updated_at"),
+ "last_message_timestamp": obj.get("last_message_timestamp"),
+ "muted_until": GetChat200ResponseMutedUntil.from_dict(obj["muted_until"]) if obj.get("muted_until") is not None else None,
+ "creator_id": obj.get("creator_id"),
+ "user_id": obj.get("user_id"),
+ "is_group": obj.get("is_group"),
+ "is_1to1": obj.get("is_1to1"),
+ "is_channel": obj.get("is_channel"),
+ "type": obj.get("type"),
+ "is_pinned": obj.get("is_pinned"),
+ "is_readonly": obj.get("is_readonly"),
+ "is_archived": obj.get("is_archived"),
+ "folders": obj.get("folders"),
+ "participants_count": obj.get("participants_count"),
+ "unread_count": obj.get("unread_count"),
+ "restrictions": obj.get("restrictions"),
+ "participants": [UpdateChat200ResponseParticipantsInner.from_dict(_item) for _item in obj["participants"]] if obj.get("participants") is not None else None,
+ "last_message": GetChat200ResponseLastMessage.from_dict(obj["last_message"]) if obj.get("last_message") is not None else None,
+ "user": UpdateChat200ResponseUser.from_dict(obj["user"]) if obj.get("user") is not None else None,
+ "provider": obj.get("provider"),
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/update_chat200_response_participants_inner.py b/unipile/models/update_chat200_response_participants_inner.py
new file mode 100644
index 000000000..239d42e13
--- /dev/null
+++ b/unipile/models/update_chat200_response_participants_inner.py
@@ -0,0 +1,105 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List
+from unipile.models.update_chat200_response_participants_inner_user import UpdateChat200ResponseParticipantsInnerUser
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class UpdateChat200ResponseParticipantsInner(BaseModel):
+ """
+ UpdateChat200ResponseParticipantsInner
+ """ # noqa: E501
+ object: StrictStr
+ user: UpdateChat200ResponseParticipantsInnerUser
+ is_self: StrictBool = Field(description="Is the current user the participant.")
+ is_admin: StrictBool = Field(description="Is the participant an admin of the group.")
+ __properties: ClassVar[List[str]] = ["object", "user", "is_self", "is_admin"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['GroupParticipant']):
+ raise ValueError("must be one of enum values ('GroupParticipant')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of UpdateChat200ResponseParticipantsInner from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of user
+ if self.user:
+ _dict['user'] = self.user.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of UpdateChat200ResponseParticipantsInner from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "user": UpdateChat200ResponseParticipantsInnerUser.from_dict(obj["user"]) if obj.get("user") is not None else None,
+ "is_self": obj.get("is_self"),
+ "is_admin": obj.get("is_admin")
+ })
+ return _obj
+
+
diff --git a/unipile/models/update_chat200_response_participants_inner_user.py b/unipile/models/update_chat200_response_participants_inner_user.py
new file mode 100644
index 000000000..c573b4dce
--- /dev/null
+++ b/unipile/models/update_chat200_response_participants_inner_user.py
@@ -0,0 +1,129 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class UpdateChat200ResponseParticipantsInnerUser(BaseModel):
+ """
+ The user who is a participant of the group.
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[Any] = Field(default=None, description="Provider-specific user data.")
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of UpdateChat200ResponseParticipantsInnerUser from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of UpdateChat200ResponseParticipantsInnerUser from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/update_chat200_response_user.py b/unipile/models/update_chat200_response_user.py
new file mode 100644
index 000000000..1d5954102
--- /dev/null
+++ b/unipile/models/update_chat200_response_user.py
@@ -0,0 +1,129 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class UpdateChat200ResponseUser(BaseModel):
+ """
+ The other participant if 1to1 chat.
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[Any] = Field(default=None, description="Provider-specific user data.")
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of UpdateChat200ResponseUser from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of UpdateChat200ResponseUser from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/update_chat_request.py b/unipile/models/update_chat_request.py
index d4d5dbb2d..3b8f076c9 100644
--- a/unipile/models/update_chat_request.py
+++ b/unipile/models/update_chat_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_chat_request_muted_until.py b/unipile/models/update_chat_request_muted_until.py
index 23e67b844..5b6cf08d4 100644
--- a/unipile/models/update_chat_request_muted_until.py
+++ b/unipile/models/update_chat_request_muted_until.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -33,7 +33,7 @@ class UpdateChatRequestMutedUntil(BaseModel):
# data type: bool
anyof_schema_1_validator: Optional[StrictBool] = None
# data type: str
- anyof_schema_2_validator: Optional[StrictStr] = Field(default=None, description="The ID of the Company.")
+ anyof_schema_2_validator: Optional[StrictStr] = Field(default=None, description="The text content of the message, when available.")
if TYPE_CHECKING:
actual_instance: Optional[Union[bool, str]] = None
else:
diff --git a/unipile/models/update_draft_request.py b/unipile/models/update_draft_request.py
index 0edb9594d..44e24a087 100644
--- a/unipile/models/update_draft_request.py
+++ b/unipile/models/update_draft_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -19,6 +19,7 @@
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
+from typing_extensions import Annotated
from unipile.models.get_emails_list200_response_data_inner_from_inner import GetEmailsList200ResponseDataInnerFromInner
from unipile.models.send_email_request_attachments_inner import SendEmailRequestAttachmentsInner
from unipile.models.send_email_request_tracking_options import SendEmailRequestTrackingOptions
@@ -38,10 +39,12 @@ class UpdateDraftRequest(BaseModel):
to: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="List of attendees to set in `to` header.")
cc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="List of attendees to set in `cc` header.")
bcc: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="List of attendees to set in `bcc` header.")
+ reply_to: Optional[List[GetEmailsList200ResponseDataInnerFromInner]] = Field(default=None, description="List of attendees to set in the standard `Reply-To` header. Recipients answering the email will reply to these addresses instead of `from`. To reply inside an existing conversation, use `reply_to_message_id` instead.")
+ reply_to_message_id: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The ID of the email message that you're replying to. For Gmail, this is the provider ID for the email message that you're replying to. For IMAP, this is the RFC822 Message-ID header of the email message that you're replying to. Outlook draft replies are not supported.")
attachments: Optional[List[SendEmailRequestAttachmentsInner]] = Field(default=None, description="The list of file attachments to the draft. Any attachment already existing will be removed and replaced by the new ones.")
tracking_options: Optional[SendEmailRequestTrackingOptions] = None
specifics: Optional[UpdateDraftRequestSpecifics] = None
- __properties: ClassVar[List[str]] = ["html", "plain_text", "subject", "from", "to", "cc", "bcc", "attachments", "tracking_options", "specifics"]
+ __properties: ClassVar[List[str]] = ["html", "plain_text", "subject", "from", "to", "cc", "bcc", "reply_to", "reply_to_message_id", "attachments", "tracking_options", "specifics"]
model_config = ConfigDict(
validate_by_name=True,
@@ -89,29 +92,31 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.to:
for _item_to in self.to:
- if _item_to:
- _items.append(_item_to.to_dict())
+ _items.append(_item_to.to_dict() if _item_to is not None else None)
_dict['to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in cc (list)
_items = []
if self.cc:
for _item_cc in self.cc:
- if _item_cc:
- _items.append(_item_cc.to_dict())
+ _items.append(_item_cc.to_dict() if _item_cc is not None else None)
_dict['cc'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in bcc (list)
_items = []
if self.bcc:
for _item_bcc in self.bcc:
- if _item_bcc:
- _items.append(_item_bcc.to_dict())
+ _items.append(_item_bcc.to_dict() if _item_bcc is not None else None)
_dict['bcc'] = _items
+ # override the default output from pydantic by calling `to_dict()` of each item in reply_to (list)
+ _items = []
+ if self.reply_to:
+ for _item_reply_to in self.reply_to:
+ _items.append(_item_reply_to.to_dict() if _item_reply_to is not None else None)
+ _dict['reply_to'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
_items = []
if self.attachments:
for _item_attachments in self.attachments:
- if _item_attachments:
- _items.append(_item_attachments.to_dict())
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
_dict['attachments'] = _items
# override the default output from pydantic by calling `to_dict()` of tracking_options
if self.tracking_options:
@@ -138,6 +143,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"to": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["to"]] if obj.get("to") is not None else None,
"cc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["cc"]] if obj.get("cc") is not None else None,
"bcc": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["bcc"]] if obj.get("bcc") is not None else None,
+ "reply_to": [GetEmailsList200ResponseDataInnerFromInner.from_dict(_item) for _item in obj["reply_to"]] if obj.get("reply_to") is not None else None,
+ "reply_to_message_id": obj.get("reply_to_message_id"),
"attachments": [SendEmailRequestAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
"tracking_options": SendEmailRequestTrackingOptions.from_dict(obj["tracking_options"]) if obj.get("tracking_options") is not None else None,
"specifics": UpdateDraftRequestSpecifics.from_dict(obj["specifics"]) if obj.get("specifics") is not None else None
diff --git a/unipile/models/update_draft_request_specifics.py b/unipile/models/update_draft_request_specifics.py
index 16f0cba6f..7311368fc 100644
--- a/unipile/models/update_draft_request_specifics.py
+++ b/unipile/models/update_draft_request_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_draft_request_specifics_all_of_outlook.py b/unipile/models/update_draft_request_specifics_all_of_outlook.py
index 29f153cbe..f159222dd 100644
--- a/unipile/models/update_draft_request_specifics_all_of_outlook.py
+++ b/unipile/models/update_draft_request_specifics_all_of_outlook.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_folder_request.py b/unipile/models/update_folder_request.py
index 41ff0138f..3bf289951 100644
--- a/unipile/models/update_folder_request.py
+++ b/unipile/models/update_folder_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_post200_response.py b/unipile/models/update_post200_response.py
new file mode 100644
index 000000000..4a088b658
--- /dev/null
+++ b/unipile/models/update_post200_response.py
@@ -0,0 +1,199 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+from unipile.models.get_posts_list200_response_data_inner_analytics import GetPostsList200ResponseDataInnerAnalytics
+from unipile.models.get_posts_list200_response_data_inner_event import GetPostsList200ResponseDataInnerEvent
+from unipile.models.get_posts_list200_response_data_inner_permissions import GetPostsList200ResponseDataInnerPermissions
+from unipile.models.get_posts_list200_response_data_inner_poll import GetPostsList200ResponseDataInnerPoll
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_user_reacted import GetPostsList200ResponseDataInnerQuotedPostUserReacted
+from unipile.models.update_post200_response_author import UpdatePost200ResponseAuthor
+from unipile.models.update_post200_response_quoted_post import UpdatePost200ResponseQuotedPost
+from unipile.models.update_post200_response_reposted_by import UpdatePost200ResponseRepostedBy
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class UpdatePost200Response(BaseModel):
+ """
+ UpdatePost200Response
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The ID of the post for the provider.")
+ share_url: StrictStr = Field(description="The URL to share the post.")
+ created_at: StrictStr = Field(description="The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ title: Optional[StrictStr] = Field(default=None, description="The title of the post.")
+ text: StrictStr = Field(description="The text content of the post.")
+ author: UpdatePost200ResponseAuthor
+ user_reacted: GetPostsList200ResponseDataInnerQuotedPostUserReacted
+ permissions: GetPostsList200ResponseDataInnerPermissions
+ reactions_counter: Optional[List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]] = Field(description="A list of reactions to the element.")
+ comments_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
+ reposts_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of reposts of the post. `null` if counter is hidden.")
+ poll: Optional[GetPostsList200ResponseDataInnerPoll] = None
+ event: Optional[GetPostsList200ResponseDataInnerEvent] = None
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of post attachments.")
+ analytics: Optional[GetPostsList200ResponseDataInnerAnalytics] = None
+ specifics: Optional[Any] = Field(default=None, description="Object containing provider-specific post data.")
+ is_repost: StrictBool = Field(description="`true` if this post is reposted by someone without quote. Quoted post does not qualify as a repost.")
+ reposted_by: Optional[UpdatePost200ResponseRepostedBy] = None
+ quoted_post: Optional[UpdatePost200ResponseQuotedPost] = None
+ __properties: ClassVar[List[str]] = ["object", "id", "share_url", "created_at", "title", "text", "author", "user_reacted", "permissions", "reactions_counter", "comments_counter", "reposts_counter", "poll", "event", "attachments", "analytics", "specifics", "is_repost", "reposted_by", "quoted_post"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['Post']):
+ raise ValueError("must be one of enum values ('Post')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of UpdatePost200Response from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of user_reacted
+ if self.user_reacted:
+ _dict['user_reacted'] = self.user_reacted.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of permissions
+ if self.permissions:
+ _dict['permissions'] = self.permissions.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in reactions_counter (list)
+ _items = []
+ if self.reactions_counter:
+ for _item_reactions_counter in self.reactions_counter:
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
+ _dict['reactions_counter'] = _items
+ # override the default output from pydantic by calling `to_dict()` of poll
+ if self.poll:
+ _dict['poll'] = self.poll.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of event
+ if self.event:
+ _dict['event'] = self.event.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
+ _items = []
+ if self.attachments:
+ for _item_attachments in self.attachments:
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
+ _dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of analytics
+ if self.analytics:
+ _dict['analytics'] = self.analytics.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of reposted_by
+ if self.reposted_by:
+ _dict['reposted_by'] = self.reposted_by.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of quoted_post
+ if self.quoted_post:
+ _dict['quoted_post'] = self.quoted_post.to_dict()
+ # set to None if reactions_counter (nullable) is None
+ # and model_fields_set contains the field
+ if self.reactions_counter is None and "reactions_counter" in self.model_fields_set:
+ _dict['reactions_counter'] = None
+
+ # set to None if comments_counter (nullable) is None
+ # and model_fields_set contains the field
+ if self.comments_counter is None and "comments_counter" in self.model_fields_set:
+ _dict['comments_counter'] = None
+
+ # set to None if reposts_counter (nullable) is None
+ # and model_fields_set contains the field
+ if self.reposts_counter is None and "reposts_counter" in self.model_fields_set:
+ _dict['reposts_counter'] = None
+
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of UpdatePost200Response from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "share_url": obj.get("share_url"),
+ "created_at": obj.get("created_at"),
+ "title": obj.get("title"),
+ "text": obj.get("text"),
+ "author": UpdatePost200ResponseAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
+ "user_reacted": GetPostsList200ResponseDataInnerQuotedPostUserReacted.from_dict(obj["user_reacted"]) if obj.get("user_reacted") is not None else None,
+ "permissions": GetPostsList200ResponseDataInnerPermissions.from_dict(obj["permissions"]) if obj.get("permissions") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "comments_counter": obj.get("comments_counter"),
+ "reposts_counter": obj.get("reposts_counter"),
+ "poll": GetPostsList200ResponseDataInnerPoll.from_dict(obj["poll"]) if obj.get("poll") is not None else None,
+ "event": GetPostsList200ResponseDataInnerEvent.from_dict(obj["event"]) if obj.get("event") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "analytics": GetPostsList200ResponseDataInnerAnalytics.from_dict(obj["analytics"]) if obj.get("analytics") is not None else None,
+ "specifics": obj.get("specifics"),
+ "is_repost": obj.get("is_repost"),
+ "reposted_by": UpdatePost200ResponseRepostedBy.from_dict(obj["reposted_by"]) if obj.get("reposted_by") is not None else None,
+ "quoted_post": UpdatePost200ResponseQuotedPost.from_dict(obj["quoted_post"]) if obj.get("quoted_post") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/update_post200_response_author.py b/unipile/models/update_post200_response_author.py
new file mode 100644
index 000000000..7fbf438c4
--- /dev/null
+++ b/unipile/models/update_post200_response_author.py
@@ -0,0 +1,129 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class UpdatePost200ResponseAuthor(BaseModel):
+ """
+ The author of the post.
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[Any] = Field(default=None, description="Provider-specific user data.")
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of UpdatePost200ResponseAuthor from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of UpdatePost200ResponseAuthor from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/update_post200_response_quoted_post.py b/unipile/models/update_post200_response_quoted_post.py
new file mode 100644
index 000000000..07cb55d8e
--- /dev/null
+++ b/unipile/models/update_post200_response_quoted_post.py
@@ -0,0 +1,185 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional, Union
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_quoted_attachments_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner
+from unipile.models.get_chats_list200_response_data_inner_last_message_any_of1_reactions_counter_inner import GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner
+from unipile.models.get_posts_list200_response_data_inner_analytics import GetPostsList200ResponseDataInnerAnalytics
+from unipile.models.get_posts_list200_response_data_inner_event import GetPostsList200ResponseDataInnerEvent
+from unipile.models.get_posts_list200_response_data_inner_permissions import GetPostsList200ResponseDataInnerPermissions
+from unipile.models.get_posts_list200_response_data_inner_poll import GetPostsList200ResponseDataInnerPoll
+from unipile.models.get_posts_list200_response_data_inner_quoted_post_user_reacted import GetPostsList200ResponseDataInnerQuotedPostUserReacted
+from unipile.models.update_post200_response_author import UpdatePost200ResponseAuthor
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class UpdatePost200ResponseQuotedPost(BaseModel):
+ """
+ The post that is quoted in this post.
+ """ # noqa: E501
+ object: StrictStr
+ id: StrictStr = Field(description="The ID of the post for the provider.")
+ share_url: StrictStr = Field(description="The URL to share the post.")
+ created_at: StrictStr = Field(description="The creation date of the post. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).")
+ title: Optional[StrictStr] = Field(default=None, description="The title of the post.")
+ text: StrictStr = Field(description="The text content of the post.")
+ author: UpdatePost200ResponseAuthor
+ user_reacted: GetPostsList200ResponseDataInnerQuotedPostUserReacted
+ permissions: GetPostsList200ResponseDataInnerPermissions
+ reactions_counter: Optional[List[GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner]] = Field(description="A list of reactions to the element.")
+ comments_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of comments to the post. `null` if counter is hidden.")
+ reposts_counter: Optional[Union[StrictFloat, StrictInt]] = Field(description="The number of reposts of the post. `null` if counter is hidden.")
+ poll: Optional[GetPostsList200ResponseDataInnerPoll] = None
+ event: Optional[GetPostsList200ResponseDataInnerEvent] = None
+ attachments: List[GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner] = Field(description="List of post attachments.")
+ analytics: Optional[GetPostsList200ResponseDataInnerAnalytics] = None
+ specifics: Optional[Any] = Field(default=None, description="Object containing provider-specific post data.")
+ __properties: ClassVar[List[str]] = ["object", "id", "share_url", "created_at", "title", "text", "author", "user_reacted", "permissions", "reactions_counter", "comments_counter", "reposts_counter", "poll", "event", "attachments", "analytics", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['Post']):
+ raise ValueError("must be one of enum values ('Post')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of UpdatePost200ResponseQuotedPost from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of author
+ if self.author:
+ _dict['author'] = self.author.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of user_reacted
+ if self.user_reacted:
+ _dict['user_reacted'] = self.user_reacted.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of permissions
+ if self.permissions:
+ _dict['permissions'] = self.permissions.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in reactions_counter (list)
+ _items = []
+ if self.reactions_counter:
+ for _item_reactions_counter in self.reactions_counter:
+ _items.append(_item_reactions_counter.to_dict() if _item_reactions_counter is not None else None)
+ _dict['reactions_counter'] = _items
+ # override the default output from pydantic by calling `to_dict()` of poll
+ if self.poll:
+ _dict['poll'] = self.poll.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of event
+ if self.event:
+ _dict['event'] = self.event.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in attachments (list)
+ _items = []
+ if self.attachments:
+ for _item_attachments in self.attachments:
+ _items.append(_item_attachments.to_dict() if _item_attachments is not None else None)
+ _dict['attachments'] = _items
+ # override the default output from pydantic by calling `to_dict()` of analytics
+ if self.analytics:
+ _dict['analytics'] = self.analytics.to_dict()
+ # set to None if reactions_counter (nullable) is None
+ # and model_fields_set contains the field
+ if self.reactions_counter is None and "reactions_counter" in self.model_fields_set:
+ _dict['reactions_counter'] = None
+
+ # set to None if comments_counter (nullable) is None
+ # and model_fields_set contains the field
+ if self.comments_counter is None and "comments_counter" in self.model_fields_set:
+ _dict['comments_counter'] = None
+
+ # set to None if reposts_counter (nullable) is None
+ # and model_fields_set contains the field
+ if self.reposts_counter is None and "reposts_counter" in self.model_fields_set:
+ _dict['reposts_counter'] = None
+
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of UpdatePost200ResponseQuotedPost from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "object": obj.get("object"),
+ "id": obj.get("id"),
+ "share_url": obj.get("share_url"),
+ "created_at": obj.get("created_at"),
+ "title": obj.get("title"),
+ "text": obj.get("text"),
+ "author": UpdatePost200ResponseAuthor.from_dict(obj["author"]) if obj.get("author") is not None else None,
+ "user_reacted": GetPostsList200ResponseDataInnerQuotedPostUserReacted.from_dict(obj["user_reacted"]) if obj.get("user_reacted") is not None else None,
+ "permissions": GetPostsList200ResponseDataInnerPermissions.from_dict(obj["permissions"]) if obj.get("permissions") is not None else None,
+ "reactions_counter": [GetChatsList200ResponseDataInnerLastMessageAnyOf1ReactionsCounterInner.from_dict(_item) for _item in obj["reactions_counter"]] if obj.get("reactions_counter") is not None else None,
+ "comments_counter": obj.get("comments_counter"),
+ "reposts_counter": obj.get("reposts_counter"),
+ "poll": GetPostsList200ResponseDataInnerPoll.from_dict(obj["poll"]) if obj.get("poll") is not None else None,
+ "event": GetPostsList200ResponseDataInnerEvent.from_dict(obj["event"]) if obj.get("event") is not None else None,
+ "attachments": [GetChatsList200ResponseDataInnerLastMessageAnyOf1QuotedAttachmentsInner.from_dict(_item) for _item in obj["attachments"]] if obj.get("attachments") is not None else None,
+ "analytics": GetPostsList200ResponseDataInnerAnalytics.from_dict(obj["analytics"]) if obj.get("analytics") is not None else None,
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/update_post200_response_reposted_by.py b/unipile/models/update_post200_response_reposted_by.py
new file mode 100644
index 000000000..1fd18c865
--- /dev/null
+++ b/unipile/models/update_post200_response_reposted_by.py
@@ -0,0 +1,129 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class UpdatePost200ResponseRepostedBy(BaseModel):
+ """
+ The user who reposted the post if `is_repost` is `true`.
+ """ # noqa: E501
+ id: StrictStr = Field(description="Unique identifier of the user for the provider. Usually an internal identifier used by the API only.")
+ object: StrictStr
+ type: StrictStr = Field(description="Type of the user - `individual` is an individual user. - `organization` is an organization / business entity. - `other` is an other type of entity.")
+ public_identifier: Optional[StrictStr] = Field(default=None, description="Public identifier of the user for the provider. Usually a shareable tag visible in urls and profiles. ")
+ display_name: StrictStr = Field(description="Display name of the user as exposed by the provider.")
+ first_name: Optional[StrictStr] = Field(default=None, description="First name of the user.")
+ last_name: Optional[StrictStr] = Field(default=None, description="Last name of the user.")
+ profile_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile of the user.")
+ public_picture_url: Optional[StrictStr] = Field(default=None, description="Public url to the profile picture of the user.")
+ private_picture_download_url: Optional[StrictStr] = Field(default=None, description="Private url to download the profile picture of the user. This url require authentication.")
+ description: Optional[StrictStr] = Field(default=None, description="Description of the user.")
+ specifics: Optional[Any] = Field(default=None, description="Provider-specific user data.")
+ __properties: ClassVar[List[str]] = ["id", "object", "type", "public_identifier", "display_name", "first_name", "last_name", "profile_url", "public_picture_url", "private_picture_download_url", "description", "specifics"]
+
+ @field_validator('object')
+ def object_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['User']):
+ raise ValueError("must be one of enum values ('User')")
+ return value
+
+ @field_validator('type')
+ def type_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['individual', 'organization', 'other']):
+ raise ValueError("must be one of enum values ('individual', 'organization', 'other')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of UpdatePost200ResponseRepostedBy from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # set to None if specifics (nullable) is None
+ # and model_fields_set contains the field
+ if self.specifics is None and "specifics" in self.model_fields_set:
+ _dict['specifics'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of UpdatePost200ResponseRepostedBy from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "object": obj.get("object"),
+ "type": obj.get("type"),
+ "public_identifier": obj.get("public_identifier"),
+ "display_name": obj.get("display_name"),
+ "first_name": obj.get("first_name"),
+ "last_name": obj.get("last_name"),
+ "profile_url": obj.get("profile_url"),
+ "public_picture_url": obj.get("public_picture_url"),
+ "private_picture_download_url": obj.get("private_picture_download_url"),
+ "description": obj.get("description"),
+ "specifics": obj.get("specifics")
+ })
+ return _obj
+
+
diff --git a/unipile/models/update_post_comment_request.py b/unipile/models/update_post_comment_request.py
index 5fd7983f5..c377236d3 100644
--- a/unipile/models/update_post_comment_request.py
+++ b/unipile/models/update_post_comment_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_post_request.py b/unipile/models/update_post_request.py
index 4913bb570..a22fcd21d 100644
--- a/unipile/models/update_post_request.py
+++ b/unipile/models/update_post_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_user_profile200_response.py b/unipile/models/update_user_profile200_response.py
index 55e9f4aed..eb8c0d599 100644
--- a/unipile/models/update_user_profile200_response.py
+++ b/unipile/models/update_user_profile200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_user_profile_request.py b/unipile/models/update_user_profile_request.py
index 6f7035f61..a2adb2347 100644
--- a/unipile/models/update_user_profile_request.py
+++ b/unipile/models/update_user_profile_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_user_profile_request_specifics.py b/unipile/models/update_user_profile_request_specifics.py
index eb5a6fd75..8fea7f23a 100644
--- a/unipile/models/update_user_profile_request_specifics.py
+++ b/unipile/models/update_user_profile_request_specifics.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_user_profile_request_specifics_all_of_linkedin.py b/unipile/models/update_user_profile_request_specifics_all_of_linkedin.py
index dd888995a..9a29b0674 100644
--- a/unipile/models/update_user_profile_request_specifics_all_of_linkedin.py
+++ b/unipile/models/update_user_profile_request_specifics_all_of_linkedin.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -88,8 +88,7 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.skills:
for _item_skills in self.skills:
- if _item_skills:
- _items.append(_item_skills.to_dict())
+ _items.append(_item_skills.to_dict() if _item_skills is not None else None)
_dict['skills'] = _items
# override the default output from pydantic by calling `to_dict()` of experience
if self.experience:
diff --git a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_custom_link.py b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_custom_link.py
index 40e1d8e55..960205ca3 100644
--- a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_custom_link.py
+++ b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_custom_link.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_education.py b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_education.py
index 90b1b4064..63fa7205d 100644
--- a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_education.py
+++ b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_education.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_experience.py b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_experience.py
index dd953a9df..ca5ef13f3 100644
--- a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_experience.py
+++ b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_experience.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work.py b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work.py
index 8bdab060d..bd6150f6b 100644
--- a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work.py
+++ b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -107,15 +107,13 @@ def to_dict(self) -> Dict[str, Any]:
_items = []
if self.job_title:
for _item_job_title in self.job_title:
- if _item_job_title:
- _items.append(_item_job_title.to_dict())
+ _items.append(_item_job_title.to_dict() if _item_job_title is not None else None)
_dict['job_title'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in workplace (list)
_items = []
if self.workplace:
for _item_workplace in self.workplace:
- if _item_workplace:
- _items.append(_item_workplace.to_dict())
+ _items.append(_item_workplace.to_dict() if _item_workplace is not None else None)
_dict['workplace'] = _items
return _dict
diff --git a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work_job_title_inner.py b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work_job_title_inner.py
index 5cdca2f56..70afa639f 100644
--- a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work_job_title_inner.py
+++ b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work_job_title_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkJobTitleInner(Base
UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkJobTitleInner
""" # noqa: E501
title: StrictStr = Field(description="The title of the job.")
- id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
+ id: StrictStr = Field(description="A parameter ID. Use List Search Parameters with `JOB_TITLE` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["title", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work_workplace_inner.py b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work_workplace_inner.py
index 515041c08..6c371cf79 100644
--- a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work_workplace_inner.py
+++ b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_open_to_work_workplace_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -28,7 +28,7 @@ class UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkWorkplaceInner(Bas
UpdateUserProfileRequestSpecificsAllOfLinkedinOpenToWorkWorkplaceInner
""" # noqa: E501
type: StrictStr = Field(description="The type of workplace.")
- location: List[Optional[StrictStr]] = Field(description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
+ location: List[Optional[StrictStr]] = Field(description="A list of parameter IDs. Use List Search Parameters with `LOCATION` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["type", "location"]
@field_validator('type')
diff --git a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options.py b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options.py
index 15f17ce3b..f68d00f29 100644
--- a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options.py
+++ b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options_layout.py b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options_layout.py
index 44bceb261..5129f05a5 100644
--- a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options_layout.py
+++ b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options_layout.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options_layout_bottom_left.py b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options_layout_bottom_left.py
index 769066af5..9d5e2d7e0 100644
--- a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options_layout_bottom_left.py
+++ b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_picture_options_layout_bottom_left.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_skills_inner.py b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_skills_inner.py
index 38928ab35..440b5ef5e 100644
--- a/unipile/models/update_user_profile_request_specifics_all_of_linkedin_skills_inner.py
+++ b/unipile/models/update_user_profile_request_specifics_all_of_linkedin_skills_inner.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -27,8 +27,8 @@ class UpdateUserProfileRequestSpecificsAllOfLinkedinSkillsInner(BaseModel):
"""
UpdateUserProfileRequestSpecificsAllOfLinkedinSkillsInner
""" # noqa: E501
- name: Optional[StrictStr] = Field(description="The ID of the Company.")
- id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `SKILL` type to find out the possible values.")
+ name: Optional[StrictStr] = Field(description="The text content of the message, when available.")
+ id: Optional[StrictStr] = Field(default=None, description="A parameter ID. Use List Search Parameters with `SKILL` type to find out the possible values.")
__properties: ClassVar[List[str]] = ["name", "id"]
model_config = ConfigDict(
diff --git a/unipile/models/update_webhook_endpoint_request.py b/unipile/models/update_webhook_endpoint_request.py
index dcce5945e..9daed0e93 100644
--- a/unipile/models/update_webhook_endpoint_request.py
+++ b/unipile/models/update_webhook_endpoint_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -30,7 +30,7 @@ class UpdateWebhookEndpointRequest(BaseModel):
""" # noqa: E501
trigger_events: Optional[List[StrictStr]] = Field(default=None, description="The events that will trigger the webhook endpoint. Refer to [Events Types](https://developer.unipile.com/v2.0/reference/event-types-1) to see the list of available values.")
account_ids: Optional[List[Annotated[str, Field(strict=True)]]] = Field(default=None, description="Restrict the webhook to specific accounts. Leave empty or omit the field to listen to events from every account in the application.")
- url: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(default=None, description="The URL to send the webhook payload to.")
+ url: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(default=None, description="The HTTP or HTTPS URL to send the webhook payload to.")
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(default=None, description="A description of the webhook endpoint.")
enabled: Optional[StrictBool] = Field(default=None, description="Whether the webhook endpoint is enabled.")
additional_properties: Dict[str, Any] = {}
@@ -43,8 +43,18 @@ def trigger_events_validate_enum(cls, value):
return value
for i in value:
- if i not in set(['account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.paused', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.request.accept']):
- raise ValueError("each list item must be one of ('account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.paused', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.request.accept')")
+ if i not in set(['account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.degraded', 'account.status.partial', 'account.locked', 'account.unlocked', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'message.reaction.delete', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.new']):
+ raise ValueError("each list item must be one of ('account.status.disconnected', 'account.status.running', 'account.status.errored', 'account.status.degraded', 'account.status.partial', 'account.locked', 'account.unlocked', 'account.add', 'account.reconnect', 'account.remove', 'account.initial_sync.running', 'account.initial_sync.failed', 'account.initial_sync.completed', 'message.new', 'message.update', 'message.delete', 'message.receipt.read', 'message.receipt.delivery', 'message.reaction.new', 'message.reaction.delete', 'chat.delete', 'chat.update', 'email.new', 'email.new.bounce', 'email.delete', 'email.draft.new', 'email.draft.delete', 'email.folder.create', 'email.folder.update', 'email.folder.delete', 'calendar.create', 'calendar.update', 'calendar.delete', 'calendar.event.new', 'calendar.event.update', 'calendar.event.delete', 'tracking.open', 'tracking.click', 'relation.new')")
+ return value
+
+ @field_validator('url', mode="before")
+ def url_validate_regular_expression(cls, value):
+ """Validates the regular expression"""
+ if value is None:
+ return value
+
+ if isinstance(value, str) and not re.match(r"^https?:\/\/", value):
+ raise ValueError(r"must validate the regular expression /^https?:\/\//")
return value
model_config = ConfigDict(
diff --git a/unipile/models/verify_classic_company_member_identity200_response.py b/unipile/models/verify_classic_company_member_identity200_response.py
index 280aefda3..616f5d7c7 100644
--- a/unipile/models/verify_classic_company_member_identity200_response.py
+++ b/unipile/models/verify_classic_company_member_identity200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/verify_classic_company_member_identity_request.py b/unipile/models/verify_classic_company_member_identity_request.py
index 66390083b..8f4bd4ee5 100644
--- a/unipile/models/verify_classic_company_member_identity_request.py
+++ b/unipile/models/verify_classic_company_member_identity_request.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/video.py b/unipile/models/video.py
index f1ab67a23..84a5d49d8 100644
--- a/unipile/models/video.py
+++ b/unipile/models/video.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,6 +31,7 @@ class Video(BaseModel):
object: StrictStr
id: StrictStr = Field(description="The unique identifier of the attachment for the provider.")
file_size: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The size of the attachment in bytes.")
+ is_inline: StrictBool = Field(description="Is the attachment inline in the content.")
is_unavailable: Optional[StrictBool] = Field(default=None, description="The attachment is not available for download because it was removed from provider servers.")
mimetype: StrictStr = Field(description="The MIME type of the attachment.")
url: StrictStr = Field(description="The URL to download the attachment.")
@@ -40,7 +41,7 @@ class Video(BaseModel):
duration: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The duration of the video in seconds.")
size: VideoSize
gif: StrictBool = Field(description="The video is a GIF (should be displayed differently)")
- __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "duration", "size", "gif"]
+ __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_inline", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "duration", "size", "gif"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -113,6 +114,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"object": obj.get("object"),
"id": obj.get("id"),
"file_size": obj.get("file_size"),
+ "is_inline": obj.get("is_inline"),
"is_unavailable": obj.get("is_unavailable"),
"mimetype": obj.get("mimetype"),
"url": obj.get("url"),
diff --git a/unipile/models/video1.py b/unipile/models/video1.py
index 44c43f376..4bba8532c 100644
--- a/unipile/models/video1.py
+++ b/unipile/models/video1.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -31,6 +31,7 @@ class Video1(BaseModel):
object: StrictStr
id: StrictStr = Field(description="The unique identifier of the attachment for the provider.")
file_size: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The size of the attachment in bytes.")
+ is_inline: StrictBool = Field(description="Is the attachment inline in the content.")
is_unavailable: Optional[StrictBool] = Field(default=None, description="The attachment is not available for download because it was removed from provider servers.")
mimetype: StrictStr = Field(description="The MIME type of the attachment.")
url: StrictStr = Field(description="The URL to download the attachment.")
@@ -40,7 +41,7 @@ class Video1(BaseModel):
duration: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The duration of the video in seconds.")
size: Video1Size
gif: StrictBool = Field(description="The video is a GIF (should be displayed differently)")
- __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "duration", "size", "gif"]
+ __properties: ClassVar[List[str]] = ["object", "id", "file_size", "is_inline", "is_unavailable", "mimetype", "url", "url_expires_at", "content", "type", "duration", "size", "gif"]
@field_validator('object')
def object_validate_enum(cls, value):
@@ -113,6 +114,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"object": obj.get("object"),
"id": obj.get("id"),
"file_size": obj.get("file_size"),
+ "is_inline": obj.get("is_inline"),
"is_unavailable": obj.get("is_unavailable"),
"mimetype": obj.get("mimetype"),
"url": obj.get("url"),
diff --git a/unipile/models/video1_size.py b/unipile/models/video1_size.py
index 86397398e..91de9d523 100644
--- a/unipile/models/video1_size.py
+++ b/unipile/models/video1_size.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/video_size.py b/unipile/models/video_size.py
index 8de7d9e9a..0abc42ebd 100644
--- a/unipile/models/video_size.py
+++ b/unipile/models/video_size.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/visit_user_profile200_response.py b/unipile/models/visit_user_profile200_response.py
index d552ee1cf..2ad8b78c9 100644
--- a/unipile/models/visit_user_profile200_response.py
+++ b/unipile/models/visit_user_profile200_response.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/weeks_based.py b/unipile/models/weeks_based.py
index 3d02eaa83..da22f3652 100644
--- a/unipile/models/weeks_based.py
+++ b/unipile/models/weeks_based.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
diff --git a/unipile/models/whats_app.py b/unipile/models/whats_app.py
index 33dcfae25..b072b497a 100644
--- a/unipile/models/whats_app.py
+++ b/unipile/models/whats_app.py
@@ -5,7 +5,7 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
@@ -17,29 +17,18 @@
import re # noqa: F401
import json
-from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
-from typing import Any, ClassVar, Dict, List, Optional
-from unipile.models.whats_app_config import WhatsAppConfig
-from unipile.models.whats_app_credentials import WhatsAppCredentials
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List
from typing import Optional, Set
from typing_extensions import Self
from pydantic_core import to_jsonable_python
class WhatsApp(BaseModel):
"""
- Start the authentication intent with WhatsApp provider.
+ WhatsApp
""" # noqa: E501
- provider: StrictStr = Field(description="The provider to authenticate with.")
- credentials: WhatsAppCredentials
- config: Optional[WhatsAppConfig] = None
- __properties: ClassVar[List[str]] = ["provider", "credentials", "config"]
-
- @field_validator('provider')
- def provider_validate_enum(cls, value):
- """Validates the enum"""
- if value not in set(['whatsapp']):
- raise ValueError("must be one of enum values ('whatsapp')")
- return value
+ contact_name: StrictStr = Field(description="Name saved by the connected account owner in their WhatsApp address book.")
+ __properties: ClassVar[List[str]] = ["contact_name"]
model_config = ConfigDict(
validate_by_name=True,
@@ -80,12 +69,6 @@ def to_dict(self) -> Dict[str, Any]:
exclude=excluded_fields,
exclude_none=True,
)
- # override the default output from pydantic by calling `to_dict()` of credentials
- if self.credentials:
- _dict['credentials'] = self.credentials.to_dict()
- # override the default output from pydantic by calling `to_dict()` of config
- if self.config:
- _dict['config'] = self.config.to_dict()
return _dict
@classmethod
@@ -98,9 +81,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
return cls.model_validate(obj)
_obj = cls.model_validate({
- "provider": obj.get("provider"),
- "credentials": WhatsAppCredentials.from_dict(obj["credentials"]) if obj.get("credentials") is not None else None,
- "config": WhatsAppConfig.from_dict(obj["config"]) if obj.get("config") is not None else None
+ "contact_name": obj.get("contact_name")
})
return _obj
diff --git a/unipile/models/whats_app1.py b/unipile/models/whats_app1.py
new file mode 100644
index 000000000..e8a5d7ee2
--- /dev/null
+++ b/unipile/models/whats_app1.py
@@ -0,0 +1,88 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr
+from typing import Any, ClassVar, Dict, List, Optional
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class WhatsApp1(BaseModel):
+ """
+ WhatsApp specific dataset for user profiles.
+ """ # noqa: E501
+ contact_name: Optional[StrictStr] = Field(default=None, description="Name saved by the connected account owner in their WhatsApp address book.")
+ __properties: ClassVar[List[str]] = ["contact_name"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of WhatsApp1 from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of WhatsApp1 from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "contact_name": obj.get("contact_name")
+ })
+ return _obj
+
+
diff --git a/unipile/models/whats_app2.py b/unipile/models/whats_app2.py
new file mode 100644
index 000000000..c9330e048
--- /dev/null
+++ b/unipile/models/whats_app2.py
@@ -0,0 +1,107 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.whats_app2_config import WhatsApp2Config
+from unipile.models.whats_app2_credentials import WhatsApp2Credentials
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class WhatsApp2(BaseModel):
+ """
+ Start the authentication intent with WhatsApp provider.
+ """ # noqa: E501
+ provider: StrictStr = Field(description="The provider to authenticate with.")
+ credentials: WhatsApp2Credentials
+ config: Optional[WhatsApp2Config] = None
+ __properties: ClassVar[List[str]] = ["provider", "credentials", "config"]
+
+ @field_validator('provider')
+ def provider_validate_enum(cls, value):
+ """Validates the enum"""
+ if value not in set(['whatsapp']):
+ raise ValueError("must be one of enum values ('whatsapp')")
+ return value
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of WhatsApp2 from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of credentials
+ if self.credentials:
+ _dict['credentials'] = self.credentials.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of config
+ if self.config:
+ _dict['config'] = self.config.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of WhatsApp2 from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "provider": obj.get("provider"),
+ "credentials": WhatsApp2Credentials.from_dict(obj["credentials"]) if obj.get("credentials") is not None else None,
+ "config": WhatsApp2Config.from_dict(obj["config"]) if obj.get("config") is not None else None
+ })
+ return _obj
+
+
diff --git a/unipile/models/whats_app2_config.py b/unipile/models/whats_app2_config.py
new file mode 100644
index 000000000..2fc548b1f
--- /dev/null
+++ b/unipile/models/whats_app2_config.py
@@ -0,0 +1,116 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict
+from typing import Any, ClassVar, Dict, List, Optional
+from unipile.models.automatic_proxy_configuration import AutomaticProxyConfiguration
+from unipile.models.custom_proxy1 import CustomProxy1
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class WhatsApp2Config(BaseModel):
+ """
+ WhatsApp specific configuration.
+ """ # noqa: E501
+ custom_proxy: Optional[CustomProxy1] = None
+ auto_proxy_config: Optional[AutomaticProxyConfiguration] = None
+ additional_properties: Dict[str, Any] = {}
+ __properties: ClassVar[List[str]] = ["custom_proxy", "auto_proxy_config"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of WhatsApp2Config from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ * Fields in `self.additional_properties` are added to the output dict.
+ """
+ excluded_fields: Set[str] = set([
+ "additional_properties",
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of custom_proxy
+ if self.custom_proxy:
+ _dict['custom_proxy'] = self.custom_proxy.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of auto_proxy_config
+ if self.auto_proxy_config:
+ _dict['auto_proxy_config'] = self.auto_proxy_config.to_dict()
+ # puts key-value pairs in additional_properties in the top level
+ if self.additional_properties is not None:
+ for _key, _value in self.additional_properties.items():
+ _dict[_key] = _value
+
+ # set to None if custom_proxy (nullable) is None
+ # and model_fields_set contains the field
+ if self.custom_proxy is None and "custom_proxy" in self.model_fields_set:
+ _dict['custom_proxy'] = None
+
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of WhatsApp2Config from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "custom_proxy": CustomProxy1.from_dict(obj["custom_proxy"]) if obj.get("custom_proxy") is not None else None,
+ "auto_proxy_config": AutomaticProxyConfiguration.from_dict(obj["auto_proxy_config"]) if obj.get("auto_proxy_config") is not None else None
+ })
+ # store additional fields in additional_properties
+ for _key in obj.keys():
+ if _key not in cls.__properties:
+ _obj.additional_properties[_key] = obj.get(_key)
+
+ return _obj
+
+
diff --git a/unipile/models/whats_app2_credentials.py b/unipile/models/whats_app2_credentials.py
new file mode 100644
index 000000000..123b70c3a
--- /dev/null
+++ b/unipile/models/whats_app2_credentials.py
@@ -0,0 +1,88 @@
+# coding: utf-8
+
+"""
+ Unipile API
+
+ Unified API for messaging, calendars, emails and socials.
+
+ The version of the OpenAPI document: 2.34.0
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+from pydantic import BaseModel, ConfigDict, Field, StrictBool
+from typing import Any, ClassVar, Dict, List
+from typing import Optional, Set
+from typing_extensions import Self
+from pydantic_core import to_jsonable_python
+
+class WhatsApp2Credentials(BaseModel):
+ """
+ The user credentials required by the provider to authenticate with.
+ """ # noqa: E501
+ qrcode: StrictBool = Field(description="This must be set to `true`")
+ __properties: ClassVar[List[str]] = ["qrcode"]
+
+ model_config = ConfigDict(
+ validate_by_name=True,
+ validate_by_alias=True,
+ validate_assignment=True,
+ protected_namespaces=(),
+ )
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ return json.dumps(to_jsonable_python(self.to_dict()))
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Optional[Self]:
+ """Create an instance of WhatsApp2Credentials from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ excluded_fields: Set[str] = set([
+ ])
+
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude=excluded_fields,
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
+ """Create an instance of WhatsApp2Credentials from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "qrcode": obj.get("qrcode")
+ })
+ return _obj
+
+
diff --git a/unipile/rest.py b/unipile/rest.py
index bd1816e5a..b2ba2efa9 100644
--- a/unipile/rest.py
+++ b/unipile/rest.py
@@ -5,17 +5,19 @@
Unified API for messaging, calendars, emails and socials.
- The version of the OpenAPI document: 2.0.0
+ The version of the OpenAPI document: 2.34.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
+import ipaddress
import io
import json
import re
import ssl
+from urllib.parse import urlparse
import urllib3
@@ -34,6 +36,59 @@ def is_socks_proxy_url(url):
else:
return split_section[0].lower() in SUPPORTED_SOCKS_PROXIES
+def contenttype_matches(contenttype, maintype, subtype):
+ """Matches the given contenttype against the given type and subtype
+
+ :param contenttype: the content type to match
+ :param maintype: the expected maintype
+ :param subtype: the expected subtype
+ :return: `true` when the given content type matches the given type and subtype,
+ regardless of the presence of mime type parameters, otherwise returns `false`.
+ :rtype: bool
+ """
+ pattern = '{type}/(?:[^+;]+\\+)?{subtype}(?:[ \t]*;.*)?'.format(
+ type = re.escape(maintype),
+ subtype = re.escape(subtype),
+ )
+ return re.fullmatch(pattern, contenttype, re.IGNORECASE) is not None
+
+def should_bypass_proxies(url: str, no_proxy: str) -> bool:
+ """Return whether ``url`` matches the comma-separated ``no_proxy`` rules."""
+ parsed_url = urlparse(url)
+ if not parsed_url.hostname:
+ return True
+
+ host = parsed_url.hostname.lower()
+ host_and_port = parsed_url.netloc.lower()
+ try:
+ host_ip = ipaddress.ip_address(host)
+ except ValueError:
+ host_ip = None
+
+ for entry in (entry.strip().lower() for entry in no_proxy.split(',')):
+ if not entry:
+ continue
+ if entry == '*':
+ return True
+
+ if host_ip is not None:
+ try:
+ if host_ip in ipaddress.ip_network(entry, strict=False):
+ return True
+ except ValueError:
+ pass
+
+ entry = entry.lstrip('.')
+ if (
+ host == entry
+ or host.endswith('.' + entry)
+ or host_and_port == entry
+ or host_and_port.endswith('.' + entry)
+ ):
+ return True
+
+ return False
+
class RESTResponse(io.IOBase):
@@ -104,7 +159,9 @@ def __init__(self, configuration) -> None:
# https pool manager
self.pool_manager: urllib3.PoolManager
- if configuration.proxy:
+ if configuration.proxy and not should_bypass_proxies(
+ configuration.host, configuration.no_proxy or ''
+ ):
if is_socks_proxy_url(configuration.proxy):
from urllib3.contrib.socks import SOCKSProxyManager
pool_args["proxy_url"] = configuration.proxy
@@ -113,6 +170,8 @@ def __init__(self, configuration) -> None:
else:
pool_args["proxy_url"] = configuration.proxy
pool_args["proxy_headers"] = configuration.proxy_headers
+ if configuration.proxy_ssl_context is not None:
+ pool_args["proxy_ssl_context"] = configuration.proxy_ssl_context
self.pool_manager = urllib3.ProxyManager(**pool_args)
else:
self.pool_manager = urllib3.PoolManager(**pool_args)
@@ -176,12 +235,24 @@ def request(
# For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
- # no content type provided or payload is json
content_type = headers.get('Content-Type')
- if (
+ is_json = (
not content_type
- or re.search('json', content_type, re.IGNORECASE)
- ):
+ or contenttype_matches(content_type, 'application', 'json')
+ )
+ # JSON is valid YAML 1.2, so structured YAML bodies can use
+ # the existing JSON serializer:
+ # https://yaml.org/spec/1.2.2/#13-relation-to-json
+ is_structured_yaml = (
+ content_type
+ and (
+ contenttype_matches(content_type, 'application', 'yaml')
+ or contenttype_matches(content_type, 'text', 'yaml')
+ or contenttype_matches(content_type, 'text', 'x-yaml')
+ )
+ and not isinstance(body, (str, bytes))
+ )
+ if is_json or is_structured_yaml:
request_body = None
if body is not None:
request_body = json.dumps(body)
@@ -193,7 +264,7 @@ def request(
headers=headers,
preload_content=False
)
- elif content_type == 'application/x-www-form-urlencoded':
+ elif contenttype_matches(content_type, 'application', 'x-www-form-urlencoded'):
r = self.pool_manager.request(
method,
url,
@@ -203,7 +274,7 @@ def request(
headers=headers,
preload_content=False
)
- elif content_type == 'multipart/form-data':
+ elif contenttype_matches(content_type, 'multipart', 'form-data'):
# must del headers['Content-Type'], or the correct
# Content-Type which generated by urllib3 will be
# overwritten.
@@ -231,7 +302,7 @@ def request(
headers=headers,
preload_content=False
)
- elif headers['Content-Type'].startswith('text/') and isinstance(body, bool):
+ elif content_type.startswith('text/') and isinstance(body, bool):
request_body = "true" if body else "false"
r = self.pool_manager.request(
method,