connectwise-ruby-sdk 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +201 -0
- data/README.md +1141 -0
- data/connectwise-ruby-sdk.gemspec +54 -0
- data/docs/AccountingBatchTransactionsApi.md +184 -0
- data/docs/AccountingBatchesApi.md +280 -0
- data/docs/AccountingUnpostedExpensesApi.md +175 -0
- data/docs/AccountingUnpostedProcurementsApi.md +175 -0
- data/docs/AccountingUnpostedinvoicesApi.md +175 -0
- data/docs/ActivitiesApi.md +392 -0
- data/docs/Activity.md +30 -0
- data/docs/ActivityReference.md +10 -0
- data/docs/ActivityStatus.md +14 -0
- data/docs/ActivityStatusReference.md +10 -0
- data/docs/ActivityStatusesApi.md +392 -0
- data/docs/ActivityType.md +15 -0
- data/docs/ActivityTypeReference.md +10 -0
- data/docs/ActivityTypesApi.md +392 -0
- data/docs/Addition.md +30 -0
- data/docs/Adjustment.md +13 -0
- data/docs/Agreement.md +76 -0
- data/docs/AgreementAdditionsApi.md +413 -0
- data/docs/AgreementAdjustmentsApi.md +413 -0
- data/docs/AgreementBoardDefaultsApi.md +413 -0
- data/docs/AgreementReference.md +10 -0
- data/docs/AgreementSite.md +12 -0
- data/docs/AgreementSitesApi.md +413 -0
- data/docs/AgreementType.md +61 -0
- data/docs/AgreementTypeReference.md +10 -0
- data/docs/AgreementTypesApi.md +392 -0
- data/docs/AgreementWorkRole.md +17 -0
- data/docs/AgreementWorkRoleExclusion.md +11 -0
- data/docs/AgreementWorkRoleExclusionsApi.md +239 -0
- data/docs/AgreementWorkRolesApi.md +413 -0
- data/docs/AgreementWorkType.md +25 -0
- data/docs/AgreementWorkTypeExclusion.md +11 -0
- data/docs/AgreementWorkTypeExclusionsApi.md +239 -0
- data/docs/AgreementWorkTypesApi.md +413 -0
- data/docs/AgreementsApi.md +671 -0
- data/docs/AuditTrailApi.md +180 -0
- data/docs/AuditTrailEntry.md +12 -0
- data/docs/AuditTrailEntryInsertRequest.md +9 -0
- data/docs/AuditTrailObjects.md +9 -0
- data/docs/Batch.md +24 -0
- data/docs/BatchReference.md +10 -0
- data/docs/BillingStatusReference.md +10 -0
- data/docs/BillingTermsReference.md +10 -0
- data/docs/Board.md +21 -0
- data/docs/BoardDefault.md +13 -0
- data/docs/BoardExcludedMembersApi.md +295 -0
- data/docs/BoardItemsApi.md +413 -0
- data/docs/BoardReference.md +10 -0
- data/docs/BoardStatusesApi.md +413 -0
- data/docs/BoardSubTypesApi.md +413 -0
- data/docs/BoardTeamsApi.md +413 -0
- data/docs/BoardTypesApi.md +469 -0
- data/docs/BoardsApi.md +392 -0
- data/docs/CalendarReference.md +10 -0
- data/docs/CallbackEntriesApi.md +392 -0
- data/docs/CallbackEntry.md +15 -0
- data/docs/Campaign.md +33 -0
- data/docs/CampaignAudit.md +16 -0
- data/docs/CampaignAuditsApi.md +413 -0
- data/docs/CampaignEmailsOpenedApi.md +413 -0
- data/docs/CampaignFormsSubmittedApi.md +413 -0
- data/docs/CampaignLinksClickedApi.md +413 -0
- data/docs/CampaignReference.md +10 -0
- data/docs/CampaignStatus.md +12 -0
- data/docs/CampaignStatusReference.md +10 -0
- data/docs/CampaignStatusesApi.md +392 -0
- data/docs/CampaignSubType.md +11 -0
- data/docs/CampaignSubTypeReference.md +10 -0
- data/docs/CampaignSubTypesApi.md +413 -0
- data/docs/CampaignType.md +11 -0
- data/docs/CampaignTypeReference.md +10 -0
- data/docs/CampaignTypesApi.md +392 -0
- data/docs/CampaignsApi.md +616 -0
- data/docs/CatalogComponent.md +19 -0
- data/docs/CatalogComponentsApi.md +413 -0
- data/docs/CatalogItem.md +33 -0
- data/docs/CatalogItemReference.md +10 -0
- data/docs/CatalogsItemApi.md +449 -0
- data/docs/CategoriesApi.md +392 -0
- data/docs/Category.md +16 -0
- data/docs/ChargeCodeReference.md +10 -0
- data/docs/ClassificationReference.md +10 -0
- data/docs/Code.md +14 -0
- data/docs/CodesApi.md +392 -0
- data/docs/CommunicationTypeReference.md +10 -0
- data/docs/CompaniesApi.md +448 -0
- data/docs/Company.md +53 -0
- data/docs/CompanyManagementSummary.md +42 -0
- data/docs/CompanyManagementSummaryReportsApi.md +413 -0
- data/docs/CompanyMerge.md +49 -0
- data/docs/CompanyNote.md +14 -0
- data/docs/CompanyNotesApi.md +413 -0
- data/docs/CompanyReference.md +11 -0
- data/docs/CompanySite.md +27 -0
- data/docs/CompanySitesApi.md +413 -0
- data/docs/CompanyStatus.md +18 -0
- data/docs/CompanyStatusReference.md +10 -0
- data/docs/CompanyStatusesApi.md +392 -0
- data/docs/CompanyTeam.md +18 -0
- data/docs/CompanyTeamsApi.md +413 -0
- data/docs/CompanyType.md +12 -0
- data/docs/CompanyTypeReference.md +10 -0
- data/docs/CompanyTypesApi.md +392 -0
- data/docs/Configuration.md +57 -0
- data/docs/ConfigurationQuestion.md +15 -0
- data/docs/ConfigurationReference.md +10 -0
- data/docs/ConfigurationStatus.md +12 -0
- data/docs/ConfigurationStatusReference.md +10 -0
- data/docs/ConfigurationStatusesApi.md +392 -0
- data/docs/ConfigurationType.md +12 -0
- data/docs/ConfigurationTypeQuestion.md +18 -0
- data/docs/ConfigurationTypeQuestionsApi.md +413 -0
- data/docs/ConfigurationTypeReference.md +10 -0
- data/docs/ConfigurationTypesApi.md +392 -0
- data/docs/ConfigurationsApi.md +444 -0
- data/docs/ConnectWiseHostedSetup.md +18 -0
- data/docs/ConnectWiseHostedSetupsApi.md +392 -0
- data/docs/Contact.md +47 -0
- data/docs/ContactCommunication.md +16 -0
- data/docs/ContactCommunicationItem.md +13 -0
- data/docs/ContactCommunicationsApi.md +413 -0
- data/docs/ContactDepartment.md +10 -0
- data/docs/ContactDepartmentReference.md +10 -0
- data/docs/ContactDepartmentsApi.md +392 -0
- data/docs/ContactNote.md +14 -0
- data/docs/ContactNotesApi.md +413 -0
- data/docs/ContactReference.md +10 -0
- data/docs/ContactRelationship.md +10 -0
- data/docs/ContactRelationshipsApi.md +392 -0
- data/docs/ContactTracksApi.md +295 -0
- data/docs/ContactType.md +11 -0
- data/docs/ContactTypeReference.md +10 -0
- data/docs/ContactTypesApi.md +392 -0
- data/docs/ContactsApi.md +612 -0
- data/docs/Conversion.md +12 -0
- data/docs/Count.md +8 -0
- data/docs/CountryReference.md +10 -0
- data/docs/CurrenciesApi.md +392 -0
- data/docs/Currency.md +15 -0
- data/docs/CurrencyReference.md +10 -0
- data/docs/CustomFieldValue.md +13 -0
- data/docs/DocumentInfo.md +17 -0
- data/docs/DocumentReference.md +9 -0
- data/docs/DocumentsApi.md +474 -0
- data/docs/EmailOpened.md +11 -0
- data/docs/EntityTypeReference.md +10 -0
- data/docs/Error.md +10 -0
- data/docs/ExcludedMember.md +11 -0
- data/docs/ExpenseEntriesApi.md +392 -0
- data/docs/ExpenseEntry.md +25 -0
- data/docs/ExpenseTax.md +10 -0
- data/docs/ExpenseTaxTypeReference.md +10 -0
- data/docs/ExpenseType.md +20 -0
- data/docs/ExpenseTypeReference.md +10 -0
- data/docs/ExpenseTypesApi.md +392 -0
- data/docs/FilterValues.md +9 -0
- data/docs/Forecast.md +19 -0
- data/docs/FormSubmitted.md +18 -0
- data/docs/GenericIdIdentifierReference.md +9 -0
- data/docs/Group.md +13 -0
- data/docs/GroupCompaniesApi.md +413 -0
- data/docs/GroupContactsApi.md +413 -0
- data/docs/GroupReference.md +10 -0
- data/docs/GroupsApi.md +392 -0
- data/docs/Guid.md +7 -0
- data/docs/Info.md +10 -0
- data/docs/InfoApi.md +55 -0
- data/docs/IntegratorLogin.md +65 -0
- data/docs/Invoice.md +54 -0
- data/docs/InvoicePaymentsApi.md +356 -0
- data/docs/InvoiceReference.md +10 -0
- data/docs/InvoicesApi.md +444 -0
- data/docs/Item.md +16 -0
- data/docs/IvItemReference.md +10 -0
- data/docs/JObject.md +7 -0
- data/docs/KnowledgeBaseArticle.md +19 -0
- data/docs/KnowledgeBaseArticlesApi.md +392 -0
- data/docs/Link.md +12 -0
- data/docs/LinkClicked.md +13 -0
- data/docs/LinksApi.md +392 -0
- data/docs/Location.md +12 -0
- data/docs/LocationsApi.md +392 -0
- data/docs/ManagementSolutionReference.md +10 -0
- data/docs/Manufacturer.md +11 -0
- data/docs/ManufacturerReference.md +10 -0
- data/docs/ManufacturersApi.md +392 -0
- data/docs/MarketingCompany.md +13 -0
- data/docs/MarketingContact.md +12 -0
- data/docs/Member.md +94 -0
- data/docs/MemberReference.md +11 -0
- data/docs/MemberTypeReference.md +10 -0
- data/docs/MembersApi.md +286 -0
- data/docs/MenuEntriesApi.md +502 -0
- data/docs/MenuEntry.md +17 -0
- data/docs/MenuLocationReference.md +10 -0
- data/docs/Metadata.md +7 -0
- data/docs/NoteTypeReference.md +10 -0
- data/docs/OpportunitiesApi.md +616 -0
- data/docs/Opportunity.md +40 -0
- data/docs/OpportunityContact.md +17 -0
- data/docs/OpportunityContactsApi.md +413 -0
- data/docs/OpportunityForecastsApi.md +413 -0
- data/docs/OpportunityNote.md +15 -0
- data/docs/OpportunityNotesApi.md +413 -0
- data/docs/OpportunityPriorityReference.md +10 -0
- data/docs/OpportunityProbabilityReference.md +10 -0
- data/docs/OpportunityRating.md +11 -0
- data/docs/OpportunityRatingReference.md +10 -0
- data/docs/OpportunityRatingsApi.md +392 -0
- data/docs/OpportunityReference.md +10 -0
- data/docs/OpportunitySalesRoleReference.md +10 -0
- data/docs/OpportunityStageReference.md +10 -0
- data/docs/OpportunityStatus.md +17 -0
- data/docs/OpportunityStatusReference.md +10 -0
- data/docs/OpportunityStatusesApi.md +392 -0
- data/docs/OpportunityTeamsApi.md +413 -0
- data/docs/OpportunityToAgreementConversion.md +22 -0
- data/docs/OpportunityToProjectConversion.md +22 -0
- data/docs/OpportunityToSalesOrderConversion.md +15 -0
- data/docs/OpportunityToServiceTicketConversion.md +15 -0
- data/docs/OpportunityType.md +11 -0
- data/docs/OpportunityTypeReference.md +10 -0
- data/docs/OpportunityTypesApi.md +392 -0
- data/docs/Order.md +44 -0
- data/docs/OrderStatus.md +14 -0
- data/docs/OrderStatusReference.md +10 -0
- data/docs/OrderStatusesApi.md +392 -0
- data/docs/OrdersApi.md +392 -0
- data/docs/OwnershipTypeReference.md +10 -0
- data/docs/PatchOperation.md +10 -0
- data/docs/Payment.md +14 -0
- data/docs/PaymentMethodReference.md +10 -0
- data/docs/PhaseStatusReference.md +10 -0
- data/docs/PortalSecurity.md +9 -0
- data/docs/PricingBreak.md +14 -0
- data/docs/PricingBreaksApi.md +434 -0
- data/docs/PricingDetail.md +14 -0
- data/docs/PricingDetailsApi.md +413 -0
- data/docs/PricingSchedule.md +15 -0
- data/docs/PricingSchedulesApi.md +392 -0
- data/docs/PrioritiesApi.md +450 -0
- data/docs/Priority.md +14 -0
- data/docs/PriorityReference.md +11 -0
- data/docs/ProductCategoryReference.md +10 -0
- data/docs/ProductComponent.md +21 -0
- data/docs/ProductComponentsApi.md +413 -0
- data/docs/ProductItem.md +51 -0
- data/docs/ProductItemReference.md +10 -0
- data/docs/ProductPickingShippingDetail.md +20 -0
- data/docs/ProductPickingShippingDetailsApi.md +413 -0
- data/docs/ProductRecurring.md +14 -0
- data/docs/ProductReference.md +10 -0
- data/docs/ProductSubCategoryReference.md +10 -0
- data/docs/ProductType.md +12 -0
- data/docs/ProductTypeReference.md +10 -0
- data/docs/ProductTypesApi.md +392 -0
- data/docs/ProductsItemApi.md +392 -0
- data/docs/Project.md +61 -0
- data/docs/ProjectBoardReference.md +10 -0
- data/docs/ProjectContact.md +11 -0
- data/docs/ProjectContactsApi.md +238 -0
- data/docs/ProjectNote.md +13 -0
- data/docs/ProjectNotesApi.md +413 -0
- data/docs/ProjectPhase.md +34 -0
- data/docs/ProjectPhaseReference.md +10 -0
- data/docs/ProjectPhasesApi.md +413 -0
- data/docs/ProjectReference.md +10 -0
- data/docs/ProjectRoleReference.md +10 -0
- data/docs/ProjectStatusReference.md +10 -0
- data/docs/ProjectTeamMember.md +16 -0
- data/docs/ProjectTypeReference.md +10 -0
- data/docs/ProjectsApi.md +392 -0
- data/docs/ProjectsTeamMembersApi.md +413 -0
- data/docs/PurchaseOrder.md +56 -0
- data/docs/PurchaseOrderLineItem.md +35 -0
- data/docs/PurchaseOrderLineItemsApi.md +413 -0
- data/docs/PurchaseOrderReference.md +10 -0
- data/docs/PurchaseOrderStatusReference.md +10 -0
- data/docs/PurchaseOrdersApi.md +392 -0
- data/docs/RelationshipReference.md +10 -0
- data/docs/ReminderReference.md +10 -0
- data/docs/Report.md +8 -0
- data/docs/ReportDataResponse.md +9 -0
- data/docs/ReportsApi.md +239 -0
- data/docs/RequestPasswordRequest.md +8 -0
- data/docs/SLAReference.md +10 -0
- data/docs/SalesTeamReference.md +10 -0
- data/docs/ScheduleEntriesApi.md +392 -0
- data/docs/ScheduleEntry.md +27 -0
- data/docs/ScheduleEntryReference.md +10 -0
- data/docs/ScheduleSpanReference.md +10 -0
- data/docs/ScheduleStatus.md +12 -0
- data/docs/ScheduleStatusReference.md +10 -0
- data/docs/ScheduleStatusesApi.md +392 -0
- data/docs/ScheduleType.md +14 -0
- data/docs/ScheduleTypeReference.md +10 -0
- data/docs/ScheduleTypesApi.md +392 -0
- data/docs/SecurityRoleReference.md +10 -0
- data/docs/ServiceCodeReference.md +10 -0
- data/docs/ServiceItemReference.md +10 -0
- data/docs/ServiceLocationReference.md +10 -0
- data/docs/ServiceNote.md +22 -0
- data/docs/ServiceSignoffReference.md +10 -0
- data/docs/ServiceSourceReference.md +10 -0
- data/docs/ServiceStatusReference.md +10 -0
- data/docs/ServiceSubTypeReference.md +10 -0
- data/docs/ServiceTeamReference.md +10 -0
- data/docs/ServiceTypeReference.md +10 -0
- data/docs/ShipmentMethod.md +13 -0
- data/docs/ShipmentMethodReference.md +10 -0
- data/docs/ShipmentMethodsApi.md +392 -0
- data/docs/SicCodeReference.md +10 -0
- data/docs/SiteReference.md +10 -0
- data/docs/Source.md +13 -0
- data/docs/SourcesApi.md +392 -0
- data/docs/Status.md +18 -0
- data/docs/SubCategoriesApi.md +413 -0
- data/docs/SubCategory.md +11 -0
- data/docs/SubType.md +15 -0
- data/docs/SuccessResponse.md +9 -0
- data/docs/Survey.md +20 -0
- data/docs/SurveyQuestion.md +17 -0
- data/docs/SurveyQuestionOption.md +10 -0
- data/docs/SurveyQuestionsApi.md +413 -0
- data/docs/SurveyResult.md +18 -0
- data/docs/SurveyResultDetail.md +9 -0
- data/docs/SurveyResultsApi.md +413 -0
- data/docs/SurveysApi.md +392 -0
- data/docs/Task.md +18 -0
- data/docs/TaxCodeReference.md +10 -0
- data/docs/Team.md +24 -0
- data/docs/TeamRoleReference.md +10 -0
- data/docs/Ticket.md +96 -0
- data/docs/TicketNotesApi.md +413 -0
- data/docs/TicketReference.md +10 -0
- data/docs/TicketTasksApi.md +413 -0
- data/docs/TicketsApi.md +1290 -0
- data/docs/TimeEntriesApi.md +392 -0
- data/docs/TimeEntry.md +36 -0
- data/docs/TimeEntryReference.md +9 -0
- data/docs/TimeZoneReference.md +10 -0
- data/docs/Token.md +10 -0
- data/docs/Track.md +18 -0
- data/docs/TrackReference.md +10 -0
- data/docs/Transaction.md +67 -0
- data/docs/Type.md +17 -0
- data/docs/TypeAssociations.md +9 -0
- data/docs/UnitOfMeasure.md +13 -0
- data/docs/UnitOfMeasureConversionsApi.md +413 -0
- data/docs/UnitOfMeasureReference.md +10 -0
- data/docs/UnitsOfMeasureApi.md +392 -0
- data/docs/UnpostedExpense.md +53 -0
- data/docs/UnpostedInvoice.md +50 -0
- data/docs/UnpostedProcurement.md +48 -0
- data/docs/UserDefinedField.md +29 -0
- data/docs/UserDefinedFieldOption.md +12 -0
- data/docs/UserDefinedFieldsApi.md +392 -0
- data/docs/ValidatePortalRequest.md +9 -0
- data/docs/ValidatePortalResponse.md +9 -0
- data/docs/ValidationError.md +11 -0
- data/docs/WarehouseBinReference.md +10 -0
- data/docs/WarehouseReference.md +10 -0
- data/docs/WorkRoleReference.md +10 -0
- data/docs/WorkTypeReference.md +10 -0
- data/git_push.sh +67 -0
- data/lib/connectwise-ruby-sdk.rb +414 -0
- data/lib/connectwise-ruby-sdk/api/accounting_batch_transactions_api.rb +224 -0
- data/lib/connectwise-ruby-sdk/api/accounting_batches_api.rb +325 -0
- data/lib/connectwise-ruby-sdk/api/accounting_unposted_expenses_api.rb +212 -0
- data/lib/connectwise-ruby-sdk/api/accounting_unposted_procurements_api.rb +212 -0
- data/lib/connectwise-ruby-sdk/api/accounting_unpostedinvoices_api.rb +212 -0
- data/lib/connectwise-ruby-sdk/api/activities_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/activity_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/activity_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/agreement_additions_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreement_adjustments_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreement_board_defaults_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreement_sites_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreement_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/agreement_work_role_exclusions_api.rb +284 -0
- data/lib/connectwise-ruby-sdk/api/agreement_work_roles_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreement_work_type_exclusions_api.rb +284 -0
- data/lib/connectwise-ruby-sdk/api/agreement_work_types_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreements_api.rb +749 -0
- data/lib/connectwise-ruby-sdk/api/audit_trail_api.rb +226 -0
- data/lib/connectwise-ruby-sdk/api/board_excluded_members_api.rb +345 -0
- data/lib/connectwise-ruby-sdk/api/board_items_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/board_statuses_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/board_sub_types_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/board_teams_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/board_types_api.rb +536 -0
- data/lib/connectwise-ruby-sdk/api/boards_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/callback_entries_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/campaign_audits_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/campaign_emails_opened_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/campaign_forms_submitted_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/campaign_links_clicked_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/campaign_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/campaign_sub_types_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/campaign_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/campaigns_api.rb +687 -0
- data/lib/connectwise-ruby-sdk/api/catalog_components_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/catalogs_item_api.rb +507 -0
- data/lib/connectwise-ruby-sdk/api/categories_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/codes_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/companies_api.rb +508 -0
- data/lib/connectwise-ruby-sdk/api/company_management_summary_reports_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/company_notes_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/company_sites_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/company_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/company_teams_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/company_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/configuration_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/configuration_type_questions_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/configuration_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/configurations_api.rb +525 -0
- data/lib/connectwise-ruby-sdk/api/connect_wise_hosted_setups_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/contact_communications_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/contact_departments_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/contact_notes_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/contact_relationships_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/contact_tracks_api.rb +345 -0
- data/lib/connectwise-ruby-sdk/api/contact_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/contacts_api.rb +682 -0
- data/lib/connectwise-ruby-sdk/api/currencies_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/documents_api.rb +580 -0
- data/lib/connectwise-ruby-sdk/api/expense_entries_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/expense_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/group_companies_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/group_contacts_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/groups_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/info_api.rb +87 -0
- data/lib/connectwise-ruby-sdk/api/invoice_payments_api.rb +415 -0
- data/lib/connectwise-ruby-sdk/api/invoices_api.rb +503 -0
- data/lib/connectwise-ruby-sdk/api/knowledge_base_articles_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/links_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/locations_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/manufacturers_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/members_api.rb +331 -0
- data/lib/connectwise-ruby-sdk/api/menu_entries_api.rb +565 -0
- data/lib/connectwise-ruby-sdk/api/opportunities_api.rb +691 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_contacts_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_forecasts_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_notes_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_ratings_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_teams_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/order_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/orders_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/pricing_breaks_api.rb +503 -0
- data/lib/connectwise-ruby-sdk/api/pricing_details_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/pricing_schedules_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/priorities_api.rb +509 -0
- data/lib/connectwise-ruby-sdk/api/product_components_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/product_picking_shipping_details_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/product_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/products_item_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/project_contacts_api.rb +285 -0
- data/lib/connectwise-ruby-sdk/api/project_notes_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/project_phases_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/projects_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/projects_team_members_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/purchase_order_line_items_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/purchase_orders_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/reports_api.rb +282 -0
- data/lib/connectwise-ruby-sdk/api/schedule_entries_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/schedule_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/schedule_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/shipment_methods_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/sources_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/sub_categories_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/survey_questions_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/survey_results_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/surveys_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/ticket_notes_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/ticket_tasks_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/tickets_api.rb +1412 -0
- data/lib/connectwise-ruby-sdk/api/time_entries_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/unit_of_measure_conversions_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/units_of_measure_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/user_defined_fields_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api_client.rb +379 -0
- data/lib/connectwise-ruby-sdk/api_error.rb +47 -0
- data/lib/connectwise-ruby-sdk/configuration.rb +214 -0
- data/lib/connectwise-ruby-sdk/models/activity.rb +448 -0
- data/lib/connectwise-ruby-sdk/models/activity_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/activity_status.rb +270 -0
- data/lib/connectwise-ruby-sdk/models/activity_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/activity_type.rb +279 -0
- data/lib/connectwise-ruby-sdk/models/activity_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/addition.rb +463 -0
- data/lib/connectwise-ruby-sdk/models/adjustment.rb +260 -0
- data/lib/connectwise-ruby-sdk/models/agreement.rb +1020 -0
- data/lib/connectwise-ruby-sdk/models/agreement_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/agreement_site.rb +237 -0
- data/lib/connectwise-ruby-sdk/models/agreement_type.rb +859 -0
- data/lib/connectwise-ruby-sdk/models/agreement_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/agreement_work_role.rb +315 -0
- data/lib/connectwise-ruby-sdk/models/agreement_work_role_exclusion.rb +228 -0
- data/lib/connectwise-ruby-sdk/models/agreement_work_type.rb +412 -0
- data/lib/connectwise-ruby-sdk/models/agreement_work_type_exclusion.rb +228 -0
- data/lib/connectwise-ruby-sdk/models/audit_trail_entry.rb +235 -0
- data/lib/connectwise-ruby-sdk/models/audit_trail_entry_insert_request.rb +226 -0
- data/lib/connectwise-ruby-sdk/models/audit_trail_objects.rb +245 -0
- data/lib/connectwise-ruby-sdk/models/batch.rb +372 -0
- data/lib/connectwise-ruby-sdk/models/batch_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/billing_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/billing_terms_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/board.rb +337 -0
- data/lib/connectwise-ruby-sdk/models/board_default.rb +246 -0
- data/lib/connectwise-ruby-sdk/models/board_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/calendar_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/callback_entry.rb +282 -0
- data/lib/connectwise-ruby-sdk/models/campaign.rb +444 -0
- data/lib/connectwise-ruby-sdk/models/campaign_audit.rb +347 -0
- data/lib/connectwise-ruby-sdk/models/campaign_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/campaign_status.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/campaign_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/campaign_sub_type.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/campaign_sub_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/campaign_type.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/campaign_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/catalog_component.rb +301 -0
- data/lib/connectwise-ruby-sdk/models/catalog_item.rb +566 -0
- data/lib/connectwise-ruby-sdk/models/catalog_item_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/category.rb +320 -0
- data/lib/connectwise-ruby-sdk/models/charge_code_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/classification_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/code.rb +271 -0
- data/lib/connectwise-ruby-sdk/models/communication_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/company.rb +942 -0
- data/lib/connectwise-ruby-sdk/models/company_management_summary.rb +556 -0
- data/lib/connectwise-ruby-sdk/models/company_merge.rb +1082 -0
- data/lib/connectwise-ruby-sdk/models/company_note.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/company_reference.rb +227 -0
- data/lib/connectwise-ruby-sdk/models/company_site.rb +492 -0
- data/lib/connectwise-ruby-sdk/models/company_status.rb +321 -0
- data/lib/connectwise-ruby-sdk/models/company_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/company_team.rb +291 -0
- data/lib/connectwise-ruby-sdk/models/company_type.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/company_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/configuration.rb +888 -0
- data/lib/connectwise-ruby-sdk/models/configuration_question.rb +295 -0
- data/lib/connectwise-ruby-sdk/models/configuration_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/configuration_status.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/configuration_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/configuration_type.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/configuration_type_question.rb +375 -0
- data/lib/connectwise-ruby-sdk/models/configuration_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/connect_wise_hosted_setup.rb +373 -0
- data/lib/connectwise-ruby-sdk/models/contact.rb +831 -0
- data/lib/connectwise-ruby-sdk/models/contact_communication.rb +337 -0
- data/lib/connectwise-ruby-sdk/models/contact_communication_item.rb +309 -0
- data/lib/connectwise-ruby-sdk/models/contact_department.rb +234 -0
- data/lib/connectwise-ruby-sdk/models/contact_department_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/contact_note.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/contact_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/contact_relationship.rb +234 -0
- data/lib/connectwise-ruby-sdk/models/contact_type.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/contact_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/conversion.rb +238 -0
- data/lib/connectwise-ruby-sdk/models/count.rb +199 -0
- data/lib/connectwise-ruby-sdk/models/country_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/currency.rb +324 -0
- data/lib/connectwise-ruby-sdk/models/currency_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/custom_field_value.rb +289 -0
- data/lib/connectwise-ruby-sdk/models/document_info.rb +281 -0
- data/lib/connectwise-ruby-sdk/models/document_reference.rb +209 -0
- data/lib/connectwise-ruby-sdk/models/email_opened.rb +227 -0
- data/lib/connectwise-ruby-sdk/models/entity_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/error.rb +219 -0
- data/lib/connectwise-ruby-sdk/models/excluded_member.rb +228 -0
- data/lib/connectwise-ruby-sdk/models/expense_entry.rb +404 -0
- data/lib/connectwise-ruby-sdk/models/expense_tax.rb +217 -0
- data/lib/connectwise-ruby-sdk/models/expense_tax_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/expense_type.rb +372 -0
- data/lib/connectwise-ruby-sdk/models/expense_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/filter_values.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/forecast.rb +348 -0
- data/lib/connectwise-ruby-sdk/models/form_submitted.rb +306 -0
- data/lib/connectwise-ruby-sdk/models/generic_id_identifier_reference.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/group.rb +261 -0
- data/lib/connectwise-ruby-sdk/models/group_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/guid.rb +190 -0
- data/lib/connectwise-ruby-sdk/models/info.rb +217 -0
- data/lib/connectwise-ruby-sdk/models/integrator_login.rb +930 -0
- data/lib/connectwise-ruby-sdk/models/invoice.rb +722 -0
- data/lib/connectwise-ruby-sdk/models/invoice_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/item.rb +290 -0
- data/lib/connectwise-ruby-sdk/models/iv_item_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/j_object.rb +190 -0
- data/lib/connectwise-ruby-sdk/models/knowledge_base_article.rb +302 -0
- data/lib/connectwise-ruby-sdk/models/link.rb +268 -0
- data/lib/connectwise-ruby-sdk/models/link_clicked.rb +261 -0
- data/lib/connectwise-ruby-sdk/models/location.rb +286 -0
- data/lib/connectwise-ruby-sdk/models/management_solution_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/manufacturer.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/manufacturer_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/marketing_company.rb +246 -0
- data/lib/connectwise-ruby-sdk/models/marketing_contact.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/member.rb +1245 -0
- data/lib/connectwise-ruby-sdk/models/member_reference.rb +227 -0
- data/lib/connectwise-ruby-sdk/models/member_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/menu_entry.rb +332 -0
- data/lib/connectwise-ruby-sdk/models/menu_location_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/metadata.rb +190 -0
- data/lib/connectwise-ruby-sdk/models/note_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity.rb +540 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_contact.rb +282 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_note.rb +264 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_priority_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_probability_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_rating.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_rating_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_sales_role_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_stage_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_status.rb +297 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_to_agreement_conversion.rb +331 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_to_project_conversion.rb +331 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_to_sales_order_conversion.rb +268 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_to_service_ticket_conversion.rb +268 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_type.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/order.rb +550 -0
- data/lib/connectwise-ruby-sdk/models/order_status.rb +270 -0
- data/lib/connectwise-ruby-sdk/models/order_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/ownership_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/patch_operation.rb +217 -0
- data/lib/connectwise-ruby-sdk/models/payment.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/payment_method_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/phase_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/portal_security.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/pricing_break.rb +288 -0
- data/lib/connectwise-ruby-sdk/models/pricing_detail.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/pricing_schedule.rb +281 -0
- data/lib/connectwise-ruby-sdk/models/priority.rb +286 -0
- data/lib/connectwise-ruby-sdk/models/priority_reference.rb +227 -0
- data/lib/connectwise-ruby-sdk/models/product_category_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/product_component.rb +319 -0
- data/lib/connectwise-ruby-sdk/models/product_item.rb +725 -0
- data/lib/connectwise-ruby-sdk/models/product_item_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/product_picking_shipping_detail.rb +314 -0
- data/lib/connectwise-ruby-sdk/models/product_recurring.rb +293 -0
- data/lib/connectwise-ruby-sdk/models/product_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/product_sub_category_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/product_type.rb +285 -0
- data/lib/connectwise-ruby-sdk/models/product_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project.rb +821 -0
- data/lib/connectwise-ruby-sdk/models/project_board_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project_contact.rb +228 -0
- data/lib/connectwise-ruby-sdk/models/project_note.rb +246 -0
- data/lib/connectwise-ruby-sdk/models/project_phase.rb +534 -0
- data/lib/connectwise-ruby-sdk/models/project_phase_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project_role_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project_team_member.rb +274 -0
- data/lib/connectwise-ruby-sdk/models/project_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order.rb +698 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order_line_item.rb +553 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/relationship_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/reminder_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/report.rb +199 -0
- data/lib/connectwise-ruby-sdk/models/report_data_response.rb +212 -0
- data/lib/connectwise-ruby-sdk/models/request_password_request.rb +199 -0
- data/lib/connectwise-ruby-sdk/models/sales_team_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/schedule_entry.rb +387 -0
- data/lib/connectwise-ruby-sdk/models/schedule_entry_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/schedule_span_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/schedule_status.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/schedule_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/schedule_type.rb +286 -0
- data/lib/connectwise-ruby-sdk/models/schedule_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/security_role_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_code_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_item_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_location_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_note.rb +326 -0
- data/lib/connectwise-ruby-sdk/models/service_signoff_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_source_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_sub_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_team_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/shipment_method.rb +294 -0
- data/lib/connectwise-ruby-sdk/models/shipment_method_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/sic_code_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/site_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/sla_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/source.rb +261 -0
- data/lib/connectwise-ruby-sdk/models/status.rb +339 -0
- data/lib/connectwise-ruby-sdk/models/sub_category.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/sub_type.rb +281 -0
- data/lib/connectwise-ruby-sdk/models/success_response.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/survey.rb +369 -0
- data/lib/connectwise-ruby-sdk/models/survey_question.rb +333 -0
- data/lib/connectwise-ruby-sdk/models/survey_question_option.rb +233 -0
- data/lib/connectwise-ruby-sdk/models/survey_result.rb +293 -0
- data/lib/connectwise-ruby-sdk/models/survey_result_detail.rb +210 -0
- data/lib/connectwise-ruby-sdk/models/task.rb +343 -0
- data/lib/connectwise-ruby-sdk/models/tax_code_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/team.rb +397 -0
- data/lib/connectwise-ruby-sdk/models/team_role_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/ticket.rb +1336 -0
- data/lib/connectwise-ruby-sdk/models/ticket_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/time_entry.rb +502 -0
- data/lib/connectwise-ruby-sdk/models/time_entry_reference.rb +209 -0
- data/lib/connectwise-ruby-sdk/models/time_zone_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/token.rb +217 -0
- data/lib/connectwise-ruby-sdk/models/track.rb +291 -0
- data/lib/connectwise-ruby-sdk/models/track_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/transaction.rb +782 -0
- data/lib/connectwise-ruby-sdk/models/type.rb +330 -0
- data/lib/connectwise-ruby-sdk/models/type_associations.rb +210 -0
- data/lib/connectwise-ruby-sdk/models/unit_of_measure.rb +276 -0
- data/lib/connectwise-ruby-sdk/models/unit_of_measure_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/unposted_expense.rb +656 -0
- data/lib/connectwise-ruby-sdk/models/unposted_invoice.rb +617 -0
- data/lib/connectwise-ruby-sdk/models/unposted_procurement.rb +599 -0
- data/lib/connectwise-ruby-sdk/models/user_defined_field.rb +538 -0
- data/lib/connectwise-ruby-sdk/models/user_defined_field_option.rb +251 -0
- data/lib/connectwise-ruby-sdk/models/validate_portal_request.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/validate_portal_response.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/validation_error.rb +226 -0
- data/lib/connectwise-ruby-sdk/models/warehouse_bin_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/warehouse_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/work_role_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/work_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/version.rb +26 -0
- data/spec/api/accounting_batch_transactions_api_spec.rb +88 -0
- data/spec/api/accounting_batches_api_spec.rb +109 -0
- data/spec/api/accounting_unposted_expenses_api_spec.rb +85 -0
- data/spec/api/accounting_unposted_procurements_api_spec.rb +85 -0
- data/spec/api/accounting_unpostedinvoices_api_spec.rb +85 -0
- data/spec/api/activities_api_spec.rb +135 -0
- data/spec/api/activity_statuses_api_spec.rb +135 -0
- data/spec/api/activity_types_api_spec.rb +135 -0
- data/spec/api/agreement_additions_api_spec.rb +142 -0
- data/spec/api/agreement_adjustments_api_spec.rb +142 -0
- data/spec/api/agreement_board_defaults_api_spec.rb +142 -0
- data/spec/api/agreement_sites_api_spec.rb +142 -0
- data/spec/api/agreement_types_api_spec.rb +135 -0
- data/spec/api/agreement_work_role_exclusions_api_spec.rb +101 -0
- data/spec/api/agreement_work_roles_api_spec.rb +142 -0
- data/spec/api/agreement_work_type_exclusions_api_spec.rb +101 -0
- data/spec/api/agreement_work_types_api_spec.rb +142 -0
- data/spec/api/agreements_api_spec.rb +200 -0
- data/spec/api/audit_trail_api_spec.rb +88 -0
- data/spec/api/board_excluded_members_api_spec.rb +114 -0
- data/spec/api/board_items_api_spec.rb +142 -0
- data/spec/api/board_statuses_api_spec.rb +142 -0
- data/spec/api/board_sub_types_api_spec.rb +142 -0
- data/spec/api/board_teams_api_spec.rb +142 -0
- data/spec/api/board_types_api_spec.rb +155 -0
- data/spec/api/boards_api_spec.rb +135 -0
- data/spec/api/callback_entries_api_spec.rb +135 -0
- data/spec/api/campaign_audits_api_spec.rb +142 -0
- data/spec/api/campaign_emails_opened_api_spec.rb +142 -0
- data/spec/api/campaign_forms_submitted_api_spec.rb +142 -0
- data/spec/api/campaign_links_clicked_api_spec.rb +142 -0
- data/spec/api/campaign_statuses_api_spec.rb +135 -0
- data/spec/api/campaign_sub_types_api_spec.rb +142 -0
- data/spec/api/campaign_types_api_spec.rb +135 -0
- data/spec/api/campaigns_api_spec.rb +187 -0
- data/spec/api/catalog_components_api_spec.rb +142 -0
- data/spec/api/catalogs_item_api_spec.rb +148 -0
- data/spec/api/categories_api_spec.rb +135 -0
- data/spec/api/codes_api_spec.rb +135 -0
- data/spec/api/companies_api_spec.rb +148 -0
- data/spec/api/company_management_summary_reports_api_spec.rb +142 -0
- data/spec/api/company_notes_api_spec.rb +142 -0
- data/spec/api/company_sites_api_spec.rb +142 -0
- data/spec/api/company_statuses_api_spec.rb +135 -0
- data/spec/api/company_teams_api_spec.rb +142 -0
- data/spec/api/company_types_api_spec.rb +135 -0
- data/spec/api/configuration_statuses_api_spec.rb +135 -0
- data/spec/api/configuration_type_questions_api_spec.rb +142 -0
- data/spec/api/configuration_types_api_spec.rb +135 -0
- data/spec/api/configurations_api_spec.rb +158 -0
- data/spec/api/connect_wise_hosted_setups_api_spec.rb +135 -0
- data/spec/api/contact_communications_api_spec.rb +142 -0
- data/spec/api/contact_departments_api_spec.rb +135 -0
- data/spec/api/contact_notes_api_spec.rb +142 -0
- data/spec/api/contact_relationships_api_spec.rb +135 -0
- data/spec/api/contact_tracks_api_spec.rb +114 -0
- data/spec/api/contact_types_api_spec.rb +135 -0
- data/spec/api/contacts_api_spec.rb +186 -0
- data/spec/api/currencies_api_spec.rb +135 -0
- data/spec/api/documents_api_spec.rb +159 -0
- data/spec/api/expense_entries_api_spec.rb +135 -0
- data/spec/api/expense_types_api_spec.rb +135 -0
- data/spec/api/group_companies_api_spec.rb +142 -0
- data/spec/api/group_contacts_api_spec.rb +142 -0
- data/spec/api/groups_api_spec.rb +135 -0
- data/spec/api/info_api_spec.rb +57 -0
- data/spec/api/invoice_payments_api_spec.rb +129 -0
- data/spec/api/invoices_api_spec.rb +147 -0
- data/spec/api/knowledge_base_articles_api_spec.rb +135 -0
- data/spec/api/links_api_spec.rb +135 -0
- data/spec/api/locations_api_spec.rb +135 -0
- data/spec/api/manufacturers_api_spec.rb +135 -0
- data/spec/api/members_api_spec.rb +111 -0
- data/spec/api/menu_entries_api_spec.rb +161 -0
- data/spec/api/opportunities_api_spec.rb +187 -0
- data/spec/api/opportunity_contacts_api_spec.rb +142 -0
- data/spec/api/opportunity_forecasts_api_spec.rb +142 -0
- data/spec/api/opportunity_notes_api_spec.rb +142 -0
- data/spec/api/opportunity_ratings_api_spec.rb +135 -0
- data/spec/api/opportunity_statuses_api_spec.rb +135 -0
- data/spec/api/opportunity_teams_api_spec.rb +142 -0
- data/spec/api/opportunity_types_api_spec.rb +135 -0
- data/spec/api/order_statuses_api_spec.rb +135 -0
- data/spec/api/orders_api_spec.rb +135 -0
- data/spec/api/pricing_breaks_api_spec.rb +149 -0
- data/spec/api/pricing_details_api_spec.rb +142 -0
- data/spec/api/pricing_schedules_api_spec.rb +135 -0
- data/spec/api/priorities_api_spec.rb +149 -0
- data/spec/api/product_components_api_spec.rb +142 -0
- data/spec/api/product_picking_shipping_details_api_spec.rb +142 -0
- data/spec/api/product_types_api_spec.rb +135 -0
- data/spec/api/products_item_api_spec.rb +135 -0
- data/spec/api/project_contacts_api_spec.rb +101 -0
- data/spec/api/project_notes_api_spec.rb +142 -0
- data/spec/api/project_phases_api_spec.rb +142 -0
- data/spec/api/projects_api_spec.rb +135 -0
- data/spec/api/projects_team_members_api_spec.rb +142 -0
- data/spec/api/purchase_order_line_items_api_spec.rb +142 -0
- data/spec/api/purchase_orders_api_spec.rb +135 -0
- data/spec/api/reports_api_spec.rb +101 -0
- data/spec/api/schedule_entries_api_spec.rb +135 -0
- data/spec/api/schedule_statuses_api_spec.rb +135 -0
- data/spec/api/schedule_types_api_spec.rb +135 -0
- data/spec/api/shipment_methods_api_spec.rb +135 -0
- data/spec/api/sources_api_spec.rb +135 -0
- data/spec/api/sub_categories_api_spec.rb +142 -0
- data/spec/api/survey_questions_api_spec.rb +142 -0
- data/spec/api/survey_results_api_spec.rb +142 -0
- data/spec/api/surveys_api_spec.rb +135 -0
- data/spec/api/ticket_notes_api_spec.rb +142 -0
- data/spec/api/ticket_tasks_api_spec.rb +142 -0
- data/spec/api/tickets_api_spec.rb +344 -0
- data/spec/api/time_entries_api_spec.rb +135 -0
- data/spec/api/unit_of_measure_conversions_api_spec.rb +142 -0
- data/spec/api/units_of_measure_api_spec.rb +135 -0
- data/spec/api/user_defined_fields_api_spec.rb +135 -0
- data/spec/api_client_spec.rb +236 -0
- data/spec/configuration_spec.rb +52 -0
- data/spec/models/activity_reference_spec.rb +65 -0
- data/spec/models/activity_spec.rb +185 -0
- data/spec/models/activity_status_reference_spec.rb +65 -0
- data/spec/models/activity_status_spec.rb +89 -0
- data/spec/models/activity_type_reference_spec.rb +65 -0
- data/spec/models/activity_type_spec.rb +95 -0
- data/spec/models/addition_spec.rb +189 -0
- data/spec/models/adjustment_spec.rb +83 -0
- data/spec/models/agreement_reference_spec.rb +65 -0
- data/spec/models/agreement_site_spec.rb +77 -0
- data/spec/models/agreement_spec.rb +497 -0
- data/spec/models/agreement_type_reference_spec.rb +65 -0
- data/spec/models/agreement_type_spec.rb +407 -0
- data/spec/models/agreement_work_role_exclusion_spec.rb +71 -0
- data/spec/models/agreement_work_role_spec.rb +111 -0
- data/spec/models/agreement_work_type_exclusion_spec.rb +71 -0
- data/spec/models/agreement_work_type_spec.rb +167 -0
- data/spec/models/audit_trail_entry_insert_request_spec.rb +59 -0
- data/spec/models/audit_trail_entry_spec.rb +77 -0
- data/spec/models/audit_trail_objects_spec.rb +63 -0
- data/spec/models/batch_reference_spec.rb +65 -0
- data/spec/models/batch_spec.rb +149 -0
- data/spec/models/billing_status_reference_spec.rb +65 -0
- data/spec/models/billing_terms_reference_spec.rb +65 -0
- data/spec/models/board_default_spec.rb +83 -0
- data/spec/models/board_reference_spec.rb +65 -0
- data/spec/models/board_spec.rb +131 -0
- data/spec/models/calendar_reference_spec.rb +65 -0
- data/spec/models/callback_entry_spec.rb +95 -0
- data/spec/models/campaign_audit_spec.rb +101 -0
- data/spec/models/campaign_reference_spec.rb +65 -0
- data/spec/models/campaign_spec.rb +203 -0
- data/spec/models/campaign_status_reference_spec.rb +65 -0
- data/spec/models/campaign_status_spec.rb +77 -0
- data/spec/models/campaign_sub_type_reference_spec.rb +65 -0
- data/spec/models/campaign_sub_type_spec.rb +71 -0
- data/spec/models/campaign_type_reference_spec.rb +65 -0
- data/spec/models/campaign_type_spec.rb +71 -0
- data/spec/models/catalog_component_spec.rb +119 -0
- data/spec/models/catalog_item_reference_spec.rb +65 -0
- data/spec/models/catalog_item_spec.rb +211 -0
- data/spec/models/category_spec.rb +101 -0
- data/spec/models/charge_code_reference_spec.rb +65 -0
- data/spec/models/classification_reference_spec.rb +65 -0
- data/spec/models/code_spec.rb +89 -0
- data/spec/models/communication_type_reference_spec.rb +65 -0
- data/spec/models/company_management_summary_spec.rb +261 -0
- data/spec/models/company_merge_spec.rb +463 -0
- data/spec/models/company_note_spec.rb +89 -0
- data/spec/models/company_reference_spec.rb +71 -0
- data/spec/models/company_site_spec.rb +167 -0
- data/spec/models/company_spec.rb +323 -0
- data/spec/models/company_status_reference_spec.rb +65 -0
- data/spec/models/company_status_spec.rb +113 -0
- data/spec/models/company_team_spec.rb +113 -0
- data/spec/models/company_type_reference_spec.rb +65 -0
- data/spec/models/company_type_spec.rb +77 -0
- data/spec/models/configuration_question_spec.rb +99 -0
- data/spec/models/configuration_reference_spec.rb +65 -0
- data/spec/models/configuration_spec.rb +347 -0
- data/spec/models/configuration_status_reference_spec.rb +65 -0
- data/spec/models/configuration_status_spec.rb +77 -0
- data/spec/models/configuration_type_question_spec.rb +121 -0
- data/spec/models/configuration_type_reference_spec.rb +65 -0
- data/spec/models/configuration_type_spec.rb +77 -0
- data/spec/models/connect_wise_hosted_setup_spec.rb +117 -0
- data/spec/models/contact_communication_item_spec.rb +87 -0
- data/spec/models/contact_communication_spec.rb +105 -0
- data/spec/models/contact_department_reference_spec.rb +65 -0
- data/spec/models/contact_department_spec.rb +65 -0
- data/spec/models/contact_note_spec.rb +89 -0
- data/spec/models/contact_reference_spec.rb +65 -0
- data/spec/models/contact_relationship_spec.rb +65 -0
- data/spec/models/contact_spec.rb +295 -0
- data/spec/models/contact_type_reference_spec.rb +65 -0
- data/spec/models/contact_type_spec.rb +71 -0
- data/spec/models/conversion_spec.rb +77 -0
- data/spec/models/count_spec.rb +53 -0
- data/spec/models/country_reference_spec.rb +65 -0
- data/spec/models/currency_reference_spec.rb +65 -0
- data/spec/models/currency_spec.rb +95 -0
- data/spec/models/custom_field_value_spec.rb +91 -0
- data/spec/models/document_info_spec.rb +107 -0
- data/spec/models/document_reference_spec.rb +59 -0
- data/spec/models/email_opened_spec.rb +71 -0
- data/spec/models/entity_type_reference_spec.rb +65 -0
- data/spec/models/error_spec.rb +65 -0
- data/spec/models/excluded_member_spec.rb +71 -0
- data/spec/models/expense_entry_spec.rb +163 -0
- data/spec/models/expense_tax_spec.rb +65 -0
- data/spec/models/expense_tax_type_reference_spec.rb +65 -0
- data/spec/models/expense_type_reference_spec.rb +65 -0
- data/spec/models/expense_type_spec.rb +133 -0
- data/spec/models/filter_values_spec.rb +59 -0
- data/spec/models/forecast_spec.rb +123 -0
- data/spec/models/form_submitted_spec.rb +113 -0
- data/spec/models/generic_id_identifier_reference_spec.rb +59 -0
- data/spec/models/group_reference_spec.rb +65 -0
- data/spec/models/group_spec.rb +83 -0
- data/spec/models/guid_spec.rb +47 -0
- data/spec/models/info_spec.rb +65 -0
- data/spec/models/integrator_login_spec.rb +395 -0
- data/spec/models/invoice_reference_spec.rb +65 -0
- data/spec/models/invoice_spec.rb +337 -0
- data/spec/models/item_spec.rb +101 -0
- data/spec/models/iv_item_reference_spec.rb +65 -0
- data/spec/models/j_object_spec.rb +47 -0
- data/spec/models/knowledge_base_article_spec.rb +119 -0
- data/spec/models/link_clicked_spec.rb +83 -0
- data/spec/models/link_spec.rb +77 -0
- data/spec/models/location_spec.rb +81 -0
- data/spec/models/management_solution_reference_spec.rb +65 -0
- data/spec/models/manufacturer_reference_spec.rb +65 -0
- data/spec/models/manufacturer_spec.rb +71 -0
- data/spec/models/marketing_company_spec.rb +83 -0
- data/spec/models/marketing_contact_spec.rb +77 -0
- data/spec/models/member_reference_spec.rb +71 -0
- data/spec/models/member_spec.rb +573 -0
- data/spec/models/member_type_reference_spec.rb +65 -0
- data/spec/models/menu_entry_spec.rb +107 -0
- data/spec/models/menu_location_reference_spec.rb +65 -0
- data/spec/models/metadata_spec.rb +47 -0
- data/spec/models/note_type_reference_spec.rb +65 -0
- data/spec/models/opportunity_contact_spec.rb +107 -0
- data/spec/models/opportunity_note_spec.rb +95 -0
- data/spec/models/opportunity_priority_reference_spec.rb +65 -0
- data/spec/models/opportunity_probability_reference_spec.rb +65 -0
- data/spec/models/opportunity_rating_reference_spec.rb +65 -0
- data/spec/models/opportunity_rating_spec.rb +71 -0
- data/spec/models/opportunity_reference_spec.rb +65 -0
- data/spec/models/opportunity_sales_role_reference_spec.rb +65 -0
- data/spec/models/opportunity_spec.rb +245 -0
- data/spec/models/opportunity_stage_reference_spec.rb +65 -0
- data/spec/models/opportunity_status_reference_spec.rb +65 -0
- data/spec/models/opportunity_status_spec.rb +107 -0
- data/spec/models/opportunity_to_agreement_conversion_spec.rb +137 -0
- data/spec/models/opportunity_to_project_conversion_spec.rb +137 -0
- data/spec/models/opportunity_to_sales_order_conversion_spec.rb +95 -0
- data/spec/models/opportunity_to_service_ticket_conversion_spec.rb +95 -0
- data/spec/models/opportunity_type_reference_spec.rb +65 -0
- data/spec/models/opportunity_type_spec.rb +71 -0
- data/spec/models/order_spec.rb +269 -0
- data/spec/models/order_status_reference_spec.rb +65 -0
- data/spec/models/order_status_spec.rb +89 -0
- data/spec/models/ownership_type_reference_spec.rb +65 -0
- data/spec/models/patch_operation_spec.rb +65 -0
- data/spec/models/payment_method_reference_spec.rb +65 -0
- data/spec/models/payment_spec.rb +89 -0
- data/spec/models/phase_status_reference_spec.rb +65 -0
- data/spec/models/portal_security_spec.rb +59 -0
- data/spec/models/pricing_break_spec.rb +93 -0
- data/spec/models/pricing_detail_spec.rb +89 -0
- data/spec/models/pricing_schedule_spec.rb +95 -0
- data/spec/models/priority_reference_spec.rb +71 -0
- data/spec/models/priority_spec.rb +89 -0
- data/spec/models/product_category_reference_spec.rb +65 -0
- data/spec/models/product_component_spec.rb +131 -0
- data/spec/models/product_item_reference_spec.rb +65 -0
- data/spec/models/product_item_spec.rb +323 -0
- data/spec/models/product_picking_shipping_detail_spec.rb +125 -0
- data/spec/models/product_recurring_spec.rb +93 -0
- data/spec/models/product_reference_spec.rb +65 -0
- data/spec/models/product_sub_category_reference_spec.rb +65 -0
- data/spec/models/product_type_reference_spec.rb +65 -0
- data/spec/models/product_type_spec.rb +81 -0
- data/spec/models/project_board_reference_spec.rb +65 -0
- data/spec/models/project_contact_spec.rb +71 -0
- data/spec/models/project_note_spec.rb +83 -0
- data/spec/models/project_phase_reference_spec.rb +65 -0
- data/spec/models/project_phase_spec.rb +225 -0
- data/spec/models/project_reference_spec.rb +65 -0
- data/spec/models/project_role_reference_spec.rb +65 -0
- data/spec/models/project_spec.rb +395 -0
- data/spec/models/project_status_reference_spec.rb +65 -0
- data/spec/models/project_team_member_spec.rb +101 -0
- data/spec/models/project_type_reference_spec.rb +65 -0
- data/spec/models/purchase_order_line_item_spec.rb +215 -0
- data/spec/models/purchase_order_reference_spec.rb +65 -0
- data/spec/models/purchase_order_spec.rb +341 -0
- data/spec/models/purchase_order_status_reference_spec.rb +65 -0
- data/spec/models/relationship_reference_spec.rb +65 -0
- data/spec/models/reminder_reference_spec.rb +65 -0
- data/spec/models/report_data_response_spec.rb +59 -0
- data/spec/models/report_spec.rb +53 -0
- data/spec/models/request_password_request_spec.rb +53 -0
- data/spec/models/sales_team_reference_spec.rb +65 -0
- data/spec/models/schedule_entry_reference_spec.rb +65 -0
- data/spec/models/schedule_entry_spec.rb +167 -0
- data/spec/models/schedule_span_reference_spec.rb +65 -0
- data/spec/models/schedule_status_reference_spec.rb +65 -0
- data/spec/models/schedule_status_spec.rb +77 -0
- data/spec/models/schedule_type_reference_spec.rb +65 -0
- data/spec/models/schedule_type_spec.rb +89 -0
- data/spec/models/security_role_reference_spec.rb +65 -0
- data/spec/models/service_code_reference_spec.rb +65 -0
- data/spec/models/service_item_reference_spec.rb +65 -0
- data/spec/models/service_location_reference_spec.rb +65 -0
- data/spec/models/service_note_spec.rb +137 -0
- data/spec/models/service_signoff_reference_spec.rb +65 -0
- data/spec/models/service_source_reference_spec.rb +65 -0
- data/spec/models/service_status_reference_spec.rb +65 -0
- data/spec/models/service_sub_type_reference_spec.rb +65 -0
- data/spec/models/service_team_reference_spec.rb +65 -0
- data/spec/models/service_type_reference_spec.rb +65 -0
- data/spec/models/shipment_method_reference_spec.rb +65 -0
- data/spec/models/shipment_method_spec.rb +87 -0
- data/spec/models/sic_code_reference_spec.rb +65 -0
- data/spec/models/site_reference_spec.rb +65 -0
- data/spec/models/sla_reference_spec.rb +65 -0
- data/spec/models/source_spec.rb +83 -0
- data/spec/models/status_spec.rb +117 -0
- data/spec/models/sub_category_spec.rb +71 -0
- data/spec/models/sub_type_spec.rb +95 -0
- data/spec/models/success_response_spec.rb +59 -0
- data/spec/models/survey_question_option_spec.rb +65 -0
- data/spec/models/survey_question_spec.rb +111 -0
- data/spec/models/survey_result_detail_spec.rb +59 -0
- data/spec/models/survey_result_spec.rb +113 -0
- data/spec/models/survey_spec.rb +125 -0
- data/spec/models/task_spec.rb +117 -0
- data/spec/models/tax_code_reference_spec.rb +65 -0
- data/spec/models/team_role_reference_spec.rb +65 -0
- data/spec/models/team_spec.rb +153 -0
- data/spec/models/ticket_reference_spec.rb +65 -0
- data/spec/models/ticket_spec.rb +617 -0
- data/spec/models/time_entry_reference_spec.rb +59 -0
- data/spec/models/time_entry_spec.rb +229 -0
- data/spec/models/time_zone_reference_spec.rb +65 -0
- data/spec/models/token_spec.rb +65 -0
- data/spec/models/track_reference_spec.rb +65 -0
- data/spec/models/track_spec.rb +113 -0
- data/spec/models/transaction_spec.rb +415 -0
- data/spec/models/type_associations_spec.rb +59 -0
- data/spec/models/type_spec.rb +111 -0
- data/spec/models/unit_of_measure_reference_spec.rb +65 -0
- data/spec/models/unit_of_measure_spec.rb +83 -0
- data/spec/models/unposted_expense_spec.rb +331 -0
- data/spec/models/unposted_invoice_spec.rb +309 -0
- data/spec/models/unposted_procurement_spec.rb +297 -0
- data/spec/models/user_defined_field_option_spec.rb +77 -0
- data/spec/models/user_defined_field_spec.rb +187 -0
- data/spec/models/validate_portal_request_spec.rb +59 -0
- data/spec/models/validate_portal_response_spec.rb +59 -0
- data/spec/models/validation_error_spec.rb +71 -0
- data/spec/models/warehouse_bin_reference_spec.rb +65 -0
- data/spec/models/warehouse_reference_spec.rb +65 -0
- data/spec/models/work_role_reference_spec.rb +65 -0
- data/spec/models/work_type_reference_spec.rb +65 -0
- data/spec/spec_helper.rb +121 -0
- metadata +1695 -0
@@ -0,0 +1,1412 @@
|
|
1
|
+
=begin
|
2
|
+
#Connectwise REST API
|
3
|
+
|
4
|
+
#ConnectWise API
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
Contact: platform@connectwise.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
you may not use this file except in compliance with the License.
|
12
|
+
You may obtain a copy of the License at
|
13
|
+
|
14
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
|
16
|
+
Unless required by applicable law or agreed to in writing, software
|
17
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
See the License for the specific language governing permissions and
|
20
|
+
limitations under the License.
|
21
|
+
|
22
|
+
=end
|
23
|
+
|
24
|
+
require "uri"
|
25
|
+
|
26
|
+
module Connectwise
|
27
|
+
class TicketsApi
|
28
|
+
attr_accessor :api_client
|
29
|
+
|
30
|
+
def initialize(api_client = ApiClient.default)
|
31
|
+
@api_client = api_client
|
32
|
+
end
|
33
|
+
|
34
|
+
#
|
35
|
+
# Get Tickets Count
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [String] :conditions
|
38
|
+
# @return [Count]
|
39
|
+
def service_tickets_count_get(opts = {})
|
40
|
+
data, _status_code, _headers = service_tickets_count_get_with_http_info(opts)
|
41
|
+
return data
|
42
|
+
end
|
43
|
+
|
44
|
+
#
|
45
|
+
# Get Tickets Count
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @option opts [String] :conditions
|
48
|
+
# @return [Array<(Count, Fixnum, Hash)>] Count data, response status code and response headers
|
49
|
+
def service_tickets_count_get_with_http_info(opts = {})
|
50
|
+
if @api_client.config.debugging
|
51
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_count_get ..."
|
52
|
+
end
|
53
|
+
# resource path
|
54
|
+
local_var_path = "/service/tickets/count".sub('{format}','json')
|
55
|
+
|
56
|
+
# query parameters
|
57
|
+
query_params = {}
|
58
|
+
query_params[:'conditions'] = opts[:'conditions'] if !opts[:'conditions'].nil?
|
59
|
+
|
60
|
+
# header parameters
|
61
|
+
header_params = {}
|
62
|
+
|
63
|
+
# HTTP header 'Accept' (if needed)
|
64
|
+
local_header_accept = ['application/json']
|
65
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
66
|
+
|
67
|
+
# HTTP header 'Content-Type'
|
68
|
+
local_header_content_type = []
|
69
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
70
|
+
|
71
|
+
# form parameters
|
72
|
+
form_params = {}
|
73
|
+
|
74
|
+
# http body (model)
|
75
|
+
post_body = nil
|
76
|
+
auth_names = ['BasicAuth']
|
77
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
78
|
+
:header_params => header_params,
|
79
|
+
:query_params => query_params,
|
80
|
+
:form_params => form_params,
|
81
|
+
:body => post_body,
|
82
|
+
:auth_names => auth_names,
|
83
|
+
:return_type => 'Count')
|
84
|
+
if @api_client.config.debugging
|
85
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_count_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
|
+
end
|
87
|
+
return data, status_code, headers
|
88
|
+
end
|
89
|
+
|
90
|
+
#
|
91
|
+
# Get Tickets
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @option opts [String] :conditions
|
94
|
+
# @option opts [String] :order_by
|
95
|
+
# @option opts [Integer] :page
|
96
|
+
# @option opts [Integer] :page_size
|
97
|
+
# @return [Array<Ticket>]
|
98
|
+
def service_tickets_get(opts = {})
|
99
|
+
data, _status_code, _headers = service_tickets_get_with_http_info(opts)
|
100
|
+
return data
|
101
|
+
end
|
102
|
+
|
103
|
+
#
|
104
|
+
# Get Tickets
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @option opts [String] :conditions
|
107
|
+
# @option opts [String] :order_by
|
108
|
+
# @option opts [Integer] :page
|
109
|
+
# @option opts [Integer] :page_size
|
110
|
+
# @return [Array<(Array<Ticket>, Fixnum, Hash)>] Array<Ticket> data, response status code and response headers
|
111
|
+
def service_tickets_get_with_http_info(opts = {})
|
112
|
+
if @api_client.config.debugging
|
113
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_get ..."
|
114
|
+
end
|
115
|
+
# resource path
|
116
|
+
local_var_path = "/service/tickets".sub('{format}','json')
|
117
|
+
|
118
|
+
# query parameters
|
119
|
+
query_params = {}
|
120
|
+
query_params[:'conditions'] = opts[:'conditions'] if !opts[:'conditions'].nil?
|
121
|
+
query_params[:'orderBy'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
122
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
123
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
124
|
+
|
125
|
+
# header parameters
|
126
|
+
header_params = {}
|
127
|
+
|
128
|
+
# HTTP header 'Accept' (if needed)
|
129
|
+
local_header_accept = ['application/json']
|
130
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
131
|
+
|
132
|
+
# HTTP header 'Content-Type'
|
133
|
+
local_header_content_type = []
|
134
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
135
|
+
|
136
|
+
# form parameters
|
137
|
+
form_params = {}
|
138
|
+
|
139
|
+
# http body (model)
|
140
|
+
post_body = nil
|
141
|
+
auth_names = ['BasicAuth']
|
142
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
143
|
+
:header_params => header_params,
|
144
|
+
:query_params => query_params,
|
145
|
+
:form_params => form_params,
|
146
|
+
:body => post_body,
|
147
|
+
:auth_names => auth_names,
|
148
|
+
:return_type => 'Array<Ticket>')
|
149
|
+
if @api_client.config.debugging
|
150
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
151
|
+
end
|
152
|
+
return data, status_code, headers
|
153
|
+
end
|
154
|
+
|
155
|
+
#
|
156
|
+
# Get Ticket Activities Count
|
157
|
+
# @param id
|
158
|
+
# @param [Hash] opts the optional parameters
|
159
|
+
# @return [Count]
|
160
|
+
def service_tickets_id_activities_count_get(id, opts = {})
|
161
|
+
data, _status_code, _headers = service_tickets_id_activities_count_get_with_http_info(id, opts)
|
162
|
+
return data
|
163
|
+
end
|
164
|
+
|
165
|
+
#
|
166
|
+
# Get Ticket Activities Count
|
167
|
+
# @param id
|
168
|
+
# @param [Hash] opts the optional parameters
|
169
|
+
# @return [Array<(Count, Fixnum, Hash)>] Count data, response status code and response headers
|
170
|
+
def service_tickets_id_activities_count_get_with_http_info(id, opts = {})
|
171
|
+
if @api_client.config.debugging
|
172
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_activities_count_get ..."
|
173
|
+
end
|
174
|
+
# verify the required parameter 'id' is set
|
175
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_activities_count_get" if id.nil?
|
176
|
+
# resource path
|
177
|
+
local_var_path = "/service/tickets/{id}/activities/count".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
178
|
+
|
179
|
+
# query parameters
|
180
|
+
query_params = {}
|
181
|
+
|
182
|
+
# header parameters
|
183
|
+
header_params = {}
|
184
|
+
|
185
|
+
# HTTP header 'Accept' (if needed)
|
186
|
+
local_header_accept = ['application/json']
|
187
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
188
|
+
|
189
|
+
# HTTP header 'Content-Type'
|
190
|
+
local_header_content_type = []
|
191
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
192
|
+
|
193
|
+
# form parameters
|
194
|
+
form_params = {}
|
195
|
+
|
196
|
+
# http body (model)
|
197
|
+
post_body = nil
|
198
|
+
auth_names = ['BasicAuth']
|
199
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
200
|
+
:header_params => header_params,
|
201
|
+
:query_params => query_params,
|
202
|
+
:form_params => form_params,
|
203
|
+
:body => post_body,
|
204
|
+
:auth_names => auth_names,
|
205
|
+
:return_type => 'Count')
|
206
|
+
if @api_client.config.debugging
|
207
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_activities_count_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
208
|
+
end
|
209
|
+
return data, status_code, headers
|
210
|
+
end
|
211
|
+
|
212
|
+
#
|
213
|
+
# Get Ticket Activities
|
214
|
+
# @param id
|
215
|
+
# @param [Hash] opts the optional parameters
|
216
|
+
# @option opts [Integer] :page
|
217
|
+
# @option opts [Integer] :page_size
|
218
|
+
# @return [Array<ActivityReference>]
|
219
|
+
def service_tickets_id_activities_get(id, opts = {})
|
220
|
+
data, _status_code, _headers = service_tickets_id_activities_get_with_http_info(id, opts)
|
221
|
+
return data
|
222
|
+
end
|
223
|
+
|
224
|
+
#
|
225
|
+
# Get Ticket Activities
|
226
|
+
# @param id
|
227
|
+
# @param [Hash] opts the optional parameters
|
228
|
+
# @option opts [Integer] :page
|
229
|
+
# @option opts [Integer] :page_size
|
230
|
+
# @return [Array<(Array<ActivityReference>, Fixnum, Hash)>] Array<ActivityReference> data, response status code and response headers
|
231
|
+
def service_tickets_id_activities_get_with_http_info(id, opts = {})
|
232
|
+
if @api_client.config.debugging
|
233
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_activities_get ..."
|
234
|
+
end
|
235
|
+
# verify the required parameter 'id' is set
|
236
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_activities_get" if id.nil?
|
237
|
+
# resource path
|
238
|
+
local_var_path = "/service/tickets/{id}/activities".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
239
|
+
|
240
|
+
# query parameters
|
241
|
+
query_params = {}
|
242
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
243
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
244
|
+
|
245
|
+
# header parameters
|
246
|
+
header_params = {}
|
247
|
+
|
248
|
+
# HTTP header 'Accept' (if needed)
|
249
|
+
local_header_accept = ['application/json']
|
250
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
251
|
+
|
252
|
+
# HTTP header 'Content-Type'
|
253
|
+
local_header_content_type = []
|
254
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
255
|
+
|
256
|
+
# form parameters
|
257
|
+
form_params = {}
|
258
|
+
|
259
|
+
# http body (model)
|
260
|
+
post_body = nil
|
261
|
+
auth_names = ['BasicAuth']
|
262
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
263
|
+
:header_params => header_params,
|
264
|
+
:query_params => query_params,
|
265
|
+
:form_params => form_params,
|
266
|
+
:body => post_body,
|
267
|
+
:auth_names => auth_names,
|
268
|
+
:return_type => 'Array<ActivityReference>')
|
269
|
+
if @api_client.config.debugging
|
270
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_activities_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
271
|
+
end
|
272
|
+
return data, status_code, headers
|
273
|
+
end
|
274
|
+
|
275
|
+
#
|
276
|
+
# Delete Configuration Association
|
277
|
+
# @param id
|
278
|
+
# @param config_id
|
279
|
+
# @param [Hash] opts the optional parameters
|
280
|
+
# @return [nil]
|
281
|
+
def service_tickets_id_configurations_config_id_delete(id, config_id, opts = {})
|
282
|
+
service_tickets_id_configurations_config_id_delete_with_http_info(id, config_id, opts)
|
283
|
+
return nil
|
284
|
+
end
|
285
|
+
|
286
|
+
#
|
287
|
+
# Delete Configuration Association
|
288
|
+
# @param id
|
289
|
+
# @param config_id
|
290
|
+
# @param [Hash] opts the optional parameters
|
291
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
292
|
+
def service_tickets_id_configurations_config_id_delete_with_http_info(id, config_id, opts = {})
|
293
|
+
if @api_client.config.debugging
|
294
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_configurations_config_id_delete ..."
|
295
|
+
end
|
296
|
+
# verify the required parameter 'id' is set
|
297
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_configurations_config_id_delete" if id.nil?
|
298
|
+
# verify the required parameter 'config_id' is set
|
299
|
+
fail ArgumentError, "Missing the required parameter 'config_id' when calling TicketsApi.service_tickets_id_configurations_config_id_delete" if config_id.nil?
|
300
|
+
# resource path
|
301
|
+
local_var_path = "/service/tickets/{id}/configurations/{configId}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s).sub('{' + 'configId' + '}', config_id.to_s)
|
302
|
+
|
303
|
+
# query parameters
|
304
|
+
query_params = {}
|
305
|
+
|
306
|
+
# header parameters
|
307
|
+
header_params = {}
|
308
|
+
|
309
|
+
# HTTP header 'Accept' (if needed)
|
310
|
+
local_header_accept = []
|
311
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
312
|
+
|
313
|
+
# HTTP header 'Content-Type'
|
314
|
+
local_header_content_type = []
|
315
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
316
|
+
|
317
|
+
# form parameters
|
318
|
+
form_params = {}
|
319
|
+
|
320
|
+
# http body (model)
|
321
|
+
post_body = nil
|
322
|
+
auth_names = ['BasicAuth']
|
323
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
324
|
+
:header_params => header_params,
|
325
|
+
:query_params => query_params,
|
326
|
+
:form_params => form_params,
|
327
|
+
:body => post_body,
|
328
|
+
:auth_names => auth_names)
|
329
|
+
if @api_client.config.debugging
|
330
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_configurations_config_id_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
331
|
+
end
|
332
|
+
return data, status_code, headers
|
333
|
+
end
|
334
|
+
|
335
|
+
#
|
336
|
+
# Get Configuration Association
|
337
|
+
# @param id
|
338
|
+
# @param config_id
|
339
|
+
# @param [Hash] opts the optional parameters
|
340
|
+
# @return [ConfigurationReference]
|
341
|
+
def service_tickets_id_configurations_config_id_get(id, config_id, opts = {})
|
342
|
+
data, _status_code, _headers = service_tickets_id_configurations_config_id_get_with_http_info(id, config_id, opts)
|
343
|
+
return data
|
344
|
+
end
|
345
|
+
|
346
|
+
#
|
347
|
+
# Get Configuration Association
|
348
|
+
# @param id
|
349
|
+
# @param config_id
|
350
|
+
# @param [Hash] opts the optional parameters
|
351
|
+
# @return [Array<(ConfigurationReference, Fixnum, Hash)>] ConfigurationReference data, response status code and response headers
|
352
|
+
def service_tickets_id_configurations_config_id_get_with_http_info(id, config_id, opts = {})
|
353
|
+
if @api_client.config.debugging
|
354
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_configurations_config_id_get ..."
|
355
|
+
end
|
356
|
+
# verify the required parameter 'id' is set
|
357
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_configurations_config_id_get" if id.nil?
|
358
|
+
# verify the required parameter 'config_id' is set
|
359
|
+
fail ArgumentError, "Missing the required parameter 'config_id' when calling TicketsApi.service_tickets_id_configurations_config_id_get" if config_id.nil?
|
360
|
+
# resource path
|
361
|
+
local_var_path = "/service/tickets/{id}/configurations/{configId}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s).sub('{' + 'configId' + '}', config_id.to_s)
|
362
|
+
|
363
|
+
# query parameters
|
364
|
+
query_params = {}
|
365
|
+
|
366
|
+
# header parameters
|
367
|
+
header_params = {}
|
368
|
+
|
369
|
+
# HTTP header 'Accept' (if needed)
|
370
|
+
local_header_accept = ['application/json']
|
371
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
372
|
+
|
373
|
+
# HTTP header 'Content-Type'
|
374
|
+
local_header_content_type = []
|
375
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
376
|
+
|
377
|
+
# form parameters
|
378
|
+
form_params = {}
|
379
|
+
|
380
|
+
# http body (model)
|
381
|
+
post_body = nil
|
382
|
+
auth_names = ['BasicAuth']
|
383
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
384
|
+
:header_params => header_params,
|
385
|
+
:query_params => query_params,
|
386
|
+
:form_params => form_params,
|
387
|
+
:body => post_body,
|
388
|
+
:auth_names => auth_names,
|
389
|
+
:return_type => 'ConfigurationReference')
|
390
|
+
if @api_client.config.debugging
|
391
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_configurations_config_id_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
392
|
+
end
|
393
|
+
return data, status_code, headers
|
394
|
+
end
|
395
|
+
|
396
|
+
#
|
397
|
+
# Get Ticket Configurations Count
|
398
|
+
# @param id
|
399
|
+
# @param [Hash] opts the optional parameters
|
400
|
+
# @return [Count]
|
401
|
+
def service_tickets_id_configurations_count_get(id, opts = {})
|
402
|
+
data, _status_code, _headers = service_tickets_id_configurations_count_get_with_http_info(id, opts)
|
403
|
+
return data
|
404
|
+
end
|
405
|
+
|
406
|
+
#
|
407
|
+
# Get Ticket Configurations Count
|
408
|
+
# @param id
|
409
|
+
# @param [Hash] opts the optional parameters
|
410
|
+
# @return [Array<(Count, Fixnum, Hash)>] Count data, response status code and response headers
|
411
|
+
def service_tickets_id_configurations_count_get_with_http_info(id, opts = {})
|
412
|
+
if @api_client.config.debugging
|
413
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_configurations_count_get ..."
|
414
|
+
end
|
415
|
+
# verify the required parameter 'id' is set
|
416
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_configurations_count_get" if id.nil?
|
417
|
+
# resource path
|
418
|
+
local_var_path = "/service/tickets/{id}/configurations/count".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
419
|
+
|
420
|
+
# query parameters
|
421
|
+
query_params = {}
|
422
|
+
|
423
|
+
# header parameters
|
424
|
+
header_params = {}
|
425
|
+
|
426
|
+
# HTTP header 'Accept' (if needed)
|
427
|
+
local_header_accept = ['application/json']
|
428
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
429
|
+
|
430
|
+
# HTTP header 'Content-Type'
|
431
|
+
local_header_content_type = []
|
432
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
433
|
+
|
434
|
+
# form parameters
|
435
|
+
form_params = {}
|
436
|
+
|
437
|
+
# http body (model)
|
438
|
+
post_body = nil
|
439
|
+
auth_names = ['BasicAuth']
|
440
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
441
|
+
:header_params => header_params,
|
442
|
+
:query_params => query_params,
|
443
|
+
:form_params => form_params,
|
444
|
+
:body => post_body,
|
445
|
+
:auth_names => auth_names,
|
446
|
+
:return_type => 'Count')
|
447
|
+
if @api_client.config.debugging
|
448
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_configurations_count_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
449
|
+
end
|
450
|
+
return data, status_code, headers
|
451
|
+
end
|
452
|
+
|
453
|
+
#
|
454
|
+
# Get Ticket Configurations
|
455
|
+
# @param id
|
456
|
+
# @param [Hash] opts the optional parameters
|
457
|
+
# @option opts [Integer] :page
|
458
|
+
# @option opts [Integer] :page_size
|
459
|
+
# @return [Array<ConfigurationReference>]
|
460
|
+
def service_tickets_id_configurations_get(id, opts = {})
|
461
|
+
data, _status_code, _headers = service_tickets_id_configurations_get_with_http_info(id, opts)
|
462
|
+
return data
|
463
|
+
end
|
464
|
+
|
465
|
+
#
|
466
|
+
# Get Ticket Configurations
|
467
|
+
# @param id
|
468
|
+
# @param [Hash] opts the optional parameters
|
469
|
+
# @option opts [Integer] :page
|
470
|
+
# @option opts [Integer] :page_size
|
471
|
+
# @return [Array<(Array<ConfigurationReference>, Fixnum, Hash)>] Array<ConfigurationReference> data, response status code and response headers
|
472
|
+
def service_tickets_id_configurations_get_with_http_info(id, opts = {})
|
473
|
+
if @api_client.config.debugging
|
474
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_configurations_get ..."
|
475
|
+
end
|
476
|
+
# verify the required parameter 'id' is set
|
477
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_configurations_get" if id.nil?
|
478
|
+
# resource path
|
479
|
+
local_var_path = "/service/tickets/{id}/configurations".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
480
|
+
|
481
|
+
# query parameters
|
482
|
+
query_params = {}
|
483
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
484
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
485
|
+
|
486
|
+
# header parameters
|
487
|
+
header_params = {}
|
488
|
+
|
489
|
+
# HTTP header 'Accept' (if needed)
|
490
|
+
local_header_accept = ['application/json']
|
491
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
492
|
+
|
493
|
+
# HTTP header 'Content-Type'
|
494
|
+
local_header_content_type = []
|
495
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
496
|
+
|
497
|
+
# form parameters
|
498
|
+
form_params = {}
|
499
|
+
|
500
|
+
# http body (model)
|
501
|
+
post_body = nil
|
502
|
+
auth_names = ['BasicAuth']
|
503
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
504
|
+
:header_params => header_params,
|
505
|
+
:query_params => query_params,
|
506
|
+
:form_params => form_params,
|
507
|
+
:body => post_body,
|
508
|
+
:auth_names => auth_names,
|
509
|
+
:return_type => 'Array<ConfigurationReference>')
|
510
|
+
if @api_client.config.debugging
|
511
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_configurations_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
512
|
+
end
|
513
|
+
return data, status_code, headers
|
514
|
+
end
|
515
|
+
|
516
|
+
#
|
517
|
+
# Create Configuration Association
|
518
|
+
# @param id
|
519
|
+
# @param configuration
|
520
|
+
# @param [Hash] opts the optional parameters
|
521
|
+
# @return [ConfigurationReference]
|
522
|
+
def service_tickets_id_configurations_post(id, configuration, opts = {})
|
523
|
+
data, _status_code, _headers = service_tickets_id_configurations_post_with_http_info(id, configuration, opts)
|
524
|
+
return data
|
525
|
+
end
|
526
|
+
|
527
|
+
#
|
528
|
+
# Create Configuration Association
|
529
|
+
# @param id
|
530
|
+
# @param configuration
|
531
|
+
# @param [Hash] opts the optional parameters
|
532
|
+
# @return [Array<(ConfigurationReference, Fixnum, Hash)>] ConfigurationReference data, response status code and response headers
|
533
|
+
def service_tickets_id_configurations_post_with_http_info(id, configuration, opts = {})
|
534
|
+
if @api_client.config.debugging
|
535
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_configurations_post ..."
|
536
|
+
end
|
537
|
+
# verify the required parameter 'id' is set
|
538
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_configurations_post" if id.nil?
|
539
|
+
# verify the required parameter 'configuration' is set
|
540
|
+
fail ArgumentError, "Missing the required parameter 'configuration' when calling TicketsApi.service_tickets_id_configurations_post" if configuration.nil?
|
541
|
+
# resource path
|
542
|
+
local_var_path = "/service/tickets/{id}/configurations".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
543
|
+
|
544
|
+
# query parameters
|
545
|
+
query_params = {}
|
546
|
+
|
547
|
+
# header parameters
|
548
|
+
header_params = {}
|
549
|
+
|
550
|
+
# HTTP header 'Accept' (if needed)
|
551
|
+
local_header_accept = ['application/json']
|
552
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
553
|
+
|
554
|
+
# HTTP header 'Content-Type'
|
555
|
+
local_header_content_type = ['application/json']
|
556
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
557
|
+
|
558
|
+
# form parameters
|
559
|
+
form_params = {}
|
560
|
+
|
561
|
+
# http body (model)
|
562
|
+
post_body = @api_client.object_to_http_body(configuration)
|
563
|
+
auth_names = ['BasicAuth']
|
564
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
565
|
+
:header_params => header_params,
|
566
|
+
:query_params => query_params,
|
567
|
+
:form_params => form_params,
|
568
|
+
:body => post_body,
|
569
|
+
:auth_names => auth_names,
|
570
|
+
:return_type => 'ConfigurationReference')
|
571
|
+
if @api_client.config.debugging
|
572
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_configurations_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
573
|
+
end
|
574
|
+
return data, status_code, headers
|
575
|
+
end
|
576
|
+
|
577
|
+
#
|
578
|
+
# Delete Ticket By Id
|
579
|
+
# @param id
|
580
|
+
# @param [Hash] opts the optional parameters
|
581
|
+
# @return [nil]
|
582
|
+
def service_tickets_id_delete(id, opts = {})
|
583
|
+
service_tickets_id_delete_with_http_info(id, opts)
|
584
|
+
return nil
|
585
|
+
end
|
586
|
+
|
587
|
+
#
|
588
|
+
# Delete Ticket By Id
|
589
|
+
# @param id
|
590
|
+
# @param [Hash] opts the optional parameters
|
591
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
592
|
+
def service_tickets_id_delete_with_http_info(id, opts = {})
|
593
|
+
if @api_client.config.debugging
|
594
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_delete ..."
|
595
|
+
end
|
596
|
+
# verify the required parameter 'id' is set
|
597
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_delete" if id.nil?
|
598
|
+
# resource path
|
599
|
+
local_var_path = "/service/tickets/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
600
|
+
|
601
|
+
# query parameters
|
602
|
+
query_params = {}
|
603
|
+
|
604
|
+
# header parameters
|
605
|
+
header_params = {}
|
606
|
+
|
607
|
+
# HTTP header 'Accept' (if needed)
|
608
|
+
local_header_accept = []
|
609
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
610
|
+
|
611
|
+
# HTTP header 'Content-Type'
|
612
|
+
local_header_content_type = []
|
613
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
614
|
+
|
615
|
+
# form parameters
|
616
|
+
form_params = {}
|
617
|
+
|
618
|
+
# http body (model)
|
619
|
+
post_body = nil
|
620
|
+
auth_names = ['BasicAuth']
|
621
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
622
|
+
:header_params => header_params,
|
623
|
+
:query_params => query_params,
|
624
|
+
:form_params => form_params,
|
625
|
+
:body => post_body,
|
626
|
+
:auth_names => auth_names)
|
627
|
+
if @api_client.config.debugging
|
628
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
629
|
+
end
|
630
|
+
return data, status_code, headers
|
631
|
+
end
|
632
|
+
|
633
|
+
#
|
634
|
+
# Get Ticket Documents Count
|
635
|
+
# @param id
|
636
|
+
# @param [Hash] opts the optional parameters
|
637
|
+
# @return [Count]
|
638
|
+
def service_tickets_id_documents_count_get(id, opts = {})
|
639
|
+
data, _status_code, _headers = service_tickets_id_documents_count_get_with_http_info(id, opts)
|
640
|
+
return data
|
641
|
+
end
|
642
|
+
|
643
|
+
#
|
644
|
+
# Get Ticket Documents Count
|
645
|
+
# @param id
|
646
|
+
# @param [Hash] opts the optional parameters
|
647
|
+
# @return [Array<(Count, Fixnum, Hash)>] Count data, response status code and response headers
|
648
|
+
def service_tickets_id_documents_count_get_with_http_info(id, opts = {})
|
649
|
+
if @api_client.config.debugging
|
650
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_documents_count_get ..."
|
651
|
+
end
|
652
|
+
# verify the required parameter 'id' is set
|
653
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_documents_count_get" if id.nil?
|
654
|
+
# resource path
|
655
|
+
local_var_path = "/service/tickets/{id}/documents/count".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
656
|
+
|
657
|
+
# query parameters
|
658
|
+
query_params = {}
|
659
|
+
|
660
|
+
# header parameters
|
661
|
+
header_params = {}
|
662
|
+
|
663
|
+
# HTTP header 'Accept' (if needed)
|
664
|
+
local_header_accept = ['application/json']
|
665
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
666
|
+
|
667
|
+
# HTTP header 'Content-Type'
|
668
|
+
local_header_content_type = []
|
669
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
670
|
+
|
671
|
+
# form parameters
|
672
|
+
form_params = {}
|
673
|
+
|
674
|
+
# http body (model)
|
675
|
+
post_body = nil
|
676
|
+
auth_names = ['BasicAuth']
|
677
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
678
|
+
:header_params => header_params,
|
679
|
+
:query_params => query_params,
|
680
|
+
:form_params => form_params,
|
681
|
+
:body => post_body,
|
682
|
+
:auth_names => auth_names,
|
683
|
+
:return_type => 'Count')
|
684
|
+
if @api_client.config.debugging
|
685
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_documents_count_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
686
|
+
end
|
687
|
+
return data, status_code, headers
|
688
|
+
end
|
689
|
+
|
690
|
+
#
|
691
|
+
# Get Ticket Documents
|
692
|
+
# @param id
|
693
|
+
# @param [Hash] opts the optional parameters
|
694
|
+
# @option opts [Integer] :page
|
695
|
+
# @option opts [Integer] :page_size
|
696
|
+
# @return [Array<DocumentReference>]
|
697
|
+
def service_tickets_id_documents_get(id, opts = {})
|
698
|
+
data, _status_code, _headers = service_tickets_id_documents_get_with_http_info(id, opts)
|
699
|
+
return data
|
700
|
+
end
|
701
|
+
|
702
|
+
#
|
703
|
+
# Get Ticket Documents
|
704
|
+
# @param id
|
705
|
+
# @param [Hash] opts the optional parameters
|
706
|
+
# @option opts [Integer] :page
|
707
|
+
# @option opts [Integer] :page_size
|
708
|
+
# @return [Array<(Array<DocumentReference>, Fixnum, Hash)>] Array<DocumentReference> data, response status code and response headers
|
709
|
+
def service_tickets_id_documents_get_with_http_info(id, opts = {})
|
710
|
+
if @api_client.config.debugging
|
711
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_documents_get ..."
|
712
|
+
end
|
713
|
+
# verify the required parameter 'id' is set
|
714
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_documents_get" if id.nil?
|
715
|
+
# resource path
|
716
|
+
local_var_path = "/service/tickets/{id}/documents".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
717
|
+
|
718
|
+
# query parameters
|
719
|
+
query_params = {}
|
720
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
721
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
722
|
+
|
723
|
+
# header parameters
|
724
|
+
header_params = {}
|
725
|
+
|
726
|
+
# HTTP header 'Accept' (if needed)
|
727
|
+
local_header_accept = ['application/json']
|
728
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
729
|
+
|
730
|
+
# HTTP header 'Content-Type'
|
731
|
+
local_header_content_type = []
|
732
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
733
|
+
|
734
|
+
# form parameters
|
735
|
+
form_params = {}
|
736
|
+
|
737
|
+
# http body (model)
|
738
|
+
post_body = nil
|
739
|
+
auth_names = ['BasicAuth']
|
740
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
741
|
+
:header_params => header_params,
|
742
|
+
:query_params => query_params,
|
743
|
+
:form_params => form_params,
|
744
|
+
:body => post_body,
|
745
|
+
:auth_names => auth_names,
|
746
|
+
:return_type => 'Array<DocumentReference>')
|
747
|
+
if @api_client.config.debugging
|
748
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_documents_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
749
|
+
end
|
750
|
+
return data, status_code, headers
|
751
|
+
end
|
752
|
+
|
753
|
+
#
|
754
|
+
# Get Ticket By Id
|
755
|
+
# @param id
|
756
|
+
# @param [Hash] opts the optional parameters
|
757
|
+
# @return [Ticket]
|
758
|
+
def service_tickets_id_get(id, opts = {})
|
759
|
+
data, _status_code, _headers = service_tickets_id_get_with_http_info(id, opts)
|
760
|
+
return data
|
761
|
+
end
|
762
|
+
|
763
|
+
#
|
764
|
+
# Get Ticket By Id
|
765
|
+
# @param id
|
766
|
+
# @param [Hash] opts the optional parameters
|
767
|
+
# @return [Array<(Ticket, Fixnum, Hash)>] Ticket data, response status code and response headers
|
768
|
+
def service_tickets_id_get_with_http_info(id, opts = {})
|
769
|
+
if @api_client.config.debugging
|
770
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_get ..."
|
771
|
+
end
|
772
|
+
# verify the required parameter 'id' is set
|
773
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_get" if id.nil?
|
774
|
+
# resource path
|
775
|
+
local_var_path = "/service/tickets/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
776
|
+
|
777
|
+
# query parameters
|
778
|
+
query_params = {}
|
779
|
+
|
780
|
+
# header parameters
|
781
|
+
header_params = {}
|
782
|
+
|
783
|
+
# HTTP header 'Accept' (if needed)
|
784
|
+
local_header_accept = ['application/json']
|
785
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
786
|
+
|
787
|
+
# HTTP header 'Content-Type'
|
788
|
+
local_header_content_type = []
|
789
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
790
|
+
|
791
|
+
# form parameters
|
792
|
+
form_params = {}
|
793
|
+
|
794
|
+
# http body (model)
|
795
|
+
post_body = nil
|
796
|
+
auth_names = ['BasicAuth']
|
797
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
798
|
+
:header_params => header_params,
|
799
|
+
:query_params => query_params,
|
800
|
+
:form_params => form_params,
|
801
|
+
:body => post_body,
|
802
|
+
:auth_names => auth_names,
|
803
|
+
:return_type => 'Ticket')
|
804
|
+
if @api_client.config.debugging
|
805
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
806
|
+
end
|
807
|
+
return data, status_code, headers
|
808
|
+
end
|
809
|
+
|
810
|
+
#
|
811
|
+
# Update Ticket
|
812
|
+
# @param id
|
813
|
+
# @param operations
|
814
|
+
# @param [Hash] opts the optional parameters
|
815
|
+
# @return [Ticket]
|
816
|
+
def service_tickets_id_patch(id, operations, opts = {})
|
817
|
+
data, _status_code, _headers = service_tickets_id_patch_with_http_info(id, operations, opts)
|
818
|
+
return data
|
819
|
+
end
|
820
|
+
|
821
|
+
#
|
822
|
+
# Update Ticket
|
823
|
+
# @param id
|
824
|
+
# @param operations
|
825
|
+
# @param [Hash] opts the optional parameters
|
826
|
+
# @return [Array<(Ticket, Fixnum, Hash)>] Ticket data, response status code and response headers
|
827
|
+
def service_tickets_id_patch_with_http_info(id, operations, opts = {})
|
828
|
+
if @api_client.config.debugging
|
829
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_patch ..."
|
830
|
+
end
|
831
|
+
# verify the required parameter 'id' is set
|
832
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_patch" if id.nil?
|
833
|
+
# verify the required parameter 'operations' is set
|
834
|
+
fail ArgumentError, "Missing the required parameter 'operations' when calling TicketsApi.service_tickets_id_patch" if operations.nil?
|
835
|
+
# resource path
|
836
|
+
local_var_path = "/service/tickets/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
837
|
+
|
838
|
+
# query parameters
|
839
|
+
query_params = {}
|
840
|
+
|
841
|
+
# header parameters
|
842
|
+
header_params = {}
|
843
|
+
|
844
|
+
# HTTP header 'Accept' (if needed)
|
845
|
+
local_header_accept = ['application/json']
|
846
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
847
|
+
|
848
|
+
# HTTP header 'Content-Type'
|
849
|
+
local_header_content_type = ['application/json']
|
850
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
851
|
+
|
852
|
+
# form parameters
|
853
|
+
form_params = {}
|
854
|
+
|
855
|
+
# http body (model)
|
856
|
+
post_body = @api_client.object_to_http_body(operations)
|
857
|
+
auth_names = ['BasicAuth']
|
858
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
859
|
+
:header_params => header_params,
|
860
|
+
:query_params => query_params,
|
861
|
+
:form_params => form_params,
|
862
|
+
:body => post_body,
|
863
|
+
:auth_names => auth_names,
|
864
|
+
:return_type => 'Ticket')
|
865
|
+
if @api_client.config.debugging
|
866
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
867
|
+
end
|
868
|
+
return data, status_code, headers
|
869
|
+
end
|
870
|
+
|
871
|
+
#
|
872
|
+
# Get Ticket Products Count
|
873
|
+
# @param id
|
874
|
+
# @param [Hash] opts the optional parameters
|
875
|
+
# @return [Count]
|
876
|
+
def service_tickets_id_products_count_get(id, opts = {})
|
877
|
+
data, _status_code, _headers = service_tickets_id_products_count_get_with_http_info(id, opts)
|
878
|
+
return data
|
879
|
+
end
|
880
|
+
|
881
|
+
#
|
882
|
+
# Get Ticket Products Count
|
883
|
+
# @param id
|
884
|
+
# @param [Hash] opts the optional parameters
|
885
|
+
# @return [Array<(Count, Fixnum, Hash)>] Count data, response status code and response headers
|
886
|
+
def service_tickets_id_products_count_get_with_http_info(id, opts = {})
|
887
|
+
if @api_client.config.debugging
|
888
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_products_count_get ..."
|
889
|
+
end
|
890
|
+
# verify the required parameter 'id' is set
|
891
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_products_count_get" if id.nil?
|
892
|
+
# resource path
|
893
|
+
local_var_path = "/service/tickets/{id}/products/count".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
894
|
+
|
895
|
+
# query parameters
|
896
|
+
query_params = {}
|
897
|
+
|
898
|
+
# header parameters
|
899
|
+
header_params = {}
|
900
|
+
|
901
|
+
# HTTP header 'Accept' (if needed)
|
902
|
+
local_header_accept = ['application/json']
|
903
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
904
|
+
|
905
|
+
# HTTP header 'Content-Type'
|
906
|
+
local_header_content_type = []
|
907
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
908
|
+
|
909
|
+
# form parameters
|
910
|
+
form_params = {}
|
911
|
+
|
912
|
+
# http body (model)
|
913
|
+
post_body = nil
|
914
|
+
auth_names = ['BasicAuth']
|
915
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
916
|
+
:header_params => header_params,
|
917
|
+
:query_params => query_params,
|
918
|
+
:form_params => form_params,
|
919
|
+
:body => post_body,
|
920
|
+
:auth_names => auth_names,
|
921
|
+
:return_type => 'Count')
|
922
|
+
if @api_client.config.debugging
|
923
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_products_count_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
924
|
+
end
|
925
|
+
return data, status_code, headers
|
926
|
+
end
|
927
|
+
|
928
|
+
#
|
929
|
+
# Get Ticket Products
|
930
|
+
# @param id
|
931
|
+
# @param [Hash] opts the optional parameters
|
932
|
+
# @option opts [Integer] :page
|
933
|
+
# @option opts [Integer] :page_size
|
934
|
+
# @return [Array<ProductReference>]
|
935
|
+
def service_tickets_id_products_get(id, opts = {})
|
936
|
+
data, _status_code, _headers = service_tickets_id_products_get_with_http_info(id, opts)
|
937
|
+
return data
|
938
|
+
end
|
939
|
+
|
940
|
+
#
|
941
|
+
# Get Ticket Products
|
942
|
+
# @param id
|
943
|
+
# @param [Hash] opts the optional parameters
|
944
|
+
# @option opts [Integer] :page
|
945
|
+
# @option opts [Integer] :page_size
|
946
|
+
# @return [Array<(Array<ProductReference>, Fixnum, Hash)>] Array<ProductReference> data, response status code and response headers
|
947
|
+
def service_tickets_id_products_get_with_http_info(id, opts = {})
|
948
|
+
if @api_client.config.debugging
|
949
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_products_get ..."
|
950
|
+
end
|
951
|
+
# verify the required parameter 'id' is set
|
952
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_products_get" if id.nil?
|
953
|
+
# resource path
|
954
|
+
local_var_path = "/service/tickets/{id}/products".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
955
|
+
|
956
|
+
# query parameters
|
957
|
+
query_params = {}
|
958
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
959
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
960
|
+
|
961
|
+
# header parameters
|
962
|
+
header_params = {}
|
963
|
+
|
964
|
+
# HTTP header 'Accept' (if needed)
|
965
|
+
local_header_accept = ['application/json']
|
966
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
967
|
+
|
968
|
+
# HTTP header 'Content-Type'
|
969
|
+
local_header_content_type = []
|
970
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
971
|
+
|
972
|
+
# form parameters
|
973
|
+
form_params = {}
|
974
|
+
|
975
|
+
# http body (model)
|
976
|
+
post_body = nil
|
977
|
+
auth_names = ['BasicAuth']
|
978
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
979
|
+
:header_params => header_params,
|
980
|
+
:query_params => query_params,
|
981
|
+
:form_params => form_params,
|
982
|
+
:body => post_body,
|
983
|
+
:auth_names => auth_names,
|
984
|
+
:return_type => 'Array<ProductReference>')
|
985
|
+
if @api_client.config.debugging
|
986
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_products_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
987
|
+
end
|
988
|
+
return data, status_code, headers
|
989
|
+
end
|
990
|
+
|
991
|
+
#
|
992
|
+
# Replace Ticket
|
993
|
+
# @param id
|
994
|
+
# @param ticket
|
995
|
+
# @param [Hash] opts the optional parameters
|
996
|
+
# @return [Ticket]
|
997
|
+
def service_tickets_id_put(id, ticket, opts = {})
|
998
|
+
data, _status_code, _headers = service_tickets_id_put_with_http_info(id, ticket, opts)
|
999
|
+
return data
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
#
|
1003
|
+
# Replace Ticket
|
1004
|
+
# @param id
|
1005
|
+
# @param ticket
|
1006
|
+
# @param [Hash] opts the optional parameters
|
1007
|
+
# @return [Array<(Ticket, Fixnum, Hash)>] Ticket data, response status code and response headers
|
1008
|
+
def service_tickets_id_put_with_http_info(id, ticket, opts = {})
|
1009
|
+
if @api_client.config.debugging
|
1010
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_put ..."
|
1011
|
+
end
|
1012
|
+
# verify the required parameter 'id' is set
|
1013
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_put" if id.nil?
|
1014
|
+
# verify the required parameter 'ticket' is set
|
1015
|
+
fail ArgumentError, "Missing the required parameter 'ticket' when calling TicketsApi.service_tickets_id_put" if ticket.nil?
|
1016
|
+
# resource path
|
1017
|
+
local_var_path = "/service/tickets/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
1018
|
+
|
1019
|
+
# query parameters
|
1020
|
+
query_params = {}
|
1021
|
+
|
1022
|
+
# header parameters
|
1023
|
+
header_params = {}
|
1024
|
+
|
1025
|
+
# HTTP header 'Accept' (if needed)
|
1026
|
+
local_header_accept = ['application/json']
|
1027
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1028
|
+
|
1029
|
+
# HTTP header 'Content-Type'
|
1030
|
+
local_header_content_type = ['application/json']
|
1031
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1032
|
+
|
1033
|
+
# form parameters
|
1034
|
+
form_params = {}
|
1035
|
+
|
1036
|
+
# http body (model)
|
1037
|
+
post_body = @api_client.object_to_http_body(ticket)
|
1038
|
+
auth_names = ['BasicAuth']
|
1039
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1040
|
+
:header_params => header_params,
|
1041
|
+
:query_params => query_params,
|
1042
|
+
:form_params => form_params,
|
1043
|
+
:body => post_body,
|
1044
|
+
:auth_names => auth_names,
|
1045
|
+
:return_type => 'Ticket')
|
1046
|
+
if @api_client.config.debugging
|
1047
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1048
|
+
end
|
1049
|
+
return data, status_code, headers
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
#
|
1053
|
+
# Get Ticket Schedule Entries Count
|
1054
|
+
# @param id
|
1055
|
+
# @param [Hash] opts the optional parameters
|
1056
|
+
# @return [Count]
|
1057
|
+
def service_tickets_id_scheduleentries_count_get(id, opts = {})
|
1058
|
+
data, _status_code, _headers = service_tickets_id_scheduleentries_count_get_with_http_info(id, opts)
|
1059
|
+
return data
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
#
|
1063
|
+
# Get Ticket Schedule Entries Count
|
1064
|
+
# @param id
|
1065
|
+
# @param [Hash] opts the optional parameters
|
1066
|
+
# @return [Array<(Count, Fixnum, Hash)>] Count data, response status code and response headers
|
1067
|
+
def service_tickets_id_scheduleentries_count_get_with_http_info(id, opts = {})
|
1068
|
+
if @api_client.config.debugging
|
1069
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_scheduleentries_count_get ..."
|
1070
|
+
end
|
1071
|
+
# verify the required parameter 'id' is set
|
1072
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_scheduleentries_count_get" if id.nil?
|
1073
|
+
# resource path
|
1074
|
+
local_var_path = "/service/tickets/{id}/scheduleentries/count".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
1075
|
+
|
1076
|
+
# query parameters
|
1077
|
+
query_params = {}
|
1078
|
+
|
1079
|
+
# header parameters
|
1080
|
+
header_params = {}
|
1081
|
+
|
1082
|
+
# HTTP header 'Accept' (if needed)
|
1083
|
+
local_header_accept = ['application/json']
|
1084
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1085
|
+
|
1086
|
+
# HTTP header 'Content-Type'
|
1087
|
+
local_header_content_type = []
|
1088
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1089
|
+
|
1090
|
+
# form parameters
|
1091
|
+
form_params = {}
|
1092
|
+
|
1093
|
+
# http body (model)
|
1094
|
+
post_body = nil
|
1095
|
+
auth_names = ['BasicAuth']
|
1096
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1097
|
+
:header_params => header_params,
|
1098
|
+
:query_params => query_params,
|
1099
|
+
:form_params => form_params,
|
1100
|
+
:body => post_body,
|
1101
|
+
:auth_names => auth_names,
|
1102
|
+
:return_type => 'Count')
|
1103
|
+
if @api_client.config.debugging
|
1104
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_scheduleentries_count_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1105
|
+
end
|
1106
|
+
return data, status_code, headers
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
#
|
1110
|
+
# Get Ticket Schedule Entries
|
1111
|
+
# @param id
|
1112
|
+
# @param [Hash] opts the optional parameters
|
1113
|
+
# @option opts [Integer] :page
|
1114
|
+
# @option opts [Integer] :page_size
|
1115
|
+
# @return [Array<ScheduleEntryReference>]
|
1116
|
+
def service_tickets_id_scheduleentries_get(id, opts = {})
|
1117
|
+
data, _status_code, _headers = service_tickets_id_scheduleentries_get_with_http_info(id, opts)
|
1118
|
+
return data
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
#
|
1122
|
+
# Get Ticket Schedule Entries
|
1123
|
+
# @param id
|
1124
|
+
# @param [Hash] opts the optional parameters
|
1125
|
+
# @option opts [Integer] :page
|
1126
|
+
# @option opts [Integer] :page_size
|
1127
|
+
# @return [Array<(Array<ScheduleEntryReference>, Fixnum, Hash)>] Array<ScheduleEntryReference> data, response status code and response headers
|
1128
|
+
def service_tickets_id_scheduleentries_get_with_http_info(id, opts = {})
|
1129
|
+
if @api_client.config.debugging
|
1130
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_scheduleentries_get ..."
|
1131
|
+
end
|
1132
|
+
# verify the required parameter 'id' is set
|
1133
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_scheduleentries_get" if id.nil?
|
1134
|
+
# resource path
|
1135
|
+
local_var_path = "/service/tickets/{id}/scheduleentries".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
1136
|
+
|
1137
|
+
# query parameters
|
1138
|
+
query_params = {}
|
1139
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1140
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
1141
|
+
|
1142
|
+
# header parameters
|
1143
|
+
header_params = {}
|
1144
|
+
|
1145
|
+
# HTTP header 'Accept' (if needed)
|
1146
|
+
local_header_accept = ['application/json']
|
1147
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1148
|
+
|
1149
|
+
# HTTP header 'Content-Type'
|
1150
|
+
local_header_content_type = []
|
1151
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1152
|
+
|
1153
|
+
# form parameters
|
1154
|
+
form_params = {}
|
1155
|
+
|
1156
|
+
# http body (model)
|
1157
|
+
post_body = nil
|
1158
|
+
auth_names = ['BasicAuth']
|
1159
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1160
|
+
:header_params => header_params,
|
1161
|
+
:query_params => query_params,
|
1162
|
+
:form_params => form_params,
|
1163
|
+
:body => post_body,
|
1164
|
+
:auth_names => auth_names,
|
1165
|
+
:return_type => 'Array<ScheduleEntryReference>')
|
1166
|
+
if @api_client.config.debugging
|
1167
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_scheduleentries_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1168
|
+
end
|
1169
|
+
return data, status_code, headers
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
#
|
1173
|
+
# Get Ticket Time Entries Count
|
1174
|
+
# @param id
|
1175
|
+
# @param [Hash] opts the optional parameters
|
1176
|
+
# @return [Count]
|
1177
|
+
def service_tickets_id_timeentries_count_get(id, opts = {})
|
1178
|
+
data, _status_code, _headers = service_tickets_id_timeentries_count_get_with_http_info(id, opts)
|
1179
|
+
return data
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
#
|
1183
|
+
# Get Ticket Time Entries Count
|
1184
|
+
# @param id
|
1185
|
+
# @param [Hash] opts the optional parameters
|
1186
|
+
# @return [Array<(Count, Fixnum, Hash)>] Count data, response status code and response headers
|
1187
|
+
def service_tickets_id_timeentries_count_get_with_http_info(id, opts = {})
|
1188
|
+
if @api_client.config.debugging
|
1189
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_timeentries_count_get ..."
|
1190
|
+
end
|
1191
|
+
# verify the required parameter 'id' is set
|
1192
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_timeentries_count_get" if id.nil?
|
1193
|
+
# resource path
|
1194
|
+
local_var_path = "/service/tickets/{id}/timeentries/count".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
1195
|
+
|
1196
|
+
# query parameters
|
1197
|
+
query_params = {}
|
1198
|
+
|
1199
|
+
# header parameters
|
1200
|
+
header_params = {}
|
1201
|
+
|
1202
|
+
# HTTP header 'Accept' (if needed)
|
1203
|
+
local_header_accept = ['application/json']
|
1204
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1205
|
+
|
1206
|
+
# HTTP header 'Content-Type'
|
1207
|
+
local_header_content_type = []
|
1208
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1209
|
+
|
1210
|
+
# form parameters
|
1211
|
+
form_params = {}
|
1212
|
+
|
1213
|
+
# http body (model)
|
1214
|
+
post_body = nil
|
1215
|
+
auth_names = ['BasicAuth']
|
1216
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1217
|
+
:header_params => header_params,
|
1218
|
+
:query_params => query_params,
|
1219
|
+
:form_params => form_params,
|
1220
|
+
:body => post_body,
|
1221
|
+
:auth_names => auth_names,
|
1222
|
+
:return_type => 'Count')
|
1223
|
+
if @api_client.config.debugging
|
1224
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_timeentries_count_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1225
|
+
end
|
1226
|
+
return data, status_code, headers
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
#
|
1230
|
+
# Get Ticket Time Entries
|
1231
|
+
# @param id
|
1232
|
+
# @param [Hash] opts the optional parameters
|
1233
|
+
# @option opts [Integer] :page
|
1234
|
+
# @option opts [Integer] :page_size
|
1235
|
+
# @return [Array<TimeEntryReference>]
|
1236
|
+
def service_tickets_id_timeentries_get(id, opts = {})
|
1237
|
+
data, _status_code, _headers = service_tickets_id_timeentries_get_with_http_info(id, opts)
|
1238
|
+
return data
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
#
|
1242
|
+
# Get Ticket Time Entries
|
1243
|
+
# @param id
|
1244
|
+
# @param [Hash] opts the optional parameters
|
1245
|
+
# @option opts [Integer] :page
|
1246
|
+
# @option opts [Integer] :page_size
|
1247
|
+
# @return [Array<(Array<TimeEntryReference>, Fixnum, Hash)>] Array<TimeEntryReference> data, response status code and response headers
|
1248
|
+
def service_tickets_id_timeentries_get_with_http_info(id, opts = {})
|
1249
|
+
if @api_client.config.debugging
|
1250
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_id_timeentries_get ..."
|
1251
|
+
end
|
1252
|
+
# verify the required parameter 'id' is set
|
1253
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TicketsApi.service_tickets_id_timeentries_get" if id.nil?
|
1254
|
+
# resource path
|
1255
|
+
local_var_path = "/service/tickets/{id}/timeentries".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
1256
|
+
|
1257
|
+
# query parameters
|
1258
|
+
query_params = {}
|
1259
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1260
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
1261
|
+
|
1262
|
+
# header parameters
|
1263
|
+
header_params = {}
|
1264
|
+
|
1265
|
+
# HTTP header 'Accept' (if needed)
|
1266
|
+
local_header_accept = ['application/json']
|
1267
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1268
|
+
|
1269
|
+
# HTTP header 'Content-Type'
|
1270
|
+
local_header_content_type = []
|
1271
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1272
|
+
|
1273
|
+
# form parameters
|
1274
|
+
form_params = {}
|
1275
|
+
|
1276
|
+
# http body (model)
|
1277
|
+
post_body = nil
|
1278
|
+
auth_names = ['BasicAuth']
|
1279
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1280
|
+
:header_params => header_params,
|
1281
|
+
:query_params => query_params,
|
1282
|
+
:form_params => form_params,
|
1283
|
+
:body => post_body,
|
1284
|
+
:auth_names => auth_names,
|
1285
|
+
:return_type => 'Array<TimeEntryReference>')
|
1286
|
+
if @api_client.config.debugging
|
1287
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_id_timeentries_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1288
|
+
end
|
1289
|
+
return data, status_code, headers
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
#
|
1293
|
+
# Create Ticket
|
1294
|
+
# @param ticket
|
1295
|
+
# @param [Hash] opts the optional parameters
|
1296
|
+
# @return [Ticket]
|
1297
|
+
def service_tickets_post(ticket, opts = {})
|
1298
|
+
data, _status_code, _headers = service_tickets_post_with_http_info(ticket, opts)
|
1299
|
+
return data
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
#
|
1303
|
+
# Create Ticket
|
1304
|
+
# @param ticket
|
1305
|
+
# @param [Hash] opts the optional parameters
|
1306
|
+
# @return [Array<(Ticket, Fixnum, Hash)>] Ticket data, response status code and response headers
|
1307
|
+
def service_tickets_post_with_http_info(ticket, opts = {})
|
1308
|
+
if @api_client.config.debugging
|
1309
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_post ..."
|
1310
|
+
end
|
1311
|
+
# verify the required parameter 'ticket' is set
|
1312
|
+
fail ArgumentError, "Missing the required parameter 'ticket' when calling TicketsApi.service_tickets_post" if ticket.nil?
|
1313
|
+
# resource path
|
1314
|
+
local_var_path = "/service/tickets".sub('{format}','json')
|
1315
|
+
|
1316
|
+
# query parameters
|
1317
|
+
query_params = {}
|
1318
|
+
|
1319
|
+
# header parameters
|
1320
|
+
header_params = {}
|
1321
|
+
|
1322
|
+
# HTTP header 'Accept' (if needed)
|
1323
|
+
local_header_accept = ['application/json']
|
1324
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1325
|
+
|
1326
|
+
# HTTP header 'Content-Type'
|
1327
|
+
local_header_content_type = ['application/json']
|
1328
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1329
|
+
|
1330
|
+
# form parameters
|
1331
|
+
form_params = {}
|
1332
|
+
|
1333
|
+
# http body (model)
|
1334
|
+
post_body = @api_client.object_to_http_body(ticket)
|
1335
|
+
auth_names = ['BasicAuth']
|
1336
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1337
|
+
:header_params => header_params,
|
1338
|
+
:query_params => query_params,
|
1339
|
+
:form_params => form_params,
|
1340
|
+
:body => post_body,
|
1341
|
+
:auth_names => auth_names,
|
1342
|
+
:return_type => 'Ticket')
|
1343
|
+
if @api_client.config.debugging
|
1344
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1345
|
+
end
|
1346
|
+
return data, status_code, headers
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
#
|
1350
|
+
# Ticket Search
|
1351
|
+
# @param filter_values
|
1352
|
+
# @param [Hash] opts the optional parameters
|
1353
|
+
# @option opts [Integer] :page
|
1354
|
+
# @option opts [Integer] :page_size
|
1355
|
+
# @return [Array<Ticket>]
|
1356
|
+
def service_tickets_search_post(filter_values, opts = {})
|
1357
|
+
data, _status_code, _headers = service_tickets_search_post_with_http_info(filter_values, opts)
|
1358
|
+
return data
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
#
|
1362
|
+
# Ticket Search
|
1363
|
+
# @param filter_values
|
1364
|
+
# @param [Hash] opts the optional parameters
|
1365
|
+
# @option opts [Integer] :page
|
1366
|
+
# @option opts [Integer] :page_size
|
1367
|
+
# @return [Array<(Array<Ticket>, Fixnum, Hash)>] Array<Ticket> data, response status code and response headers
|
1368
|
+
def service_tickets_search_post_with_http_info(filter_values, opts = {})
|
1369
|
+
if @api_client.config.debugging
|
1370
|
+
@api_client.config.logger.debug "Calling API: TicketsApi.service_tickets_search_post ..."
|
1371
|
+
end
|
1372
|
+
# verify the required parameter 'filter_values' is set
|
1373
|
+
fail ArgumentError, "Missing the required parameter 'filter_values' when calling TicketsApi.service_tickets_search_post" if filter_values.nil?
|
1374
|
+
# resource path
|
1375
|
+
local_var_path = "/service/tickets/search".sub('{format}','json')
|
1376
|
+
|
1377
|
+
# query parameters
|
1378
|
+
query_params = {}
|
1379
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1380
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
1381
|
+
|
1382
|
+
# header parameters
|
1383
|
+
header_params = {}
|
1384
|
+
|
1385
|
+
# HTTP header 'Accept' (if needed)
|
1386
|
+
local_header_accept = ['application/json']
|
1387
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1388
|
+
|
1389
|
+
# HTTP header 'Content-Type'
|
1390
|
+
local_header_content_type = ['application/json']
|
1391
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1392
|
+
|
1393
|
+
# form parameters
|
1394
|
+
form_params = {}
|
1395
|
+
|
1396
|
+
# http body (model)
|
1397
|
+
post_body = @api_client.object_to_http_body(filter_values)
|
1398
|
+
auth_names = ['BasicAuth']
|
1399
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1400
|
+
:header_params => header_params,
|
1401
|
+
:query_params => query_params,
|
1402
|
+
:form_params => form_params,
|
1403
|
+
:body => post_body,
|
1404
|
+
:auth_names => auth_names,
|
1405
|
+
:return_type => 'Array<Ticket>')
|
1406
|
+
if @api_client.config.debugging
|
1407
|
+
@api_client.config.logger.debug "API called: TicketsApi#service_tickets_search_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1408
|
+
end
|
1409
|
+
return data, status_code, headers
|
1410
|
+
end
|
1411
|
+
end
|
1412
|
+
end
|