stackone_client 0.33.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stack_one/accounting.rb +2519 -0
- data/lib/stack_one/accounts.rb +1 -1
- data/lib/stack_one/documents.rb +2227 -0
- data/lib/stack_one/messaging.rb +3069 -0
- data/lib/stack_one/models/operations/accounting_batch_create_company_journals_request.rb +41 -0
- data/lib/stack_one/models/operations/accounting_batch_create_company_journals_response.rb +49 -0
- data/lib/stack_one/models/operations/accounting_get_company_account_request.rb +53 -0
- data/lib/stack_one/models/operations/accounting_get_company_account_response.rb +49 -0
- data/lib/stack_one/models/operations/accounting_get_company_journal_request.rb +53 -0
- data/lib/stack_one/models/operations/accounting_get_company_journal_response.rb +49 -0
- data/lib/stack_one/models/operations/accounting_get_company_request.rb +49 -0
- data/lib/stack_one/models/operations/accounting_get_company_response.rb +49 -0
- data/lib/stack_one/models/operations/accounting_get_company_tax_rate_request.rb +53 -0
- data/lib/stack_one/models/operations/accounting_get_company_tax_rate_response.rb +49 -0
- data/lib/stack_one/models/operations/accounting_list_companies_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/accounting_list_companies_request.rb +69 -0
- data/lib/stack_one/models/operations/accounting_list_companies_response.rb +49 -0
- data/lib/stack_one/models/operations/accounting_list_company_accounts_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/accounting_list_company_accounts_request.rb +73 -0
- data/lib/stack_one/models/operations/accounting_list_company_accounts_response.rb +49 -0
- data/lib/stack_one/models/operations/accounting_list_company_journals_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/accounting_list_company_journals_request.rb +73 -0
- data/lib/stack_one/models/operations/accounting_list_company_journals_response.rb +49 -0
- data/lib/stack_one/models/operations/accounting_list_company_tax_rates_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/accounting_list_company_tax_rates_request.rb +73 -0
- data/lib/stack_one/models/operations/accounting_list_company_tax_rates_response.rb +49 -0
- data/lib/stack_one/models/operations/active.rb +28 -0
- data/lib/stack_one/models/operations/documents_download_file_request.rb +49 -0
- data/lib/stack_one/models/operations/documents_download_file_response.rb +49 -0
- data/lib/stack_one/models/operations/documents_get_drive_request.rb +49 -0
- data/lib/stack_one/models/operations/documents_get_drive_response.rb +49 -0
- data/lib/stack_one/models/operations/documents_get_file_request.rb +57 -0
- data/lib/stack_one/models/operations/documents_get_file_response.rb +49 -0
- data/lib/stack_one/models/operations/documents_get_folder_request.rb +53 -0
- data/lib/stack_one/models/operations/documents_get_folder_response.rb +49 -0
- data/lib/stack_one/models/operations/documents_list_drives_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/documents_list_drives_request.rb +69 -0
- data/lib/stack_one/models/operations/documents_list_drives_response.rb +49 -0
- data/lib/stack_one/models/operations/documents_list_files_queryparam_filter.rb +53 -0
- data/lib/stack_one/models/operations/documents_list_files_request.rb +85 -0
- data/lib/stack_one/models/operations/documents_list_files_response.rb +49 -0
- data/lib/stack_one/models/operations/documents_list_folders_queryparam_filter.rb +41 -0
- data/lib/stack_one/models/operations/documents_list_folders_request.rb +81 -0
- data/lib/stack_one/models/operations/documents_list_folders_response.rb +49 -0
- data/lib/stack_one/models/operations/documents_upload_file_request.rb +41 -0
- data/lib/stack_one/models/operations/documents_upload_file_response.rb +49 -0
- data/lib/stack_one/models/operations/lms_list_content_queryparam_filter.rb +7 -3
- data/lib/stack_one/models/operations/lms_list_content_request.rb +1 -1
- data/lib/stack_one/models/operations/lms_list_courses_queryparam_filter.rb +6 -2
- data/lib/stack_one/models/operations/messaging_create_conversation_request.rb +37 -0
- data/lib/stack_one/models/operations/messaging_create_conversation_response.rb +49 -0
- data/lib/stack_one/models/operations/messaging_download_messaging_attachment_request.rb +49 -0
- data/lib/stack_one/models/operations/messaging_download_messaging_attachment_response.rb +49 -0
- data/lib/stack_one/models/operations/messaging_get_attachment_request.rb +53 -0
- data/lib/stack_one/models/operations/messaging_get_attachment_response.rb +49 -0
- data/lib/stack_one/models/operations/messaging_get_conversation_request.rb +49 -0
- data/lib/stack_one/models/operations/messaging_get_conversation_response.rb +49 -0
- data/lib/stack_one/models/operations/messaging_get_message_queryparam_filter.rb +28 -0
- data/lib/stack_one/models/operations/messaging_get_message_request.rb +53 -0
- data/lib/stack_one/models/operations/messaging_get_message_response.rb +49 -0
- data/lib/stack_one/models/operations/messaging_get_user_request.rb +49 -0
- data/lib/stack_one/models/operations/messaging_get_user_response.rb +49 -0
- data/lib/stack_one/models/operations/messaging_list_attachments_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/messaging_list_attachments_request.rb +73 -0
- data/lib/stack_one/models/operations/messaging_list_attachments_response.rb +49 -0
- data/lib/stack_one/models/operations/messaging_list_conversation_messages_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/messaging_list_conversation_messages_request.rb +73 -0
- data/lib/stack_one/models/operations/messaging_list_conversation_messages_response.rb +49 -0
- data/lib/stack_one/models/operations/messaging_list_conversations_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/messaging_list_conversations_request.rb +69 -0
- data/lib/stack_one/models/operations/messaging_list_conversations_response.rb +49 -0
- data/lib/stack_one/models/operations/messaging_list_users_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/messaging_list_users_request.rb +69 -0
- data/lib/stack_one/models/operations/messaging_list_users_response.rb +49 -0
- data/lib/stack_one/models/operations/messaging_send_message_request.rb +37 -0
- data/lib/stack_one/models/operations/messaging_send_message_response.rb +49 -0
- data/lib/stack_one/models/operations/queryparam_active.rb +28 -0
- data/lib/stack_one/models/operations/screening_create_screening_order_request.rb +37 -0
- data/lib/stack_one/models/operations/screening_create_screening_order_response.rb +49 -0
- data/lib/stack_one/models/operations/screening_get_screening_package_request.rb +49 -0
- data/lib/stack_one/models/operations/screening_get_screening_package_response.rb +49 -0
- data/lib/stack_one/models/operations/screening_list_screening_packages_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/screening_list_screening_packages_request.rb +69 -0
- data/lib/stack_one/models/operations/screening_list_screening_packages_response.rb +49 -0
- data/lib/stack_one/models/operations/screening_webhook_screening_result_request.rb +37 -0
- data/lib/stack_one/models/operations/screening_webhook_screening_result_response.rb +49 -0
- data/lib/stack_one/models/operations/stackone_list_linked_accounts_request.rb +6 -2
- data/lib/stack_one/models/operations/ticketing_create_ticket_request.rb +37 -0
- data/lib/stack_one/models/operations/ticketing_create_ticket_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_download_ticketing_attachment_request.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_download_ticketing_attachment_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_get_attachment_request.rb +53 -0
- data/lib/stack_one/models/operations/ticketing_get_attachment_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_get_comment_request.rb +53 -0
- data/lib/stack_one/models/operations/ticketing_get_comment_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_get_project_component_request.rb +53 -0
- data/lib/stack_one/models/operations/ticketing_get_project_component_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_get_project_request.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_get_project_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_get_ticket_request.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_get_ticket_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_get_ticket_type_request.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_get_ticket_type_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_get_user_request.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_get_user_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_list_attachments_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/ticketing_list_attachments_request.rb +73 -0
- data/lib/stack_one/models/operations/ticketing_list_attachments_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_list_comments_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/ticketing_list_comments_request.rb +73 -0
- data/lib/stack_one/models/operations/ticketing_list_comments_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_list_project_components_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/ticketing_list_project_components_request.rb +73 -0
- data/lib/stack_one/models/operations/ticketing_list_project_components_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_list_project_ticket_types_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/ticketing_list_project_ticket_types_request.rb +73 -0
- data/lib/stack_one/models/operations/ticketing_list_project_ticket_types_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_list_projects_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/ticketing_list_projects_request.rb +69 -0
- data/lib/stack_one/models/operations/ticketing_list_projects_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_list_ticket_statuses_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/ticketing_list_ticket_statuses_request.rb +73 -0
- data/lib/stack_one/models/operations/ticketing_list_ticket_statuses_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_list_ticket_types_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/ticketing_list_ticket_types_request.rb +69 -0
- data/lib/stack_one/models/operations/ticketing_list_ticket_types_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_list_tickets_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/ticketing_list_tickets_request.rb +69 -0
- data/lib/stack_one/models/operations/ticketing_list_tickets_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_list_users_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/ticketing_list_users_request.rb +69 -0
- data/lib/stack_one/models/operations/ticketing_list_users_response.rb +49 -0
- data/lib/stack_one/models/operations/ticketing_update_ticket_request.rb +41 -0
- data/lib/stack_one/models/operations/ticketing_update_ticket_response.rb +49 -0
- data/lib/stack_one/models/operations.rb +126 -0
- data/lib/stack_one/models/shared/account_type.rb +37 -0
- data/lib/stack_one/models/shared/accountingaccount.rb +57 -0
- data/lib/stack_one/models/shared/accountingaccount_4.rb +28 -0
- data/lib/stack_one/models/shared/accountingaccount_source_value.rb +28 -0
- data/lib/stack_one/models/shared/accountingaccount_value.rb +24 -0
- data/lib/stack_one/models/shared/accountingaccountresult.rb +37 -0
- data/lib/stack_one/models/shared/accountingaccountresult_2.rb +20 -0
- data/lib/stack_one/models/shared/accountingaccountresult_4.rb +28 -0
- data/lib/stack_one/models/shared/accountingaccountresult_active.rb +28 -0
- data/lib/stack_one/models/shared/accountingaccountresult_source_value.rb +28 -0
- data/lib/stack_one/models/shared/accountingaccountresult_type.rb +37 -0
- data/lib/stack_one/models/shared/accountingaccountresult_value.rb +24 -0
- data/lib/stack_one/models/shared/accountingaccountspaginated.rb +41 -0
- data/lib/stack_one/models/shared/accountingcompaniespaginated.rb +41 -0
- data/lib/stack_one/models/shared/accountingcompany.rb +53 -0
- data/lib/stack_one/models/shared/accountingcompany_4.rb +28 -0
- data/lib/stack_one/models/shared/accountingcompany_source_value.rb +28 -0
- data/lib/stack_one/models/shared/accountingcompany_value.rb +176 -0
- data/lib/stack_one/models/shared/accountingcompanyresult.rb +37 -0
- data/lib/stack_one/models/shared/accountingcompanyresult_4.rb +28 -0
- data/lib/stack_one/models/shared/accountingcompanyresult_base_currency.rb +37 -0
- data/lib/stack_one/models/shared/accountingcompanyresult_data.rb +53 -0
- data/lib/stack_one/models/shared/accountingcompanyresult_source_value.rb +28 -0
- data/lib/stack_one/models/shared/accountingcompanyresult_value.rb +176 -0
- data/lib/stack_one/models/shared/accountingjournal.rb +73 -0
- data/lib/stack_one/models/shared/accountingjournal_4.rb +28 -0
- data/lib/stack_one/models/shared/accountingjournal_source_value.rb +28 -0
- data/lib/stack_one/models/shared/accountingjournal_value.rb +22 -0
- data/lib/stack_one/models/shared/accountingjournalbatchcreaterequestdto.rb +33 -0
- data/lib/stack_one/models/shared/accountingjournalcreaterequestdto.rb +53 -0
- data/lib/stack_one/models/shared/accountingjournalcreaterequestdto_4.rb +28 -0
- data/lib/stack_one/models/shared/accountingjournalcreaterequestdto_source_value.rb +28 -0
- data/lib/stack_one/models/shared/accountingjournalcreaterequestdto_value.rb +176 -0
- data/lib/stack_one/models/shared/accountingjournalresult.rb +37 -0
- data/lib/stack_one/models/shared/accountingjournalresult_4.rb +28 -0
- data/lib/stack_one/models/shared/accountingjournalresult_data.rb +73 -0
- data/lib/stack_one/models/shared/accountingjournalresult_source_value.rb +28 -0
- data/lib/stack_one/models/shared/accountingjournalresult_status.rb +37 -0
- data/lib/stack_one/models/shared/accountingjournalresult_value.rb +22 -0
- data/lib/stack_one/models/shared/accountingjournalspaginated.rb +41 -0
- data/lib/stack_one/models/shared/accountingtaxrate.rb +57 -0
- data/lib/stack_one/models/shared/accountingtaxrate_2.rb +20 -0
- data/lib/stack_one/models/shared/accountingtaxrate_active.rb +28 -0
- data/lib/stack_one/models/shared/accountingtaxrateresult.rb +37 -0
- data/lib/stack_one/models/shared/accountingtaxrateresult_2.rb +20 -0
- data/lib/stack_one/models/shared/accountingtaxrateresult_active.rb +28 -0
- data/lib/stack_one/models/shared/accountingtaxrateresult_data.rb +57 -0
- data/lib/stack_one/models/shared/accountingtaxratespaginated.rb +41 -0
- data/lib/stack_one/models/shared/active.rb +1 -1
- data/lib/stack_one/models/shared/answer.rb +2 -2
- data/lib/stack_one/models/shared/answer_type.rb +37 -0
- data/lib/stack_one/models/shared/application.rb +2 -0
- data/lib/stack_one/models/shared/assignment.rb +2 -2
- data/lib/stack_one/models/shared/assignment_status.rb +37 -0
- data/lib/stack_one/models/shared/author.rb +69 -0
- data/lib/stack_one/models/shared/base_currency.rb +37 -0
- data/lib/stack_one/models/shared/bot.rb +28 -0
- data/lib/stack_one/models/shared/campaign.rb +3 -3
- data/lib/stack_one/models/shared/campaign_schemas_2.rb +20 -0
- data/lib/stack_one/models/shared/category_active.rb +28 -0
- data/lib/stack_one/models/shared/contentpaginated.rb +6 -2
- data/lib/stack_one/models/shared/coursepaginated.rb +6 -2
- data/lib/stack_one/models/shared/createjournalline.rb +49 -0
- data/lib/stack_one/models/shared/currency_code.rb +37 -0
- data/lib/stack_one/models/shared/data.rb +19 -43
- data/lib/stack_one/models/shared/driveresult.rb +37 -0
- data/lib/stack_one/models/shared/drives.rb +57 -0
- data/lib/stack_one/models/shared/drivespaginated.rb +41 -0
- data/lib/stack_one/models/shared/employee.rb +2 -0
- data/lib/stack_one/models/shared/event.rb +23 -0
- data/lib/stack_one/models/shared/fileresult.rb +37 -0
- data/lib/stack_one/models/shared/files.rb +113 -0
- data/lib/stack_one/models/shared/files_2.rb +20 -0
- data/lib/stack_one/models/shared/files_4.rb +28 -0
- data/lib/stack_one/models/shared/files_file_format.rb +37 -0
- data/lib/stack_one/models/shared/files_schemas_2.rb +20 -0
- data/lib/stack_one/models/shared/files_source_value.rb +28 -0
- data/lib/stack_one/models/shared/files_value.rb +1229 -0
- data/lib/stack_one/models/shared/filespaginated.rb +41 -0
- data/lib/stack_one/models/shared/folderresult.rb +37 -0
- data/lib/stack_one/models/shared/folders.rb +105 -0
- data/lib/stack_one/models/shared/folders_2.rb +20 -0
- data/lib/stack_one/models/shared/folders_has_children.rb +28 -0
- data/lib/stack_one/models/shared/folders_has_content.rb +28 -0
- data/lib/stack_one/models/shared/folders_schemas_2.rb +20 -0
- data/lib/stack_one/models/shared/folders_schemas_is_root_2.rb +20 -0
- data/lib/stack_one/models/shared/folderspaginated.rb +41 -0
- data/lib/stack_one/models/shared/has_children.rb +28 -0
- data/lib/stack_one/models/shared/has_content.rb +28 -0
- data/lib/stack_one/models/shared/hrisshiftresult.rb +2 -2
- data/lib/stack_one/models/shared/hrisshiftresult_data.rb +81 -0
- data/lib/stack_one/models/shared/is_root.rb +28 -0
- data/lib/stack_one/models/shared/journalline.rb +65 -0
- data/lib/stack_one/models/shared/journalline_4.rb +28 -0
- data/lib/stack_one/models/shared/journalline_currency_code.rb +37 -0
- data/lib/stack_one/models/shared/journalline_schemas_4.rb +28 -0
- data/lib/stack_one/models/shared/journalline_schemas_source_value.rb +28 -0
- data/lib/stack_one/models/shared/journalline_schemas_value.rb +176 -0
- data/lib/stack_one/models/shared/journalline_source_value.rb +28 -0
- data/lib/stack_one/models/shared/journalline_value.rb +24 -0
- data/lib/stack_one/models/shared/messagingattachment.rb +49 -0
- data/lib/stack_one/models/shared/messagingattachmentresult.rb +37 -0
- data/lib/stack_one/models/shared/messagingattachmentresult_data.rb +49 -0
- data/lib/stack_one/models/shared/messagingattachmentspaginated.rb +41 -0
- data/lib/stack_one/models/shared/messagingconversation.rb +57 -0
- data/lib/stack_one/models/shared/messagingconversation_2.rb +20 -0
- data/lib/stack_one/models/shared/messagingconversationresult.rb +37 -0
- data/lib/stack_one/models/shared/messagingconversationresult_2.rb +20 -0
- data/lib/stack_one/models/shared/messagingconversationresult_data.rb +57 -0
- data/lib/stack_one/models/shared/messagingconversationresult_private.rb +28 -0
- data/lib/stack_one/models/shared/messagingconversationspaginated.rb +41 -0
- data/lib/stack_one/models/shared/messagingcreateconversationrequestdto.rb +41 -0
- data/lib/stack_one/models/shared/messagingcreateconversationrequestdto_2.rb +20 -0
- data/lib/stack_one/models/shared/messagingcreateconversationrequestdto_private.rb +28 -0
- data/lib/stack_one/models/shared/messagingmessage.rb +61 -0
- data/lib/stack_one/models/shared/messagingmessage_2.rb +20 -0
- data/lib/stack_one/models/shared/messagingmessage_active.rb +28 -0
- data/lib/stack_one/models/shared/messagingmessage_content.rb +37 -0
- data/lib/stack_one/models/shared/messagingmessageresult.rb +37 -0
- data/lib/stack_one/models/shared/messagingmessageresult_2.rb +20 -0
- data/lib/stack_one/models/shared/messagingmessageresult_active.rb +28 -0
- data/lib/stack_one/models/shared/messagingmessageresult_author.rb +69 -0
- data/lib/stack_one/models/shared/messagingmessageresult_content.rb +37 -0
- data/lib/stack_one/models/shared/messagingmessageresult_data.rb +61 -0
- data/lib/stack_one/models/shared/messagingmessagesendrequestdto.rb +41 -0
- data/lib/stack_one/models/shared/messagingmessagespaginated.rb +41 -0
- data/lib/stack_one/models/shared/messaginguser.rb +65 -0
- data/lib/stack_one/models/shared/messaginguser_2.rb +20 -0
- data/lib/stack_one/models/shared/messaginguser_active.rb +28 -0
- data/lib/stack_one/models/shared/messaginguser_schemas_2.rb +20 -0
- data/lib/stack_one/models/shared/messaginguserresult.rb +37 -0
- data/lib/stack_one/models/shared/messaginguserresult_2.rb +20 -0
- data/lib/stack_one/models/shared/messaginguserresult_active.rb +28 -0
- data/lib/stack_one/models/shared/messaginguserresult_bot.rb +28 -0
- data/lib/stack_one/models/shared/messaginguserresult_data.rb +65 -0
- data/lib/stack_one/models/shared/messaginguserresult_schemas_2.rb +20 -0
- data/lib/stack_one/models/shared/messaginguserspaginated.rb +41 -0
- data/lib/stack_one/models/shared/organization.rb +45 -0
- data/lib/stack_one/models/shared/priority.rb +41 -0
- data/lib/stack_one/models/shared/private.rb +28 -0
- data/lib/stack_one/models/shared/screeningcreateorderrequestdto.rb +45 -0
- data/lib/stack_one/models/shared/screeningordercandidate.rb +41 -0
- data/lib/stack_one/models/shared/screeningpackage.rb +49 -0
- data/lib/stack_one/models/shared/screeningpackageresult.rb +37 -0
- data/lib/stack_one/models/shared/screeningpackagespaginated.rb +45 -0
- data/lib/stack_one/models/shared/screeningresult.rb +69 -0
- data/lib/stack_one/models/shared/screeningresult_score.rb +45 -0
- data/lib/stack_one/models/shared/screeningresult_status.rb +24 -0
- data/lib/stack_one/models/shared/screeningresultwebhook.rb +41 -0
- data/lib/stack_one/models/shared/status.rb +5 -5
- data/lib/stack_one/models/shared/ticketingattachment.rb +69 -0
- data/lib/stack_one/models/shared/ticketingattachment_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketingattachment_file_format.rb +37 -0
- data/lib/stack_one/models/shared/ticketingattachment_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketingattachment_value.rb +1229 -0
- data/lib/stack_one/models/shared/ticketingattachmentresult.rb +37 -0
- data/lib/stack_one/models/shared/ticketingattachmentresult_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketingattachmentresult_data.rb +69 -0
- data/lib/stack_one/models/shared/ticketingattachmentresult_file_format.rb +37 -0
- data/lib/stack_one/models/shared/ticketingattachmentresult_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketingattachmentresult_value.rb +1229 -0
- data/lib/stack_one/models/shared/ticketingattachmentspaginated.rb +41 -0
- data/lib/stack_one/models/shared/ticketingcomment.rb +61 -0
- data/lib/stack_one/models/shared/ticketingcomment_2.rb +20 -0
- data/lib/stack_one/models/shared/ticketingcomment_internal.rb +28 -0
- data/lib/stack_one/models/shared/ticketingcommentresult.rb +37 -0
- data/lib/stack_one/models/shared/ticketingcommentresult_2.rb +20 -0
- data/lib/stack_one/models/shared/ticketingcommentresult_data.rb +61 -0
- data/lib/stack_one/models/shared/ticketingcommentresult_internal.rb +28 -0
- data/lib/stack_one/models/shared/ticketingcommentspaginated.rb +41 -0
- data/lib/stack_one/models/shared/ticketingcomponent.rb +61 -0
- data/lib/stack_one/models/shared/ticketingcomponentresult.rb +37 -0
- data/lib/stack_one/models/shared/ticketingcomponentresult_data.rb +61 -0
- data/lib/stack_one/models/shared/ticketingcomponentspaginated.rb +41 -0
- data/lib/stack_one/models/shared/ticketingcontent.rb +37 -0
- data/lib/stack_one/models/shared/ticketingproject.rb +57 -0
- data/lib/stack_one/models/shared/ticketingprojectresult.rb +37 -0
- data/lib/stack_one/models/shared/ticketingprojectresult_data.rb +57 -0
- data/lib/stack_one/models/shared/ticketingprojectspaginated.rb +41 -0
- data/lib/stack_one/models/shared/ticketingreadticket.rb +113 -0
- data/lib/stack_one/models/shared/ticketingreadticket_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketingreadticket_schemas_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketingreadticket_schemas_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketingreadticket_schemas_type.rb +37 -0
- data/lib/stack_one/models/shared/ticketingreadticket_schemas_value.rb +22 -0
- data/lib/stack_one/models/shared/ticketingreadticket_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketingreadticket_status.rb +41 -0
- data/lib/stack_one/models/shared/ticketingreadticket_type.rb +41 -0
- data/lib/stack_one/models/shared/ticketingreadticket_value.rb +24 -0
- data/lib/stack_one/models/shared/ticketingticketcreaterequestdto.rb +81 -0
- data/lib/stack_one/models/shared/ticketingticketcreaterequestdto_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketcreaterequestdto_priority.rb +41 -0
- data/lib/stack_one/models/shared/ticketingticketcreaterequestdto_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketcreaterequestdto_value.rb +24 -0
- data/lib/stack_one/models/shared/ticketingticketresult.rb +37 -0
- data/lib/stack_one/models/shared/ticketingticketresult_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketresult_data.rb +113 -0
- data/lib/stack_one/models/shared/ticketingticketresult_organization.rb +45 -0
- data/lib/stack_one/models/shared/ticketingticketresult_priority.rb +41 -0
- data/lib/stack_one/models/shared/ticketingticketresult_schemas_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketresult_schemas_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketresult_schemas_type.rb +37 -0
- data/lib/stack_one/models/shared/ticketingticketresult_schemas_value.rb +22 -0
- data/lib/stack_one/models/shared/ticketingticketresult_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketresult_status.rb +41 -0
- data/lib/stack_one/models/shared/ticketingticketresult_type.rb +41 -0
- data/lib/stack_one/models/shared/ticketingticketresult_value.rb +24 -0
- data/lib/stack_one/models/shared/ticketingticketspaginated.rb +41 -0
- data/lib/stack_one/models/shared/ticketingticketstatus.rb +41 -0
- data/lib/stack_one/models/shared/ticketingticketstatus_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketstatus_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketstatus_type.rb +37 -0
- data/lib/stack_one/models/shared/ticketingticketstatus_value.rb +22 -0
- data/lib/stack_one/models/shared/ticketingticketstatusespaginated.rb +41 -0
- data/lib/stack_one/models/shared/ticketingtickettype.rb +41 -0
- data/lib/stack_one/models/shared/ticketingtickettypepaginated.rb +41 -0
- data/lib/stack_one/models/shared/ticketingtickettyperesult.rb +37 -0
- data/lib/stack_one/models/shared/ticketingtickettyperesult_data.rb +41 -0
- data/lib/stack_one/models/shared/ticketingticketupdaterequestdto.rb +73 -0
- data/lib/stack_one/models/shared/ticketingticketupdaterequestdto_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketupdaterequestdto_priority.rb +41 -0
- data/lib/stack_one/models/shared/ticketingticketupdaterequestdto_schemas_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketupdaterequestdto_schemas_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketupdaterequestdto_schemas_value.rb +22 -0
- data/lib/stack_one/models/shared/ticketingticketupdaterequestdto_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketingticketupdaterequestdto_status.rb +41 -0
- data/lib/stack_one/models/shared/ticketingticketupdaterequestdto_type.rb +37 -0
- data/lib/stack_one/models/shared/ticketingticketupdaterequestdto_value.rb +24 -0
- data/lib/stack_one/models/shared/ticketinguser.rb +81 -0
- data/lib/stack_one/models/shared/ticketinguser_2.rb +20 -0
- data/lib/stack_one/models/shared/ticketinguser_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketinguser_active.rb +28 -0
- data/lib/stack_one/models/shared/ticketinguser_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketinguser_type.rb +37 -0
- data/lib/stack_one/models/shared/ticketinguser_value.rb +22 -0
- data/lib/stack_one/models/shared/ticketinguserresult.rb +37 -0
- data/lib/stack_one/models/shared/ticketinguserresult_2.rb +20 -0
- data/lib/stack_one/models/shared/ticketinguserresult_4.rb +28 -0
- data/lib/stack_one/models/shared/ticketinguserresult_active.rb +28 -0
- data/lib/stack_one/models/shared/ticketinguserresult_data.rb +81 -0
- data/lib/stack_one/models/shared/ticketinguserresult_source_value.rb +28 -0
- data/lib/stack_one/models/shared/ticketinguserresult_type.rb +37 -0
- data/lib/stack_one/models/shared/ticketinguserresult_value.rb +22 -0
- data/lib/stack_one/models/shared/ticketinguserspaginated.rb +41 -0
- data/lib/stack_one/models/shared/type.rb +6 -6
- data/lib/stack_one/models/shared.rb +233 -0
- data/lib/stack_one/proxy.rb +1 -1
- data/lib/stack_one/screening.rb +1143 -0
- data/lib/stack_one/sdkconfiguration.rb +2 -2
- data/lib/stack_one/stackone.rb +6 -1
- data/lib/stack_one/ticketing.rb +5292 -0
- data/lib/stackone_client.rb +5 -0
- metadata +366 -2
@@ -0,0 +1,41 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingBatchCreateCompanyJournalsRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :accounting_journal_batch_create_request_dto, Models::Shared::AccountingJournalBatchCreateRequestDto, { 'request': { 'media_type': 'application/json' } }
|
18
|
+
|
19
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
20
|
+
# The account identifier
|
21
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(accounting_journal_batch_create_request_dto: Models::Shared::AccountingJournalBatchCreateRequestDto, id: ::String, x_account_id: ::String).void }
|
25
|
+
def initialize(accounting_journal_batch_create_request_dto: nil, id: nil, x_account_id: nil)
|
26
|
+
@accounting_journal_batch_create_request_dto = accounting_journal_batch_create_request_dto
|
27
|
+
@id = id
|
28
|
+
@x_account_id = x_account_id
|
29
|
+
end
|
30
|
+
|
31
|
+
def ==(other)
|
32
|
+
return false unless other.is_a? self.class
|
33
|
+
return false unless @accounting_journal_batch_create_request_dto == other.accounting_journal_batch_create_request_dto
|
34
|
+
return false unless @id == other.id
|
35
|
+
return false unless @x_account_id == other.x_account_id
|
36
|
+
true
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingBatchCreateCompanyJournalsResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
|
19
|
+
field :headers, T::Hash[Symbol, T::Array[::String]]
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
21
|
+
field :raw_response, ::Faraday::Response
|
22
|
+
# HTTP response status code for this operation
|
23
|
+
field :status_code, ::Integer
|
24
|
+
# Batch operation accepted
|
25
|
+
field :batch_result_api_model, T.nilable(Models::Shared::BatchResultApiModel)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, batch_result_api_model: T.nilable(Models::Shared::BatchResultApiModel)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, batch_result_api_model: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@batch_result_api_model = batch_result_api_model
|
35
|
+
end
|
36
|
+
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @content_type == other.content_type
|
40
|
+
return false unless @headers == other.headers
|
41
|
+
return false unless @raw_response == other.raw_response
|
42
|
+
return false unless @status_code == other.status_code
|
43
|
+
return false unless @batch_result_api_model == other.batch_result_api_model
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingGetCompanyAccountRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
+
|
19
|
+
field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
|
20
|
+
# The account identifier
|
21
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
22
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
23
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
24
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
25
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
26
|
+
# Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
|
27
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
28
|
+
|
29
|
+
|
30
|
+
sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
31
|
+
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
32
|
+
@id = id
|
33
|
+
@sub_resource_id = sub_resource_id
|
34
|
+
@x_account_id = x_account_id
|
35
|
+
@fields_ = fields_
|
36
|
+
@proxy = proxy
|
37
|
+
@raw = raw
|
38
|
+
end
|
39
|
+
|
40
|
+
def ==(other)
|
41
|
+
return false unless other.is_a? self.class
|
42
|
+
return false unless @id == other.id
|
43
|
+
return false unless @sub_resource_id == other.sub_resource_id
|
44
|
+
return false unless @x_account_id == other.x_account_id
|
45
|
+
return false unless @fields_ == other.fields_
|
46
|
+
return false unless @proxy == other.proxy
|
47
|
+
return false unless @raw == other.raw
|
48
|
+
true
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingGetCompanyAccountResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
|
19
|
+
field :headers, T::Hash[Symbol, T::Array[::String]]
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
21
|
+
field :raw_response, ::Faraday::Response
|
22
|
+
# HTTP response status code for this operation
|
23
|
+
field :status_code, ::Integer
|
24
|
+
# The account with the given identifier was retrieved.
|
25
|
+
field :accounting_account_result, T.nilable(Models::Shared::AccountingAccountResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, accounting_account_result: T.nilable(Models::Shared::AccountingAccountResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, accounting_account_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@accounting_account_result = accounting_account_result
|
35
|
+
end
|
36
|
+
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @content_type == other.content_type
|
40
|
+
return false unless @headers == other.headers
|
41
|
+
return false unless @raw_response == other.raw_response
|
42
|
+
return false unless @status_code == other.status_code
|
43
|
+
return false unless @accounting_account_result == other.accounting_account_result
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingGetCompanyJournalRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
+
|
19
|
+
field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
|
20
|
+
# The account identifier
|
21
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
22
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
23
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
24
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
25
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
26
|
+
# Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
|
27
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
28
|
+
|
29
|
+
|
30
|
+
sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
31
|
+
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
32
|
+
@id = id
|
33
|
+
@sub_resource_id = sub_resource_id
|
34
|
+
@x_account_id = x_account_id
|
35
|
+
@fields_ = fields_
|
36
|
+
@proxy = proxy
|
37
|
+
@raw = raw
|
38
|
+
end
|
39
|
+
|
40
|
+
def ==(other)
|
41
|
+
return false unless other.is_a? self.class
|
42
|
+
return false unless @id == other.id
|
43
|
+
return false unless @sub_resource_id == other.sub_resource_id
|
44
|
+
return false unless @x_account_id == other.x_account_id
|
45
|
+
return false unless @fields_ == other.fields_
|
46
|
+
return false unless @proxy == other.proxy
|
47
|
+
return false unless @raw == other.raw
|
48
|
+
true
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingGetCompanyJournalResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
|
19
|
+
field :headers, T::Hash[Symbol, T::Array[::String]]
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
21
|
+
field :raw_response, ::Faraday::Response
|
22
|
+
# HTTP response status code for this operation
|
23
|
+
field :status_code, ::Integer
|
24
|
+
# The journal with the given identifier was retrieved.
|
25
|
+
field :accounting_journal_result, T.nilable(Models::Shared::AccountingJournalResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, accounting_journal_result: T.nilable(Models::Shared::AccountingJournalResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, accounting_journal_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@accounting_journal_result = accounting_journal_result
|
35
|
+
end
|
36
|
+
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @content_type == other.content_type
|
40
|
+
return false unless @headers == other.headers
|
41
|
+
return false unless @raw_response == other.raw_response
|
42
|
+
return false unless @status_code == other.status_code
|
43
|
+
return false unless @accounting_journal_result == other.accounting_journal_result
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingGetCompanyRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The account identifier
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
21
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
|
+
# Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
|
25
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
29
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
30
|
+
@id = id
|
31
|
+
@x_account_id = x_account_id
|
32
|
+
@fields_ = fields_
|
33
|
+
@proxy = proxy
|
34
|
+
@raw = raw
|
35
|
+
end
|
36
|
+
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @id == other.id
|
40
|
+
return false unless @x_account_id == other.x_account_id
|
41
|
+
return false unless @fields_ == other.fields_
|
42
|
+
return false unless @proxy == other.proxy
|
43
|
+
return false unless @raw == other.raw
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingGetCompanyResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
|
19
|
+
field :headers, T::Hash[Symbol, T::Array[::String]]
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
21
|
+
field :raw_response, ::Faraday::Response
|
22
|
+
# HTTP response status code for this operation
|
23
|
+
field :status_code, ::Integer
|
24
|
+
# The company with the given identifier was retrieved.
|
25
|
+
field :accounting_company_result, T.nilable(Models::Shared::AccountingCompanyResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, accounting_company_result: T.nilable(Models::Shared::AccountingCompanyResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, accounting_company_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@accounting_company_result = accounting_company_result
|
35
|
+
end
|
36
|
+
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @content_type == other.content_type
|
40
|
+
return false unless @headers == other.headers
|
41
|
+
return false unless @raw_response == other.raw_response
|
42
|
+
return false unless @status_code == other.status_code
|
43
|
+
return false unless @accounting_company_result == other.accounting_company_result
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingGetCompanyTaxRateRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
+
|
19
|
+
field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
|
20
|
+
# The account identifier
|
21
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
22
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
23
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
24
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
25
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
26
|
+
# Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
|
27
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
28
|
+
|
29
|
+
|
30
|
+
sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
31
|
+
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
32
|
+
@id = id
|
33
|
+
@sub_resource_id = sub_resource_id
|
34
|
+
@x_account_id = x_account_id
|
35
|
+
@fields_ = fields_
|
36
|
+
@proxy = proxy
|
37
|
+
@raw = raw
|
38
|
+
end
|
39
|
+
|
40
|
+
def ==(other)
|
41
|
+
return false unless other.is_a? self.class
|
42
|
+
return false unless @id == other.id
|
43
|
+
return false unless @sub_resource_id == other.sub_resource_id
|
44
|
+
return false unless @x_account_id == other.x_account_id
|
45
|
+
return false unless @fields_ == other.fields_
|
46
|
+
return false unless @proxy == other.proxy
|
47
|
+
return false unless @raw == other.raw
|
48
|
+
true
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingGetCompanyTaxRateResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
|
19
|
+
field :headers, T::Hash[Symbol, T::Array[::String]]
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
21
|
+
field :raw_response, ::Faraday::Response
|
22
|
+
# HTTP response status code for this operation
|
23
|
+
field :status_code, ::Integer
|
24
|
+
# The tax rate with the given identifier was retrieved.
|
25
|
+
field :accounting_tax_rate_result, T.nilable(Models::Shared::AccountingTaxRateResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, accounting_tax_rate_result: T.nilable(Models::Shared::AccountingTaxRateResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, accounting_tax_rate_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@accounting_tax_rate_result = accounting_tax_rate_result
|
35
|
+
end
|
36
|
+
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @content_type == other.content_type
|
40
|
+
return false unless @headers == other.headers
|
41
|
+
return false unless @raw_response == other.raw_response
|
42
|
+
return false unless @status_code == other.status_code
|
43
|
+
return false unless @accounting_tax_rate_result == other.accounting_tax_rate_result
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
# Filter parameters that allow greater customisation of the list response
|
12
|
+
class AccountingListCompaniesQueryParamFilter
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# Use a string with a date to only select results updated after that given date
|
17
|
+
field :updated_after, T.nilable(::DateTime), { 'query_param': { 'field_name': 'updated_after' } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(updated_after: T.nilable(::DateTime)).void }
|
21
|
+
def initialize(updated_after: nil)
|
22
|
+
@updated_after = updated_after
|
23
|
+
end
|
24
|
+
|
25
|
+
def ==(other)
|
26
|
+
return false unless other.is_a? self.class
|
27
|
+
return false unless @updated_after == other.updated_after
|
28
|
+
true
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingListCompaniesRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# The account identifier
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
+
# Filter parameters that allow greater customisation of the list response
|
21
|
+
field :filter, T.nilable(Models::Operations::AccountingListCompaniesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
22
|
+
# The unified cursor
|
23
|
+
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
24
|
+
# The page number of the results to fetch
|
25
|
+
#
|
26
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
27
|
+
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
28
|
+
# The number of results per page (default value is 25)
|
29
|
+
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
30
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
31
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
32
|
+
# Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
|
33
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
34
|
+
# Use a string with a date to only select results updated after that given date
|
35
|
+
#
|
36
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
|
+
field :updated_after, T.nilable(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
|
+
|
39
|
+
|
40
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(Models::Operations::AccountingListCompaniesQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::DateTime)).void }
|
41
|
+
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
42
|
+
@x_account_id = x_account_id
|
43
|
+
@fields_ = fields_
|
44
|
+
@filter = filter
|
45
|
+
@next_ = next_
|
46
|
+
@page = page
|
47
|
+
@page_size = page_size
|
48
|
+
@proxy = proxy
|
49
|
+
@raw = raw
|
50
|
+
@updated_after = updated_after
|
51
|
+
end
|
52
|
+
|
53
|
+
def ==(other)
|
54
|
+
return false unless other.is_a? self.class
|
55
|
+
return false unless @x_account_id == other.x_account_id
|
56
|
+
return false unless @fields_ == other.fields_
|
57
|
+
return false unless @filter == other.filter
|
58
|
+
return false unless @next_ == other.next_
|
59
|
+
return false unless @page == other.page
|
60
|
+
return false unless @page_size == other.page_size
|
61
|
+
return false unless @proxy == other.proxy
|
62
|
+
return false unless @raw == other.raw
|
63
|
+
return false unless @updated_after == other.updated_after
|
64
|
+
true
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AccountingListCompaniesResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
|
19
|
+
field :headers, T::Hash[Symbol, T::Array[::String]]
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
21
|
+
field :raw_response, ::Faraday::Response
|
22
|
+
# HTTP response status code for this operation
|
23
|
+
field :status_code, ::Integer
|
24
|
+
# The list of companies was retrieved.
|
25
|
+
field :accounting_companies_paginated, T.nilable(Models::Shared::AccountingCompaniesPaginated)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, accounting_companies_paginated: T.nilable(Models::Shared::AccountingCompaniesPaginated)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, accounting_companies_paginated: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@accounting_companies_paginated = accounting_companies_paginated
|
35
|
+
end
|
36
|
+
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @content_type == other.content_type
|
40
|
+
return false unless @headers == other.headers
|
41
|
+
return false unless @raw_response == other.raw_response
|
42
|
+
return false unless @status_code == other.status_code
|
43
|
+
return false unless @accounting_companies_paginated == other.accounting_companies_paginated
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|