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,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 AccountingListCompanyAccountsQueryParamFilter
|
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,73 @@
|
|
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 AccountingListCompanyAccountsRequest
|
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
|
+
# Filter parameters that allow greater customisation of the list response
|
23
|
+
field :filter, T.nilable(Models::Operations::AccountingListCompanyAccountsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
24
|
+
# The unified cursor
|
25
|
+
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
26
|
+
# The page number of the results to fetch
|
27
|
+
#
|
28
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
29
|
+
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
30
|
+
# The number of results per page (default value is 25)
|
31
|
+
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
32
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
33
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
34
|
+
# Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
|
35
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
36
|
+
# Use a string with a date to only select results updated after that given date
|
37
|
+
#
|
38
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
39
|
+
field :updated_after, T.nilable(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
40
|
+
|
41
|
+
|
42
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(Models::Operations::AccountingListCompanyAccountsQueryParamFilter), 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 }
|
43
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
44
|
+
@id = id
|
45
|
+
@x_account_id = x_account_id
|
46
|
+
@fields_ = fields_
|
47
|
+
@filter = filter
|
48
|
+
@next_ = next_
|
49
|
+
@page = page
|
50
|
+
@page_size = page_size
|
51
|
+
@proxy = proxy
|
52
|
+
@raw = raw
|
53
|
+
@updated_after = updated_after
|
54
|
+
end
|
55
|
+
|
56
|
+
def ==(other)
|
57
|
+
return false unless other.is_a? self.class
|
58
|
+
return false unless @id == other.id
|
59
|
+
return false unless @x_account_id == other.x_account_id
|
60
|
+
return false unless @fields_ == other.fields_
|
61
|
+
return false unless @filter == other.filter
|
62
|
+
return false unless @next_ == other.next_
|
63
|
+
return false unless @page == other.page
|
64
|
+
return false unless @page_size == other.page_size
|
65
|
+
return false unless @proxy == other.proxy
|
66
|
+
return false unless @raw == other.raw
|
67
|
+
return false unless @updated_after == other.updated_after
|
68
|
+
true
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
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 AccountingListCompanyAccountsResponse
|
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 accounts was retrieved.
|
25
|
+
field :accounting_accounts_paginated, T.nilable(Models::Shared::AccountingAccountsPaginated)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, accounting_accounts_paginated: T.nilable(Models::Shared::AccountingAccountsPaginated)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, accounting_accounts_paginated: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@accounting_accounts_paginated = accounting_accounts_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_accounts_paginated == other.accounting_accounts_paginated
|
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 AccountingListCompanyJournalsQueryParamFilter
|
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,73 @@
|
|
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 AccountingListCompanyJournalsRequest
|
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
|
+
# Filter parameters that allow greater customisation of the list response
|
23
|
+
field :filter, T.nilable(Models::Operations::AccountingListCompanyJournalsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
24
|
+
# The unified cursor
|
25
|
+
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
26
|
+
# The page number of the results to fetch
|
27
|
+
#
|
28
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
29
|
+
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
30
|
+
# The number of results per page (default value is 25)
|
31
|
+
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
32
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
33
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
34
|
+
# Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
|
35
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
36
|
+
# Use a string with a date to only select results updated after that given date
|
37
|
+
#
|
38
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
39
|
+
field :updated_after, T.nilable(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
40
|
+
|
41
|
+
|
42
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(Models::Operations::AccountingListCompanyJournalsQueryParamFilter), 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 }
|
43
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
44
|
+
@id = id
|
45
|
+
@x_account_id = x_account_id
|
46
|
+
@fields_ = fields_
|
47
|
+
@filter = filter
|
48
|
+
@next_ = next_
|
49
|
+
@page = page
|
50
|
+
@page_size = page_size
|
51
|
+
@proxy = proxy
|
52
|
+
@raw = raw
|
53
|
+
@updated_after = updated_after
|
54
|
+
end
|
55
|
+
|
56
|
+
def ==(other)
|
57
|
+
return false unless other.is_a? self.class
|
58
|
+
return false unless @id == other.id
|
59
|
+
return false unless @x_account_id == other.x_account_id
|
60
|
+
return false unless @fields_ == other.fields_
|
61
|
+
return false unless @filter == other.filter
|
62
|
+
return false unless @next_ == other.next_
|
63
|
+
return false unless @page == other.page
|
64
|
+
return false unless @page_size == other.page_size
|
65
|
+
return false unless @proxy == other.proxy
|
66
|
+
return false unless @raw == other.raw
|
67
|
+
return false unless @updated_after == other.updated_after
|
68
|
+
true
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
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 AccountingListCompanyJournalsResponse
|
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 journals was retrieved.
|
25
|
+
field :accounting_journals_paginated, T.nilable(Models::Shared::AccountingJournalsPaginated)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, accounting_journals_paginated: T.nilable(Models::Shared::AccountingJournalsPaginated)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, accounting_journals_paginated: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@accounting_journals_paginated = accounting_journals_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_journals_paginated == other.accounting_journals_paginated
|
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 AccountingListCompanyTaxRatesQueryParamFilter
|
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,73 @@
|
|
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 AccountingListCompanyTaxRatesRequest
|
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
|
+
# Filter parameters that allow greater customisation of the list response
|
23
|
+
field :filter, T.nilable(Models::Operations::AccountingListCompanyTaxRatesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
24
|
+
# The unified cursor
|
25
|
+
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
26
|
+
# The page number of the results to fetch
|
27
|
+
#
|
28
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
29
|
+
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
30
|
+
# The number of results per page (default value is 25)
|
31
|
+
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
32
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
33
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
34
|
+
# Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
|
35
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
36
|
+
# Use a string with a date to only select results updated after that given date
|
37
|
+
#
|
38
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
39
|
+
field :updated_after, T.nilable(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
40
|
+
|
41
|
+
|
42
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(Models::Operations::AccountingListCompanyTaxRatesQueryParamFilter), 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 }
|
43
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
44
|
+
@id = id
|
45
|
+
@x_account_id = x_account_id
|
46
|
+
@fields_ = fields_
|
47
|
+
@filter = filter
|
48
|
+
@next_ = next_
|
49
|
+
@page = page
|
50
|
+
@page_size = page_size
|
51
|
+
@proxy = proxy
|
52
|
+
@raw = raw
|
53
|
+
@updated_after = updated_after
|
54
|
+
end
|
55
|
+
|
56
|
+
def ==(other)
|
57
|
+
return false unless other.is_a? self.class
|
58
|
+
return false unless @id == other.id
|
59
|
+
return false unless @x_account_id == other.x_account_id
|
60
|
+
return false unless @fields_ == other.fields_
|
61
|
+
return false unless @filter == other.filter
|
62
|
+
return false unless @next_ == other.next_
|
63
|
+
return false unless @page == other.page
|
64
|
+
return false unless @page_size == other.page_size
|
65
|
+
return false unless @proxy == other.proxy
|
66
|
+
return false unless @raw == other.raw
|
67
|
+
return false unless @updated_after == other.updated_after
|
68
|
+
true
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
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 AccountingListCompanyTaxRatesResponse
|
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 tax rates was retrieved.
|
25
|
+
field :accounting_tax_rates_paginated, T.nilable(Models::Shared::AccountingTaxRatesPaginated)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, accounting_tax_rates_paginated: T.nilable(Models::Shared::AccountingTaxRatesPaginated)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, accounting_tax_rates_paginated: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@accounting_tax_rates_paginated = accounting_tax_rates_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_tax_rates_paginated == other.accounting_tax_rates_paginated
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,28 @@
|
|
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 to allow filtering of only active content
|
12
|
+
class Active
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
def initialize; end
|
20
|
+
|
21
|
+
def ==(other)
|
22
|
+
return false unless other.is_a? self.class
|
23
|
+
true
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
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 DocumentsDownloadFileRequest
|
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 export format of the file
|
21
|
+
field :export_format, T.nilable(::String), { 'query_param': { 'field_name': 'export_format', 'style': 'form', 'explode': true } }
|
22
|
+
# The format to download the file in
|
23
|
+
field :format, T.nilable(::String), { 'query_param': { 'field_name': 'format', 'style': 'form', 'explode': true } }
|
24
|
+
# The session token
|
25
|
+
field :x_stackone_api_session_token, T.nilable(::String), { 'header': { 'field_name': 'x-stackone-api-session-token', 'style': 'simple', 'explode': false } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(id: ::String, x_account_id: ::String, export_format: T.nilable(::String), format: T.nilable(::String), x_stackone_api_session_token: T.nilable(::String)).void }
|
29
|
+
def initialize(id: nil, x_account_id: nil, export_format: nil, format: nil, x_stackone_api_session_token: nil)
|
30
|
+
@id = id
|
31
|
+
@x_account_id = x_account_id
|
32
|
+
@export_format = export_format
|
33
|
+
@format = format
|
34
|
+
@x_stackone_api_session_token = x_stackone_api_session_token
|
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 @export_format == other.export_format
|
42
|
+
return false unless @format == other.format
|
43
|
+
return false unless @x_stackone_api_session_token == other.x_stackone_api_session_token
|
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 DocumentsDownloadFileResponse
|
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 file with the given identifiers was retrieved.
|
25
|
+
field :bytes, T.nilable(::String)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bytes: T.nilable(::String)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bytes: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@bytes = bytes
|
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 @bytes == other.bytes
|
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 DocumentsGetDriveRequest
|
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
|