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,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 ScreeningListScreeningPackagesRequest
|
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::ScreeningListScreeningPackagesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'form', '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': 'form', '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::ScreeningListScreeningPackagesQueryParamFilter), 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 ScreeningListScreeningPackagesResponse
|
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 screening packages was retrieved.
|
25
|
+
field :screening_packages_paginated, T.nilable(Models::Shared::ScreeningPackagesPaginated)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, screening_packages_paginated: T.nilable(Models::Shared::ScreeningPackagesPaginated)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, screening_packages_paginated: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@screening_packages_paginated = screening_packages_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 @screening_packages_paginated == other.screening_packages_paginated
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,37 @@
|
|
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 ScreeningWebhookScreeningResultRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :screening_result_webhook, Models::Shared::ScreeningResultWebhook, { 'request': { 'media_type': 'application/json' } }
|
18
|
+
# The account identifier
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(screening_result_webhook: Models::Shared::ScreeningResultWebhook, x_account_id: ::String).void }
|
23
|
+
def initialize(screening_result_webhook: nil, x_account_id: nil)
|
24
|
+
@screening_result_webhook = screening_result_webhook
|
25
|
+
@x_account_id = x_account_id
|
26
|
+
end
|
27
|
+
|
28
|
+
def ==(other)
|
29
|
+
return false unless other.is_a? self.class
|
30
|
+
return false unless @screening_result_webhook == other.screening_result_webhook
|
31
|
+
return false unless @x_account_id == other.x_account_id
|
32
|
+
true
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
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 ScreeningWebhookScreeningResultResponse
|
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 screening result webhook was processed.
|
25
|
+
field :screening_result_webhook, T.nilable(Models::Shared::ScreeningResultWebhook)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, screening_result_webhook: T.nilable(Models::Shared::ScreeningResultWebhook)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, screening_result_webhook: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@screening_result_webhook = screening_result_webhook
|
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 @screening_result_webhook == other.screening_result_webhook
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -17,6 +17,8 @@ module StackOne
|
|
17
17
|
field :account_ids, T.nilable(T::Array[::String]), { 'query_param': { 'field_name': 'account_ids', 'style': 'form', 'explode': true } }
|
18
18
|
# The origin owner identifier of the results to fetch
|
19
19
|
field :origin_owner_id, T.nilable(::String), { 'query_param': { 'field_name': 'origin_owner_id', 'style': 'form', 'explode': true } }
|
20
|
+
# The origin owner identifiers of the results to fetch (supports multiple IDs)
|
21
|
+
field :origin_owner_ids, T.nilable(T::Array[::String]), { 'query_param': { 'field_name': 'origin_owner_ids', 'style': 'form', 'explode': true } }
|
20
22
|
# The page number of the results to fetch
|
21
23
|
field :page, T.nilable(::Float), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
22
24
|
# The number of results per page
|
@@ -31,10 +33,11 @@ module StackOne
|
|
31
33
|
field :status, T.nilable(T::Array[::String]), { 'query_param': { 'field_name': 'status', 'style': 'form', 'explode': true } }
|
32
34
|
|
33
35
|
|
34
|
-
sig { params(account_ids: T.nilable(T::Array[::String]), origin_owner_id: T.nilable(::String), page: T.nilable(::Float), page_size: T.nilable(::Float), provider: T.nilable(::String), providers: T.nilable(T::Array[::String]), status: T.nilable(T::Array[::String])).void }
|
35
|
-
def initialize(account_ids: nil, origin_owner_id: nil, page: nil, page_size: nil, provider: nil, providers: nil, status: nil)
|
36
|
+
sig { params(account_ids: T.nilable(T::Array[::String]), origin_owner_id: T.nilable(::String), origin_owner_ids: T.nilable(T::Array[::String]), page: T.nilable(::Float), page_size: T.nilable(::Float), provider: T.nilable(::String), providers: T.nilable(T::Array[::String]), status: T.nilable(T::Array[::String])).void }
|
37
|
+
def initialize(account_ids: nil, origin_owner_id: nil, origin_owner_ids: nil, page: nil, page_size: nil, provider: nil, providers: nil, status: nil)
|
36
38
|
@account_ids = account_ids
|
37
39
|
@origin_owner_id = origin_owner_id
|
40
|
+
@origin_owner_ids = origin_owner_ids
|
38
41
|
@page = page
|
39
42
|
@page_size = page_size
|
40
43
|
@provider = provider
|
@@ -46,6 +49,7 @@ module StackOne
|
|
46
49
|
return false unless other.is_a? self.class
|
47
50
|
return false unless @account_ids == other.account_ids
|
48
51
|
return false unless @origin_owner_id == other.origin_owner_id
|
52
|
+
return false unless @origin_owner_ids == other.origin_owner_ids
|
49
53
|
return false unless @page == other.page
|
50
54
|
return false unless @page_size == other.page_size
|
51
55
|
return false unless @provider == other.provider
|
@@ -0,0 +1,37 @@
|
|
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 TicketingCreateTicketRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :ticketing_ticket_create_request_dto, Models::Shared::TicketingTicketCreateRequestDto, { 'request': { 'media_type': 'application/json' } }
|
18
|
+
# The account identifier
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(ticketing_ticket_create_request_dto: Models::Shared::TicketingTicketCreateRequestDto, x_account_id: ::String).void }
|
23
|
+
def initialize(ticketing_ticket_create_request_dto: nil, x_account_id: nil)
|
24
|
+
@ticketing_ticket_create_request_dto = ticketing_ticket_create_request_dto
|
25
|
+
@x_account_id = x_account_id
|
26
|
+
end
|
27
|
+
|
28
|
+
def ==(other)
|
29
|
+
return false unless other.is_a? self.class
|
30
|
+
return false unless @ticketing_ticket_create_request_dto == other.ticketing_ticket_create_request_dto
|
31
|
+
return false unless @x_account_id == other.x_account_id
|
32
|
+
true
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
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 TicketingCreateTicketResponse
|
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
|
+
# Record created successfully.
|
25
|
+
field :create_result, T.nilable(Models::Shared::CreateResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(Models::Shared::CreateResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@create_result = create_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 @create_result == other.create_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 TicketingDownloadTicketingAttachmentRequest
|
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 export format of the file
|
23
|
+
field :export_format, T.nilable(::String), { 'query_param': { 'field_name': 'export_format', 'style': 'form', 'explode': true } }
|
24
|
+
# The format to download the file in
|
25
|
+
field :format, T.nilable(::String), { 'query_param': { 'field_name': 'format', 'style': 'form', 'explode': true } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, export_format: T.nilable(::String), format: T.nilable(::String)).void }
|
29
|
+
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, export_format: nil, format: nil)
|
30
|
+
@id = id
|
31
|
+
@sub_resource_id = sub_resource_id
|
32
|
+
@x_account_id = x_account_id
|
33
|
+
@export_format = export_format
|
34
|
+
@format = format
|
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 @sub_resource_id == other.sub_resource_id
|
41
|
+
return false unless @x_account_id == other.x_account_id
|
42
|
+
return false unless @export_format == other.export_format
|
43
|
+
return false unless @format == other.format
|
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 TicketingDownloadTicketingAttachmentResponse
|
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 document related to the application 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,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 TicketingGetAttachmentRequest
|
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 TicketingGetAttachmentResponse
|
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 attachment with the given identifier was retrieved.
|
25
|
+
field :ticketing_attachment_result, T.nilable(Models::Shared::TicketingAttachmentResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, ticketing_attachment_result: T.nilable(Models::Shared::TicketingAttachmentResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, ticketing_attachment_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@ticketing_attachment_result = ticketing_attachment_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 @ticketing_attachment_result == other.ticketing_attachment_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 TicketingGetCommentRequest
|
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 TicketingGetCommentResponse
|
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 comment with the given identifier was retrieved.
|
25
|
+
field :ticketing_comment_result, T.nilable(Models::Shared::TicketingCommentResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, ticketing_comment_result: T.nilable(Models::Shared::TicketingCommentResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, ticketing_comment_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@ticketing_comment_result = ticketing_comment_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 @ticketing_comment_result == other.ticketing_comment_result
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|