connectwise-ruby-sdk 1.0.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -5
- data/README.md +2466 -1082
- data/Rakefile +20 -6
- data/connectwise-ruby-sdk.gemspec +8 -31
- data/docs/AccountingBatch.md +14 -0
- data/docs/AccountingBatchesApi.md +139 -26
- data/docs/AccountingPackage.md +29 -0
- data/docs/AccountingPackagesApi.md +179 -0
- data/docs/AccountingUnpostedExpensesApi.md +14 -10
- data/docs/AccountingUnpostedProcurementsApi.md +14 -10
- data/docs/AccountingUnpostedinvoicesApi.md +14 -10
- data/docs/ActivitiesApi.md +31 -25
- data/docs/Activity.md +4 -2
- data/docs/ActivityReference.md +1 -1
- data/docs/ActivityStatus.md +1 -1
- data/docs/ActivityStatusReference.md +1 -1
- data/docs/ActivityStatusesApi.md +29 -25
- data/docs/ActivityStopwatch.md +26 -0
- data/docs/ActivityStopwatchesApi.md +396 -0
- data/docs/ActivityType.md +1 -1
- data/docs/ActivityTypeReference.md +1 -1
- data/docs/ActivityTypesApi.md +29 -25
- data/docs/Addition.md +6 -1
- data/docs/AddressFormat.md +15 -0
- data/docs/AddressFormatReference.md +10 -0
- data/docs/AddressFormatsApi.md +396 -0
- data/docs/Adjustment.md +8 -1
- data/docs/AdjustmentDetail.md +18 -0
- data/docs/AdjustmentDetailsApi.md +299 -0
- data/docs/AdjustmentReference.md +10 -0
- data/docs/AdjustmentType.md +14 -0
- data/docs/AdjustmentTypeReference.md +10 -0
- data/docs/AdjustmentTypesApi.md +396 -0
- data/docs/AdjustmentsApi.md +396 -0
- data/docs/Agreement.md +4 -2
- data/docs/AgreementAdditionsApi.md +31 -25
- data/docs/AgreementAdjustmentsApi.md +31 -25
- data/docs/AgreementBatchSetup.md +11 -0
- data/docs/AgreementBatchSetupsApi.md +291 -0
- data/docs/AgreementBoardDefaultsApi.md +29 -25
- data/docs/AgreementReference.md +1 -1
- data/docs/AgreementSite.md +1 -1
- data/docs/AgreementSitesApi.md +29 -25
- data/docs/AgreementType.md +18 -9
- data/docs/AgreementTypeBoardDefault.md +15 -0
- data/docs/AgreementTypeBoardDefaultsApi.md +417 -0
- data/docs/AgreementTypeReference.md +1 -1
- data/docs/AgreementTypeWorkRole.md +15 -0
- data/docs/AgreementTypeWorkRoleExclusion.md +11 -0
- data/docs/AgreementTypeWorkRoleExclusionsApi.md +299 -0
- data/docs/AgreementTypeWorkRolesApi.md +417 -0
- data/docs/AgreementTypeWorkType.md +21 -0
- data/docs/AgreementTypeWorkTypeExclusion.md +11 -0
- data/docs/AgreementTypeWorkTypeExclusionsApi.md +299 -0
- data/docs/AgreementTypeWorkTypesApi.md +417 -0
- data/docs/AgreementTypesApi.md +29 -25
- data/docs/AgreementWorkRole.md +1 -1
- data/docs/AgreementWorkRoleExclusion.md +1 -1
- data/docs/AgreementWorkRoleExclusionsApi.md +18 -14
- data/docs/AgreementWorkRolesApi.md +29 -25
- data/docs/AgreementWorkType.md +1 -1
- data/docs/AgreementWorkTypeExclusion.md +1 -1
- data/docs/AgreementWorkTypeExclusionsApi.md +18 -14
- data/docs/AgreementWorkTypesApi.md +29 -25
- data/docs/AgreementsApi.md +47 -41
- data/docs/AuditTrailApi.md +7 -59
- data/docs/AuditTrailEntry.md +2 -1
- data/docs/AuthAnvil.md +11 -0
- data/docs/AuthAnvilsApi.md +338 -0
- data/docs/AutomateScriptReference.md +10 -0
- data/docs/BatchApi.md +61 -0
- data/docs/BatchRequest.md +10 -0
- data/docs/BatchResponse.md +9 -0
- data/docs/BillingCycle.md +14 -0
- data/docs/BillingCycleReference.md +10 -0
- data/docs/BillingCyclesApi.md +179 -0
- data/docs/BillingDeliveryReference.md +10 -0
- data/docs/BillingOptionsReference.md +10 -0
- data/docs/BillingSetup.md +66 -0
- data/docs/BillingSetupRouting.md +13 -0
- data/docs/BillingSetupRoutingsApi.md +417 -0
- data/docs/BillingSetupsApi.md +396 -0
- data/docs/BillingStatus.md +15 -0
- data/docs/BillingStatusReference.md +1 -1
- data/docs/BillingStatusesApi.md +179 -0
- data/docs/BillingTerm.md +13 -0
- data/docs/BillingTermsApi.md +179 -0
- data/docs/BillingTermsReference.md +1 -1
- data/docs/Board.md +50 -8
- data/docs/BoardAutoAssignResource.md +11 -0
- data/docs/BoardAutoAssignResourcesApi.md +417 -0
- data/docs/BoardAutoTemplate.md +23 -0
- data/docs/BoardAutoTemplatesApi.md +417 -0
- data/docs/{AuditTrailObjects.md → BoardCopy.md} +3 -3
- data/docs/BoardDefault.md +1 -1
- data/docs/{ExcludedMember.md → BoardExcludedMember.md} +1 -1
- data/docs/BoardExcludedMembersApi.md +29 -25
- data/docs/BoardItem.md +12 -0
- data/docs/BoardItemAssociation.md +14 -0
- data/docs/BoardItemAssociationsApi.md +321 -0
- data/docs/BoardItemsApi.md +43 -39
- data/docs/BoardNotification.md +12 -0
- data/docs/BoardNotificationsApi.md +417 -0
- data/docs/BoardReference.md +1 -1
- data/docs/{Status.md → BoardStatus.md} +7 -3
- data/docs/BoardStatusNotification.md +14 -0
- data/docs/BoardStatusNotificationsApi.md +438 -0
- data/docs/BoardStatusesApi.md +43 -39
- data/docs/{SubType.md → BoardSubType.md} +5 -5
- data/docs/BoardSubTypesApi.md +43 -39
- data/docs/BoardTeam.md +17 -0
- data/docs/BoardTeamsApi.md +43 -39
- data/docs/BoardType.md +18 -0
- data/docs/BoardTypeSubTypeItemAssociation.md +13 -0
- data/docs/BoardTypeSubTypeItemAssociationsApi.md +188 -0
- data/docs/BoardTypesApi.md +43 -95
- data/docs/BoardsApi.md +82 -25
- data/docs/Calendar.md +25 -0
- data/docs/CalendarReference.md +1 -1
- data/docs/CalendarSetupReference.md +10 -0
- data/docs/CalendarsApi.md +179 -0
- data/docs/CallbackEntry.md +2 -1
- data/docs/{CallbackEntriesApi.md → CallbacksApi.md} +43 -39
- data/docs/Campaign.md +1 -1
- data/docs/CampaignAudit.md +1 -1
- data/docs/CampaignAuditsApi.md +29 -25
- data/docs/CampaignEmailsOpenedApi.md +29 -25
- data/docs/CampaignFormsSubmittedApi.md +29 -25
- data/docs/CampaignLinksClickedApi.md +29 -25
- data/docs/CampaignReference.md +1 -1
- data/docs/CampaignStatus.md +1 -1
- data/docs/CampaignStatusReference.md +1 -1
- data/docs/CampaignStatusesApi.md +29 -25
- data/docs/CampaignSubType.md +2 -2
- data/docs/CampaignSubTypeReference.md +1 -1
- data/docs/CampaignSubTypesApi.md +78 -95
- data/docs/CampaignType.md +1 -1
- data/docs/CampaignTypeReference.md +1 -1
- data/docs/CampaignTypesApi.md +29 -25
- data/docs/CampaignsApi.md +41 -37
- data/docs/CatalogComponent.md +2 -1
- data/docs/CatalogComponentsApi.md +29 -25
- data/docs/CatalogItem.md +3 -2
- data/docs/CatalogItemReference.md +2 -1
- data/docs/CatalogsItemApi.md +32 -28
- data/docs/CategoriesApi.md +29 -25
- data/docs/Category.md +1 -1
- data/docs/Certification.md +11 -0
- data/docs/CertificationReference.md +10 -0
- data/docs/CertificationsApi.md +396 -0
- data/docs/ChargeCode.md +21 -0
- data/docs/ChargeCodeExpenseType.md +11 -0
- data/docs/ChargeCodeExpenseTypesApi.md +417 -0
- data/docs/ChargeCodeReference.md +1 -1
- data/docs/ChargeCodesApi.md +396 -0
- data/docs/Classification.md +14 -0
- data/docs/ClassificationReference.md +1 -1
- data/docs/ClassificationsApi.md +179 -0
- data/docs/ClearPickerRequest.md +9 -0
- data/docs/Code.md +1 -1
- data/docs/CodesApi.md +29 -25
- data/docs/Commission.md +37 -0
- data/docs/CommissionsApi.md +396 -0
- data/docs/CommunicationTypeReference.md +1 -1
- data/docs/CompaniesApi.md +35 -29
- data/docs/Company.md +27 -10
- data/docs/CompanyCustomNote.md +12 -0
- data/docs/CompanyCustomNotesApi.md +417 -0
- data/docs/CompanyGroup.md +16 -0
- data/docs/CompanyGroupsApi.md +417 -0
- data/docs/CompanyManagementSummary.md +1 -1
- data/docs/CompanyManagementSummaryReportsApi.md +29 -25
- data/docs/CompanyMerge.md +1 -1
- data/docs/CompanyNote.md +1 -1
- data/docs/CompanyNoteTypesApi.md +396 -0
- data/docs/CompanyNotesApi.md +29 -25
- data/docs/CompanyPickerItem.md +17 -0
- data/docs/CompanyPickerItemsApi.md +340 -0
- data/docs/CompanyReference.md +1 -1
- data/docs/CompanySite.md +4 -2
- data/docs/CompanySitesApi.md +29 -25
- data/docs/CompanyStatus.md +1 -1
- data/docs/CompanyStatusReference.md +1 -1
- data/docs/CompanyStatusesApi.md +29 -25
- data/docs/CompanyTeam.md +4 -1
- data/docs/CompanyTeamsApi.md +29 -25
- data/docs/CompanyType.md +1 -1
- data/docs/CompanyTypeReference.md +1 -1
- data/docs/CompanyTypesApi.md +29 -25
- data/docs/Configuration.md +2 -1
- data/docs/ConfigurationQuestion.md +1 -1
- data/docs/ConfigurationReference.md +1 -1
- data/docs/ConfigurationStatus.md +1 -1
- data/docs/ConfigurationStatusReference.md +1 -1
- data/docs/ConfigurationStatusesApi.md +29 -25
- data/docs/ConfigurationType.md +1 -1
- data/docs/ConfigurationTypeQuestion.md +3 -4
- data/docs/ConfigurationTypeQuestionReference.md +10 -0
- data/docs/ConfigurationTypeQuestionValue.md +14 -0
- data/docs/ConfigurationTypeQuestionValuesApi.md +426 -0
- data/docs/ConfigurationTypeQuestionsApi.md +29 -25
- data/docs/ConfigurationTypeReference.md +1 -1
- data/docs/ConfigurationTypesApi.md +29 -25
- data/docs/ConfigurationsApi.md +29 -25
- data/docs/ConnectWiseHostedSetup.md +8 -3
- data/docs/ConnectWiseHostedSetupsApi.md +29 -25
- data/docs/Contact.md +3 -1
- data/docs/ContactCommunication.md +1 -1
- data/docs/ContactCommunicationItem.md +1 -1
- data/docs/ContactCommunicationsApi.md +29 -25
- data/docs/ContactDepartment.md +1 -1
- data/docs/ContactDepartmentReference.md +1 -1
- data/docs/ContactDepartmentsApi.md +29 -25
- data/docs/ContactGroup.md +17 -0
- data/docs/ContactGroupsApi.md +417 -0
- data/docs/ContactNote.md +1 -1
- data/docs/ContactNotesApi.md +29 -25
- data/docs/ContactReference.md +1 -1
- data/docs/ContactRelationship.md +1 -1
- data/docs/ContactRelationshipsApi.md +29 -25
- data/docs/ContactTracksApi.md +21 -17
- data/docs/ContactType.md +1 -1
- data/docs/ContactTypeReference.md +1 -1
- data/docs/ContactTypesApi.md +29 -25
- data/docs/ContactsApi.md +47 -39
- data/docs/Conversion.md +1 -1
- data/docs/CorporateStructure.md +25 -0
- data/docs/CorporateStructureLevel.md +9 -0
- data/docs/CorporateStructureLevelReference.md +10 -0
- data/docs/CorporateStructureLevelsApi.md +179 -0
- data/docs/CorporateStructuresApi.md +291 -0
- data/docs/Count.md +1 -1
- data/docs/CountriesApi.md +396 -0
- data/docs/Country.md +21 -0
- data/docs/CountryReference.md +1 -1
- data/docs/CreateAccountingBatchRequest.md +15 -0
- data/docs/Crm.md +31 -0
- data/docs/CrmsApi.md +291 -0
- data/docs/CurrenciesApi.md +29 -25
- data/docs/Currency.md +3 -3
- data/docs/CurrencyReference.md +4 -2
- data/docs/CustomFieldValue.md +1 -1
- data/docs/CustomReport.md +82 -0
- data/docs/CustomReportParameter.md +12 -0
- data/docs/CustomReportParametersApi.md +417 -0
- data/docs/CustomReportReference.md +10 -0
- data/docs/CustomReportsApi.md +396 -0
- data/docs/DeliveryMethod.md +15 -0
- data/docs/DeliveryMethodsApi.md +396 -0
- data/docs/Department.md +11 -0
- data/docs/DepartmentLocation.md +18 -0
- data/docs/DepartmentLocationsApi.md +417 -0
- data/docs/DepartmentMananager.md +9 -0
- data/docs/DepartmentsApi.md +396 -0
- data/docs/DispatchMember.md +9 -0
- data/docs/DocumentInfo.md +3 -1
- data/docs/DocumentReference.md +2 -1
- data/docs/DocumentSetup.md +14 -0
- data/docs/DocumentsApi.md +44 -39
- data/docs/DocumentsSetupApi.md +237 -0
- data/docs/DutyManager.md +9 -0
- data/docs/EmailConnector.md +33 -0
- data/docs/EmailConnectorParsingRule.md +19 -0
- data/docs/EmailConnectorParsingRulesApi.md +438 -0
- data/docs/EmailConnectorParsingStyle.md +12 -0
- data/docs/EmailConnectorParsingStyleReference.md +10 -0
- data/docs/EmailConnectorParsingStylesApi.md +417 -0
- data/docs/EmailConnectorParsingTypeReference.md +10 -0
- data/docs/EmailConnectorParsingVariableReference.md +11 -0
- data/docs/EmailConnectorReference.md +10 -0
- data/docs/EmailConnectorsApi.md +396 -0
- data/docs/EmailOpened.md +1 -1
- data/docs/EmailTemplateReference.md +10 -0
- data/docs/EmailToken.md +23 -0
- data/docs/EmailTokensApi.md +179 -0
- data/docs/EndpointRequest.md +12 -0
- data/docs/EndpointResponse.md +11 -0
- data/docs/EntityTypeReference.md +1 -1
- data/docs/Error.md +1 -1
- data/docs/ExpenseEntriesApi.md +33 -25
- data/docs/ExpenseEntry.md +5 -3
- data/docs/ExpenseReport.md +17 -0
- data/docs/ExpenseReportsApi.md +285 -0
- data/docs/ExpenseTax.md +1 -1
- data/docs/ExpenseTaxTypeReference.md +1 -1
- data/docs/ExpenseType.md +3 -1
- data/docs/ExpenseTypeExemption.md +16 -0
- data/docs/ExpenseTypeExternalIntegrationReference.md +11 -0
- data/docs/ExpenseTypeExternalIntegrationReferencesApi.md +179 -0
- data/docs/ExpenseTypeReference.md +1 -1
- data/docs/ExpenseTypesApi.md +29 -25
- data/docs/ExportAccountingBatchRequest.md +21 -0
- data/docs/ExternalExpenseTypeIntegrationReference.md +11 -0
- data/docs/ExternalIntegrationStatusReference.md +11 -0
- data/docs/ExternalWorkTypeIntegrationReference.md +11 -0
- data/docs/FilterValues.md +3 -1
- data/docs/Forecast.md +3 -1
- data/docs/FormSubmitted.md +1 -1
- data/docs/GLExport.md +16 -0
- data/docs/GLExportAdjustmentTransaction.md +16 -0
- data/docs/GLExportAdjustmentTransactionDetail.md +18 -0
- data/docs/GLExportCustomer.md +35 -0
- data/docs/GLExportExpense.md +27 -0
- data/docs/GLExportExpenseBill.md +19 -0
- data/docs/GLExportExpenseBillDetail.md +19 -0
- data/docs/GLExportExpenseOffset.md +17 -0
- data/docs/GLExportInventoryTransfer.md +49 -0
- data/docs/GLExportInventoryTransferOffset.md +16 -0
- data/docs/GLExportPurchaseTransaction.md +50 -0
- data/docs/GLExportPurchaseTransactionDetail.md +51 -0
- data/docs/GLExportPurchaseTransactionDetailTax.md +50 -0
- data/docs/GLExportSettings.md +7 -0
- data/docs/GLExportTransaction.md +66 -0
- data/docs/GLExportTransactionDetail.md +57 -0
- data/docs/GLExportVendor.md +17 -0
- data/docs/GenericIdIdentifierReference.md +2 -1
- data/docs/Group.md +1 -1
- data/docs/GroupCompaniesApi.md +29 -25
- data/docs/GroupContactsApi.md +29 -25
- data/docs/GroupReference.md +1 -1
- data/docs/GroupsApi.md +29 -25
- data/docs/Guid.md +1 -1
- data/docs/Holiday.md +14 -0
- data/docs/HolidayList.md +10 -0
- data/docs/HolidayListReference.md +10 -0
- data/docs/HolidayListsApi.md +396 -0
- data/docs/HolidaysApi.md +417 -0
- data/docs/Imap.md +18 -0
- data/docs/ImapSetupReference.md +10 -0
- data/docs/ImapsApi.md +179 -0
- data/docs/Impact.md +12 -0
- data/docs/ImpactsApi.md +291 -0
- data/docs/ImportMassMaintenance.md +11 -0
- data/docs/ImportsMassMaintenanceApi.md +61 -0
- data/docs/InOutBoard.md +13 -0
- data/docs/InOutBoardsApi.md +396 -0
- data/docs/InOutType.md +10 -0
- data/docs/InOutTypeReference.md +10 -0
- data/docs/InOutTypesApi.md +396 -0
- data/docs/Info.md +1 -1
- data/docs/InfoApi.md +4 -4
- data/docs/IntegratorLogin.md +7 -4
- data/docs/IntegratorLoginReference.md +10 -0
- data/docs/IntegratorLoginsApi.md +396 -0
- data/docs/Invoice.md +4 -2
- data/docs/InvoiceEmailTemplate.md +19 -0
- data/docs/InvoiceEmailTemplatesApi.md +396 -0
- data/docs/InvoicePaymentsApi.md +26 -22
- data/docs/InvoiceReference.md +1 -1
- data/docs/InvoiceTemplate.md +69 -0
- data/docs/InvoiceTemplateReference.md +10 -0
- data/docs/InvoiceTemplateSetup.md +11 -0
- data/docs/InvoiceTemplateSetupsApi.md +179 -0
- data/docs/InvoiceTemplatesApi.md +179 -0
- data/docs/InvoicesApi.md +34 -28
- data/docs/IvItemReference.md +1 -1
- data/docs/JArray.md +7 -0
- data/docs/JObject.md +1 -1
- data/docs/KPI.md +13 -0
- data/docs/KPICategoriesApi.md +179 -0
- data/docs/KPICategory.md +10 -0
- data/docs/KPICategoryReference.md +10 -0
- data/docs/{BatchReference.md → KPIReference.md} +1 -1
- data/docs/KPIsApi.md +179 -0
- data/docs/KnowledgeBaseArticle.md +3 -13
- data/docs/KnowledgeBaseArticlesApi.md +31 -25
- data/docs/LdapConfiguration.md +12 -0
- data/docs/LdapConfigurationReference.md +11 -0
- data/docs/LdapConfigurationsApi.md +396 -0
- data/docs/LegacyCampaignSubTypesApi.md +188 -0
- data/docs/LegacySubCategoriesApi.md +417 -0
- data/docs/LegacySubCategory.md +11 -0
- data/docs/Link.md +3 -2
- data/docs/LinkClicked.md +1 -1
- data/docs/LinksApi.md +29 -25
- data/docs/Location.md +23 -3
- data/docs/LocationDepartment.md +11 -0
- data/docs/LocationDepartmentsApi.md +188 -0
- data/docs/LocationWorkRole.md +12 -0
- data/docs/LocationWorkRolesApi.md +188 -0
- data/docs/LocationsApi.md +66 -62
- data/docs/ManagedDevicesIntegration.md +23 -0
- data/docs/ManagedDevicesIntegrationCrossReference.md +16 -0
- data/docs/ManagedDevicesIntegrationCrossReferencesApi.md +418 -0
- data/docs/ManagedDevicesIntegrationLogin.md +13 -0
- data/docs/ManagedDevicesIntegrationLoginsApi.md +418 -0
- data/docs/ManagedDevicesIntegrationNotification.md +13 -0
- data/docs/ManagedDevicesIntegrationNotificationsApi.md +418 -0
- data/docs/ManagedDevicesIntegrationReference.md +10 -0
- data/docs/ManagedDevicesIntegrationsApi.md +396 -0
- data/docs/Management.md +17 -0
- data/docs/ManagementBackup.md +12 -0
- data/docs/ManagementBackupsApi.md +396 -0
- data/docs/ManagementEmail.md +15 -0
- data/docs/ManagementEmailsApi.md +396 -0
- data/docs/ManagementExecuteManagedItSyncsApi.md +72 -0
- data/docs/ManagementItSolution.md +29 -0
- data/docs/ManagementItSolutionAgreementInterfaceParameter.md +14 -0
- data/docs/ManagementItSolutionAgreementInterfaceParametersApi.md +418 -0
- data/docs/ManagementItSolutionsApi.md +396 -0
- data/docs/ManagementLogDocumentInfo.md +7 -0
- data/docs/ManagementLogsApi.md +125 -0
- data/docs/ManagementNetworkSecurity.md +13 -0
- data/docs/ManagementNetworksSecurityApi.md +450 -0
- data/docs/ManagementReportNotification.md +12 -0
- data/docs/ManagementReportNotificationsApi.md +417 -0
- data/docs/ManagementSolutionReference.md +1 -1
- data/docs/ManagementsApi.md +291 -0
- data/docs/Manufacturer.md +1 -1
- data/docs/ManufacturerReference.md +1 -1
- data/docs/ManufacturersApi.md +29 -25
- data/docs/MarketDescription.md +10 -0
- data/docs/MarketDescriptionsApi.md +396 -0
- data/docs/MarketingCompany.md +1 -1
- data/docs/MarketingContact.md +1 -1
- data/docs/Member.md +92 -71
- data/docs/MemberAccrual.md +14 -0
- data/docs/MemberAccrualsApi.md +417 -0
- data/docs/MemberCertification.md +17 -0
- data/docs/MemberCertificationsApi.md +417 -0
- data/docs/MemberDeactivation.md +28 -0
- data/docs/MemberDelegation.md +14 -0
- data/docs/MemberDelegationsApi.md +417 -0
- data/docs/MemberReference.md +1 -1
- data/docs/MemberSkill.md +15 -0
- data/docs/MemberSkillsApi.md +417 -0
- data/docs/MemberTypeReference.md +1 -1
- data/docs/MemberTypesApi.md +396 -0
- data/docs/MembersApi.md +257 -38
- data/docs/MenuEntriesApi.md +42 -34
- data/docs/MenuEntry.md +3 -1
- data/docs/MenuEntryLocation.md +11 -0
- data/docs/MenuEntryLocationsApi.md +299 -0
- data/docs/MenuLocationReference.md +1 -1
- data/docs/Metadata.md +1 -1
- data/docs/MyCompanyCOORole.md +9 -0
- data/docs/MyCompanyControllerRole.md +9 -0
- data/docs/MyCompanyDispatchRole.md +9 -0
- data/docs/MyCompanyDutyManagerRole.md +9 -0
- data/docs/MyCompanyPresidentRole.md +9 -0
- data/docs/MyCompanyPurchasingsApi.md +291 -0
- data/docs/MyCompanyServiceManagerRole.md +9 -0
- data/docs/NoteType.md +13 -0
- data/docs/NoteTypeReference.md +1 -1
- data/docs/NotificationRecipient.md +23 -0
- data/docs/NotificationRecipientReference.md +11 -0
- data/docs/NotificationRecipientsApi.md +179 -0
- data/docs/NotifyTypeReference.md +11 -0
- data/docs/OpportunitiesApi.md +47 -41
- data/docs/Opportunity.md +6 -1
- data/docs/OpportunityContact.md +1 -1
- data/docs/OpportunityContactsApi.md +29 -25
- data/docs/OpportunityForecastsApi.md +29 -25
- data/docs/OpportunityNote.md +1 -1
- data/docs/OpportunityNotesApi.md +29 -25
- data/docs/OpportunityPriorityReference.md +1 -1
- data/docs/OpportunityProbabilityReference.md +1 -1
- data/docs/OpportunityRating.md +1 -1
- data/docs/OpportunityRatingReference.md +1 -1
- data/docs/OpportunityRatingsApi.md +29 -25
- data/docs/OpportunityReference.md +1 -1
- data/docs/OpportunitySalesRoleReference.md +1 -1
- data/docs/OpportunityStage.md +13 -0
- data/docs/OpportunityStageReference.md +1 -1
- data/docs/OpportunityStagesApi.md +396 -0
- data/docs/OpportunityStatus.md +1 -1
- data/docs/OpportunityStatusReference.md +1 -1
- data/docs/OpportunityStatusesApi.md +29 -25
- data/docs/OpportunityTeamsApi.md +29 -25
- data/docs/OpportunityToAgreementConversion.md +2 -1
- data/docs/OpportunityToProjectConversion.md +1 -1
- data/docs/OpportunityToSalesOrderConversion.md +1 -1
- data/docs/OpportunityToServiceTicketConversion.md +1 -1
- data/docs/OpportunityType.md +1 -1
- data/docs/OpportunityTypeReference.md +1 -1
- data/docs/OpportunityTypesApi.md +29 -25
- data/docs/Order.md +2 -1
- data/docs/OrderStatus.md +2 -1
- data/docs/OrderStatusEmailTemplate.md +17 -0
- data/docs/OrderStatusEmailTemplateReference.md +10 -0
- data/docs/OrderStatusNotification.md +14 -0
- data/docs/OrderStatusNotificationsApi.md +417 -0
- data/docs/OrderStatusReference.md +1 -1
- data/docs/OrderStatusesApi.md +29 -25
- data/docs/OrderStatusesEmailTemplateApi.md +417 -0
- data/docs/OrdersApi.md +31 -25
- data/docs/Other.md +24 -0
- data/docs/OthersApi.md +291 -0
- data/docs/OwnershipType.md +10 -0
- data/docs/OwnershipTypeReference.md +1 -1
- data/docs/OwnershipTypesApi.md +396 -0
- data/docs/ParsingType.md +12 -0
- data/docs/ParsingTypesApi.md +179 -0
- data/docs/ParsingVariable.md +11 -0
- data/docs/ParsingVariablesApi.md +179 -0
- data/docs/PatchOperation.md +1 -1
- data/docs/Payment.md +1 -1
- data/docs/PaymentMethodReference.md +1 -1
- data/docs/PaymentType.md +13 -0
- data/docs/PaymentTypesApi.md +396 -0
- data/docs/PhaseStatusReference.md +1 -1
- data/docs/PortalCalendar.md +19 -0
- data/docs/PortalCalendarsApi.md +291 -0
- data/docs/PortalConfiguration.md +25 -0
- data/docs/PortalConfigurationInvoiceSetup.md +20 -0
- data/docs/PortalConfigurationInvoiceSetupsApi.md +365 -0
- data/docs/PortalConfigurationOpportunitySetup.md +46 -0
- data/docs/PortalConfigurationOpportunitySetupsApi.md +302 -0
- data/docs/PortalConfigurationPasswordEmailSetup.md +21 -0
- data/docs/PortalConfigurationPasswordEmailSetupsApi.md +249 -0
- data/docs/PortalConfigurationProjectSetup.md +52 -0
- data/docs/PortalConfigurationProjectSetupsApi.md +306 -0
- data/docs/PortalConfigurationReference.md +10 -0
- data/docs/PortalConfigurationServiceSetup.md +29 -0
- data/docs/PortalConfigurationServiceSetupsApi.md +306 -0
- data/docs/PortalConfigurationsApi.md +508 -0
- data/docs/PortalReport.md +15 -0
- data/docs/PortalReportsApi.md +396 -0
- data/docs/PortalSecuritiesApi.md +291 -0
- data/docs/PortalSecurity.md +11 -1
- data/docs/PortalSecurityLevel.md +12 -0
- data/docs/PortalSecurityLevelsApi.md +291 -0
- data/docs/PricingBreak.md +3 -2
- data/docs/PricingBreaksApi.md +29 -25
- data/docs/PricingDetail.md +2 -1
- data/docs/PricingDetailsApi.md +29 -25
- data/docs/PricingSchedule.md +2 -1
- data/docs/PricingScheduleReference.md +10 -0
- data/docs/PricingSchedulesApi.md +29 -25
- data/docs/PrioritiesApi.md +32 -28
- data/docs/Priority.md +1 -1
- data/docs/PriorityReference.md +1 -1
- data/docs/ProductCategoryReference.md +1 -1
- data/docs/ProductComponent.md +1 -1
- data/docs/ProductComponentsApi.md +29 -25
- data/docs/ProductItem.md +3 -1
- data/docs/ProductItemReference.md +1 -1
- data/docs/ProductPickingShippingDetail.md +1 -1
- data/docs/ProductPickingShippingDetailsApi.md +29 -25
- data/docs/ProductRecurring.md +1 -1
- data/docs/ProductReference.md +1 -1
- data/docs/ProductSubCategoryReference.md +1 -1
- data/docs/ProductType.md +1 -1
- data/docs/ProductTypeExemption.md +16 -0
- data/docs/ProductTypeReference.md +1 -1
- data/docs/ProductTypesApi.md +29 -25
- data/docs/ProductsItemApi.md +29 -25
- data/docs/Project.md +12 -5
- data/docs/ProjectBoardReference.md +1 -1
- data/docs/ProjectContact.md +1 -1
- data/docs/ProjectContactsApi.md +18 -14
- data/docs/ProjectManager.md +9 -0
- data/docs/ProjectNote.md +1 -1
- data/docs/ProjectNotesApi.md +29 -25
- data/docs/ProjectPhase.md +22 -2
- data/docs/ProjectPhaseReference.md +1 -1
- data/docs/ProjectPhasesApi.md +29 -25
- data/docs/ProjectReference.md +1 -1
- data/docs/ProjectRoleReference.md +1 -1
- data/docs/ProjectSecurityRole.md +12 -0
- data/docs/ProjectSecurityRoleSetting.md +15 -0
- data/docs/ProjectSecurityRoleSettingsApi.md +306 -0
- data/docs/ProjectSecurityRolesApi.md +396 -0
- data/docs/ProjectStatus.md +14 -0
- data/docs/ProjectStatusReference.md +1 -1
- data/docs/ProjectStatusesApi.md +396 -0
- data/docs/{ProjectTeamMember.md → ProjectTeammember.md} +1 -1
- data/docs/ProjectType.md +13 -0
- data/docs/ProjectTypeReference.md +1 -1
- data/docs/ProjectTypesApi.md +179 -0
- data/docs/ProjectsApi.md +31 -25
- data/docs/{ProjectsTeamMembersApi.md → ProjectsTeammembersApi.md} +55 -51
- data/docs/PurchaseOrder.md +2 -1
- data/docs/PurchaseOrderLineItem.md +2 -1
- data/docs/PurchaseOrderLineItemsApi.md +29 -25
- data/docs/PurchaseOrderReference.md +1 -1
- data/docs/PurchaseOrderStatus.md +16 -0
- data/docs/PurchaseOrderStatusEmailTemplate.md +17 -0
- data/docs/PurchaseOrderStatusEmailTemplateReference.md +10 -0
- data/docs/PurchaseOrderStatusEmailTemplatesApi.md +417 -0
- data/docs/PurchaseOrderStatusNotification.md +14 -0
- data/docs/PurchaseOrderStatusNotificationsApi.md +417 -0
- data/docs/PurchaseOrderStatusReference.md +1 -1
- data/docs/PurchaseOrderStatusesApi.md +396 -0
- data/docs/PurchaseOrdersApi.md +29 -25
- data/docs/Purchasing.md +23 -0
- data/docs/RMAAction.md +11 -0
- data/docs/RMAActionsApi.md +396 -0
- data/docs/RMADisposition.md +11 -0
- data/docs/RMADispositionsApi.md +396 -0
- data/docs/RelationshipReference.md +1 -1
- data/docs/ReminderReference.md +1 -1
- data/docs/Report.md +1 -1
- data/docs/ReportCard.md +10 -0
- data/docs/ReportCardDetail.md +12 -0
- data/docs/ReportCardDetailsApi.md +417 -0
- data/docs/ReportCardReference.md +10 -0
- data/docs/ReportCardsApi.md +396 -0
- data/docs/ReportDataResponse.md +1 -1
- data/docs/ReportingService.md +13 -0
- data/docs/ReportingServicesApi.md +290 -0
- data/docs/ReportsApi.md +21 -13
- data/docs/RequestPasswordRequest.md +2 -2
- data/docs/RmaStatus.md +14 -0
- data/docs/RmaStatusEmailTemplate.md +17 -0
- data/docs/RmaStatusEmailTemplateReference.md +10 -0
- data/docs/RmaStatusEmailTemplatesApi.md +417 -0
- data/docs/RmaStatusNotification.md +14 -0
- data/docs/RmaStatusNotificationsApi.md +417 -0
- data/docs/RmaStatusReference.md +10 -0
- data/docs/RmaStatusesApi.md +396 -0
- data/docs/Role.md +10 -0
- data/docs/RolesApi.md +396 -0
- data/docs/SLA.md +29 -0
- data/docs/SLAPrioritiesApi.md +417 -0
- data/docs/SLAPriority.md +17 -0
- data/docs/SLAReference.md +1 -1
- data/docs/SLAsApi.md +396 -0
- data/docs/SalesActivity.md +9 -0
- data/docs/SalesProbabilitiesApi.md +396 -0
- data/docs/SalesProbability.md +10 -0
- data/docs/SalesQuota.md +40 -0
- data/docs/SalesQuotasApi.md +396 -0
- data/docs/SalesTeam.md +13 -0
- data/docs/SalesTeamMember.md +13 -0
- data/docs/SalesTeamMembersApi.md +417 -0
- data/docs/SalesTeamReference.md +1 -1
- data/docs/SalesTeamsApi.md +396 -0
- data/docs/ScheduleColor.md +12 -0
- data/docs/ScheduleColorsApi.md +391 -0
- data/docs/ScheduleDetail.md +13 -0
- data/docs/ScheduleDetailsApi.md +188 -0
- data/docs/ScheduleEntriesApi.md +29 -25
- data/docs/ScheduleEntry.md +3 -2
- data/docs/ScheduleEntryReference.md +1 -1
- data/docs/ScheduleReminderTime.md +12 -0
- data/docs/ScheduleReminderTimesApi.md +291 -0
- data/docs/ScheduleSpanReference.md +1 -1
- data/docs/ScheduleStatus.md +1 -1
- data/docs/ScheduleStatusReference.md +1 -1
- data/docs/ScheduleStatusesApi.md +29 -25
- data/docs/ScheduleStopwatch.md +26 -0
- data/docs/ScheduleStopwatchesApi.md +396 -0
- data/docs/ScheduleType.md +1 -1
- data/docs/ScheduleTypeReference.md +1 -1
- data/docs/ScheduleTypesApi.md +29 -25
- data/docs/SecurityRole.md +12 -0
- data/docs/SecurityRoleReference.md +1 -1
- data/docs/SecurityRoleSetting.md +24 -0
- data/docs/SecurityRoleSettingsApi.md +188 -0
- data/docs/SecurityRolesApi.md +284 -0
- data/docs/Service.md +22 -0
- data/docs/ServiceCodeReference.md +1 -1
- data/docs/ServiceEmailTemplate.md +24 -0
- data/docs/ServiceEmailTemplateReference.md +11 -0
- data/docs/ServiceEmailTemplatesApi.md +396 -0
- data/docs/ServiceItemReference.md +1 -1
- data/docs/ServiceLocation.md +12 -0
- data/docs/ServiceLocationReference.md +1 -1
- data/docs/ServiceLocationsApi.md +396 -0
- data/docs/ServiceManger.md +9 -0
- data/docs/ServiceNote.md +1 -1
- data/docs/ServiceSignoff.md +64 -0
- data/docs/ServiceSignoffReference.md +1 -1
- data/docs/ServiceSignoffsApi.md +396 -0
- data/docs/ServiceSourceReference.md +1 -1
- data/docs/ServiceStatusReference.md +1 -1
- data/docs/ServiceSubTypeReference.md +1 -1
- data/docs/ServiceSurvey.md +20 -0
- data/docs/ServiceSurveyQuestion.md +17 -0
- data/docs/{SurveyQuestionOption.md → ServiceSurveyQuestionOption.md} +1 -1
- data/docs/ServiceSurveyQuestionsApi.md +417 -0
- data/docs/ServiceSurveyReference.md +10 -0
- data/docs/ServiceSurveysApi.md +396 -0
- data/docs/ServiceTeam.md +16 -0
- data/docs/ServiceTeamReference.md +1 -1
- data/docs/ServiceTeamsApi.md +179 -0
- data/docs/ServiceTemplate.md +57 -0
- data/docs/ServiceTemplateReference.md +11 -0
- data/docs/ServiceTemplatesApi.md +179 -0
- data/docs/ServiceTypeReference.md +1 -1
- data/docs/ServicesApi.md +237 -0
- data/docs/SetupScreen.md +15 -0
- data/docs/SetupScreensApi.md +179 -0
- data/docs/SeveritiesApi.md +291 -0
- data/docs/Severity.md +12 -0
- data/docs/ShipmentMethod.md +1 -1
- data/docs/ShipmentMethodReference.md +1 -1
- data/docs/ShipmentMethodsApi.md +29 -25
- data/docs/SicCodeReference.md +1 -1
- data/docs/SiteReference.md +1 -1
- data/docs/Skill.md +11 -0
- data/docs/SkillCategoriesApi.md +396 -0
- data/docs/SkillCategory.md +10 -0
- data/docs/SkillCategoryReference.md +10 -0
- data/docs/SkillReference.md +10 -0
- data/docs/SkillsApi.md +396 -0
- data/docs/Source.md +1 -1
- data/docs/SourcesApi.md +29 -25
- data/docs/State.md +12 -0
- data/docs/StateReference.md +11 -0
- data/docs/StatesApi.md +232 -0
- data/docs/StatusExternalIntegrationReference.md +11 -0
- data/docs/StatusExternalIntegrationReferencesApi.md +179 -0
- data/docs/StatusWorkflow.md +9 -0
- data/docs/StructureReference.md +10 -0
- data/docs/SubCategoriesApi.md +78 -95
- data/docs/SubCategory.md +3 -1
- data/docs/SuccessResponse.md +1 -1
- data/docs/Survey.md +2 -10
- data/docs/SurveyOption.md +12 -0
- data/docs/SurveyOptionsApi.md +438 -0
- data/docs/SurveyQuestion.md +7 -7
- data/docs/SurveyQuestionReference.md +10 -0
- data/docs/SurveyQuestionValue.md +15 -0
- data/docs/SurveyQuestionValuesApi.md +426 -0
- data/docs/SurveyQuestionsApi.md +60 -123
- data/docs/SurveyReference.md +10 -0
- data/docs/SurveyResult.md +1 -1
- data/docs/SurveyResultDetail.md +1 -1
- data/docs/SurveyResultsApi.md +29 -25
- data/docs/SurveysApi.md +64 -60
- data/docs/SystemDepartmentReference.md +11 -0
- data/docs/SystemLocationReference.md +10 -0
- data/docs/SystemMenuEntryReference.md +10 -0
- data/docs/SystemTracksApi.md +396 -0
- data/docs/Task.md +1 -1
- data/docs/TaxCode.md +87 -0
- data/docs/TaxCodeExpenseTypeExemptionsApi.md +417 -0
- data/docs/TaxCodeProductTypeExemptionsApi.md +417 -0
- data/docs/TaxCodeReference.md +1 -1
- data/docs/TaxCodeWorkRoleExemptionsApi.md +417 -0
- data/docs/TaxCodeXRef.md +17 -0
- data/docs/TaxCodeXRefsApi.md +417 -0
- data/docs/TaxCodesApi.md +396 -0
- data/docs/TaxIntegration.md +24 -0
- data/docs/TaxIntegrationsApi.md +179 -0
- data/docs/Team.md +1 -9
- data/docs/TeamMember.md +13 -0
- data/docs/TeamMembersApi.md +284 -0
- data/docs/TeamRole.md +10 -0
- data/docs/TeamRoleReference.md +1 -1
- data/docs/TeamRolesApi.md +396 -0
- data/docs/Ticket.md +6 -4
- data/docs/TicketMerge.md +9 -0
- data/docs/TicketNotesApi.md +29 -25
- data/docs/TicketReference.md +1 -1
- data/docs/TicketStopwatch.md +32 -0
- data/docs/TicketStopwatchesApi.md +396 -0
- data/docs/TicketSync.md +20 -0
- data/docs/TicketSyncsApi.md +396 -0
- data/docs/TicketTasksApi.md +29 -25
- data/docs/TicketsApi.md +146 -84
- data/docs/TimeAccrual.md +26 -0
- data/docs/TimeAccrualDetail.md +14 -0
- data/docs/TimeAccrualDetailsApi.md +417 -0
- data/docs/TimeAccrualReference.md +10 -0
- data/docs/TimeAccrualsApi.md +396 -0
- data/docs/TimeEntriesApi.md +84 -25
- data/docs/TimeEntry.md +13 -8
- data/docs/TimeEntryReference.md +1 -1
- data/docs/TimeExpense.md +17 -0
- data/docs/TimeExpensesApi.md +291 -0
- data/docs/TimePeriod.md +14 -0
- data/docs/TimePeriodSetup.md +21 -0
- data/docs/TimePeriodSetupDefaults.md +7 -0
- data/docs/TimePeriodSetupReference.md +9 -0
- data/docs/TimePeriodSetupsApi.md +331 -0
- data/docs/TimePeriodsApi.md +188 -0
- data/docs/TimeSheet.md +17 -0
- data/docs/TimeSheetReference.md +10 -0
- data/docs/TimeSheetsApi.md +285 -0
- data/docs/TimeZone.md +14 -0
- data/docs/TimeZoneReference.md +1 -1
- data/docs/TimeZoneSetup.md +14 -0
- data/docs/TimeZoneSetupReference.md +10 -0
- data/docs/TimeZoneSetupsApi.md +396 -0
- data/docs/TimeZonesApi.md +179 -0
- data/docs/TodayPageCategoriesApi.md +396 -0
- data/docs/TodayPageCategory.md +12 -0
- data/docs/Token.md +1 -1
- data/docs/Track.md +5 -3
- data/docs/TrackAction.md +27 -0
- data/docs/TrackActionsApi.md +417 -0
- data/docs/TrackReference.md +1 -1
- data/docs/Type.md +2 -8
- data/docs/UnitOfMeasure.md +1 -1
- data/docs/UnitOfMeasureConversionsApi.md +29 -25
- data/docs/UnitOfMeasureReference.md +1 -1
- data/docs/{UnitsOfMeasureApi.md → UnitOfMeasuresApi.md} +43 -39
- data/docs/UnpostedExpense.md +1 -1
- data/docs/UnpostedInvoice.md +1 -1
- data/docs/UnpostedProcurement.md +1 -1
- data/docs/UserDefinedField.md +1 -1
- data/docs/UserDefinedFieldOption.md +1 -1
- data/docs/UserDefinedFieldReference.md +10 -0
- data/docs/UserDefinedFieldsApi.md +29 -25
- data/docs/ValidatePortalRequest.md +3 -3
- data/docs/ValidatePortalResponse.md +1 -1
- data/docs/ValidationError.md +2 -1
- data/docs/Warehouse.md +20 -0
- data/docs/WarehouseBin.md +24 -0
- data/docs/WarehouseBinReference.md +1 -1
- data/docs/WarehouseBinsApi.md +396 -0
- data/docs/WarehouseReference.md +1 -1
- data/docs/WarehousesApi.md +396 -0
- data/docs/WorkRole.md +17 -0
- data/docs/WorkRoleExemption.md +16 -0
- data/docs/WorkRoleLocation.md +12 -0
- data/docs/WorkRoleLocationsApi.md +417 -0
- data/docs/WorkRoleReference.md +1 -1
- data/docs/WorkRolesApi.md +396 -0
- data/docs/WorkType.md +25 -0
- data/docs/WorkTypeExternalIntegrationReference.md +11 -0
- data/docs/WorkTypeExternalIntegrationReferencesApi.md +179 -0
- data/docs/WorkTypeReference.md +1 -1
- data/docs/WorkTypesApi.md +396 -0
- data/docs/Workflow.md +19 -0
- data/docs/WorkflowAction.md +41 -0
- data/docs/WorkflowActionAutomateParameter.md +10 -0
- data/docs/WorkflowActionAutomateParametersApi.md +417 -0
- data/docs/WorkflowActionsApi.md +438 -0
- data/docs/WorkflowEvent.md +15 -0
- data/docs/WorkflowEventsApi.md +473 -0
- data/docs/WorkflowNotifyType.md +12 -0
- data/docs/WorkflowNotifyTypesApi.md +188 -0
- data/docs/WorkflowTableType.md +11 -0
- data/docs/WorkflowTableTypeReference.md +11 -0
- data/docs/WorkflowTableTypesApi.md +179 -0
- data/docs/WorkflowTrigger.md +15 -0
- data/docs/WorkflowTriggerOption.md +11 -0
- data/docs/WorkflowTriggerOptionsApi.md +138 -0
- data/docs/WorkflowTriggersApi.md +132 -0
- data/docs/WorkflowsApi.md +449 -0
- data/lib/connectwise-ruby-sdk.rb +485 -40
- data/lib/connectwise-ruby-sdk/api/accounting_batches_api.rb +160 -84
- data/lib/connectwise-ruby-sdk/api/accounting_packages_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/accounting_unposted_expenses_api.rb +16 -48
- data/lib/connectwise-ruby-sdk/api/accounting_unposted_procurements_api.rb +16 -48
- data/lib/connectwise-ruby-sdk/api/accounting_unpostedinvoices_api.rb +16 -48
- data/lib/connectwise-ruby-sdk/api/activities_api.rb +47 -84
- data/lib/connectwise-ruby-sdk/api/activity_statuses_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/activity_stopwatches_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/activity_types_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/address_formats_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/adjustment_details_api.rb +315 -0
- data/lib/connectwise-ruby-sdk/api/adjustment_types_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/adjustments_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/agreement_additions_api.rb +68 -91
- data/lib/connectwise-ruby-sdk/api/agreement_adjustments_api.rb +68 -91
- data/lib/connectwise-ruby-sdk/api/agreement_batch_setups_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/agreement_board_defaults_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/agreement_sites_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/agreement_type_board_defaults_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/agreement_type_work_role_exclusions_api.rb +315 -0
- data/lib/connectwise-ruby-sdk/api/agreement_type_work_roles_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/agreement_type_work_type_exclusions_api.rb +315 -0
- data/lib/connectwise-ruby-sdk/api/agreement_type_work_types_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/agreement_types_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/agreement_work_role_exclusions_api.rb +33 -61
- data/lib/connectwise-ruby-sdk/api/agreement_work_roles_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/agreement_work_type_exclusions_api.rb +33 -61
- data/lib/connectwise-ruby-sdk/api/agreement_work_types_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/agreements_api.rb +81 -132
- data/lib/connectwise-ruby-sdk/api/audit_trail_api.rb +9 -99
- data/lib/connectwise-ruby-sdk/api/auth_anvils_api.rb +349 -0
- data/lib/connectwise-ruby-sdk/api/batch_api.rb +67 -0
- data/lib/connectwise-ruby-sdk/api/billing_cycles_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/billing_setup_routings_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/billing_setups_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/billing_statuses_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/billing_terms_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/board_auto_assign_resources_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/board_auto_templates_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/board_excluded_members_api.rb +57 -87
- data/lib/connectwise-ruby-sdk/api/board_item_associations_api.rb +362 -0
- data/lib/connectwise-ruby-sdk/api/board_items_api.rb +94 -120
- data/lib/connectwise-ruby-sdk/api/board_notifications_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/board_status_notifications_api.rb +491 -0
- data/lib/connectwise-ruby-sdk/api/board_statuses_api.rb +94 -120
- data/lib/connectwise-ruby-sdk/api/board_sub_types_api.rb +94 -120
- data/lib/connectwise-ruby-sdk/api/board_teams_api.rb +94 -120
- data/lib/connectwise-ruby-sdk/api/board_type_sub_type_item_associations_api.rb +198 -0
- data/lib/connectwise-ruby-sdk/api/board_types_api.rb +94 -181
- data/lib/connectwise-ruby-sdk/api/boards_api.rb +98 -83
- data/lib/connectwise-ruby-sdk/api/calendars_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/{callback_entries_api.rb → callbacks_api.rb} +59 -99
- data/lib/connectwise-ruby-sdk/api/campaign_audits_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/campaign_emails_opened_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/campaign_forms_submitted_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/campaign_links_clicked_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/campaign_statuses_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/campaign_sub_types_api.rb +112 -180
- data/lib/connectwise-ruby-sdk/api/campaign_types_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/campaigns_api.rb +64 -120
- data/lib/connectwise-ruby-sdk/api/catalog_components_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/catalogs_item_api.rb +49 -93
- data/lib/connectwise-ruby-sdk/api/categories_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/certifications_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/charge_code_expense_types_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/charge_codes_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/classifications_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/codes_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/commissions_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/companies_api.rb +56 -93
- data/lib/connectwise-ruby-sdk/api/company_custom_notes_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/company_groups_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/company_management_summary_reports_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/company_note_types_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/company_notes_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/company_picker_items_api.rb +339 -0
- data/lib/connectwise-ruby-sdk/api/company_sites_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/company_statuses_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/company_teams_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/company_types_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/configuration_statuses_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/configuration_type_question_values_api.rb +467 -0
- data/lib/connectwise-ruby-sdk/api/configuration_type_questions_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/configuration_types_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/configurations_api.rb +50 -90
- data/lib/connectwise-ruby-sdk/api/connect_wise_hosted_setups_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/contact_communications_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/contact_departments_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/contact_groups_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/contact_notes_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/contact_relationships_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/contact_tracks_api.rb +41 -71
- data/lib/connectwise-ruby-sdk/api/contact_types_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/contacts_api.rb +71 -119
- data/lib/connectwise-ruby-sdk/api/corporate_structure_levels_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/corporate_structures_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/countries_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/crms_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/currencies_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/custom_report_parameters_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/custom_reports_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/delivery_methods_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/department_locations_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/departments_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/documents_api.rb +125 -167
- data/lib/connectwise-ruby-sdk/api/documents_setup_api.rb +252 -0
- data/lib/connectwise-ruby-sdk/api/email_connector_parsing_rules_api.rb +491 -0
- data/lib/connectwise-ruby-sdk/api/email_connector_parsing_styles_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/email_connectors_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/email_tokens_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/expense_entries_api.rb +50 -84
- data/lib/connectwise-ruby-sdk/api/expense_reports_api.rb +286 -0
- data/lib/connectwise-ruby-sdk/api/expense_type_external_integration_references_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/expense_types_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/group_companies_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/group_contacts_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/groups_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/holiday_lists_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/holidays_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/imaps_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/impacts_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/imports_mass_maintenance_api.rb +65 -0
- data/lib/connectwise-ruby-sdk/api/in_out_boards_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/in_out_types_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/info_api.rb +3 -31
- data/lib/connectwise-ruby-sdk/api/integrator_logins_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/invoice_email_templates_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/invoice_payments_api.rb +60 -82
- data/lib/connectwise-ruby-sdk/api/invoice_template_setups_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/invoice_templates_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/invoices_api.rb +52 -93
- data/lib/connectwise-ruby-sdk/api/knowledge_base_articles_api.rb +47 -84
- data/lib/connectwise-ruby-sdk/api/kp_is_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/kpi_categories_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/ldap_configurations_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/legacy_campaign_sub_types_api.rb +198 -0
- data/lib/connectwise-ruby-sdk/api/legacy_sub_categories_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/links_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/location_departments_api.rb +198 -0
- data/lib/connectwise-ruby-sdk/api/location_work_roles_api.rb +198 -0
- data/lib/connectwise-ruby-sdk/api/locations_api.rb +83 -123
- data/lib/connectwise-ruby-sdk/api/managed_devices_integration_cross_references_api.rb +452 -0
- data/lib/connectwise-ruby-sdk/api/managed_devices_integration_logins_api.rb +452 -0
- data/lib/connectwise-ruby-sdk/api/managed_devices_integration_notifications_api.rb +452 -0
- data/lib/connectwise-ruby-sdk/api/managed_devices_integrations_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/management_backups_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/management_emails_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/management_execute_managed_it_syncs_api.rb +77 -0
- data/lib/connectwise-ruby-sdk/api/management_it_solution_agreement_interface_parameters_api.rb +452 -0
- data/lib/connectwise-ruby-sdk/api/management_it_solutions_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/management_logs_api.rb +126 -0
- data/lib/connectwise-ruby-sdk/api/management_networks_security_api.rb +457 -0
- data/lib/connectwise-ruby-sdk/api/management_report_notifications_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/managements_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/manufacturers_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/market_descriptions_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/member_accruals_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/member_certifications_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/member_delegations_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/member_skills_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/member_types_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/members_api.rb +281 -91
- data/lib/connectwise-ruby-sdk/api/menu_entries_api.rb +57 -102
- data/lib/connectwise-ruby-sdk/api/menu_entry_locations_api.rb +315 -0
- data/lib/connectwise-ruby-sdk/api/my_company_purchasings_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/notification_recipients_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/opportunities_api.rb +83 -120
- data/lib/connectwise-ruby-sdk/api/opportunity_contacts_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/opportunity_forecasts_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/opportunity_notes_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/opportunity_ratings_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/opportunity_stages_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_statuses_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/opportunity_teams_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/opportunity_types_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/order_status_notifications_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/order_statuses_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/order_statuses_email_template_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/orders_api.rb +47 -84
- data/lib/connectwise-ruby-sdk/api/others_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/ownership_types_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/parsing_types_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/parsing_variables_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/payment_types_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/portal_calendars_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/portal_configuration_invoice_setups_api.rb +399 -0
- data/lib/connectwise-ruby-sdk/api/portal_configuration_opportunity_setups_api.rb +331 -0
- data/lib/connectwise-ruby-sdk/api/portal_configuration_password_email_setups_api.rb +276 -0
- data/lib/connectwise-ruby-sdk/api/portal_configuration_project_setups_api.rb +332 -0
- data/lib/connectwise-ruby-sdk/api/portal_configuration_service_setups_api.rb +332 -0
- data/lib/connectwise-ruby-sdk/api/portal_configurations_api.rb +517 -0
- data/lib/connectwise-ruby-sdk/api/portal_reports_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/portal_securities_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/portal_security_levels_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/pricing_breaks_api.rb +86 -98
- data/lib/connectwise-ruby-sdk/api/pricing_details_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/pricing_schedules_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/priorities_api.rb +49 -93
- data/lib/connectwise-ruby-sdk/api/product_components_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/product_picking_shipping_details_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/product_types_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/products_item_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/project_contacts_api.rb +36 -62
- data/lib/connectwise-ruby-sdk/api/project_notes_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/project_phases_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/project_security_role_settings_api.rb +332 -0
- data/lib/connectwise-ruby-sdk/api/project_security_roles_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/project_statuses_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/project_types_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/projects_api.rb +47 -84
- data/lib/connectwise-ruby-sdk/api/{projects_team_members_api.rb → projects_teammembers_api.rb} +95 -121
- data/lib/connectwise-ruby-sdk/api/purchase_order_line_items_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/purchase_order_status_email_templates_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/purchase_order_status_notifications_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/purchase_order_statuses_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/purchase_orders_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/report_card_details_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/report_cards_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/reporting_services_api.rb +305 -0
- data/lib/connectwise-ruby-sdk/api/reports_api.rb +30 -58
- data/lib/connectwise-ruby-sdk/api/rma_actions_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/rma_dispositions_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/rma_status_email_templates_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/rma_status_notifications_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/rma_statuses_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/roles_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/sales_probabilities_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/sales_quotas_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/sales_team_members_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/sales_teams_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/schedule_colors_api.rb +402 -0
- data/lib/connectwise-ruby-sdk/api/schedule_details_api.rb +198 -0
- data/lib/connectwise-ruby-sdk/api/schedule_entries_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/schedule_reminder_times_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/schedule_statuses_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/schedule_stopwatches_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/schedule_types_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/security_role_settings_api.rb +198 -0
- data/lib/connectwise-ruby-sdk/api/security_roles_api.rb +285 -0
- data/lib/connectwise-ruby-sdk/api/service_email_templates_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/service_locations_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/service_signoffs_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/service_survey_questions_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/service_surveys_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/service_teams_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/service_templates_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/services_api.rb +252 -0
- data/lib/connectwise-ruby-sdk/api/setup_screens_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/severities_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/shipment_methods_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/skill_categories_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/skills_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/sl_as_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/sla_priorities_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/sources_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/states_api.rb +235 -0
- data/lib/connectwise-ruby-sdk/api/status_external_integration_references_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/sub_categories_api.rb +112 -180
- data/lib/connectwise-ruby-sdk/api/survey_options_api.rb +491 -0
- data/lib/connectwise-ruby-sdk/api/survey_question_values_api.rb +467 -0
- data/lib/connectwise-ruby-sdk/api/survey_questions_api.rb +96 -193
- data/lib/connectwise-ruby-sdk/api/survey_results_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/surveys_api.rb +79 -119
- data/lib/connectwise-ruby-sdk/api/system_tracks_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/tax_code_expense_type_exemptions_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/tax_code_product_type_exemptions_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/tax_code_work_role_exemptions_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/tax_code_x_refs_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/tax_codes_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/tax_integrations_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/team_members_api.rb +285 -0
- data/lib/connectwise-ruby-sdk/api/team_roles_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/ticket_notes_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/ticket_stopwatches_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/ticket_syncs_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/ticket_tasks_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/tickets_api.rb +216 -248
- data/lib/connectwise-ruby-sdk/api/time_accrual_details_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/time_accruals_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/time_entries_api.rb +102 -84
- data/lib/connectwise-ruby-sdk/api/time_expenses_api.rb +302 -0
- data/lib/connectwise-ruby-sdk/api/time_period_setups_api.rb +332 -0
- data/lib/connectwise-ruby-sdk/api/time_periods_api.rb +198 -0
- data/lib/connectwise-ruby-sdk/api/time_sheets_api.rb +286 -0
- data/lib/connectwise-ruby-sdk/api/time_zone_setups_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/time_zones_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/today_page_categories_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/track_actions_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/unit_of_measure_conversions_api.rb +65 -91
- data/lib/connectwise-ruby-sdk/api/{units_of_measure_api.rb → unit_of_measures_api.rb} +59 -99
- data/lib/connectwise-ruby-sdk/api/user_defined_fields_api.rb +44 -84
- data/lib/connectwise-ruby-sdk/api/warehouse_bins_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/warehouses_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/work_role_locations_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/work_roles_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/work_type_external_integration_references_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/work_types_api.rb +407 -0
- data/lib/connectwise-ruby-sdk/api/workflow_action_automate_parameters_api.rb +449 -0
- data/lib/connectwise-ruby-sdk/api/workflow_actions_api.rb +491 -0
- data/lib/connectwise-ruby-sdk/api/workflow_events_api.rb +508 -0
- data/lib/connectwise-ruby-sdk/api/workflow_notify_types_api.rb +198 -0
- data/lib/connectwise-ruby-sdk/api/workflow_table_types_api.rb +180 -0
- data/lib/connectwise-ruby-sdk/api/workflow_trigger_options_api.rb +151 -0
- data/lib/connectwise-ruby-sdk/api/workflow_triggers_api.rb +139 -0
- data/lib/connectwise-ruby-sdk/api/workflows_api.rb +460 -0
- data/lib/connectwise-ruby-sdk/api_client.rb +54 -55
- data/lib/connectwise-ruby-sdk/api_error.rb +8 -28
- data/lib/connectwise-ruby-sdk/configuration.rb +7 -23
- data/lib/connectwise-ruby-sdk/models/accounting_batch.rb +256 -0
- data/lib/connectwise-ruby-sdk/models/accounting_package.rb +444 -0
- data/lib/connectwise-ruby-sdk/models/activity.rb +28 -31
- data/lib/connectwise-ruby-sdk/models/activity_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/activity_status.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/activity_status_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/activity_stopwatch.rb +416 -0
- data/lib/connectwise-ruby-sdk/models/activity_type.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/activity_type_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/addition.rb +58 -29
- data/lib/connectwise-ruby-sdk/models/address_format.rb +291 -0
- data/lib/connectwise-ruby-sdk/models/{batch_reference.rb → address_format_reference.rb} +6 -28
- data/lib/connectwise-ruby-sdk/models/adjustment.rb +117 -32
- data/lib/connectwise-ruby-sdk/models/adjustment_detail.rb +320 -0
- data/lib/connectwise-ruby-sdk/models/adjustment_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/adjustment_type.rb +272 -0
- data/lib/connectwise-ruby-sdk/models/adjustment_type_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/agreement.rb +47 -43
- data/lib/connectwise-ruby-sdk/models/agreement_batch_setup.rb +215 -0
- data/lib/connectwise-ruby-sdk/models/agreement_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/agreement_site.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/agreement_type.rb +222 -72
- data/lib/connectwise-ruby-sdk/models/agreement_type_board_default.rb +246 -0
- data/lib/connectwise-ruby-sdk/models/agreement_type_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/agreement_type_work_role.rb +279 -0
- data/lib/connectwise-ruby-sdk/models/agreement_type_work_role_exclusion.rb +210 -0
- data/lib/connectwise-ruby-sdk/models/agreement_type_work_type.rb +367 -0
- data/lib/connectwise-ruby-sdk/models/agreement_type_work_type_exclusion.rb +210 -0
- data/lib/connectwise-ruby-sdk/models/agreement_work_role.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/agreement_work_role_exclusion.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/agreement_work_type.rb +13 -27
- data/lib/connectwise-ruby-sdk/models/agreement_work_type_exclusion.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/audit_trail_entry.rb +15 -28
- data/lib/connectwise-ruby-sdk/models/auth_anvil.rb +215 -0
- data/lib/connectwise-ruby-sdk/models/automate_script_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/{type_associations.rb → batch_request.rb} +30 -42
- data/lib/connectwise-ruby-sdk/models/batch_response.rb +188 -0
- data/lib/connectwise-ruby-sdk/models/billing_cycle.rb +285 -0
- data/lib/connectwise-ruby-sdk/models/billing_cycle_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/billing_delivery_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/billing_options_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/billing_setup.rb +1028 -0
- data/lib/connectwise-ruby-sdk/models/billing_setup_routing.rb +311 -0
- data/lib/connectwise-ruby-sdk/models/billing_status.rb +265 -0
- data/lib/connectwise-ruby-sdk/models/billing_status_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/billing_term.rb +273 -0
- data/lib/connectwise-ruby-sdk/models/billing_terms_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/board.rb +577 -72
- data/lib/connectwise-ruby-sdk/models/board_auto_assign_resource.rb +210 -0
- data/lib/connectwise-ruby-sdk/models/board_auto_template.rb +450 -0
- data/lib/connectwise-ruby-sdk/models/board_copy.rb +210 -0
- data/lib/connectwise-ruby-sdk/models/board_default.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/{excluded_member.rb → board_excluded_member.rb} +10 -28
- data/lib/connectwise-ruby-sdk/models/board_item.rb +238 -0
- data/lib/connectwise-ruby-sdk/models/board_item_association.rb +239 -0
- data/lib/connectwise-ruby-sdk/models/board_notification.rb +235 -0
- data/lib/connectwise-ruby-sdk/models/board_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/{status.rb → board_status.rb} +95 -35
- data/lib/connectwise-ruby-sdk/models/board_status_notification.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/{sub_type.rb → board_sub_type.rb} +31 -53
- data/lib/connectwise-ruby-sdk/models/board_team.rb +290 -0
- data/lib/connectwise-ruby-sdk/models/board_type.rb +341 -0
- data/lib/connectwise-ruby-sdk/models/board_type_sub_type_item_association.rb +223 -0
- data/lib/connectwise-ruby-sdk/models/calendar.rb +336 -0
- data/lib/connectwise-ruby-sdk/models/calendar_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/calendar_setup_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/callback_entry.rb +31 -29
- data/lib/connectwise-ruby-sdk/models/campaign.rb +17 -27
- data/lib/connectwise-ruby-sdk/models/campaign_audit.rb +35 -60
- data/lib/connectwise-ruby-sdk/models/campaign_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/campaign_status.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/campaign_status_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/campaign_sub_type.rb +17 -34
- data/lib/connectwise-ruby-sdk/models/campaign_sub_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/campaign_type.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/campaign_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/catalog_component.rb +23 -28
- data/lib/connectwise-ruby-sdk/models/catalog_item.rb +34 -40
- data/lib/connectwise-ruby-sdk/models/catalog_item_reference.rb +15 -28
- data/lib/connectwise-ruby-sdk/models/category.rb +10 -34
- data/lib/connectwise-ruby-sdk/models/certification.rb +234 -0
- data/lib/connectwise-ruby-sdk/models/certification_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/charge_code.rb +376 -0
- data/lib/connectwise-ruby-sdk/models/charge_code_expense_type.rb +210 -0
- data/lib/connectwise-ruby-sdk/models/charge_code_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/classification.rb +232 -0
- data/lib/connectwise-ruby-sdk/models/classification_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/{audit_trail_objects.rb → clear_picker_request.rb} +21 -47
- data/lib/connectwise-ruby-sdk/models/code.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/commission.rb +501 -0
- data/lib/connectwise-ruby-sdk/models/communication_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/company.rb +188 -61
- data/lib/connectwise-ruby-sdk/models/company_custom_note.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/company_group.rb +257 -0
- data/lib/connectwise-ruby-sdk/models/company_management_summary.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/company_merge.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/company_note.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/company_picker_item.rb +266 -0
- data/lib/connectwise-ruby-sdk/models/company_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/company_site.rb +25 -36
- data/lib/connectwise-ruby-sdk/models/company_status.rb +5 -28
- data/lib/connectwise-ruby-sdk/models/company_status_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/company_team.rb +41 -32
- data/lib/connectwise-ruby-sdk/models/company_type.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/company_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/configuration.rb +22 -42
- data/lib/connectwise-ruby-sdk/models/configuration_question.rb +7 -29
- data/lib/connectwise-ruby-sdk/models/configuration_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/configuration_status.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/configuration_status_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/configuration_type.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/configuration_type_question.rb +37 -58
- data/lib/connectwise-ruby-sdk/models/configuration_type_question_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/configuration_type_question_value.rb +256 -0
- data/lib/connectwise-ruby-sdk/models/configuration_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/connect_wise_hosted_setup.rb +124 -61
- data/lib/connectwise-ruby-sdk/models/contact.rb +34 -52
- data/lib/connectwise-ruby-sdk/models/contact_communication.rb +9 -28
- data/lib/connectwise-ruby-sdk/models/contact_communication_item.rb +9 -28
- data/lib/connectwise-ruby-sdk/models/contact_department.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/contact_department_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/contact_group.rb +280 -0
- data/lib/connectwise-ruby-sdk/models/contact_note.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/contact_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/contact_relationship.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/contact_type.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/contact_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/conversion.rb +13 -27
- data/lib/connectwise-ruby-sdk/models/corporate_structure.rb +514 -0
- data/lib/connectwise-ruby-sdk/models/corporate_structure_level.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/corporate_structure_level_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/count.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/country.rb +461 -0
- data/lib/connectwise-ruby-sdk/models/country_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/create_accounting_batch_request.rb +274 -0
- data/lib/connectwise-ruby-sdk/models/crm.rb +649 -0
- data/lib/connectwise-ruby-sdk/models/currency.rb +25 -34
- data/lib/connectwise-ruby-sdk/models/currency_reference.rb +30 -34
- data/lib/connectwise-ruby-sdk/models/custom_field_value.rb +7 -29
- data/lib/connectwise-ruby-sdk/models/custom_report.rb +1020 -0
- data/lib/connectwise-ruby-sdk/models/custom_report_parameter.rb +248 -0
- data/lib/connectwise-ruby-sdk/models/custom_report_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/delivery_method.rb +265 -0
- data/lib/connectwise-ruby-sdk/models/department.rb +253 -0
- data/lib/connectwise-ruby-sdk/models/department_location.rb +278 -0
- data/lib/connectwise-ruby-sdk/models/department_mananager.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/dispatch_member.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/document_info.rb +24 -28
- data/lib/connectwise-ruby-sdk/models/document_reference.rb +15 -28
- data/lib/connectwise-ruby-sdk/models/document_setup.rb +280 -0
- data/lib/connectwise-ruby-sdk/models/duty_manager.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/email_connector.rb +479 -0
- data/lib/connectwise-ruby-sdk/models/email_connector_parsing_rule.rb +311 -0
- data/lib/connectwise-ruby-sdk/models/email_connector_parsing_style.rb +248 -0
- data/lib/connectwise-ruby-sdk/models/email_connector_parsing_style_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/email_connector_parsing_type_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/email_connector_parsing_variable_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/email_connector_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/email_opened.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/email_template_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/email_token.rb +312 -0
- data/lib/connectwise-ruby-sdk/models/endpoint_request.rb +213 -0
- data/lib/connectwise-ruby-sdk/models/endpoint_response.rb +204 -0
- data/lib/connectwise-ruby-sdk/models/entity_type_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/error.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/expense_entry.rb +42 -28
- data/lib/connectwise-ruby-sdk/models/expense_report.rb +292 -0
- data/lib/connectwise-ruby-sdk/models/expense_tax.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/expense_tax_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/expense_type.rb +52 -28
- data/lib/connectwise-ruby-sdk/models/expense_type_exemption.rb +260 -0
- data/lib/connectwise-ruby-sdk/models/expense_type_external_integration_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/expense_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/{batch.rb → export_accounting_batch_request.rb} +103 -117
- data/lib/connectwise-ruby-sdk/models/external_expense_type_integration_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/external_integration_status_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/external_work_type_integration_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/filter_values.rb +27 -31
- data/lib/connectwise-ruby-sdk/models/forecast.rb +60 -29
- data/lib/connectwise-ruby-sdk/models/form_submitted.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/generic_id_identifier_reference.rb +18 -31
- data/lib/connectwise-ruby-sdk/models/gl_export.rb +266 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_adjustment_transaction.rb +251 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_adjustment_transaction_detail.rb +267 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_customer.rb +420 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_expense.rb +348 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_expense_bill.rb +278 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_expense_bill_detail.rb +276 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_expense_offset.rb +258 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_inventory_transfer.rb +546 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_inventory_transfer_offset.rb +249 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_purchase_transaction.rb +559 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_purchase_transaction_detail.rb +564 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_purchase_transaction_detail_tax.rb +555 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_settings.rb +168 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_transaction.rb +701 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_transaction_detail.rb +618 -0
- data/lib/connectwise-ruby-sdk/models/gl_export_vendor.rb +260 -0
- data/lib/connectwise-ruby-sdk/models/group.rb +8 -27
- data/lib/connectwise-ruby-sdk/models/group_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/guid.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/holiday.rb +263 -0
- data/lib/connectwise-ruby-sdk/models/holiday_list.rb +220 -0
- data/lib/connectwise-ruby-sdk/models/holiday_list_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/imap.rb +364 -0
- data/lib/connectwise-ruby-sdk/models/imap_setup_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/impact.rb +238 -0
- data/lib/connectwise-ruby-sdk/models/import_mass_maintenance.rb +204 -0
- data/lib/connectwise-ruby-sdk/models/in_out_board.rb +254 -0
- data/lib/connectwise-ruby-sdk/models/in_out_type.rb +220 -0
- data/lib/connectwise-ruby-sdk/models/in_out_type_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/info.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/integrator_login.rb +36 -41
- data/lib/connectwise-ruby-sdk/models/integrator_login_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/invoice.rb +36 -34
- data/lib/connectwise-ruby-sdk/models/invoice_email_template.rb +376 -0
- data/lib/connectwise-ruby-sdk/models/invoice_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/invoice_template.rb +1188 -0
- data/lib/connectwise-ruby-sdk/models/invoice_template_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/invoice_template_setup.rb +221 -0
- data/lib/connectwise-ruby-sdk/models/iv_item_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/j_array.rb +168 -0
- data/lib/connectwise-ruby-sdk/models/j_object.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/knowledge_base_article.rb +24 -34
- data/lib/connectwise-ruby-sdk/models/knowledgebase_article.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/kpi.rb +259 -0
- data/lib/connectwise-ruby-sdk/models/kpi_category.rb +211 -0
- data/lib/connectwise-ruby-sdk/models/kpi_category_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/kpi_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/ldap_configuration.rb +288 -0
- data/lib/connectwise-ruby-sdk/models/ldap_configuration_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/legacy_sub_category.rb +229 -0
- data/lib/connectwise-ruby-sdk/models/link.rb +48 -30
- data/lib/connectwise-ruby-sdk/models/link_clicked.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/location.rb +367 -74
- data/lib/connectwise-ruby-sdk/models/location_department.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/location_work_role.rb +214 -0
- data/lib/connectwise-ruby-sdk/models/managed_devices_integration.rb +466 -0
- data/lib/connectwise-ruby-sdk/models/managed_devices_integration_cross_reference.rb +284 -0
- data/lib/connectwise-ruby-sdk/models/managed_devices_integration_login.rb +276 -0
- data/lib/connectwise-ruby-sdk/models/managed_devices_integration_notification.rb +267 -0
- data/lib/connectwise-ruby-sdk/models/managed_devices_integration_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/management.rb +282 -0
- data/lib/connectwise-ruby-sdk/models/management_backup.rb +262 -0
- data/lib/connectwise-ruby-sdk/models/management_email.rb +378 -0
- data/lib/connectwise-ruby-sdk/models/management_it_solution.rb +650 -0
- data/lib/connectwise-ruby-sdk/models/management_it_solution_agreement_interface_parameter.rb +237 -0
- data/lib/connectwise-ruby-sdk/models/management_log_document_info.rb +168 -0
- data/lib/connectwise-ruby-sdk/models/management_network_security.rb +303 -0
- data/lib/connectwise-ruby-sdk/models/management_report_notification.rb +235 -0
- data/lib/connectwise-ruby-sdk/models/management_solution_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/manufacturer.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/manufacturer_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/market_description.rb +220 -0
- data/lib/connectwise-ruby-sdk/models/marketing_company.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/marketing_contact.rb +8 -27
- data/lib/connectwise-ruby-sdk/models/member.rb +1085 -617
- data/lib/connectwise-ruby-sdk/models/member_accrual.rb +313 -0
- data/lib/connectwise-ruby-sdk/models/member_certification.rb +280 -0
- data/lib/connectwise-ruby-sdk/models/member_deactivation.rb +365 -0
- data/lib/connectwise-ruby-sdk/models/member_delegation.rb +285 -0
- data/lib/connectwise-ruby-sdk/models/member_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/member_skill.rb +284 -0
- data/lib/connectwise-ruby-sdk/models/member_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/menu_entry.rb +31 -28
- data/lib/connectwise-ruby-sdk/models/menu_entry_location.rb +210 -0
- data/lib/connectwise-ruby-sdk/models/menu_location_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/metadata.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/my_company_controller_role.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/my_company_coo_role.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/my_company_dispatch_role.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/my_company_duty_manager_role.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/my_company_president_role.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/my_company_service_manager_role.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/note_type.rb +263 -0
- data/lib/connectwise-ruby-sdk/models/note_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/notification_recipient.rb +313 -0
- data/lib/connectwise-ruby-sdk/models/notification_recipient_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/notify_type_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/opportunity.rb +70 -33
- data/lib/connectwise-ruby-sdk/models/opportunity_contact.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_note.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_priority_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_probability_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_rating.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_rating_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_sales_role_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_stage.rb +263 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_stage_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_status.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_status_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/opportunity_to_agreement_conversion.rb +15 -28
- data/lib/connectwise-ruby-sdk/models/opportunity_to_project_conversion.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_to_sales_order_conversion.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_to_service_ticket_conversion.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_type.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/opportunity_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/order.rb +26 -28
- data/lib/connectwise-ruby-sdk/models/order_status.rb +40 -28
- data/lib/connectwise-ruby-sdk/models/order_status_email_template.rb +336 -0
- data/lib/connectwise-ruby-sdk/models/order_status_email_template_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/order_status_notification.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/order_status_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/other.rb +459 -0
- data/lib/connectwise-ruby-sdk/models/ownership_type.rb +220 -0
- data/lib/connectwise-ruby-sdk/models/ownership_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/parsing_type.rb +246 -0
- data/lib/connectwise-ruby-sdk/models/parsing_variable.rb +237 -0
- data/lib/connectwise-ruby-sdk/models/patch_operation.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/payment.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/payment_method_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/payment_type.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/phase_status_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/portal_calendar.rb +315 -0
- data/lib/connectwise-ruby-sdk/models/portal_configuration.rb +508 -0
- data/lib/connectwise-ruby-sdk/models/portal_configuration_invoice_setup.rb +321 -0
- data/lib/connectwise-ruby-sdk/models/portal_configuration_opportunity_setup.rb +533 -0
- data/lib/connectwise-ruby-sdk/models/portal_configuration_password_email_setup.rb +297 -0
- data/lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb +607 -0
- data/lib/connectwise-ruby-sdk/models/portal_configuration_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/portal_configuration_service_setup.rb +415 -0
- data/lib/connectwise-ruby-sdk/models/portal_report.rb +289 -0
- data/lib/connectwise-ruby-sdk/models/portal_security.rb +98 -29
- data/lib/connectwise-ruby-sdk/models/portal_security_level.rb +230 -0
- data/lib/connectwise-ruby-sdk/models/pricing_break.rb +24 -28
- data/lib/connectwise-ruby-sdk/models/pricing_detail.rb +19 -28
- data/lib/connectwise-ruby-sdk/models/pricing_schedule.rb +15 -28
- data/lib/connectwise-ruby-sdk/models/pricing_schedule_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/priority.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/priority_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/product_category_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/product_component.rb +13 -27
- data/lib/connectwise-ruby-sdk/models/product_item.rb +43 -34
- data/lib/connectwise-ruby-sdk/models/product_item_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/product_picking_shipping_detail.rb +21 -27
- data/lib/connectwise-ruby-sdk/models/product_recurring.rb +33 -27
- data/lib/connectwise-ruby-sdk/models/product_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/product_sub_category_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/product_type.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/product_type_exemption.rb +260 -0
- data/lib/connectwise-ruby-sdk/models/product_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/project.rb +95 -36
- data/lib/connectwise-ruby-sdk/models/project_board_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/project_contact.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/project_manager.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/project_note.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/project_phase.rb +205 -29
- data/lib/connectwise-ruby-sdk/models/project_phase_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/project_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/project_role_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/project_security_role.rb +238 -0
- data/lib/connectwise-ruby-sdk/models/project_security_role_setting.rb +326 -0
- data/lib/connectwise-ruby-sdk/models/project_status.rb +256 -0
- data/lib/connectwise-ruby-sdk/models/project_status_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/{project_team_member.rb → project_teammember.rb} +14 -28
- data/lib/connectwise-ruby-sdk/models/project_type.rb +239 -0
- data/lib/connectwise-ruby-sdk/models/project_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/purchase_order.rb +31 -32
- data/lib/connectwise-ruby-sdk/models/purchase_order_line_item.rb +32 -35
- data/lib/connectwise-ruby-sdk/models/purchase_order_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/purchase_order_status.rb +299 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order_status_email_template.rb +331 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order_status_email_template_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order_status_notification.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order_status_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/purchasing.rb +453 -0
- data/lib/connectwise-ruby-sdk/models/relationship_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/reminder_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/report.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/report_card.rb +220 -0
- data/lib/connectwise-ruby-sdk/models/report_card_detail.rb +244 -0
- data/lib/connectwise-ruby-sdk/models/report_card_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/report_data_response.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/reporting_service.rb +288 -0
- data/lib/connectwise-ruby-sdk/models/request_password_request.rb +10 -27
- data/lib/connectwise-ruby-sdk/models/rma_action.rb +229 -0
- data/lib/connectwise-ruby-sdk/models/rma_disposition.rb +229 -0
- data/lib/connectwise-ruby-sdk/models/{item.rb → rma_status.rb} +56 -73
- data/lib/connectwise-ruby-sdk/models/rma_status_email_template.rb +336 -0
- data/lib/connectwise-ruby-sdk/models/rma_status_email_template_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/rma_status_notification.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/rma_status_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/role.rb +220 -0
- data/lib/connectwise-ruby-sdk/models/sales_activity.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/sales_probability.rb +201 -0
- data/lib/connectwise-ruby-sdk/models/sales_quota.rb +501 -0
- data/lib/connectwise-ruby-sdk/models/sales_team.rb +276 -0
- data/lib/connectwise-ruby-sdk/models/sales_team_member.rb +228 -0
- data/lib/connectwise-ruby-sdk/models/sales_team_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/schedule_color.rb +222 -0
- data/lib/connectwise-ruby-sdk/models/schedule_detail.rb +223 -0
- data/lib/connectwise-ruby-sdk/models/schedule_entry.rb +20 -29
- data/lib/connectwise-ruby-sdk/models/schedule_entry_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/schedule_reminder_time.rb +231 -0
- data/lib/connectwise-ruby-sdk/models/schedule_span_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/schedule_status.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/schedule_status_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/schedule_stopwatch.rb +416 -0
- data/lib/connectwise-ruby-sdk/models/schedule_type.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/schedule_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/security_role.rb +238 -0
- data/lib/connectwise-ruby-sdk/models/security_role_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/security_role_setting.rb +487 -0
- data/lib/connectwise-ruby-sdk/models/service.rb +423 -0
- data/lib/connectwise-ruby-sdk/models/service_code_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/service_email_template.rb +428 -0
- data/lib/connectwise-ruby-sdk/models/service_email_template_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/service_item_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/service_location.rb +276 -0
- data/lib/connectwise-ruby-sdk/models/service_location_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/service_manger.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/service_note.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/service_signoff.rb +778 -0
- data/lib/connectwise-ruby-sdk/models/service_signoff_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/service_source_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/service_status_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/service_sub_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/service_survey.rb +358 -0
- data/lib/connectwise-ruby-sdk/models/service_survey_question.rb +348 -0
- data/lib/connectwise-ruby-sdk/models/{survey_question_option.rb → service_survey_question_option.rb} +31 -28
- data/lib/connectwise-ruby-sdk/models/service_survey_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/service_team.rb +250 -0
- data/lib/connectwise-ruby-sdk/models/service_team_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/service_template.rb +827 -0
- data/lib/connectwise-ruby-sdk/models/service_template_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/service_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/setup_screen.rb +337 -0
- data/lib/connectwise-ruby-sdk/models/severity.rb +238 -0
- data/lib/connectwise-ruby-sdk/models/shipment_method.rb +21 -27
- data/lib/connectwise-ruby-sdk/models/shipment_method_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/sic_code_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/site_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/skill.rb +234 -0
- data/lib/connectwise-ruby-sdk/models/{audit_trail_entry_insert_request.rb → skill_category.rb} +42 -56
- data/lib/connectwise-ruby-sdk/models/skill_category_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/skill_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/sla.rb +605 -0
- data/lib/connectwise-ruby-sdk/models/sla_priority.rb +414 -0
- data/lib/connectwise-ruby-sdk/models/sla_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/source.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/state.rb +262 -0
- data/lib/connectwise-ruby-sdk/models/state_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/status_external_integration_reference.rb +253 -0
- data/lib/connectwise-ruby-sdk/models/status_workflow.rb +186 -0
- data/lib/connectwise-ruby-sdk/models/structure_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/sub_category.rb +45 -28
- data/lib/connectwise-ruby-sdk/models/success_response.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/survey.rb +23 -152
- data/lib/connectwise-ruby-sdk/models/survey_option.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/survey_question.rb +106 -79
- data/lib/connectwise-ruby-sdk/models/survey_question_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/survey_question_value.rb +290 -0
- data/lib/connectwise-ruby-sdk/models/survey_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/survey_result.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/survey_result_detail.rb +9 -27
- data/lib/connectwise-ruby-sdk/models/system_department_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/system_location_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/system_menu_entry_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/task.rb +15 -38
- data/lib/connectwise-ruby-sdk/models/tax_code.rb +1418 -0
- data/lib/connectwise-ruby-sdk/models/tax_code_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/tax_code_x_ref.rb +364 -0
- data/lib/connectwise-ruby-sdk/models/tax_integration.rb +499 -0
- data/lib/connectwise-ruby-sdk/models/team.rb +11 -128
- data/lib/connectwise-ruby-sdk/models/team_member.rb +233 -0
- data/lib/connectwise-ruby-sdk/models/team_role.rb +220 -0
- data/lib/connectwise-ruby-sdk/models/team_role_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/ticket.rb +45 -39
- data/lib/connectwise-ruby-sdk/models/ticket_merge.rb +198 -0
- data/lib/connectwise-ruby-sdk/models/ticket_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/ticket_stopwatch.rb +470 -0
- data/lib/connectwise-ruby-sdk/models/ticket_sync.rb +344 -0
- data/lib/connectwise-ruby-sdk/models/time_accrual.rb +413 -0
- data/lib/connectwise-ruby-sdk/models/time_accrual_detail.rb +342 -0
- data/lib/connectwise-ruby-sdk/models/time_accrual_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/time_entry.rb +74 -29
- data/lib/connectwise-ruby-sdk/models/time_entry_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/time_expense.rb +314 -0
- data/lib/connectwise-ruby-sdk/models/time_period.rb +237 -0
- data/lib/connectwise-ruby-sdk/models/time_period_setup.rb +390 -0
- data/lib/connectwise-ruby-sdk/models/time_period_setup_defaults.rb +168 -0
- data/lib/connectwise-ruby-sdk/models/time_period_setup_reference.rb +187 -0
- data/lib/connectwise-ruby-sdk/models/time_sheet.rb +292 -0
- data/lib/connectwise-ruby-sdk/models/time_sheet_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/time_zone.rb +233 -0
- data/lib/connectwise-ruby-sdk/models/time_zone_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/time_zone_setup.rb +264 -0
- data/lib/connectwise-ruby-sdk/models/time_zone_setup_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/today_page_category.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/token.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/track.rb +53 -32
- data/lib/connectwise-ruby-sdk/models/track_action.rb +460 -0
- data/lib/connectwise-ruby-sdk/models/track_reference.rb +6 -28
- data/lib/connectwise-ruby-sdk/models/type.rb +17 -126
- data/lib/connectwise-ruby-sdk/models/unit_of_measure.rb +10 -33
- data/lib/connectwise-ruby-sdk/models/unit_of_measure_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/unposted_expense.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/unposted_invoice.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/unposted_procurement.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/user_defined_field.rb +34 -51
- data/lib/connectwise-ruby-sdk/models/user_defined_field_option.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/user_defined_field_reference.rb +196 -0
- data/lib/connectwise-ruby-sdk/models/validate_portal_request.rb +15 -27
- data/lib/connectwise-ruby-sdk/models/validate_portal_response.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/validation_error.rb +18 -31
- data/lib/connectwise-ruby-sdk/models/warehouse.rb +331 -0
- data/lib/connectwise-ruby-sdk/models/warehouse_bin.rb +351 -0
- data/lib/connectwise-ruby-sdk/models/warehouse_bin_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/warehouse_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/work_role.rb +302 -0
- data/lib/connectwise-ruby-sdk/models/work_role_exemption.rb +260 -0
- data/lib/connectwise-ruby-sdk/models/work_role_location.rb +219 -0
- data/lib/connectwise-ruby-sdk/models/work_role_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/work_type.rb +444 -0
- data/lib/connectwise-ruby-sdk/models/work_type_external_integration_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/work_type_reference.rb +5 -27
- data/lib/connectwise-ruby-sdk/models/workflow.rb +362 -0
- data/lib/connectwise-ruby-sdk/models/workflow_action.rb +549 -0
- data/lib/connectwise-ruby-sdk/models/workflow_action_automate_parameter.rb +200 -0
- data/lib/connectwise-ruby-sdk/models/workflow_event.rb +345 -0
- data/lib/connectwise-ruby-sdk/models/workflow_notify_type.rb +215 -0
- data/lib/connectwise-ruby-sdk/models/workflow_table_type.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/workflow_table_type_reference.rb +205 -0
- data/lib/connectwise-ruby-sdk/models/workflow_trigger.rb +241 -0
- data/lib/connectwise-ruby-sdk/models/workflow_trigger_option.rb +206 -0
- data/lib/connectwise-ruby-sdk/version.rb +2 -24
- data/scripts/clean.ps1 +2 -0
- data/scripts/format.ps1 +4 -0
- data/scripts/header.awk +34 -0
- data/spec/api/accounting_batches_api_spec.rb +36 -31
- data/spec/api/accounting_packages_api_spec.rb +65 -0
- data/spec/api/accounting_unposted_expenses_api_spec.rb +6 -26
- data/spec/api/accounting_unposted_procurements_api_spec.rb +6 -26
- data/spec/api/accounting_unpostedinvoices_api_spec.rb +6 -26
- data/spec/api/activities_api_spec.rb +7 -26
- data/spec/api/activity_statuses_api_spec.rb +6 -26
- data/spec/api/activity_stopwatches_api_spec.rb +115 -0
- data/spec/api/activity_types_api_spec.rb +6 -26
- data/spec/api/address_formats_api_spec.rb +115 -0
- data/spec/api/adjustment_details_api_spec.rb +94 -0
- data/spec/api/adjustment_types_api_spec.rb +115 -0
- data/spec/api/adjustments_api_spec.rb +115 -0
- data/spec/api/agreement_additions_api_spec.rb +7 -26
- data/spec/api/agreement_adjustments_api_spec.rb +7 -26
- data/spec/api/agreement_batch_setups_api_spec.rb +91 -0
- data/spec/api/agreement_board_defaults_api_spec.rb +6 -26
- data/spec/api/agreement_sites_api_spec.rb +6 -26
- data/spec/api/agreement_type_board_defaults_api_spec.rb +122 -0
- data/spec/api/agreement_type_work_role_exclusions_api_spec.rb +94 -0
- data/spec/api/agreement_type_work_roles_api_spec.rb +122 -0
- data/spec/api/agreement_type_work_type_exclusions_api_spec.rb +94 -0
- data/spec/api/agreement_type_work_types_api_spec.rb +122 -0
- data/spec/api/agreement_types_api_spec.rb +6 -26
- data/spec/api/agreement_work_role_exclusions_api_spec.rb +6 -26
- data/spec/api/agreement_work_roles_api_spec.rb +6 -26
- data/spec/api/agreement_work_type_exclusions_api_spec.rb +6 -26
- data/spec/api/agreement_work_types_api_spec.rb +6 -26
- data/spec/api/agreements_api_spec.rb +7 -26
- data/spec/api/audit_trail_api_spec.rb +4 -38
- data/spec/api/auth_anvils_api_spec.rb +102 -0
- data/spec/api/batch_api_spec.rb +36 -0
- data/spec/api/billing_cycles_api_spec.rb +65 -0
- data/spec/api/billing_setup_routings_api_spec.rb +122 -0
- data/spec/api/billing_setups_api_spec.rb +115 -0
- data/spec/api/billing_statuses_api_spec.rb +65 -0
- data/spec/api/billing_terms_api_spec.rb +65 -0
- data/spec/api/board_auto_assign_resources_api_spec.rb +122 -0
- data/spec/api/board_auto_templates_api_spec.rb +122 -0
- data/spec/api/board_excluded_members_api_spec.rb +10 -30
- data/spec/api/board_item_associations_api_spec.rb +101 -0
- data/spec/api/board_items_api_spec.rb +13 -33
- data/spec/api/board_notifications_api_spec.rb +122 -0
- data/spec/api/board_status_notifications_api_spec.rb +129 -0
- data/spec/api/board_statuses_api_spec.rb +13 -33
- data/spec/api/board_sub_types_api_spec.rb +13 -33
- data/spec/api/board_teams_api_spec.rb +13 -33
- data/spec/api/board_type_sub_type_item_associations_api_spec.rb +68 -0
- data/spec/api/board_types_api_spec.rb +13 -46
- data/spec/api/boards_api_spec.rb +18 -26
- data/spec/api/calendars_api_spec.rb +65 -0
- data/spec/api/{callback_entries_api_spec.rb → callbacks_api_spec.rb} +8 -28
- data/spec/api/campaign_audits_api_spec.rb +6 -26
- data/spec/api/campaign_emails_opened_api_spec.rb +6 -26
- data/spec/api/campaign_forms_submitted_api_spec.rb +6 -26
- data/spec/api/campaign_links_clicked_api_spec.rb +6 -26
- data/spec/api/campaign_statuses_api_spec.rb +6 -26
- data/spec/api/campaign_sub_types_api_spec.rb +29 -56
- data/spec/api/campaign_types_api_spec.rb +6 -26
- data/spec/api/campaigns_api_spec.rb +6 -26
- data/spec/api/catalog_components_api_spec.rb +6 -26
- data/spec/api/catalogs_item_api_spec.rb +6 -26
- data/spec/api/categories_api_spec.rb +6 -26
- data/spec/api/certifications_api_spec.rb +115 -0
- data/spec/api/charge_code_expense_types_api_spec.rb +122 -0
- data/spec/api/charge_codes_api_spec.rb +115 -0
- data/spec/api/classifications_api_spec.rb +65 -0
- data/spec/api/codes_api_spec.rb +6 -26
- data/spec/api/commissions_api_spec.rb +115 -0
- data/spec/api/companies_api_spec.rb +7 -26
- data/spec/api/company_custom_notes_api_spec.rb +122 -0
- data/spec/api/company_groups_api_spec.rb +122 -0
- data/spec/api/company_management_summary_reports_api_spec.rb +6 -26
- data/spec/api/company_note_types_api_spec.rb +115 -0
- data/spec/api/company_notes_api_spec.rb +6 -26
- data/spec/api/company_picker_items_api_spec.rb +102 -0
- data/spec/api/company_sites_api_spec.rb +6 -26
- data/spec/api/company_statuses_api_spec.rb +6 -26
- data/spec/api/company_teams_api_spec.rb +6 -26
- data/spec/api/company_types_api_spec.rb +6 -26
- data/spec/api/configuration_statuses_api_spec.rb +6 -26
- data/spec/api/configuration_type_question_values_api_spec.rb +125 -0
- data/spec/api/configuration_type_questions_api_spec.rb +6 -26
- data/spec/api/configuration_types_api_spec.rb +6 -26
- data/spec/api/configurations_api_spec.rb +6 -26
- data/spec/api/connect_wise_hosted_setups_api_spec.rb +6 -26
- data/spec/api/contact_communications_api_spec.rb +6 -26
- data/spec/api/contact_departments_api_spec.rb +6 -26
- data/spec/api/contact_groups_api_spec.rb +122 -0
- data/spec/api/contact_notes_api_spec.rb +6 -26
- data/spec/api/contact_relationships_api_spec.rb +6 -26
- data/spec/api/contact_tracks_api_spec.rb +6 -26
- data/spec/api/contact_types_api_spec.rb +6 -26
- data/spec/api/contacts_api_spec.rb +8 -26
- data/spec/api/corporate_structure_levels_api_spec.rb +65 -0
- data/spec/api/corporate_structures_api_spec.rb +91 -0
- data/spec/api/countries_api_spec.rb +115 -0
- data/spec/api/crms_api_spec.rb +91 -0
- data/spec/api/currencies_api_spec.rb +6 -26
- data/spec/api/custom_report_parameters_api_spec.rb +122 -0
- data/spec/api/custom_reports_api_spec.rb +115 -0
- data/spec/api/delivery_methods_api_spec.rb +115 -0
- data/spec/api/department_locations_api_spec.rb +122 -0
- data/spec/api/departments_api_spec.rb +115 -0
- data/spec/api/documents_api_spec.rb +7 -27
- data/spec/api/documents_setup_api_spec.rb +79 -0
- data/spec/api/email_connector_parsing_rules_api_spec.rb +129 -0
- data/spec/api/email_connector_parsing_styles_api_spec.rb +122 -0
- data/spec/api/email_connectors_api_spec.rb +115 -0
- data/spec/api/email_tokens_api_spec.rb +65 -0
- data/spec/api/expense_entries_api_spec.rb +8 -26
- data/spec/api/expense_reports_api_spec.rb +89 -0
- data/spec/api/expense_type_external_integration_references_api_spec.rb +65 -0
- data/spec/api/expense_types_api_spec.rb +6 -26
- data/spec/api/group_companies_api_spec.rb +6 -26
- data/spec/api/group_contacts_api_spec.rb +6 -26
- data/spec/api/groups_api_spec.rb +6 -26
- data/spec/api/holiday_lists_api_spec.rb +115 -0
- data/spec/api/holidays_api_spec.rb +122 -0
- data/spec/api/imaps_api_spec.rb +65 -0
- data/spec/api/impacts_api_spec.rb +91 -0
- data/spec/api/imports_mass_maintenance_api_spec.rb +36 -0
- data/spec/api/in_out_boards_api_spec.rb +115 -0
- data/spec/api/in_out_types_api_spec.rb +115 -0
- data/spec/api/info_api_spec.rb +4 -26
- data/spec/api/integrator_logins_api_spec.rb +115 -0
- data/spec/api/invoice_email_templates_api_spec.rb +115 -0
- data/spec/api/invoice_payments_api_spec.rb +6 -26
- data/spec/api/invoice_template_setups_api_spec.rb +65 -0
- data/spec/api/invoice_templates_api_spec.rb +65 -0
- data/spec/api/invoices_api_spec.rb +7 -26
- data/spec/api/knowledge_base_articles_api_spec.rb +7 -26
- data/spec/api/kp_is_api_spec.rb +65 -0
- data/spec/api/kpi_categories_api_spec.rb +65 -0
- data/spec/api/ldap_configurations_api_spec.rb +115 -0
- data/spec/api/legacy_campaign_sub_types_api_spec.rb +68 -0
- data/spec/api/legacy_sub_categories_api_spec.rb +122 -0
- data/spec/api/links_api_spec.rb +6 -26
- data/spec/api/location_departments_api_spec.rb +68 -0
- data/spec/api/location_work_roles_api_spec.rb +68 -0
- data/spec/api/locations_api_spec.rb +22 -42
- data/spec/api/managed_devices_integration_cross_references_api_spec.rb +122 -0
- data/spec/api/managed_devices_integration_logins_api_spec.rb +122 -0
- data/spec/api/managed_devices_integration_notifications_api_spec.rb +122 -0
- data/spec/api/managed_devices_integrations_api_spec.rb +115 -0
- data/spec/api/management_backups_api_spec.rb +115 -0
- data/spec/api/management_emails_api_spec.rb +115 -0
- data/spec/api/management_execute_managed_it_syncs_api_spec.rb +41 -0
- data/spec/api/management_it_solution_agreement_interface_parameters_api_spec.rb +122 -0
- data/spec/api/management_it_solutions_api_spec.rb +115 -0
- data/spec/api/management_logs_api_spec.rb +53 -0
- data/spec/api/management_networks_security_api_spec.rb +127 -0
- data/spec/api/management_report_notifications_api_spec.rb +122 -0
- data/spec/api/managements_api_spec.rb +91 -0
- data/spec/api/manufacturers_api_spec.rb +6 -26
- data/spec/api/market_descriptions_api_spec.rb +115 -0
- data/spec/api/member_accruals_api_spec.rb +122 -0
- data/spec/api/member_certifications_api_spec.rb +122 -0
- data/spec/api/member_delegations_api_spec.rb +122 -0
- data/spec/api/member_skills_api_spec.rb +122 -0
- data/spec/api/member_types_api_spec.rb +115 -0
- data/spec/api/members_api_spec.rb +64 -35
- data/spec/api/menu_entries_api_spec.rb +7 -26
- data/spec/api/menu_entry_locations_api_spec.rb +94 -0
- data/spec/api/my_company_purchasings_api_spec.rb +91 -0
- data/spec/api/notification_recipients_api_spec.rb +65 -0
- data/spec/api/opportunities_api_spec.rb +7 -26
- data/spec/api/opportunity_contacts_api_spec.rb +6 -26
- data/spec/api/opportunity_forecasts_api_spec.rb +6 -26
- data/spec/api/opportunity_notes_api_spec.rb +6 -26
- data/spec/api/opportunity_ratings_api_spec.rb +6 -26
- data/spec/api/opportunity_stages_api_spec.rb +115 -0
- data/spec/api/opportunity_statuses_api_spec.rb +6 -26
- data/spec/api/opportunity_teams_api_spec.rb +6 -26
- data/spec/api/opportunity_types_api_spec.rb +6 -26
- data/spec/api/order_status_notifications_api_spec.rb +122 -0
- data/spec/api/order_statuses_api_spec.rb +6 -26
- data/spec/api/order_statuses_email_template_api_spec.rb +122 -0
- data/spec/api/orders_api_spec.rb +7 -26
- data/spec/api/others_api_spec.rb +91 -0
- data/spec/api/ownership_types_api_spec.rb +115 -0
- data/spec/api/parsing_types_api_spec.rb +65 -0
- data/spec/api/parsing_variables_api_spec.rb +65 -0
- data/spec/api/payment_types_api_spec.rb +115 -0
- data/spec/api/portal_calendars_api_spec.rb +91 -0
- data/spec/api/portal_configuration_invoice_setups_api_spec.rb +110 -0
- data/spec/api/portal_configuration_opportunity_setups_api_spec.rb +95 -0
- data/spec/api/portal_configuration_password_email_setups_api_spec.rb +83 -0
- data/spec/api/portal_configuration_project_setups_api_spec.rb +96 -0
- data/spec/api/portal_configuration_service_setups_api_spec.rb +96 -0
- data/spec/api/portal_configurations_api_spec.rb +141 -0
- data/spec/api/portal_reports_api_spec.rb +115 -0
- data/spec/api/portal_securities_api_spec.rb +91 -0
- data/spec/api/portal_security_levels_api_spec.rb +91 -0
- data/spec/api/pricing_breaks_api_spec.rb +6 -26
- data/spec/api/pricing_details_api_spec.rb +6 -26
- data/spec/api/pricing_schedules_api_spec.rb +6 -26
- data/spec/api/priorities_api_spec.rb +6 -26
- data/spec/api/product_components_api_spec.rb +6 -26
- data/spec/api/product_picking_shipping_details_api_spec.rb +6 -26
- data/spec/api/product_types_api_spec.rb +6 -26
- data/spec/api/products_item_api_spec.rb +6 -26
- data/spec/api/project_contacts_api_spec.rb +6 -26
- data/spec/api/project_notes_api_spec.rb +6 -26
- data/spec/api/project_phases_api_spec.rb +6 -26
- data/spec/api/project_security_role_settings_api_spec.rb +96 -0
- data/spec/api/project_security_roles_api_spec.rb +115 -0
- data/spec/api/project_statuses_api_spec.rb +115 -0
- data/spec/api/project_types_api_spec.rb +65 -0
- data/spec/api/projects_api_spec.rb +7 -26
- data/spec/api/{projects_team_members_api_spec.rb → projects_teammembers_api_spec.rb} +13 -33
- data/spec/api/purchase_order_line_items_api_spec.rb +6 -26
- data/spec/api/purchase_order_status_email_templates_api_spec.rb +122 -0
- data/spec/api/purchase_order_status_notifications_api_spec.rb +122 -0
- data/spec/api/purchase_order_statuses_api_spec.rb +115 -0
- data/spec/api/purchase_orders_api_spec.rb +6 -26
- data/spec/api/report_card_details_api_spec.rb +122 -0
- data/spec/api/report_cards_api_spec.rb +115 -0
- data/spec/api/reporting_services_api_spec.rb +91 -0
- data/spec/api/reports_api_spec.rb +8 -26
- data/spec/api/rma_actions_api_spec.rb +115 -0
- data/spec/api/rma_dispositions_api_spec.rb +115 -0
- data/spec/api/rma_status_email_templates_api_spec.rb +122 -0
- data/spec/api/rma_status_notifications_api_spec.rb +122 -0
- data/spec/api/rma_statuses_api_spec.rb +115 -0
- data/spec/api/roles_api_spec.rb +115 -0
- data/spec/api/sales_probabilities_api_spec.rb +115 -0
- data/spec/api/sales_quotas_api_spec.rb +115 -0
- data/spec/api/sales_team_members_api_spec.rb +122 -0
- data/spec/api/sales_teams_api_spec.rb +115 -0
- data/spec/api/schedule_colors_api_spec.rb +114 -0
- data/spec/api/schedule_details_api_spec.rb +68 -0
- data/spec/api/schedule_entries_api_spec.rb +6 -26
- data/spec/api/schedule_reminder_times_api_spec.rb +91 -0
- data/spec/api/schedule_statuses_api_spec.rb +6 -26
- data/spec/api/schedule_stopwatches_api_spec.rb +115 -0
- data/spec/api/schedule_types_api_spec.rb +6 -26
- data/spec/api/security_role_settings_api_spec.rb +68 -0
- data/spec/api/security_roles_api_spec.rb +89 -0
- data/spec/api/service_email_templates_api_spec.rb +115 -0
- data/spec/api/service_locations_api_spec.rb +115 -0
- data/spec/api/service_signoffs_api_spec.rb +115 -0
- data/spec/api/service_survey_questions_api_spec.rb +122 -0
- data/spec/api/service_surveys_api_spec.rb +115 -0
- data/spec/api/service_teams_api_spec.rb +65 -0
- data/spec/api/service_templates_api_spec.rb +65 -0
- data/spec/api/services_api_spec.rb +79 -0
- data/spec/api/setup_screens_api_spec.rb +65 -0
- data/spec/api/severities_api_spec.rb +91 -0
- data/spec/api/shipment_methods_api_spec.rb +6 -26
- data/spec/api/skill_categories_api_spec.rb +115 -0
- data/spec/api/skills_api_spec.rb +115 -0
- data/spec/api/sl_as_api_spec.rb +115 -0
- data/spec/api/sla_priorities_api_spec.rb +122 -0
- data/spec/api/sources_api_spec.rb +6 -26
- data/spec/api/states_api_spec.rb +77 -0
- data/spec/api/status_external_integration_references_api_spec.rb +65 -0
- data/spec/api/sub_categories_api_spec.rb +29 -56
- data/spec/api/survey_options_api_spec.rb +129 -0
- data/spec/api/survey_question_values_api_spec.rb +125 -0
- data/spec/api/survey_questions_api_spec.rb +20 -58
- data/spec/api/survey_results_api_spec.rb +6 -26
- data/spec/api/surveys_api_spec.rb +20 -40
- data/spec/api/system_tracks_api_spec.rb +115 -0
- data/spec/api/tax_code_expense_type_exemptions_api_spec.rb +122 -0
- data/spec/api/tax_code_product_type_exemptions_api_spec.rb +122 -0
- data/spec/api/tax_code_work_role_exemptions_api_spec.rb +122 -0
- data/spec/api/tax_code_x_refs_api_spec.rb +122 -0
- data/spec/api/tax_codes_api_spec.rb +115 -0
- data/spec/api/tax_integrations_api_spec.rb +65 -0
- data/spec/api/team_members_api_spec.rb +89 -0
- data/spec/api/team_roles_api_spec.rb +115 -0
- data/spec/api/ticket_notes_api_spec.rb +6 -26
- data/spec/api/ticket_stopwatches_api_spec.rb +115 -0
- data/spec/api/ticket_syncs_api_spec.rb +115 -0
- data/spec/api/ticket_tasks_api_spec.rb +6 -26
- data/spec/api/tickets_api_spec.rb +29 -35
- data/spec/api/time_accrual_details_api_spec.rb +122 -0
- data/spec/api/time_accruals_api_spec.rb +115 -0
- data/spec/api/time_entries_api_spec.rb +19 -26
- data/spec/api/time_expenses_api_spec.rb +91 -0
- data/spec/api/time_period_setups_api_spec.rb +100 -0
- data/spec/api/time_periods_api_spec.rb +68 -0
- data/spec/api/time_sheets_api_spec.rb +89 -0
- data/spec/api/time_zone_setups_api_spec.rb +115 -0
- data/spec/api/time_zones_api_spec.rb +65 -0
- data/spec/api/today_page_categories_api_spec.rb +115 -0
- data/spec/api/track_actions_api_spec.rb +122 -0
- data/spec/api/unit_of_measure_conversions_api_spec.rb +6 -26
- data/spec/api/{units_of_measure_api_spec.rb → unit_of_measures_api_spec.rb} +8 -28
- data/spec/api/user_defined_fields_api_spec.rb +6 -26
- data/spec/api/warehouse_bins_api_spec.rb +115 -0
- data/spec/api/warehouses_api_spec.rb +115 -0
- data/spec/api/work_role_locations_api_spec.rb +122 -0
- data/spec/api/work_roles_api_spec.rb +115 -0
- data/spec/api/work_type_external_integration_references_api_spec.rb +65 -0
- data/spec/api/work_types_api_spec.rb +115 -0
- data/spec/api/workflow_action_automate_parameters_api_spec.rb +122 -0
- data/spec/api/workflow_actions_api_spec.rb +129 -0
- data/spec/api/workflow_events_api_spec.rb +135 -0
- data/spec/api/workflow_notify_types_api_spec.rb +68 -0
- data/spec/api/workflow_table_types_api_spec.rb +65 -0
- data/spec/api/workflow_trigger_options_api_spec.rb +57 -0
- data/spec/api/workflow_triggers_api_spec.rb +55 -0
- data/spec/api/workflows_api_spec.rb +127 -0
- data/spec/api_client_spec.rb +31 -53
- data/spec/configuration_spec.rb +3 -25
- data/spec/models/accounting_batch_spec.rb +67 -0
- data/spec/models/accounting_package_spec.rb +165 -0
- data/spec/models/activity_reference_spec.rb +4 -26
- data/spec/models/activity_spec.rb +16 -26
- data/spec/models/activity_status_reference_spec.rb +4 -26
- data/spec/models/activity_status_spec.rb +4 -26
- data/spec/models/activity_stopwatch_spec.rb +147 -0
- data/spec/models/activity_type_reference_spec.rb +4 -26
- data/spec/models/activity_type_spec.rb +4 -26
- data/spec/models/addition_spec.rb +34 -26
- data/spec/models/address_format_reference_spec.rb +43 -0
- data/spec/models/address_format_spec.rb +73 -0
- data/spec/models/adjustment_detail_spec.rb +91 -0
- data/spec/models/adjustment_reference_spec.rb +43 -0
- data/spec/models/adjustment_spec.rb +46 -26
- data/spec/models/adjustment_type_reference_spec.rb +43 -0
- data/spec/models/adjustment_type_spec.rb +67 -0
- data/spec/models/agreement_batch_setup_spec.rb +49 -0
- data/spec/models/agreement_reference_spec.rb +4 -26
- data/spec/models/agreement_site_spec.rb +4 -26
- data/spec/models/agreement_spec.rb +18 -28
- data/spec/models/agreement_type_board_default_spec.rb +73 -0
- data/spec/models/agreement_type_reference_spec.rb +4 -26
- data/spec/models/agreement_type_spec.rb +65 -33
- data/spec/models/agreement_type_work_role_exclusion_spec.rb +49 -0
- data/spec/models/agreement_type_work_role_spec.rb +77 -0
- data/spec/models/agreement_type_work_type_exclusion_spec.rb +49 -0
- data/spec/models/agreement_type_work_type_spec.rb +121 -0
- data/spec/models/agreement_work_role_exclusion_spec.rb +4 -26
- data/spec/models/agreement_work_role_spec.rb +4 -26
- data/spec/models/agreement_work_type_exclusion_spec.rb +4 -26
- data/spec/models/agreement_work_type_spec.rb +4 -26
- data/spec/models/audit_trail_entry_spec.rb +10 -26
- data/spec/models/auth_anvil_spec.rb +49 -0
- data/spec/models/automate_script_reference_spec.rb +43 -0
- data/spec/models/batch_request_spec.rb +43 -0
- data/spec/models/batch_response_spec.rb +37 -0
- data/spec/models/billing_cycle_reference_spec.rb +43 -0
- data/spec/models/billing_cycle_spec.rb +67 -0
- data/spec/models/billing_delivery_reference_spec.rb +43 -0
- data/spec/models/billing_options_reference_spec.rb +43 -0
- data/spec/models/billing_setup_routing_spec.rb +69 -0
- data/spec/models/billing_setup_spec.rb +383 -0
- data/spec/models/billing_status_reference_spec.rb +4 -26
- data/spec/models/billing_status_spec.rb +73 -0
- data/spec/models/billing_term_spec.rb +61 -0
- data/spec/models/billing_terms_reference_spec.rb +4 -26
- data/spec/models/board_auto_assign_resource_spec.rb +49 -0
- data/spec/models/board_auto_template_spec.rb +153 -0
- data/spec/models/board_copy_spec.rb +37 -0
- data/spec/models/board_default_spec.rb +4 -26
- data/spec/models/{excluded_member_spec.rb → board_excluded_member_spec.rb} +6 -28
- data/spec/models/board_item_association_spec.rb +67 -0
- data/spec/models/board_item_spec.rb +55 -0
- data/spec/models/board_notification_spec.rb +55 -0
- data/spec/models/board_reference_spec.rb +4 -26
- data/spec/models/board_spec.rb +291 -33
- data/spec/models/board_status_notification_spec.rb +67 -0
- data/spec/models/{status_spec.rb → board_status_spec.rb} +31 -29
- data/spec/models/{sub_type_spec.rb → board_sub_type_spec.rb} +10 -32
- data/spec/models/{item_spec.rb → board_team_spec.rb} +18 -34
- data/spec/models/board_type_spec.rb +95 -0
- data/spec/models/board_type_sub_type_item_association_spec.rb +61 -0
- data/spec/models/calendar_reference_spec.rb +4 -26
- data/spec/models/calendar_setup_reference_spec.rb +43 -0
- data/spec/models/calendar_spec.rb +133 -0
- data/spec/models/callback_entry_spec.rb +10 -26
- data/spec/models/campaign_audit_spec.rb +4 -26
- data/spec/models/campaign_reference_spec.rb +4 -26
- data/spec/models/campaign_spec.rb +4 -26
- data/spec/models/campaign_status_reference_spec.rb +4 -26
- data/spec/models/campaign_status_spec.rb +4 -26
- data/spec/models/campaign_sub_type_reference_spec.rb +4 -26
- data/spec/models/campaign_sub_type_spec.rb +5 -27
- data/spec/models/campaign_type_reference_spec.rb +4 -26
- data/spec/models/campaign_type_spec.rb +4 -26
- data/spec/models/catalog_component_spec.rb +10 -26
- data/spec/models/catalog_item_reference_spec.rb +10 -26
- data/spec/models/catalog_item_spec.rb +10 -26
- data/spec/models/category_spec.rb +4 -26
- data/spec/models/certification_reference_spec.rb +43 -0
- data/spec/models/certification_spec.rb +49 -0
- data/spec/models/charge_code_expense_type_spec.rb +49 -0
- data/spec/models/charge_code_reference_spec.rb +4 -26
- data/spec/models/charge_code_spec.rb +113 -0
- data/spec/models/classification_reference_spec.rb +4 -26
- data/spec/models/classification_spec.rb +67 -0
- data/spec/models/clear_picker_request_spec.rb +41 -0
- data/spec/models/code_spec.rb +4 -26
- data/spec/models/commission_spec.rb +217 -0
- data/spec/models/communication_type_reference_spec.rb +4 -26
- data/spec/models/company_custom_note_spec.rb +55 -0
- data/spec/models/company_group_spec.rb +79 -0
- data/spec/models/company_management_summary_spec.rb +4 -26
- data/spec/models/company_merge_spec.rb +4 -26
- data/spec/models/company_note_spec.rb +4 -26
- data/spec/models/company_picker_item_spec.rb +85 -0
- data/spec/models/company_reference_spec.rb +4 -26
- data/spec/models/company_site_spec.rb +16 -26
- data/spec/models/company_spec.rb +106 -26
- data/spec/models/company_status_reference_spec.rb +4 -26
- data/spec/models/company_status_spec.rb +4 -26
- data/spec/models/company_team_spec.rb +22 -26
- data/spec/models/company_type_reference_spec.rb +4 -26
- data/spec/models/company_type_spec.rb +4 -26
- data/spec/models/configuration_question_spec.rb +5 -27
- data/spec/models/configuration_reference_spec.rb +4 -26
- data/spec/models/configuration_spec.rb +10 -26
- data/spec/models/configuration_status_reference_spec.rb +4 -26
- data/spec/models/configuration_status_spec.rb +4 -26
- data/spec/models/configuration_type_question_reference_spec.rb +43 -0
- data/spec/models/configuration_type_question_spec.rb +6 -34
- data/spec/models/configuration_type_question_value_spec.rb +67 -0
- data/spec/models/configuration_type_reference_spec.rb +4 -26
- data/spec/models/configuration_type_spec.rb +4 -26
- data/spec/models/connect_wise_hosted_setup_spec.rb +41 -33
- data/spec/models/contact_communication_item_spec.rb +4 -26
- data/spec/models/contact_communication_spec.rb +4 -26
- data/spec/models/contact_department_reference_spec.rb +4 -26
- data/spec/models/contact_department_spec.rb +4 -26
- data/spec/models/contact_group_spec.rb +85 -0
- data/spec/models/contact_note_spec.rb +4 -26
- data/spec/models/contact_reference_spec.rb +4 -26
- data/spec/models/contact_relationship_spec.rb +4 -26
- data/spec/models/contact_spec.rb +16 -26
- data/spec/models/contact_type_reference_spec.rb +4 -26
- data/spec/models/contact_type_spec.rb +4 -26
- data/spec/models/conversion_spec.rb +4 -26
- data/spec/models/corporate_structure_level_reference_spec.rb +43 -0
- data/spec/models/corporate_structure_level_spec.rb +37 -0
- data/spec/models/corporate_structure_spec.rb +141 -0
- data/spec/models/count_spec.rb +4 -26
- data/spec/models/country_reference_spec.rb +4 -26
- data/spec/models/country_spec.rb +109 -0
- data/spec/models/create_accounting_batch_request_spec.rb +73 -0
- data/spec/models/crm_spec.rb +169 -0
- data/spec/models/currency_reference_spec.rb +17 -27
- data/spec/models/currency_spec.rb +4 -26
- data/spec/models/custom_field_value_spec.rb +5 -27
- data/spec/models/custom_report_parameter_spec.rb +55 -0
- data/spec/models/custom_report_reference_spec.rb +43 -0
- data/spec/models/custom_report_spec.rb +479 -0
- data/spec/models/delivery_method_spec.rb +73 -0
- data/spec/models/department_location_spec.rb +91 -0
- data/spec/models/department_mananager_spec.rb +37 -0
- data/spec/models/department_spec.rb +49 -0
- data/spec/models/dispatch_member_spec.rb +37 -0
- data/spec/models/document_info_spec.rb +16 -26
- data/spec/models/document_reference_spec.rb +10 -26
- data/spec/models/document_setup_spec.rb +67 -0
- data/spec/models/duty_manager_spec.rb +37 -0
- data/spec/models/email_connector_parsing_rule_spec.rb +97 -0
- data/spec/models/email_connector_parsing_style_reference_spec.rb +43 -0
- data/spec/models/email_connector_parsing_style_spec.rb +55 -0
- data/spec/models/email_connector_parsing_type_reference_spec.rb +43 -0
- data/spec/models/email_connector_parsing_variable_reference_spec.rb +49 -0
- data/spec/models/email_connector_reference_spec.rb +43 -0
- data/spec/models/email_connector_spec.rb +181 -0
- data/spec/models/email_opened_spec.rb +4 -26
- data/spec/models/email_template_reference_spec.rb +43 -0
- data/spec/models/email_token_spec.rb +121 -0
- data/spec/models/endpoint_request_spec.rb +55 -0
- data/spec/models/endpoint_response_spec.rb +49 -0
- data/spec/models/entity_type_reference_spec.rb +4 -26
- data/spec/models/error_spec.rb +4 -26
- data/spec/models/expense_entry_spec.rb +16 -26
- data/spec/models/expense_report_spec.rb +89 -0
- data/spec/models/expense_tax_spec.rb +4 -26
- data/spec/models/expense_tax_type_reference_spec.rb +4 -26
- data/spec/models/expense_type_exemption_spec.rb +79 -0
- data/spec/models/expense_type_external_integration_reference_spec.rb +49 -0
- data/spec/models/expense_type_reference_spec.rb +4 -26
- data/spec/models/expense_type_spec.rb +16 -26
- data/spec/models/{batch_spec.rb → export_accounting_batch_request_spec.rb} +22 -58
- data/spec/models/external_expense_type_integration_reference_spec.rb +49 -0
- data/spec/models/external_integration_status_reference_spec.rb +49 -0
- data/spec/models/external_work_type_integration_reference_spec.rb +49 -0
- data/spec/models/filter_values_spec.rb +16 -26
- data/spec/models/forecast_spec.rb +16 -26
- data/spec/models/form_submitted_spec.rb +4 -26
- data/spec/models/generic_id_identifier_reference_spec.rb +10 -26
- data/spec/models/gl_export_adjustment_transaction_detail_spec.rb +91 -0
- data/spec/models/gl_export_adjustment_transaction_spec.rb +79 -0
- data/spec/models/gl_export_customer_spec.rb +193 -0
- data/spec/models/gl_export_expense_bill_detail_spec.rb +97 -0
- data/spec/models/gl_export_expense_bill_spec.rb +97 -0
- data/spec/models/gl_export_expense_offset_spec.rb +85 -0
- data/spec/models/gl_export_expense_spec.rb +145 -0
- data/spec/models/gl_export_inventory_transfer_offset_spec.rb +79 -0
- data/spec/models/gl_export_inventory_transfer_spec.rb +277 -0
- data/spec/models/gl_export_purchase_transaction_detail_spec.rb +289 -0
- data/spec/models/gl_export_purchase_transaction_detail_tax_spec.rb +283 -0
- data/spec/models/gl_export_purchase_transaction_spec.rb +283 -0
- data/spec/models/gl_export_settings_spec.rb +25 -0
- data/spec/models/gl_export_spec.rb +79 -0
- data/spec/models/gl_export_transaction_detail_spec.rb +325 -0
- data/spec/models/{transaction_spec.rb → gl_export_transaction_spec.rb} +63 -99
- data/spec/models/gl_export_vendor_spec.rb +85 -0
- data/spec/models/group_reference_spec.rb +4 -26
- data/spec/models/group_spec.rb +4 -26
- data/spec/models/guid_spec.rb +4 -26
- data/spec/models/holiday_list_reference_spec.rb +43 -0
- data/spec/models/holiday_list_spec.rb +43 -0
- data/spec/models/holiday_spec.rb +67 -0
- data/spec/models/imap_setup_reference_spec.rb +43 -0
- data/spec/models/imap_spec.rb +91 -0
- data/spec/models/impact_spec.rb +55 -0
- data/spec/models/import_mass_maintenance_spec.rb +49 -0
- data/spec/models/in_out_board_spec.rb +61 -0
- data/spec/models/in_out_type_reference_spec.rb +43 -0
- data/spec/models/in_out_type_spec.rb +43 -0
- data/spec/models/info_spec.rb +4 -26
- data/spec/models/integrator_login_reference_spec.rb +43 -0
- data/spec/models/integrator_login_spec.rb +22 -26
- data/spec/models/invoice_email_template_spec.rb +97 -0
- data/spec/models/invoice_reference_spec.rb +4 -26
- data/spec/models/invoice_spec.rb +16 -26
- data/spec/models/invoice_template_reference_spec.rb +43 -0
- data/spec/models/invoice_template_setup_spec.rb +49 -0
- data/spec/models/invoice_template_spec.rb +413 -0
- data/spec/models/iv_item_reference_spec.rb +4 -26
- data/spec/models/j_array_spec.rb +25 -0
- data/spec/models/j_object_spec.rb +4 -26
- data/spec/models/knowledge_base_article_spec.rb +5 -27
- data/spec/models/knowledgebase_article_spec.rb +37 -0
- data/spec/models/kpi_category_reference_spec.rb +43 -0
- data/spec/models/kpi_category_spec.rb +43 -0
- data/spec/models/kpi_reference_spec.rb +43 -0
- data/spec/models/kpi_spec.rb +61 -0
- data/spec/models/ldap_configuration_reference_spec.rb +49 -0
- data/spec/models/ldap_configuration_spec.rb +55 -0
- data/spec/models/legacy_sub_category_spec.rb +49 -0
- data/spec/models/link_clicked_spec.rb +4 -26
- data/spec/models/link_spec.rb +14 -26
- data/spec/models/location_department_spec.rb +49 -0
- data/spec/models/location_spec.rb +126 -32
- data/spec/models/location_work_role_spec.rb +55 -0
- data/spec/models/managed_devices_integration_cross_reference_spec.rb +79 -0
- data/spec/models/managed_devices_integration_login_spec.rb +61 -0
- data/spec/models/managed_devices_integration_notification_spec.rb +65 -0
- data/spec/models/managed_devices_integration_reference_spec.rb +43 -0
- data/spec/models/managed_devices_integration_spec.rb +129 -0
- data/spec/models/management_backup_spec.rb +59 -0
- data/spec/models/management_email_spec.rb +77 -0
- data/spec/models/management_it_solution_agreement_interface_parameter_spec.rb +67 -0
- data/spec/models/management_it_solution_spec.rb +161 -0
- data/spec/models/management_log_document_info_spec.rb +25 -0
- data/spec/models/management_network_security_spec.rb +61 -0
- data/spec/models/management_report_notification_spec.rb +55 -0
- data/spec/models/management_solution_reference_spec.rb +4 -26
- data/spec/models/management_spec.rb +85 -0
- data/spec/models/manufacturer_reference_spec.rb +4 -26
- data/spec/models/manufacturer_spec.rb +4 -26
- data/spec/models/market_description_spec.rb +43 -0
- data/spec/models/marketing_company_spec.rb +4 -26
- data/spec/models/marketing_contact_spec.rb +4 -26
- data/spec/models/member_accrual_spec.rb +71 -0
- data/spec/models/member_certification_spec.rb +85 -0
- data/spec/models/member_deactivation_spec.rb +151 -0
- data/spec/models/member_delegation_spec.rb +71 -0
- data/spec/models/member_reference_spec.rb +4 -26
- data/spec/models/member_skill_spec.rb +77 -0
- data/spec/models/member_spec.rb +252 -112
- data/spec/models/member_type_reference_spec.rb +4 -26
- data/spec/models/menu_entry_location_spec.rb +49 -0
- data/spec/models/menu_entry_spec.rb +16 -26
- data/spec/models/menu_location_reference_spec.rb +4 -26
- data/spec/models/metadata_spec.rb +4 -26
- data/spec/models/my_company_controller_role_spec.rb +37 -0
- data/spec/models/my_company_coo_role_spec.rb +37 -0
- data/spec/models/my_company_dispatch_role_spec.rb +37 -0
- data/spec/models/my_company_duty_manager_role_spec.rb +37 -0
- data/spec/models/my_company_president_role_spec.rb +37 -0
- data/spec/models/my_company_service_manager_role_spec.rb +37 -0
- data/spec/models/note_type_reference_spec.rb +4 -26
- data/spec/models/note_type_spec.rb +61 -0
- data/spec/models/notification_recipient_reference_spec.rb +49 -0
- data/spec/models/notification_recipient_spec.rb +121 -0
- data/spec/models/notify_type_reference_spec.rb +49 -0
- data/spec/models/opportunity_contact_spec.rb +4 -26
- data/spec/models/opportunity_note_spec.rb +4 -26
- data/spec/models/opportunity_priority_reference_spec.rb +4 -26
- data/spec/models/opportunity_probability_reference_spec.rb +4 -26
- data/spec/models/opportunity_rating_reference_spec.rb +4 -26
- data/spec/models/opportunity_rating_spec.rb +4 -26
- data/spec/models/opportunity_reference_spec.rb +4 -26
- data/spec/models/opportunity_sales_role_reference_spec.rb +4 -26
- data/spec/models/opportunity_spec.rb +34 -26
- data/spec/models/opportunity_stage_reference_spec.rb +4 -26
- data/spec/models/opportunity_stage_spec.rb +61 -0
- data/spec/models/opportunity_status_reference_spec.rb +4 -26
- data/spec/models/opportunity_status_spec.rb +4 -26
- data/spec/models/opportunity_to_agreement_conversion_spec.rb +10 -26
- data/spec/models/opportunity_to_project_conversion_spec.rb +4 -26
- data/spec/models/opportunity_to_sales_order_conversion_spec.rb +4 -26
- data/spec/models/opportunity_to_service_ticket_conversion_spec.rb +4 -26
- data/spec/models/opportunity_type_reference_spec.rb +4 -26
- data/spec/models/opportunity_type_spec.rb +4 -26
- data/spec/models/order_spec.rb +10 -26
- data/spec/models/order_status_email_template_reference_spec.rb +43 -0
- data/spec/models/order_status_email_template_spec.rb +85 -0
- data/spec/models/order_status_notification_spec.rb +67 -0
- data/spec/models/order_status_reference_spec.rb +4 -26
- data/spec/models/order_status_spec.rb +10 -26
- data/spec/models/other_spec.rb +131 -0
- data/spec/models/ownership_type_reference_spec.rb +4 -26
- data/spec/models/ownership_type_spec.rb +43 -0
- data/spec/models/parsing_type_spec.rb +55 -0
- data/spec/models/parsing_variable_spec.rb +49 -0
- data/spec/models/patch_operation_spec.rb +4 -26
- data/spec/models/payment_method_reference_spec.rb +4 -26
- data/spec/models/payment_spec.rb +4 -26
- data/spec/models/payment_type_spec.rb +61 -0
- data/spec/models/phase_status_reference_spec.rb +4 -26
- data/spec/models/portal_calendar_spec.rb +101 -0
- data/spec/models/portal_configuration_invoice_setup_spec.rb +107 -0
- data/spec/models/portal_configuration_opportunity_setup_spec.rb +259 -0
- data/spec/models/portal_configuration_password_email_setup_spec.rb +109 -0
- data/spec/models/portal_configuration_project_setup_spec.rb +299 -0
- data/spec/models/portal_configuration_reference_spec.rb +43 -0
- data/spec/models/portal_configuration_service_setup_spec.rb +161 -0
- data/spec/models/portal_configuration_spec.rb +137 -0
- data/spec/models/portal_report_spec.rb +73 -0
- data/spec/models/portal_security_level_spec.rb +55 -0
- data/spec/models/portal_security_spec.rb +64 -26
- data/spec/models/pricing_break_spec.rb +10 -26
- data/spec/models/pricing_detail_spec.rb +10 -26
- data/spec/models/pricing_schedule_reference_spec.rb +43 -0
- data/spec/models/pricing_schedule_spec.rb +10 -26
- data/spec/models/priority_reference_spec.rb +4 -26
- data/spec/models/priority_spec.rb +4 -26
- data/spec/models/product_category_reference_spec.rb +4 -26
- data/spec/models/product_component_spec.rb +4 -26
- data/spec/models/product_item_reference_spec.rb +4 -26
- data/spec/models/product_item_spec.rb +16 -26
- data/spec/models/product_picking_shipping_detail_spec.rb +4 -26
- data/spec/models/product_recurring_spec.rb +4 -26
- data/spec/models/product_reference_spec.rb +4 -26
- data/spec/models/product_sub_category_reference_spec.rb +4 -26
- data/spec/models/product_type_exemption_spec.rb +79 -0
- data/spec/models/product_type_reference_spec.rb +4 -26
- data/spec/models/product_type_spec.rb +4 -26
- data/spec/models/project_board_reference_spec.rb +4 -26
- data/spec/models/project_contact_spec.rb +4 -26
- data/spec/models/project_manager_spec.rb +37 -0
- data/spec/models/project_note_spec.rb +4 -26
- data/spec/models/project_phase_reference_spec.rb +4 -26
- data/spec/models/project_phase_spec.rb +124 -26
- data/spec/models/project_reference_spec.rb +4 -26
- data/spec/models/project_role_reference_spec.rb +4 -26
- data/spec/models/project_security_role_setting_spec.rb +89 -0
- data/spec/models/project_security_role_spec.rb +55 -0
- data/spec/models/project_spec.rb +46 -26
- data/spec/models/project_status_reference_spec.rb +4 -26
- data/spec/models/project_status_spec.rb +67 -0
- data/spec/models/{project_team_member_spec.rb → project_teammember_spec.rb} +6 -28
- data/spec/models/project_type_reference_spec.rb +4 -26
- data/spec/models/project_type_spec.rb +61 -0
- data/spec/models/purchase_order_line_item_spec.rb +10 -26
- data/spec/models/purchase_order_reference_spec.rb +4 -26
- data/spec/models/purchase_order_spec.rb +10 -26
- data/spec/models/purchase_order_status_email_template_reference_spec.rb +43 -0
- data/spec/models/purchase_order_status_email_template_spec.rb +85 -0
- data/spec/models/purchase_order_status_notification_spec.rb +67 -0
- data/spec/models/purchase_order_status_reference_spec.rb +4 -26
- data/spec/models/purchase_order_status_spec.rb +79 -0
- data/spec/models/purchasing_spec.rb +129 -0
- data/spec/models/relationship_reference_spec.rb +4 -26
- data/spec/models/reminder_reference_spec.rb +4 -26
- data/spec/models/report_card_detail_spec.rb +55 -0
- data/spec/models/report_card_reference_spec.rb +43 -0
- data/spec/models/report_card_spec.rb +43 -0
- data/spec/models/report_data_response_spec.rb +4 -26
- data/spec/models/report_spec.rb +4 -26
- data/spec/models/reporting_service_spec.rb +61 -0
- data/spec/models/request_password_request_spec.rb +4 -26
- data/spec/models/rma_action_spec.rb +49 -0
- data/spec/models/rma_disposition_spec.rb +49 -0
- data/spec/models/rma_status_email_template_reference_spec.rb +43 -0
- data/spec/models/rma_status_email_template_spec.rb +85 -0
- data/spec/models/rma_status_notification_spec.rb +67 -0
- data/spec/models/rma_status_reference_spec.rb +43 -0
- data/spec/models/rma_status_spec.rb +67 -0
- data/spec/models/role_spec.rb +43 -0
- data/spec/models/sales_activity_spec.rb +37 -0
- data/spec/models/sales_probability_spec.rb +43 -0
- data/spec/models/sales_quota_spec.rb +223 -0
- data/spec/models/sales_team_member_spec.rb +61 -0
- data/spec/models/sales_team_reference_spec.rb +4 -26
- data/spec/models/sales_team_spec.rb +61 -0
- data/spec/models/schedule_color_spec.rb +55 -0
- data/spec/models/schedule_detail_spec.rb +61 -0
- data/spec/models/schedule_entry_reference_spec.rb +4 -26
- data/spec/models/schedule_entry_spec.rb +10 -26
- data/spec/models/schedule_reminder_time_spec.rb +55 -0
- data/spec/models/schedule_span_reference_spec.rb +4 -26
- data/spec/models/schedule_status_reference_spec.rb +4 -26
- data/spec/models/schedule_status_spec.rb +4 -26
- data/spec/models/schedule_stopwatch_spec.rb +147 -0
- data/spec/models/schedule_type_reference_spec.rb +4 -26
- data/spec/models/schedule_type_spec.rb +4 -26
- data/spec/models/security_role_reference_spec.rb +4 -26
- data/spec/models/security_role_setting_spec.rb +143 -0
- data/spec/models/security_role_spec.rb +55 -0
- data/spec/models/service_code_reference_spec.rb +4 -26
- data/spec/models/service_email_template_reference_spec.rb +49 -0
- data/spec/models/service_email_template_spec.rb +131 -0
- data/spec/models/service_item_reference_spec.rb +4 -26
- data/spec/models/service_location_reference_spec.rb +4 -26
- data/spec/models/service_location_spec.rb +59 -0
- data/spec/models/service_manger_spec.rb +37 -0
- data/spec/models/service_note_spec.rb +4 -26
- data/spec/models/service_signoff_reference_spec.rb +4 -26
- data/spec/models/service_signoff_spec.rb +371 -0
- data/spec/models/service_source_reference_spec.rb +4 -26
- data/spec/models/service_spec.rb +123 -0
- data/spec/models/service_status_reference_spec.rb +4 -26
- data/spec/models/service_sub_type_reference_spec.rb +4 -26
- data/spec/models/service_survey_question_option_spec.rb +43 -0
- data/spec/models/service_survey_question_spec.rb +89 -0
- data/spec/models/service_survey_reference_spec.rb +43 -0
- data/spec/models/service_survey_spec.rb +103 -0
- data/spec/models/service_team_reference_spec.rb +4 -26
- data/spec/models/service_team_spec.rb +79 -0
- data/spec/models/service_template_reference_spec.rb +49 -0
- data/spec/models/service_template_spec.rb +337 -0
- data/spec/models/service_type_reference_spec.rb +4 -26
- data/spec/models/setup_screen_spec.rb +73 -0
- data/spec/models/severity_spec.rb +55 -0
- data/spec/models/shipment_method_reference_spec.rb +4 -26
- data/spec/models/shipment_method_spec.rb +4 -26
- data/spec/models/sic_code_reference_spec.rb +4 -26
- data/spec/models/site_reference_spec.rb +4 -26
- data/spec/models/skill_category_reference_spec.rb +43 -0
- data/spec/models/skill_category_spec.rb +43 -0
- data/spec/models/skill_reference_spec.rb +43 -0
- data/spec/models/skill_spec.rb +49 -0
- data/spec/models/sla_priority_spec.rb +85 -0
- data/spec/models/sla_reference_spec.rb +4 -26
- data/spec/models/sla_spec.rb +161 -0
- data/spec/models/source_spec.rb +4 -26
- data/spec/models/state_reference_spec.rb +49 -0
- data/spec/models/state_spec.rb +55 -0
- data/spec/models/status_external_integration_reference_spec.rb +49 -0
- data/spec/models/status_workflow_spec.rb +37 -0
- data/spec/models/structure_reference_spec.rb +43 -0
- data/spec/models/sub_category_spec.rb +16 -26
- data/spec/models/success_response_spec.rb +4 -26
- data/spec/models/survey_option_spec.rb +55 -0
- data/spec/models/survey_question_reference_spec.rb +43 -0
- data/spec/models/survey_question_spec.rb +18 -36
- data/spec/models/survey_question_value_spec.rb +73 -0
- data/spec/models/survey_reference_spec.rb +43 -0
- data/spec/models/survey_result_detail_spec.rb +4 -26
- data/spec/models/survey_result_spec.rb +4 -26
- data/spec/models/survey_spec.rb +6 -76
- data/spec/models/system_department_reference_spec.rb +49 -0
- data/spec/models/system_location_reference_spec.rb +43 -0
- data/spec/models/system_menu_entry_reference_spec.rb +43 -0
- data/spec/models/task_spec.rb +4 -26
- data/spec/models/tax_code_reference_spec.rb +4 -26
- data/spec/models/tax_code_spec.rb +525 -0
- data/spec/models/tax_code_x_ref_spec.rb +105 -0
- data/spec/models/tax_integration_spec.rb +131 -0
- data/spec/models/team_member_spec.rb +61 -0
- data/spec/models/team_role_reference_spec.rb +4 -26
- data/spec/models/team_role_spec.rb +43 -0
- data/spec/models/team_spec.rb +4 -74
- data/spec/models/ticket_merge_spec.rb +37 -0
- data/spec/models/ticket_reference_spec.rb +4 -26
- data/spec/models/ticket_spec.rb +16 -26
- data/spec/models/ticket_stopwatch_spec.rb +183 -0
- data/spec/models/ticket_sync_spec.rb +107 -0
- data/spec/models/time_accrual_detail_spec.rb +71 -0
- data/spec/models/time_accrual_reference_spec.rb +43 -0
- data/spec/models/time_accrual_spec.rb +155 -0
- data/spec/models/time_entry_reference_spec.rb +4 -26
- data/spec/models/time_entry_spec.rb +38 -26
- data/spec/models/time_expense_spec.rb +85 -0
- data/spec/models/time_period_setup_defaults_spec.rb +25 -0
- data/spec/models/time_period_setup_reference_spec.rb +37 -0
- data/spec/models/time_period_setup_spec.rb +117 -0
- data/spec/models/time_period_spec.rb +67 -0
- data/spec/models/time_sheet_reference_spec.rb +43 -0
- data/spec/models/time_sheet_spec.rb +89 -0
- data/spec/models/time_zone_reference_spec.rb +4 -26
- data/spec/models/time_zone_setup_reference_spec.rb +43 -0
- data/spec/models/time_zone_setup_spec.rb +67 -0
- data/spec/models/time_zone_spec.rb +67 -0
- data/spec/models/today_page_category_spec.rb +55 -0
- data/spec/models/token_spec.rb +4 -26
- data/spec/models/track_action_spec.rb +149 -0
- data/spec/models/track_reference_spec.rb +4 -26
- data/spec/models/track_spec.rb +16 -26
- data/spec/models/type_spec.rb +5 -67
- data/spec/models/unit_of_measure_reference_spec.rb +4 -26
- data/spec/models/unit_of_measure_spec.rb +4 -26
- data/spec/models/unposted_expense_spec.rb +4 -26
- data/spec/models/unposted_invoice_spec.rb +4 -26
- data/spec/models/unposted_procurement_spec.rb +4 -26
- data/spec/models/user_defined_field_option_spec.rb +4 -26
- data/spec/models/user_defined_field_reference_spec.rb +43 -0
- data/spec/models/user_defined_field_spec.rb +5 -27
- data/spec/models/validate_portal_request_spec.rb +4 -26
- data/spec/models/validate_portal_response_spec.rb +4 -26
- data/spec/models/validation_error_spec.rb +10 -26
- data/spec/models/warehouse_bin_reference_spec.rb +4 -26
- data/spec/models/warehouse_bin_spec.rb +127 -0
- data/spec/models/warehouse_reference_spec.rb +4 -26
- data/spec/models/warehouse_spec.rb +103 -0
- data/spec/models/work_role_exemption_spec.rb +79 -0
- data/spec/models/work_role_location_spec.rb +55 -0
- data/spec/models/work_role_reference_spec.rb +4 -26
- data/spec/models/work_role_spec.rb +85 -0
- data/spec/models/work_type_external_integration_reference_spec.rb +49 -0
- data/spec/models/work_type_reference_spec.rb +4 -26
- data/spec/models/work_type_spec.rb +145 -0
- data/spec/models/workflow_action_automate_parameter_spec.rb +43 -0
- data/spec/models/workflow_action_spec.rb +229 -0
- data/spec/models/workflow_event_spec.rb +81 -0
- data/spec/models/workflow_notify_type_spec.rb +55 -0
- data/spec/models/workflow_spec.rb +105 -0
- data/spec/models/workflow_table_type_reference_spec.rb +49 -0
- data/spec/models/workflow_table_type_spec.rb +49 -0
- data/spec/models/workflow_trigger_option_spec.rb +49 -0
- data/spec/models/workflow_trigger_spec.rb +73 -0
- data/spec/spec_helper.rb +0 -37
- metadata +2255 -386
- data/LICENSE +0 -201
- data/docs/AccountingBatchTransactionsApi.md +0 -184
- data/docs/AuditTrailEntryInsertRequest.md +0 -9
- data/docs/Batch.md +0 -24
- data/docs/Item.md +0 -16
- data/docs/Transaction.md +0 -67
- data/docs/TypeAssociations.md +0 -9
- data/lib/connectwise-ruby-sdk/api/accounting_batch_transactions_api.rb +0 -224
- data/lib/connectwise-ruby-sdk/models/transaction.rb +0 -782
- data/spec/api/accounting_batch_transactions_api_spec.rb +0 -88
- data/spec/models/audit_trail_entry_insert_request_spec.rb +0 -59
- data/spec/models/audit_trail_objects_spec.rb +0 -63
- data/spec/models/batch_reference_spec.rb +0 -65
- data/spec/models/survey_question_option_spec.rb +0 -65
- data/spec/models/type_associations_spec.rb +0 -59
@@ -0,0 +1,168 @@
|
|
1
|
+
|
2
|
+
require 'date'
|
3
|
+
|
4
|
+
module ConnectWise
|
5
|
+
|
6
|
+
class JArray
|
7
|
+
|
8
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
9
|
+
def self.attribute_map
|
10
|
+
{
|
11
|
+
}
|
12
|
+
end
|
13
|
+
|
14
|
+
# Attribute type mapping.
|
15
|
+
def self.swagger_types
|
16
|
+
{
|
17
|
+
}
|
18
|
+
end
|
19
|
+
|
20
|
+
# Initializes the object
|
21
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
22
|
+
def initialize(attributes = {})
|
23
|
+
return unless attributes.is_a?(Hash)
|
24
|
+
|
25
|
+
# convert string to symbol for hash key
|
26
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
31
|
+
# @return Array for valid properies with the reasons
|
32
|
+
def list_invalid_properties
|
33
|
+
invalid_properties = Array.new
|
34
|
+
return invalid_properties
|
35
|
+
end
|
36
|
+
|
37
|
+
# Check to see if the all the properties in the model are valid
|
38
|
+
# @return true if the model is valid
|
39
|
+
def valid?
|
40
|
+
return true
|
41
|
+
end
|
42
|
+
|
43
|
+
# Checks equality by comparing each attribute.
|
44
|
+
# @param [Object] Object to be compared
|
45
|
+
def ==(o)
|
46
|
+
return true if self.equal?(o)
|
47
|
+
self.class == o.class
|
48
|
+
end
|
49
|
+
|
50
|
+
# @see the `==` method
|
51
|
+
# @param [Object] Object to be compared
|
52
|
+
def eql?(o)
|
53
|
+
self == o
|
54
|
+
end
|
55
|
+
|
56
|
+
# Calculates hash code according to all attributes.
|
57
|
+
# @return [Fixnum] Hash code
|
58
|
+
def hash
|
59
|
+
[].hash
|
60
|
+
end
|
61
|
+
|
62
|
+
# Builds the object from hash
|
63
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
64
|
+
# @return [Object] Returns the model itself
|
65
|
+
def build_from_hash(attributes)
|
66
|
+
return nil unless attributes.is_a?(Hash)
|
67
|
+
self.class.swagger_types.each_pair do |key, type|
|
68
|
+
if type =~ /\AArray<(.*)>/i
|
69
|
+
# check to ensure the input is an array given that the the attribute
|
70
|
+
# is documented as an array but the input is not
|
71
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
72
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
73
|
+
end
|
74
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
75
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
76
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
77
|
+
end
|
78
|
+
|
79
|
+
self
|
80
|
+
end
|
81
|
+
|
82
|
+
# Deserializes the data based on type
|
83
|
+
# @param string type Data type
|
84
|
+
# @param string value Value to be deserialized
|
85
|
+
# @return [Object] Deserialized data
|
86
|
+
def _deserialize(type, value)
|
87
|
+
case type.to_sym
|
88
|
+
when :DateTime
|
89
|
+
DateTime.parse(value)
|
90
|
+
when :Date
|
91
|
+
Date.parse(value)
|
92
|
+
when :String
|
93
|
+
value.to_s
|
94
|
+
when :Integer
|
95
|
+
value.to_i
|
96
|
+
when :Float
|
97
|
+
value.to_f
|
98
|
+
when :BOOLEAN
|
99
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
100
|
+
true
|
101
|
+
else
|
102
|
+
false
|
103
|
+
end
|
104
|
+
when :Object
|
105
|
+
# generic object (usually a Hash), return directly
|
106
|
+
value
|
107
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
108
|
+
inner_type = Regexp.last_match[:inner_type]
|
109
|
+
value.map { |v| _deserialize(inner_type, v) }
|
110
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
111
|
+
k_type = Regexp.last_match[:k_type]
|
112
|
+
v_type = Regexp.last_match[:v_type]
|
113
|
+
{}.tap do |hash|
|
114
|
+
value.each do |k, v|
|
115
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
else # model
|
119
|
+
temp_model = ConnectWise.const_get(type).new
|
120
|
+
temp_model.build_from_hash(value)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
# Returns the string representation of the object
|
125
|
+
# @return [String] String presentation of the object
|
126
|
+
def to_s
|
127
|
+
to_hash.to_s
|
128
|
+
end
|
129
|
+
|
130
|
+
# to_body is an alias to to_hash (backward compatibility)
|
131
|
+
# @return [Hash] Returns the object in the form of hash
|
132
|
+
def to_body
|
133
|
+
to_hash
|
134
|
+
end
|
135
|
+
|
136
|
+
# Returns the object in the form of hash
|
137
|
+
# @return [Hash] Returns the object in the form of hash
|
138
|
+
def to_hash
|
139
|
+
hash = {}
|
140
|
+
self.class.attribute_map.each_pair do |attr, param|
|
141
|
+
value = self.send(attr)
|
142
|
+
next if value.nil?
|
143
|
+
hash[param] = _to_hash(value)
|
144
|
+
end
|
145
|
+
hash
|
146
|
+
end
|
147
|
+
|
148
|
+
# Outputs non-array value in the form of hash
|
149
|
+
# For object, use to_hash. Otherwise, just return the value
|
150
|
+
# @param [Object] value Any valid value
|
151
|
+
# @return [Hash] Returns the value in the form of hash
|
152
|
+
def _to_hash(value)
|
153
|
+
if value.is_a?(Array)
|
154
|
+
value.compact.map{ |v| _to_hash(v) }
|
155
|
+
elsif value.is_a?(Hash)
|
156
|
+
{}.tap do |hash|
|
157
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
158
|
+
end
|
159
|
+
elsif value.respond_to? :to_hash
|
160
|
+
value.to_hash
|
161
|
+
else
|
162
|
+
value
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
end
|
167
|
+
|
168
|
+
end
|
@@ -1,29 +1,7 @@
|
|
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
1
|
|
24
2
|
require 'date'
|
25
3
|
|
26
|
-
module
|
4
|
+
module ConnectWise
|
27
5
|
|
28
6
|
class JObject
|
29
7
|
|
@@ -87,7 +65,7 @@ module Connectwise
|
|
87
65
|
def build_from_hash(attributes)
|
88
66
|
return nil unless attributes.is_a?(Hash)
|
89
67
|
self.class.swagger_types.each_pair do |key, type|
|
90
|
-
if type =~
|
68
|
+
if type =~ /\AArray<(.*)>/i
|
91
69
|
# check to ensure the input is an array given that the the attribute
|
92
70
|
# is documented as an array but the input is not
|
93
71
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
@@ -118,7 +96,7 @@ module Connectwise
|
|
118
96
|
when :Float
|
119
97
|
value.to_f
|
120
98
|
when :BOOLEAN
|
121
|
-
if value.to_s =~
|
99
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
122
100
|
true
|
123
101
|
else
|
124
102
|
false
|
@@ -129,7 +107,7 @@ module Connectwise
|
|
129
107
|
when /\AArray<(?<inner_type>.+)>\z/
|
130
108
|
inner_type = Regexp.last_match[:inner_type]
|
131
109
|
value.map { |v| _deserialize(inner_type, v) }
|
132
|
-
when /\AHash<(?<k_type
|
110
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
133
111
|
k_type = Regexp.last_match[:k_type]
|
134
112
|
v_type = Regexp.last_match[:v_type]
|
135
113
|
{}.tap do |hash|
|
@@ -138,7 +116,7 @@ module Connectwise
|
|
138
116
|
end
|
139
117
|
end
|
140
118
|
else # model
|
141
|
-
temp_model =
|
119
|
+
temp_model = ConnectWise.const_get(type).new
|
142
120
|
temp_model.build_from_hash(value)
|
143
121
|
end
|
144
122
|
end
|
@@ -1,29 +1,7 @@
|
|
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
1
|
|
24
2
|
require 'date'
|
25
3
|
|
26
|
-
module
|
4
|
+
module ConnectWise
|
27
5
|
|
28
6
|
class KnowledgeBaseArticle
|
29
7
|
attr_accessor :id
|
@@ -38,7 +16,7 @@ module Connectwise
|
|
38
16
|
|
39
17
|
attr_accessor :business_unit_id
|
40
18
|
|
41
|
-
attr_accessor :
|
19
|
+
attr_accessor :board
|
42
20
|
|
43
21
|
attr_accessor :category_id
|
44
22
|
|
@@ -61,7 +39,7 @@ module Connectwise
|
|
61
39
|
:'resolution' => :'resolution',
|
62
40
|
:'location_id' => :'locationId',
|
63
41
|
:'business_unit_id' => :'businessUnitId',
|
64
|
-
:'
|
42
|
+
:'board' => :'board',
|
65
43
|
:'category_id' => :'categoryId',
|
66
44
|
:'sub_category_id' => :'subCategoryId',
|
67
45
|
:'date_created' => :'dateCreated',
|
@@ -79,7 +57,7 @@ module Connectwise
|
|
79
57
|
:'resolution' => :'String',
|
80
58
|
:'location_id' => :'Integer',
|
81
59
|
:'business_unit_id' => :'Integer',
|
82
|
-
:'
|
60
|
+
:'board' => :'BoardReference',
|
83
61
|
:'category_id' => :'Integer',
|
84
62
|
:'sub_category_id' => :'Integer',
|
85
63
|
:'date_created' => :'String',
|
@@ -120,8 +98,8 @@ module Connectwise
|
|
120
98
|
self.business_unit_id = attributes[:'businessUnitId']
|
121
99
|
end
|
122
100
|
|
123
|
-
if attributes.has_key?(:'
|
124
|
-
self.
|
101
|
+
if attributes.has_key?(:'board')
|
102
|
+
self.board = attributes[:'board']
|
125
103
|
end
|
126
104
|
|
127
105
|
if attributes.has_key?(:'categoryId')
|
@@ -150,6 +128,18 @@ module Connectwise
|
|
150
128
|
# @return Array for valid properies with the reasons
|
151
129
|
def list_invalid_properties
|
152
130
|
invalid_properties = Array.new
|
131
|
+
if @title.nil?
|
132
|
+
invalid_properties.push("invalid value for 'title', title cannot be nil.")
|
133
|
+
end
|
134
|
+
|
135
|
+
if @issue.nil?
|
136
|
+
invalid_properties.push("invalid value for 'issue', issue cannot be nil.")
|
137
|
+
end
|
138
|
+
|
139
|
+
if @resolution.nil?
|
140
|
+
invalid_properties.push("invalid value for 'resolution', resolution cannot be nil.")
|
141
|
+
end
|
142
|
+
|
153
143
|
return invalid_properties
|
154
144
|
end
|
155
145
|
|
@@ -173,7 +163,7 @@ module Connectwise
|
|
173
163
|
resolution == o.resolution &&
|
174
164
|
location_id == o.location_id &&
|
175
165
|
business_unit_id == o.business_unit_id &&
|
176
|
-
|
166
|
+
board == o.board &&
|
177
167
|
category_id == o.category_id &&
|
178
168
|
sub_category_id == o.sub_category_id &&
|
179
169
|
date_created == o.date_created &&
|
@@ -190,7 +180,7 @@ module Connectwise
|
|
190
180
|
# Calculates hash code according to all attributes.
|
191
181
|
# @return [Fixnum] Hash code
|
192
182
|
def hash
|
193
|
-
[id, title, issue, resolution, location_id, business_unit_id,
|
183
|
+
[id, title, issue, resolution, location_id, business_unit_id, board, category_id, sub_category_id, date_created, created_by, _info].hash
|
194
184
|
end
|
195
185
|
|
196
186
|
# Builds the object from hash
|
@@ -199,7 +189,7 @@ module Connectwise
|
|
199
189
|
def build_from_hash(attributes)
|
200
190
|
return nil unless attributes.is_a?(Hash)
|
201
191
|
self.class.swagger_types.each_pair do |key, type|
|
202
|
-
if type =~
|
192
|
+
if type =~ /\AArray<(.*)>/i
|
203
193
|
# check to ensure the input is an array given that the the attribute
|
204
194
|
# is documented as an array but the input is not
|
205
195
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
@@ -230,7 +220,7 @@ module Connectwise
|
|
230
220
|
when :Float
|
231
221
|
value.to_f
|
232
222
|
when :BOOLEAN
|
233
|
-
if value.to_s =~
|
223
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
234
224
|
true
|
235
225
|
else
|
236
226
|
false
|
@@ -241,7 +231,7 @@ module Connectwise
|
|
241
231
|
when /\AArray<(?<inner_type>.+)>\z/
|
242
232
|
inner_type = Regexp.last_match[:inner_type]
|
243
233
|
value.map { |v| _deserialize(inner_type, v) }
|
244
|
-
when /\AHash<(?<k_type
|
234
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
245
235
|
k_type = Regexp.last_match[:k_type]
|
246
236
|
v_type = Regexp.last_match[:v_type]
|
247
237
|
{}.tap do |hash|
|
@@ -250,7 +240,7 @@ module Connectwise
|
|
250
240
|
end
|
251
241
|
end
|
252
242
|
else # model
|
253
|
-
temp_model =
|
243
|
+
temp_model = ConnectWise.const_get(type).new
|
254
244
|
temp_model.build_from_hash(value)
|
255
245
|
end
|
256
246
|
end
|
@@ -0,0 +1,186 @@
|
|
1
|
+
|
2
|
+
require 'date'
|
3
|
+
|
4
|
+
module ConnectWise
|
5
|
+
# A list of knowledge base articles that the member is the approver
|
6
|
+
class KnowledgebaseArticle
|
7
|
+
attr_accessor :count
|
8
|
+
|
9
|
+
attr_accessor :re_assign_to_member
|
10
|
+
|
11
|
+
|
12
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
13
|
+
def self.attribute_map
|
14
|
+
{
|
15
|
+
:'count' => :'count',
|
16
|
+
:'re_assign_to_member' => :'reAssignToMember'
|
17
|
+
}
|
18
|
+
end
|
19
|
+
|
20
|
+
# Attribute type mapping.
|
21
|
+
def self.swagger_types
|
22
|
+
{
|
23
|
+
:'count' => :'Integer',
|
24
|
+
:'re_assign_to_member' => :'MemberReference'
|
25
|
+
}
|
26
|
+
end
|
27
|
+
|
28
|
+
# Initializes the object
|
29
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
30
|
+
def initialize(attributes = {})
|
31
|
+
return unless attributes.is_a?(Hash)
|
32
|
+
|
33
|
+
# convert string to symbol for hash key
|
34
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
35
|
+
|
36
|
+
if attributes.has_key?(:'count')
|
37
|
+
self.count = attributes[:'count']
|
38
|
+
end
|
39
|
+
|
40
|
+
if attributes.has_key?(:'reAssignToMember')
|
41
|
+
self.re_assign_to_member = attributes[:'reAssignToMember']
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
|
46
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
47
|
+
# @return Array for valid properies with the reasons
|
48
|
+
def list_invalid_properties
|
49
|
+
invalid_properties = Array.new
|
50
|
+
return invalid_properties
|
51
|
+
end
|
52
|
+
|
53
|
+
# Check to see if the all the properties in the model are valid
|
54
|
+
# @return true if the model is valid
|
55
|
+
def valid?
|
56
|
+
return true
|
57
|
+
end
|
58
|
+
|
59
|
+
# Checks equality by comparing each attribute.
|
60
|
+
# @param [Object] Object to be compared
|
61
|
+
def ==(o)
|
62
|
+
return true if self.equal?(o)
|
63
|
+
self.class == o.class &&
|
64
|
+
count == o.count &&
|
65
|
+
re_assign_to_member == o.re_assign_to_member
|
66
|
+
end
|
67
|
+
|
68
|
+
# @see the `==` method
|
69
|
+
# @param [Object] Object to be compared
|
70
|
+
def eql?(o)
|
71
|
+
self == o
|
72
|
+
end
|
73
|
+
|
74
|
+
# Calculates hash code according to all attributes.
|
75
|
+
# @return [Fixnum] Hash code
|
76
|
+
def hash
|
77
|
+
[count, re_assign_to_member].hash
|
78
|
+
end
|
79
|
+
|
80
|
+
# Builds the object from hash
|
81
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
82
|
+
# @return [Object] Returns the model itself
|
83
|
+
def build_from_hash(attributes)
|
84
|
+
return nil unless attributes.is_a?(Hash)
|
85
|
+
self.class.swagger_types.each_pair do |key, type|
|
86
|
+
if type =~ /\AArray<(.*)>/i
|
87
|
+
# check to ensure the input is an array given that the the attribute
|
88
|
+
# is documented as an array but the input is not
|
89
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
90
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
91
|
+
end
|
92
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
93
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
94
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
95
|
+
end
|
96
|
+
|
97
|
+
self
|
98
|
+
end
|
99
|
+
|
100
|
+
# Deserializes the data based on type
|
101
|
+
# @param string type Data type
|
102
|
+
# @param string value Value to be deserialized
|
103
|
+
# @return [Object] Deserialized data
|
104
|
+
def _deserialize(type, value)
|
105
|
+
case type.to_sym
|
106
|
+
when :DateTime
|
107
|
+
DateTime.parse(value)
|
108
|
+
when :Date
|
109
|
+
Date.parse(value)
|
110
|
+
when :String
|
111
|
+
value.to_s
|
112
|
+
when :Integer
|
113
|
+
value.to_i
|
114
|
+
when :Float
|
115
|
+
value.to_f
|
116
|
+
when :BOOLEAN
|
117
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
118
|
+
true
|
119
|
+
else
|
120
|
+
false
|
121
|
+
end
|
122
|
+
when :Object
|
123
|
+
# generic object (usually a Hash), return directly
|
124
|
+
value
|
125
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
126
|
+
inner_type = Regexp.last_match[:inner_type]
|
127
|
+
value.map { |v| _deserialize(inner_type, v) }
|
128
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
129
|
+
k_type = Regexp.last_match[:k_type]
|
130
|
+
v_type = Regexp.last_match[:v_type]
|
131
|
+
{}.tap do |hash|
|
132
|
+
value.each do |k, v|
|
133
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
134
|
+
end
|
135
|
+
end
|
136
|
+
else # model
|
137
|
+
temp_model = ConnectWise.const_get(type).new
|
138
|
+
temp_model.build_from_hash(value)
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
# Returns the string representation of the object
|
143
|
+
# @return [String] String presentation of the object
|
144
|
+
def to_s
|
145
|
+
to_hash.to_s
|
146
|
+
end
|
147
|
+
|
148
|
+
# to_body is an alias to to_hash (backward compatibility)
|
149
|
+
# @return [Hash] Returns the object in the form of hash
|
150
|
+
def to_body
|
151
|
+
to_hash
|
152
|
+
end
|
153
|
+
|
154
|
+
# Returns the object in the form of hash
|
155
|
+
# @return [Hash] Returns the object in the form of hash
|
156
|
+
def to_hash
|
157
|
+
hash = {}
|
158
|
+
self.class.attribute_map.each_pair do |attr, param|
|
159
|
+
value = self.send(attr)
|
160
|
+
next if value.nil?
|
161
|
+
hash[param] = _to_hash(value)
|
162
|
+
end
|
163
|
+
hash
|
164
|
+
end
|
165
|
+
|
166
|
+
# Outputs non-array value in the form of hash
|
167
|
+
# For object, use to_hash. Otherwise, just return the value
|
168
|
+
# @param [Object] value Any valid value
|
169
|
+
# @return [Hash] Returns the value in the form of hash
|
170
|
+
def _to_hash(value)
|
171
|
+
if value.is_a?(Array)
|
172
|
+
value.compact.map{ |v| _to_hash(v) }
|
173
|
+
elsif value.is_a?(Hash)
|
174
|
+
{}.tap do |hash|
|
175
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
176
|
+
end
|
177
|
+
elsif value.respond_to? :to_hash
|
178
|
+
value.to_hash
|
179
|
+
else
|
180
|
+
value
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
end
|
185
|
+
|
186
|
+
end
|