connectwise-ruby-sdk 1.0.3 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +3 -5
- data/README.md +2469 -1084
- 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 +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 +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/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 +59 -57
- data/lib/connectwise-ruby-sdk/api_error.rb +8 -28
- data/lib/connectwise-ruby-sdk/configuration.rb +13 -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 +39 -45
- 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/lib/connectwise-ruby-sdk.rb +485 -40
- data/scripts/Save-ConnectWiseApiSpecs.ps1 +61 -0
- 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 +49 -44
- data/spec/api/accounting_packages_api_spec.rb +65 -0
- data/spec/api/accounting_unposted_expenses_api_spec.rb +16 -36
- data/spec/api/accounting_unposted_procurements_api_spec.rb +16 -36
- data/spec/api/accounting_unpostedinvoices_api_spec.rb +16 -36
- data/spec/api/activities_api_spec.rb +27 -46
- data/spec/api/activity_statuses_api_spec.rb +26 -46
- data/spec/api/activity_stopwatches_api_spec.rb +115 -0
- data/spec/api/activity_types_api_spec.rb +26 -46
- 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 +34 -53
- data/spec/api/agreement_adjustments_api_spec.rb +34 -53
- data/spec/api/agreement_batch_setups_api_spec.rb +91 -0
- data/spec/api/agreement_board_defaults_api_spec.rb +33 -53
- data/spec/api/agreement_sites_api_spec.rb +33 -53
- 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 +26 -46
- data/spec/api/agreement_work_role_exclusions_api_spec.rb +22 -42
- data/spec/api/agreement_work_roles_api_spec.rb +33 -53
- data/spec/api/agreement_work_type_exclusions_api_spec.rb +22 -42
- data/spec/api/agreement_work_types_api_spec.rb +33 -53
- data/spec/api/agreements_api_spec.rb +42 -61
- data/spec/api/audit_trail_api_spec.rb +15 -49
- 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 +28 -48
- data/spec/api/board_item_associations_api_spec.rb +101 -0
- data/spec/api/board_items_api_spec.rb +38 -58
- 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 +38 -58
- data/spec/api/board_sub_types_api_spec.rb +38 -58
- data/spec/api/board_teams_api_spec.rb +38 -58
- data/spec/api/board_type_sub_type_item_associations_api_spec.rb +68 -0
- data/spec/api/board_types_api_spec.rb +38 -71
- data/spec/api/boards_api_spec.rb +38 -46
- data/spec/api/calendars_api_spec.rb +65 -0
- data/spec/api/{callback_entries_api_spec.rb → callbacks_api_spec.rb} +27 -47
- data/spec/api/campaign_audits_api_spec.rb +33 -53
- data/spec/api/campaign_emails_opened_api_spec.rb +33 -53
- data/spec/api/campaign_forms_submitted_api_spec.rb +33 -53
- data/spec/api/campaign_links_clicked_api_spec.rb +33 -53
- data/spec/api/campaign_statuses_api_spec.rb +26 -46
- data/spec/api/campaign_sub_types_api_spec.rb +47 -74
- data/spec/api/campaign_types_api_spec.rb +26 -46
- data/spec/api/campaigns_api_spec.rb +38 -58
- data/spec/api/catalog_components_api_spec.rb +33 -53
- data/spec/api/catalogs_item_api_spec.rb +29 -49
- data/spec/api/categories_api_spec.rb +26 -46
- 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 +26 -46
- data/spec/api/commissions_api_spec.rb +115 -0
- data/spec/api/companies_api_spec.rb +30 -49
- 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 +33 -53
- data/spec/api/company_note_types_api_spec.rb +115 -0
- data/spec/api/company_notes_api_spec.rb +33 -53
- data/spec/api/company_picker_items_api_spec.rb +102 -0
- data/spec/api/company_sites_api_spec.rb +33 -53
- data/spec/api/company_statuses_api_spec.rb +26 -46
- data/spec/api/company_teams_api_spec.rb +33 -53
- data/spec/api/company_types_api_spec.rb +26 -46
- data/spec/api/configuration_statuses_api_spec.rb +26 -46
- data/spec/api/configuration_type_question_values_api_spec.rb +125 -0
- data/spec/api/configuration_type_questions_api_spec.rb +33 -53
- data/spec/api/configuration_types_api_spec.rb +26 -46
- data/spec/api/configurations_api_spec.rb +49 -69
- data/spec/api/connect_wise_hosted_setups_api_spec.rb +26 -46
- data/spec/api/contact_communications_api_spec.rb +33 -53
- data/spec/api/contact_departments_api_spec.rb +26 -46
- data/spec/api/contact_groups_api_spec.rb +122 -0
- data/spec/api/contact_notes_api_spec.rb +33 -53
- data/spec/api/contact_relationships_api_spec.rb +26 -46
- data/spec/api/contact_tracks_api_spec.rb +25 -45
- data/spec/api/contact_types_api_spec.rb +26 -46
- data/spec/api/contacts_api_spec.rb +39 -57
- 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 +26 -46
- 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 +27 -47
- 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 +28 -46
- 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 +26 -46
- data/spec/api/group_companies_api_spec.rb +33 -53
- data/spec/api/group_contacts_api_spec.rb +33 -54
- data/spec/api/groups_api_spec.rb +26 -46
- 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 +6 -28
- 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 +30 -50
- 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 +29 -48
- data/spec/api/knowledge_base_articles_api_spec.rb +27 -46
- 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 +26 -46
- 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 +42 -62
- 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 +26 -46
- 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 +76 -47
- data/spec/api/menu_entries_api_spec.rb +33 -52
- 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 +39 -58
- data/spec/api/opportunity_contacts_api_spec.rb +33 -53
- data/spec/api/opportunity_forecasts_api_spec.rb +33 -53
- data/spec/api/opportunity_notes_api_spec.rb +33 -53
- data/spec/api/opportunity_ratings_api_spec.rb +26 -46
- data/spec/api/opportunity_stages_api_spec.rb +115 -0
- data/spec/api/opportunity_statuses_api_spec.rb +26 -46
- data/spec/api/opportunity_teams_api_spec.rb +33 -53
- data/spec/api/opportunity_types_api_spec.rb +26 -46
- data/spec/api/order_status_notifications_api_spec.rb +122 -0
- data/spec/api/order_statuses_api_spec.rb +26 -46
- data/spec/api/order_statuses_email_template_api_spec.rb +122 -0
- data/spec/api/orders_api_spec.rb +27 -46
- 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 +40 -60
- data/spec/api/pricing_details_api_spec.rb +33 -53
- data/spec/api/pricing_schedules_api_spec.rb +26 -46
- data/spec/api/priorities_api_spec.rb +30 -50
- data/spec/api/product_components_api_spec.rb +33 -53
- data/spec/api/product_picking_shipping_details_api_spec.rb +33 -53
- data/spec/api/product_types_api_spec.rb +26 -46
- data/spec/api/products_item_api_spec.rb +26 -46
- data/spec/api/project_contacts_api_spec.rb +22 -42
- data/spec/api/project_notes_api_spec.rb +33 -53
- data/spec/api/project_phases_api_spec.rb +33 -53
- 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 +27 -46
- data/spec/api/{projects_team_members_api_spec.rb → projects_teammembers_api_spec.rb} +39 -59
- data/spec/api/purchase_order_line_items_api_spec.rb +33 -53
- 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 +26 -46
- 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 +24 -42
- 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 +26 -46
- data/spec/api/schedule_reminder_times_api_spec.rb +91 -0
- data/spec/api/schedule_statuses_api_spec.rb +26 -46
- data/spec/api/schedule_stopwatches_api_spec.rb +115 -0
- data/spec/api/schedule_types_api_spec.rb +26 -46
- 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 +26 -46
- 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 +26 -46
- 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 +47 -74
- 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 +37 -75
- data/spec/api/survey_results_api_spec.rb +33 -53
- data/spec/api/surveys_api_spec.rb +40 -60
- 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 +33 -53
- 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 +33 -53
- data/spec/api/tickets_api_spec.rb +98 -104
- 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 +39 -46
- 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 +33 -53
- data/spec/api/{units_of_measure_api_spec.rb → unit_of_measures_api_spec.rb} +27 -47
- data/spec/api/user_defined_fields_api_spec.rb +26 -46
- 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 +57 -68
- data/spec/configuration_spec.rb +3 -25
- data/spec/models/accounting_batch_spec.rb +66 -0
- data/spec/models/accounting_package_spec.rb +164 -0
- data/spec/models/activity_reference_spec.rb +5 -28
- data/spec/models/activity_spec.rb +17 -28
- data/spec/models/activity_status_reference_spec.rb +5 -28
- data/spec/models/activity_status_spec.rb +5 -28
- data/spec/models/activity_stopwatch_spec.rb +146 -0
- data/spec/models/activity_type_reference_spec.rb +5 -28
- data/spec/models/activity_type_spec.rb +5 -28
- data/spec/models/addition_spec.rb +35 -28
- data/spec/models/address_format_reference_spec.rb +42 -0
- data/spec/models/address_format_spec.rb +72 -0
- data/spec/models/adjustment_detail_spec.rb +90 -0
- data/spec/models/adjustment_reference_spec.rb +42 -0
- data/spec/models/adjustment_spec.rb +47 -28
- data/spec/models/adjustment_type_reference_spec.rb +42 -0
- data/spec/models/adjustment_type_spec.rb +66 -0
- data/spec/models/agreement_batch_setup_spec.rb +48 -0
- data/spec/models/agreement_reference_spec.rb +5 -28
- data/spec/models/agreement_site_spec.rb +5 -28
- data/spec/models/agreement_spec.rb +19 -30
- data/spec/models/agreement_type_board_default_spec.rb +72 -0
- data/spec/models/agreement_type_reference_spec.rb +5 -28
- data/spec/models/agreement_type_spec.rb +66 -35
- data/spec/models/agreement_type_work_role_exclusion_spec.rb +48 -0
- data/spec/models/agreement_type_work_role_spec.rb +76 -0
- data/spec/models/agreement_type_work_type_exclusion_spec.rb +48 -0
- data/spec/models/agreement_type_work_type_spec.rb +120 -0
- data/spec/models/agreement_work_role_exclusion_spec.rb +5 -28
- data/spec/models/agreement_work_role_spec.rb +5 -28
- data/spec/models/agreement_work_type_exclusion_spec.rb +5 -28
- data/spec/models/agreement_work_type_spec.rb +5 -28
- data/spec/models/audit_trail_entry_spec.rb +11 -28
- data/spec/models/auth_anvil_spec.rb +48 -0
- data/spec/models/automate_script_reference_spec.rb +42 -0
- data/spec/models/batch_request_spec.rb +42 -0
- data/spec/models/batch_response_spec.rb +36 -0
- data/spec/models/billing_cycle_reference_spec.rb +42 -0
- data/spec/models/billing_cycle_spec.rb +66 -0
- data/spec/models/billing_delivery_reference_spec.rb +42 -0
- data/spec/models/billing_options_reference_spec.rb +42 -0
- data/spec/models/billing_setup_routing_spec.rb +68 -0
- data/spec/models/billing_setup_spec.rb +382 -0
- data/spec/models/billing_status_reference_spec.rb +5 -28
- data/spec/models/billing_status_spec.rb +72 -0
- data/spec/models/billing_term_spec.rb +60 -0
- data/spec/models/billing_terms_reference_spec.rb +5 -28
- data/spec/models/board_auto_assign_resource_spec.rb +48 -0
- data/spec/models/board_auto_template_spec.rb +152 -0
- data/spec/models/board_copy_spec.rb +36 -0
- data/spec/models/board_default_spec.rb +5 -28
- data/spec/models/{excluded_member_spec.rb → board_excluded_member_spec.rb} +6 -29
- data/spec/models/board_item_association_spec.rb +66 -0
- data/spec/models/board_item_spec.rb +54 -0
- data/spec/models/board_notification_spec.rb +54 -0
- data/spec/models/board_reference_spec.rb +5 -28
- data/spec/models/board_spec.rb +292 -35
- data/spec/models/board_status_notification_spec.rb +66 -0
- data/spec/models/{status_spec.rb → board_status_spec.rb} +31 -30
- data/spec/models/{sub_type_spec.rb → board_sub_type_spec.rb} +10 -33
- data/spec/models/{item_spec.rb → board_team_spec.rb} +18 -35
- data/spec/models/board_type_spec.rb +94 -0
- data/spec/models/board_type_sub_type_item_association_spec.rb +60 -0
- data/spec/models/calendar_reference_spec.rb +5 -28
- data/spec/models/calendar_setup_reference_spec.rb +42 -0
- data/spec/models/calendar_spec.rb +132 -0
- data/spec/models/callback_entry_spec.rb +11 -28
- data/spec/models/campaign_audit_spec.rb +5 -28
- data/spec/models/campaign_reference_spec.rb +5 -28
- data/spec/models/campaign_spec.rb +5 -28
- data/spec/models/campaign_status_reference_spec.rb +5 -28
- data/spec/models/campaign_status_spec.rb +5 -28
- data/spec/models/campaign_sub_type_reference_spec.rb +5 -28
- data/spec/models/campaign_sub_type_spec.rb +6 -29
- data/spec/models/campaign_type_reference_spec.rb +5 -28
- data/spec/models/campaign_type_spec.rb +5 -28
- data/spec/models/catalog_component_spec.rb +11 -28
- data/spec/models/catalog_item_reference_spec.rb +11 -28
- data/spec/models/catalog_item_spec.rb +11 -28
- data/spec/models/category_spec.rb +5 -28
- data/spec/models/certification_reference_spec.rb +42 -0
- data/spec/models/certification_spec.rb +48 -0
- data/spec/models/charge_code_expense_type_spec.rb +48 -0
- data/spec/models/charge_code_reference_spec.rb +5 -28
- data/spec/models/charge_code_spec.rb +112 -0
- data/spec/models/classification_reference_spec.rb +5 -28
- data/spec/models/classification_spec.rb +66 -0
- data/spec/models/clear_picker_request_spec.rb +40 -0
- data/spec/models/code_spec.rb +5 -28
- data/spec/models/commission_spec.rb +216 -0
- data/spec/models/communication_type_reference_spec.rb +5 -28
- data/spec/models/company_custom_note_spec.rb +54 -0
- data/spec/models/company_group_spec.rb +78 -0
- data/spec/models/company_management_summary_spec.rb +5 -28
- data/spec/models/company_merge_spec.rb +5 -28
- data/spec/models/company_note_spec.rb +5 -28
- data/spec/models/company_picker_item_spec.rb +84 -0
- data/spec/models/company_reference_spec.rb +5 -28
- data/spec/models/company_site_spec.rb +17 -28
- data/spec/models/company_spec.rb +107 -28
- data/spec/models/company_status_reference_spec.rb +5 -28
- data/spec/models/company_status_spec.rb +5 -28
- data/spec/models/company_team_spec.rb +23 -28
- data/spec/models/company_type_reference_spec.rb +5 -28
- data/spec/models/company_type_spec.rb +5 -28
- data/spec/models/configuration_question_spec.rb +6 -29
- data/spec/models/configuration_reference_spec.rb +5 -28
- data/spec/models/configuration_spec.rb +11 -28
- data/spec/models/configuration_status_reference_spec.rb +5 -28
- data/spec/models/configuration_status_spec.rb +5 -28
- data/spec/models/configuration_type_question_reference_spec.rb +42 -0
- data/spec/models/configuration_type_question_spec.rb +7 -36
- data/spec/models/configuration_type_question_value_spec.rb +66 -0
- data/spec/models/configuration_type_reference_spec.rb +5 -28
- data/spec/models/configuration_type_spec.rb +5 -28
- data/spec/models/connect_wise_hosted_setup_spec.rb +42 -35
- data/spec/models/contact_communication_item_spec.rb +5 -28
- data/spec/models/contact_communication_spec.rb +5 -28
- data/spec/models/contact_department_reference_spec.rb +5 -28
- data/spec/models/contact_department_spec.rb +5 -28
- data/spec/models/contact_group_spec.rb +84 -0
- data/spec/models/contact_note_spec.rb +5 -28
- data/spec/models/contact_reference_spec.rb +5 -28
- data/spec/models/contact_relationship_spec.rb +5 -28
- data/spec/models/contact_spec.rb +17 -28
- data/spec/models/contact_type_reference_spec.rb +5 -28
- data/spec/models/contact_type_spec.rb +5 -28
- data/spec/models/conversion_spec.rb +5 -28
- data/spec/models/corporate_structure_level_reference_spec.rb +42 -0
- data/spec/models/corporate_structure_level_spec.rb +36 -0
- data/spec/models/corporate_structure_spec.rb +140 -0
- data/spec/models/count_spec.rb +5 -28
- data/spec/models/country_reference_spec.rb +5 -28
- data/spec/models/country_spec.rb +108 -0
- data/spec/models/create_accounting_batch_request_spec.rb +72 -0
- data/spec/models/crm_spec.rb +168 -0
- data/spec/models/currency_reference_spec.rb +18 -29
- data/spec/models/currency_spec.rb +5 -28
- data/spec/models/custom_field_value_spec.rb +6 -29
- data/spec/models/custom_report_parameter_spec.rb +54 -0
- data/spec/models/custom_report_reference_spec.rb +42 -0
- data/spec/models/custom_report_spec.rb +478 -0
- data/spec/models/delivery_method_spec.rb +72 -0
- data/spec/models/department_location_spec.rb +90 -0
- data/spec/models/department_mananager_spec.rb +36 -0
- data/spec/models/department_spec.rb +48 -0
- data/spec/models/dispatch_member_spec.rb +36 -0
- data/spec/models/document_info_spec.rb +17 -28
- data/spec/models/document_reference_spec.rb +11 -28
- data/spec/models/document_setup_spec.rb +66 -0
- data/spec/models/duty_manager_spec.rb +36 -0
- data/spec/models/email_connector_parsing_rule_spec.rb +96 -0
- data/spec/models/email_connector_parsing_style_reference_spec.rb +42 -0
- data/spec/models/email_connector_parsing_style_spec.rb +54 -0
- data/spec/models/email_connector_parsing_type_reference_spec.rb +42 -0
- data/spec/models/email_connector_parsing_variable_reference_spec.rb +48 -0
- data/spec/models/email_connector_reference_spec.rb +42 -0
- data/spec/models/email_connector_spec.rb +180 -0
- data/spec/models/email_opened_spec.rb +5 -28
- data/spec/models/email_template_reference_spec.rb +42 -0
- data/spec/models/email_token_spec.rb +120 -0
- data/spec/models/endpoint_request_spec.rb +54 -0
- data/spec/models/endpoint_response_spec.rb +48 -0
- data/spec/models/entity_type_reference_spec.rb +5 -28
- data/spec/models/error_spec.rb +5 -28
- data/spec/models/expense_entry_spec.rb +17 -28
- data/spec/models/expense_report_spec.rb +88 -0
- data/spec/models/expense_tax_spec.rb +5 -28
- data/spec/models/expense_tax_type_reference_spec.rb +5 -28
- data/spec/models/expense_type_exemption_spec.rb +78 -0
- data/spec/models/expense_type_external_integration_reference_spec.rb +48 -0
- data/spec/models/expense_type_reference_spec.rb +5 -28
- data/spec/models/expense_type_spec.rb +17 -28
- data/spec/models/{batch_spec.rb → export_accounting_batch_request_spec.rb} +22 -59
- data/spec/models/external_expense_type_integration_reference_spec.rb +48 -0
- data/spec/models/external_integration_status_reference_spec.rb +48 -0
- data/spec/models/external_work_type_integration_reference_spec.rb +48 -0
- data/spec/models/filter_values_spec.rb +17 -28
- data/spec/models/forecast_spec.rb +17 -28
- data/spec/models/form_submitted_spec.rb +5 -28
- data/spec/models/generic_id_identifier_reference_spec.rb +11 -28
- data/spec/models/gl_export_adjustment_transaction_detail_spec.rb +90 -0
- data/spec/models/gl_export_adjustment_transaction_spec.rb +78 -0
- data/spec/models/gl_export_customer_spec.rb +192 -0
- data/spec/models/gl_export_expense_bill_detail_spec.rb +96 -0
- data/spec/models/gl_export_expense_bill_spec.rb +96 -0
- data/spec/models/gl_export_expense_offset_spec.rb +84 -0
- data/spec/models/gl_export_expense_spec.rb +144 -0
- data/spec/models/gl_export_inventory_transfer_offset_spec.rb +78 -0
- data/spec/models/gl_export_inventory_transfer_spec.rb +276 -0
- data/spec/models/gl_export_purchase_transaction_detail_spec.rb +288 -0
- data/spec/models/gl_export_purchase_transaction_detail_tax_spec.rb +282 -0
- data/spec/models/gl_export_purchase_transaction_spec.rb +282 -0
- data/spec/models/gl_export_settings_spec.rb +24 -0
- data/spec/models/gl_export_spec.rb +78 -0
- data/spec/models/gl_export_transaction_detail_spec.rb +324 -0
- data/spec/models/{transaction_spec.rb → gl_export_transaction_spec.rb} +63 -100
- data/spec/models/gl_export_vendor_spec.rb +84 -0
- data/spec/models/group_reference_spec.rb +5 -28
- data/spec/models/group_spec.rb +5 -28
- data/spec/models/guid_spec.rb +5 -28
- data/spec/models/holiday_list_reference_spec.rb +42 -0
- data/spec/models/holiday_list_spec.rb +42 -0
- data/spec/models/holiday_spec.rb +66 -0
- data/spec/models/imap_setup_reference_spec.rb +42 -0
- data/spec/models/imap_spec.rb +90 -0
- data/spec/models/impact_spec.rb +54 -0
- data/spec/models/import_mass_maintenance_spec.rb +48 -0
- data/spec/models/in_out_board_spec.rb +60 -0
- data/spec/models/in_out_type_reference_spec.rb +42 -0
- data/spec/models/in_out_type_spec.rb +42 -0
- data/spec/models/info_spec.rb +5 -28
- data/spec/models/integrator_login_reference_spec.rb +42 -0
- data/spec/models/integrator_login_spec.rb +23 -28
- data/spec/models/invoice_email_template_spec.rb +96 -0
- data/spec/models/invoice_reference_spec.rb +5 -28
- data/spec/models/invoice_spec.rb +17 -28
- data/spec/models/invoice_template_reference_spec.rb +42 -0
- data/spec/models/invoice_template_setup_spec.rb +48 -0
- data/spec/models/invoice_template_spec.rb +412 -0
- data/spec/models/iv_item_reference_spec.rb +5 -28
- data/spec/models/j_array_spec.rb +24 -0
- data/spec/models/j_object_spec.rb +5 -28
- data/spec/models/knowledge_base_article_spec.rb +6 -29
- data/spec/models/knowledgebase_article_spec.rb +36 -0
- data/spec/models/kpi_category_reference_spec.rb +42 -0
- data/spec/models/kpi_category_spec.rb +42 -0
- data/spec/models/kpi_reference_spec.rb +42 -0
- data/spec/models/kpi_spec.rb +60 -0
- data/spec/models/ldap_configuration_reference_spec.rb +48 -0
- data/spec/models/ldap_configuration_spec.rb +54 -0
- data/spec/models/legacy_sub_category_spec.rb +48 -0
- data/spec/models/link_clicked_spec.rb +5 -28
- data/spec/models/link_spec.rb +15 -28
- data/spec/models/location_department_spec.rb +48 -0
- data/spec/models/location_spec.rb +127 -34
- data/spec/models/location_work_role_spec.rb +54 -0
- data/spec/models/managed_devices_integration_cross_reference_spec.rb +78 -0
- data/spec/models/managed_devices_integration_login_spec.rb +60 -0
- data/spec/models/managed_devices_integration_notification_spec.rb +64 -0
- data/spec/models/managed_devices_integration_reference_spec.rb +42 -0
- data/spec/models/managed_devices_integration_spec.rb +128 -0
- data/spec/models/management_backup_spec.rb +58 -0
- data/spec/models/management_email_spec.rb +76 -0
- data/spec/models/management_it_solution_agreement_interface_parameter_spec.rb +66 -0
- data/spec/models/management_it_solution_spec.rb +160 -0
- data/spec/models/management_log_document_info_spec.rb +24 -0
- data/spec/models/management_network_security_spec.rb +60 -0
- data/spec/models/management_report_notification_spec.rb +54 -0
- data/spec/models/management_solution_reference_spec.rb +5 -28
- data/spec/models/management_spec.rb +84 -0
- data/spec/models/manufacturer_reference_spec.rb +5 -28
- data/spec/models/manufacturer_spec.rb +5 -28
- data/spec/models/market_description_spec.rb +42 -0
- data/spec/models/marketing_company_spec.rb +5 -28
- data/spec/models/marketing_contact_spec.rb +5 -28
- data/spec/models/member_accrual_spec.rb +70 -0
- data/spec/models/member_certification_spec.rb +84 -0
- data/spec/models/member_deactivation_spec.rb +150 -0
- data/spec/models/member_delegation_spec.rb +70 -0
- data/spec/models/member_reference_spec.rb +5 -28
- data/spec/models/member_skill_spec.rb +76 -0
- data/spec/models/member_spec.rb +253 -114
- data/spec/models/member_type_reference_spec.rb +5 -28
- data/spec/models/menu_entry_location_spec.rb +48 -0
- data/spec/models/menu_entry_spec.rb +17 -28
- data/spec/models/menu_location_reference_spec.rb +5 -28
- data/spec/models/metadata_spec.rb +5 -28
- data/spec/models/my_company_controller_role_spec.rb +36 -0
- data/spec/models/my_company_coo_role_spec.rb +36 -0
- data/spec/models/my_company_dispatch_role_spec.rb +36 -0
- data/spec/models/my_company_duty_manager_role_spec.rb +36 -0
- data/spec/models/my_company_president_role_spec.rb +36 -0
- data/spec/models/my_company_service_manager_role_spec.rb +36 -0
- data/spec/models/note_type_reference_spec.rb +5 -28
- data/spec/models/note_type_spec.rb +60 -0
- data/spec/models/notification_recipient_reference_spec.rb +48 -0
- data/spec/models/notification_recipient_spec.rb +120 -0
- data/spec/models/notify_type_reference_spec.rb +48 -0
- data/spec/models/opportunity_contact_spec.rb +5 -28
- data/spec/models/opportunity_note_spec.rb +5 -28
- data/spec/models/opportunity_priority_reference_spec.rb +5 -28
- data/spec/models/opportunity_probability_reference_spec.rb +5 -28
- data/spec/models/opportunity_rating_reference_spec.rb +5 -28
- data/spec/models/opportunity_rating_spec.rb +5 -28
- data/spec/models/opportunity_reference_spec.rb +5 -28
- data/spec/models/opportunity_sales_role_reference_spec.rb +5 -28
- data/spec/models/opportunity_spec.rb +35 -28
- data/spec/models/opportunity_stage_reference_spec.rb +5 -28
- data/spec/models/opportunity_stage_spec.rb +60 -0
- data/spec/models/opportunity_status_reference_spec.rb +5 -28
- data/spec/models/opportunity_status_spec.rb +5 -28
- data/spec/models/opportunity_to_agreement_conversion_spec.rb +11 -28
- data/spec/models/opportunity_to_project_conversion_spec.rb +5 -28
- data/spec/models/opportunity_to_sales_order_conversion_spec.rb +5 -28
- data/spec/models/opportunity_to_service_ticket_conversion_spec.rb +5 -28
- data/spec/models/opportunity_type_reference_spec.rb +5 -28
- data/spec/models/opportunity_type_spec.rb +5 -28
- data/spec/models/order_spec.rb +11 -28
- data/spec/models/order_status_email_template_reference_spec.rb +42 -0
- data/spec/models/order_status_email_template_spec.rb +84 -0
- data/spec/models/order_status_notification_spec.rb +66 -0
- data/spec/models/order_status_reference_spec.rb +5 -28
- data/spec/models/order_status_spec.rb +11 -28
- data/spec/models/other_spec.rb +130 -0
- data/spec/models/ownership_type_reference_spec.rb +5 -28
- data/spec/models/ownership_type_spec.rb +42 -0
- data/spec/models/parsing_type_spec.rb +54 -0
- data/spec/models/parsing_variable_spec.rb +48 -0
- data/spec/models/patch_operation_spec.rb +5 -28
- data/spec/models/payment_method_reference_spec.rb +5 -28
- data/spec/models/payment_spec.rb +5 -28
- data/spec/models/payment_type_spec.rb +60 -0
- data/spec/models/phase_status_reference_spec.rb +5 -28
- data/spec/models/portal_calendar_spec.rb +100 -0
- data/spec/models/portal_configuration_invoice_setup_spec.rb +106 -0
- data/spec/models/portal_configuration_opportunity_setup_spec.rb +258 -0
- data/spec/models/portal_configuration_password_email_setup_spec.rb +108 -0
- data/spec/models/portal_configuration_project_setup_spec.rb +298 -0
- data/spec/models/portal_configuration_reference_spec.rb +42 -0
- data/spec/models/portal_configuration_service_setup_spec.rb +160 -0
- data/spec/models/portal_configuration_spec.rb +136 -0
- data/spec/models/portal_report_spec.rb +72 -0
- data/spec/models/portal_security_level_spec.rb +54 -0
- data/spec/models/portal_security_spec.rb +65 -28
- data/spec/models/pricing_break_spec.rb +11 -28
- data/spec/models/pricing_detail_spec.rb +11 -28
- data/spec/models/pricing_schedule_reference_spec.rb +42 -0
- data/spec/models/pricing_schedule_spec.rb +11 -28
- data/spec/models/priority_reference_spec.rb +5 -28
- data/spec/models/priority_spec.rb +5 -28
- data/spec/models/product_category_reference_spec.rb +5 -28
- data/spec/models/product_component_spec.rb +5 -28
- data/spec/models/product_item_reference_spec.rb +5 -28
- data/spec/models/product_item_spec.rb +17 -28
- data/spec/models/product_picking_shipping_detail_spec.rb +5 -28
- data/spec/models/product_recurring_spec.rb +5 -28
- data/spec/models/product_reference_spec.rb +5 -28
- data/spec/models/product_sub_category_reference_spec.rb +5 -28
- data/spec/models/product_type_exemption_spec.rb +78 -0
- data/spec/models/product_type_reference_spec.rb +5 -28
- data/spec/models/product_type_spec.rb +5 -28
- data/spec/models/project_board_reference_spec.rb +5 -28
- data/spec/models/project_contact_spec.rb +5 -28
- data/spec/models/project_manager_spec.rb +36 -0
- data/spec/models/project_note_spec.rb +5 -28
- data/spec/models/project_phase_reference_spec.rb +5 -28
- data/spec/models/project_phase_spec.rb +125 -28
- data/spec/models/project_reference_spec.rb +5 -28
- data/spec/models/project_role_reference_spec.rb +5 -28
- data/spec/models/project_security_role_setting_spec.rb +88 -0
- data/spec/models/project_security_role_spec.rb +54 -0
- data/spec/models/project_spec.rb +47 -28
- data/spec/models/project_status_reference_spec.rb +5 -28
- data/spec/models/project_status_spec.rb +66 -0
- data/spec/models/{project_team_member_spec.rb → project_teammember_spec.rb} +6 -29
- data/spec/models/project_type_reference_spec.rb +5 -28
- data/spec/models/project_type_spec.rb +60 -0
- data/spec/models/purchase_order_line_item_spec.rb +11 -28
- data/spec/models/purchase_order_reference_spec.rb +5 -28
- data/spec/models/purchase_order_spec.rb +11 -28
- data/spec/models/purchase_order_status_email_template_reference_spec.rb +42 -0
- data/spec/models/purchase_order_status_email_template_spec.rb +84 -0
- data/spec/models/purchase_order_status_notification_spec.rb +66 -0
- data/spec/models/purchase_order_status_reference_spec.rb +5 -28
- data/spec/models/purchase_order_status_spec.rb +78 -0
- data/spec/models/purchasing_spec.rb +128 -0
- data/spec/models/relationship_reference_spec.rb +5 -28
- data/spec/models/reminder_reference_spec.rb +5 -28
- data/spec/models/report_card_detail_spec.rb +54 -0
- data/spec/models/report_card_reference_spec.rb +42 -0
- data/spec/models/report_card_spec.rb +42 -0
- data/spec/models/report_data_response_spec.rb +5 -28
- data/spec/models/report_spec.rb +5 -28
- data/spec/models/reporting_service_spec.rb +60 -0
- data/spec/models/request_password_request_spec.rb +5 -28
- data/spec/models/rma_action_spec.rb +48 -0
- data/spec/models/rma_disposition_spec.rb +48 -0
- data/spec/models/rma_status_email_template_reference_spec.rb +42 -0
- data/spec/models/rma_status_email_template_spec.rb +84 -0
- data/spec/models/rma_status_notification_spec.rb +66 -0
- data/spec/models/rma_status_reference_spec.rb +42 -0
- data/spec/models/rma_status_spec.rb +66 -0
- data/spec/models/role_spec.rb +42 -0
- data/spec/models/sales_activity_spec.rb +36 -0
- data/spec/models/sales_probability_spec.rb +42 -0
- data/spec/models/sales_quota_spec.rb +222 -0
- data/spec/models/sales_team_member_spec.rb +60 -0
- data/spec/models/sales_team_reference_spec.rb +5 -28
- data/spec/models/sales_team_spec.rb +60 -0
- data/spec/models/schedule_color_spec.rb +54 -0
- data/spec/models/schedule_detail_spec.rb +60 -0
- data/spec/models/schedule_entry_reference_spec.rb +5 -28
- data/spec/models/schedule_entry_spec.rb +11 -28
- data/spec/models/schedule_reminder_time_spec.rb +54 -0
- data/spec/models/schedule_span_reference_spec.rb +5 -28
- data/spec/models/schedule_status_reference_spec.rb +5 -28
- data/spec/models/schedule_status_spec.rb +5 -28
- data/spec/models/schedule_stopwatch_spec.rb +146 -0
- data/spec/models/schedule_type_reference_spec.rb +5 -28
- data/spec/models/schedule_type_spec.rb +5 -28
- data/spec/models/security_role_reference_spec.rb +5 -28
- data/spec/models/security_role_setting_spec.rb +142 -0
- data/spec/models/security_role_spec.rb +54 -0
- data/spec/models/service_code_reference_spec.rb +5 -28
- data/spec/models/service_email_template_reference_spec.rb +48 -0
- data/spec/models/service_email_template_spec.rb +130 -0
- data/spec/models/service_item_reference_spec.rb +5 -28
- data/spec/models/service_location_reference_spec.rb +5 -28
- data/spec/models/service_location_spec.rb +58 -0
- data/spec/models/service_manger_spec.rb +36 -0
- data/spec/models/service_note_spec.rb +5 -28
- data/spec/models/service_signoff_reference_spec.rb +5 -28
- data/spec/models/service_signoff_spec.rb +370 -0
- data/spec/models/service_source_reference_spec.rb +5 -28
- data/spec/models/service_spec.rb +122 -0
- data/spec/models/service_status_reference_spec.rb +5 -28
- data/spec/models/service_sub_type_reference_spec.rb +5 -28
- data/spec/models/service_survey_question_option_spec.rb +42 -0
- data/spec/models/service_survey_question_spec.rb +88 -0
- data/spec/models/service_survey_reference_spec.rb +42 -0
- data/spec/models/service_survey_spec.rb +102 -0
- data/spec/models/service_team_reference_spec.rb +5 -28
- data/spec/models/service_team_spec.rb +78 -0
- data/spec/models/service_template_reference_spec.rb +48 -0
- data/spec/models/service_template_spec.rb +336 -0
- data/spec/models/service_type_reference_spec.rb +5 -28
- data/spec/models/setup_screen_spec.rb +72 -0
- data/spec/models/severity_spec.rb +54 -0
- data/spec/models/shipment_method_reference_spec.rb +5 -28
- data/spec/models/shipment_method_spec.rb +5 -28
- data/spec/models/sic_code_reference_spec.rb +5 -28
- data/spec/models/site_reference_spec.rb +5 -28
- data/spec/models/skill_category_reference_spec.rb +42 -0
- data/spec/models/skill_category_spec.rb +42 -0
- data/spec/models/skill_reference_spec.rb +42 -0
- data/spec/models/skill_spec.rb +48 -0
- data/spec/models/sla_priority_spec.rb +84 -0
- data/spec/models/sla_reference_spec.rb +5 -28
- data/spec/models/sla_spec.rb +160 -0
- data/spec/models/source_spec.rb +5 -28
- data/spec/models/state_reference_spec.rb +48 -0
- data/spec/models/state_spec.rb +54 -0
- data/spec/models/status_external_integration_reference_spec.rb +48 -0
- data/spec/models/status_workflow_spec.rb +36 -0
- data/spec/models/structure_reference_spec.rb +42 -0
- data/spec/models/sub_category_spec.rb +17 -28
- data/spec/models/success_response_spec.rb +5 -28
- data/spec/models/survey_option_spec.rb +54 -0
- data/spec/models/survey_question_reference_spec.rb +42 -0
- data/spec/models/survey_question_spec.rb +19 -38
- data/spec/models/survey_question_value_spec.rb +72 -0
- data/spec/models/survey_reference_spec.rb +42 -0
- data/spec/models/survey_result_detail_spec.rb +5 -28
- data/spec/models/survey_result_spec.rb +5 -28
- data/spec/models/survey_spec.rb +7 -78
- data/spec/models/system_department_reference_spec.rb +48 -0
- data/spec/models/system_location_reference_spec.rb +42 -0
- data/spec/models/system_menu_entry_reference_spec.rb +42 -0
- data/spec/models/task_spec.rb +5 -28
- data/spec/models/tax_code_reference_spec.rb +5 -28
- data/spec/models/tax_code_spec.rb +524 -0
- data/spec/models/tax_code_x_ref_spec.rb +104 -0
- data/spec/models/tax_integration_spec.rb +130 -0
- data/spec/models/team_member_spec.rb +60 -0
- data/spec/models/team_role_reference_spec.rb +5 -28
- data/spec/models/team_role_spec.rb +42 -0
- data/spec/models/team_spec.rb +5 -76
- data/spec/models/ticket_merge_spec.rb +36 -0
- data/spec/models/ticket_reference_spec.rb +5 -28
- data/spec/models/ticket_spec.rb +17 -28
- data/spec/models/ticket_stopwatch_spec.rb +182 -0
- data/spec/models/ticket_sync_spec.rb +106 -0
- data/spec/models/time_accrual_detail_spec.rb +70 -0
- data/spec/models/time_accrual_reference_spec.rb +42 -0
- data/spec/models/time_accrual_spec.rb +154 -0
- data/spec/models/time_entry_reference_spec.rb +5 -28
- data/spec/models/time_entry_spec.rb +39 -28
- data/spec/models/time_expense_spec.rb +84 -0
- data/spec/models/time_period_setup_defaults_spec.rb +24 -0
- data/spec/models/time_period_setup_reference_spec.rb +36 -0
- data/spec/models/time_period_setup_spec.rb +116 -0
- data/spec/models/time_period_spec.rb +66 -0
- data/spec/models/time_sheet_reference_spec.rb +42 -0
- data/spec/models/time_sheet_spec.rb +88 -0
- data/spec/models/time_zone_reference_spec.rb +5 -28
- data/spec/models/time_zone_setup_reference_spec.rb +42 -0
- data/spec/models/time_zone_setup_spec.rb +66 -0
- data/spec/models/time_zone_spec.rb +66 -0
- data/spec/models/today_page_category_spec.rb +54 -0
- data/spec/models/token_spec.rb +5 -28
- data/spec/models/track_action_spec.rb +148 -0
- data/spec/models/track_reference_spec.rb +5 -28
- data/spec/models/track_spec.rb +17 -28
- data/spec/models/type_spec.rb +6 -69
- data/spec/models/unit_of_measure_reference_spec.rb +5 -28
- data/spec/models/unit_of_measure_spec.rb +5 -28
- data/spec/models/unposted_expense_spec.rb +5 -28
- data/spec/models/unposted_invoice_spec.rb +5 -28
- data/spec/models/unposted_procurement_spec.rb +5 -28
- data/spec/models/user_defined_field_option_spec.rb +5 -28
- data/spec/models/user_defined_field_reference_spec.rb +42 -0
- data/spec/models/user_defined_field_spec.rb +6 -29
- data/spec/models/validate_portal_request_spec.rb +5 -28
- data/spec/models/validate_portal_response_spec.rb +5 -28
- data/spec/models/validation_error_spec.rb +11 -28
- data/spec/models/warehouse_bin_reference_spec.rb +5 -28
- data/spec/models/warehouse_bin_spec.rb +126 -0
- data/spec/models/warehouse_reference_spec.rb +5 -28
- data/spec/models/warehouse_spec.rb +102 -0
- data/spec/models/work_role_exemption_spec.rb +78 -0
- data/spec/models/work_role_location_spec.rb +54 -0
- data/spec/models/work_role_reference_spec.rb +5 -28
- data/spec/models/work_role_spec.rb +84 -0
- data/spec/models/work_type_external_integration_reference_spec.rb +48 -0
- data/spec/models/work_type_reference_spec.rb +5 -28
- data/spec/models/work_type_spec.rb +144 -0
- data/spec/models/workflow_action_automate_parameter_spec.rb +42 -0
- data/spec/models/workflow_action_spec.rb +228 -0
- data/spec/models/workflow_event_spec.rb +80 -0
- data/spec/models/workflow_notify_type_spec.rb +54 -0
- data/spec/models/workflow_spec.rb +104 -0
- data/spec/models/workflow_table_type_reference_spec.rb +48 -0
- data/spec/models/workflow_table_type_spec.rb +48 -0
- data/spec/models/workflow_trigger_option_spec.rb +48 -0
- data/spec/models/workflow_trigger_spec.rb +72 -0
- data/spec/spec_helper.rb +0 -37
- metadata +2262 -393
- 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,1188 @@
|
|
1
|
+
|
2
|
+
require 'date'
|
3
|
+
|
4
|
+
module ConnectWise
|
5
|
+
|
6
|
+
class InvoiceTemplate
|
7
|
+
attr_accessor :id
|
8
|
+
|
9
|
+
attr_accessor :name
|
10
|
+
|
11
|
+
attr_accessor :margin_left
|
12
|
+
|
13
|
+
attr_accessor :margin_right
|
14
|
+
|
15
|
+
attr_accessor :margin_top
|
16
|
+
|
17
|
+
attr_accessor :margin_bottom
|
18
|
+
|
19
|
+
attr_accessor :logo_visible_flag
|
20
|
+
|
21
|
+
attr_accessor :header_logo_position
|
22
|
+
|
23
|
+
attr_accessor :remit_to_visibile_flag
|
24
|
+
|
25
|
+
attr_accessor :header_address_position
|
26
|
+
|
27
|
+
attr_accessor :header_title_visibile_flag
|
28
|
+
|
29
|
+
attr_accessor :header_title_caption
|
30
|
+
|
31
|
+
attr_accessor :header_title_position
|
32
|
+
|
33
|
+
attr_accessor :header_title_font
|
34
|
+
|
35
|
+
attr_accessor :header_terms_visible_flag
|
36
|
+
|
37
|
+
attr_accessor :header_terms_caption
|
38
|
+
|
39
|
+
attr_accessor :header_due_date_visible_flag
|
40
|
+
|
41
|
+
attr_accessor :header_due_date_caption
|
42
|
+
|
43
|
+
attr_accessor :header_po_number_visible_flag
|
44
|
+
|
45
|
+
attr_accessor :header_po_number_caption
|
46
|
+
|
47
|
+
attr_accessor :header_reference_visible_flag
|
48
|
+
|
49
|
+
attr_accessor :header_reference_caption
|
50
|
+
|
51
|
+
attr_accessor :header_account_visible_flag
|
52
|
+
|
53
|
+
attr_accessor :header_account_caption
|
54
|
+
|
55
|
+
attr_accessor :header_tax_id_visible_flag
|
56
|
+
|
57
|
+
attr_accessor :header_tax_id_caption
|
58
|
+
|
59
|
+
attr_accessor :header_ship_to_visible_flag
|
60
|
+
|
61
|
+
attr_accessor :header_ship_to_caption
|
62
|
+
|
63
|
+
attr_accessor :service_header_ticket_number_visible_flag
|
64
|
+
|
65
|
+
attr_accessor :serivce_header_ticket_number_caption
|
66
|
+
|
67
|
+
attr_accessor :service_header_company_name_visible_flag
|
68
|
+
|
69
|
+
attr_accessor :service_header_company_name_caption
|
70
|
+
|
71
|
+
attr_accessor :service_header_summary_visible_flag
|
72
|
+
|
73
|
+
attr_accessor :service_header_summary_caption
|
74
|
+
|
75
|
+
attr_accessor :service_header_contact_name_visible_flag
|
76
|
+
|
77
|
+
attr_accessor :service_header_contact_name_caption
|
78
|
+
|
79
|
+
attr_accessor :service_header_detail_description_visible_flag
|
80
|
+
|
81
|
+
attr_accessor :service_header_detail_description_caption
|
82
|
+
|
83
|
+
attr_accessor :service_header_resolution_visible_flag
|
84
|
+
|
85
|
+
attr_accessor :service_header_resolution_caption
|
86
|
+
|
87
|
+
attr_accessor :service_header_amount_visible_flag
|
88
|
+
|
89
|
+
attr_accessor :service_header_amount_caption
|
90
|
+
|
91
|
+
attr_accessor :service_header_billing_method_visible_flag
|
92
|
+
|
93
|
+
attr_accessor :service_header_billing_method_caption
|
94
|
+
|
95
|
+
attr_accessor :service_header_closed_tasks_visible_flag
|
96
|
+
|
97
|
+
attr_accessor :service_header_open_tasks_visible_flag
|
98
|
+
|
99
|
+
attr_accessor :service_header_bundled_tickets_visible_flag
|
100
|
+
|
101
|
+
attr_accessor :project_header_project_name_visible_flag
|
102
|
+
|
103
|
+
attr_accessor :project_header_project_name_caption
|
104
|
+
|
105
|
+
attr_accessor :project_header_company_name_visible_flag
|
106
|
+
|
107
|
+
attr_accessor :project_header_company_name_caption
|
108
|
+
|
109
|
+
attr_accessor :project_header_original_downpayment_visible_flag
|
110
|
+
|
111
|
+
attr_accessor :project_header_original_downpayment_caption
|
112
|
+
|
113
|
+
attr_accessor :project_header_contact_name_visible_flag
|
114
|
+
|
115
|
+
attr_accessor :project_header_contact_name_caption
|
116
|
+
|
117
|
+
attr_accessor :project_header_amount_visible_flag
|
118
|
+
|
119
|
+
attr_accessor :project_header_amount_caption
|
120
|
+
|
121
|
+
attr_accessor :project_header_billing_method_visible_flag
|
122
|
+
|
123
|
+
attr_accessor :project_header_billing_method_caption
|
124
|
+
|
125
|
+
attr_accessor :project_header_billing_type_visible_flag
|
126
|
+
|
127
|
+
attr_accessor :project_header_billing_type_caption
|
128
|
+
|
129
|
+
# Metadata of the entity
|
130
|
+
attr_accessor :_info
|
131
|
+
|
132
|
+
class EnumAttributeValidator
|
133
|
+
attr_reader :datatype
|
134
|
+
attr_reader :allowable_values
|
135
|
+
|
136
|
+
def initialize(datatype, allowable_values)
|
137
|
+
@allowable_values = allowable_values.map do |value|
|
138
|
+
case datatype.to_s
|
139
|
+
when /Integer/i
|
140
|
+
value.to_i
|
141
|
+
when /Float/i
|
142
|
+
value.to_f
|
143
|
+
else
|
144
|
+
value
|
145
|
+
end
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
def valid?(value)
|
150
|
+
!value || allowable_values.include?(value)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
155
|
+
def self.attribute_map
|
156
|
+
{
|
157
|
+
:'id' => :'id',
|
158
|
+
:'name' => :'name',
|
159
|
+
:'margin_left' => :'marginLeft',
|
160
|
+
:'margin_right' => :'marginRight',
|
161
|
+
:'margin_top' => :'marginTop',
|
162
|
+
:'margin_bottom' => :'marginBottom',
|
163
|
+
:'logo_visible_flag' => :'logoVisibleFlag',
|
164
|
+
:'header_logo_position' => :'headerLogoPosition',
|
165
|
+
:'remit_to_visibile_flag' => :'remitToVisibileFlag',
|
166
|
+
:'header_address_position' => :'headerAddressPosition',
|
167
|
+
:'header_title_visibile_flag' => :'headerTitleVisibileFlag',
|
168
|
+
:'header_title_caption' => :'headerTitleCaption',
|
169
|
+
:'header_title_position' => :'headerTitlePosition',
|
170
|
+
:'header_title_font' => :'headerTitleFont',
|
171
|
+
:'header_terms_visible_flag' => :'headerTermsVisibleFlag',
|
172
|
+
:'header_terms_caption' => :'headerTermsCaption',
|
173
|
+
:'header_due_date_visible_flag' => :'headerDueDateVisibleFlag',
|
174
|
+
:'header_due_date_caption' => :'headerDueDateCaption',
|
175
|
+
:'header_po_number_visible_flag' => :'headerPoNumberVisibleFlag',
|
176
|
+
:'header_po_number_caption' => :'headerPoNumberCaption',
|
177
|
+
:'header_reference_visible_flag' => :'headerReferenceVisibleFlag',
|
178
|
+
:'header_reference_caption' => :'headerReferenceCaption',
|
179
|
+
:'header_account_visible_flag' => :'headerAccountVisibleFlag',
|
180
|
+
:'header_account_caption' => :'headerAccountCaption',
|
181
|
+
:'header_tax_id_visible_flag' => :'headerTaxIdVisibleFlag',
|
182
|
+
:'header_tax_id_caption' => :'headerTaxIdCaption',
|
183
|
+
:'header_ship_to_visible_flag' => :'headerShipToVisibleFlag',
|
184
|
+
:'header_ship_to_caption' => :'headerShipToCaption',
|
185
|
+
:'service_header_ticket_number_visible_flag' => :'serviceHeaderTicketNumberVisibleFlag',
|
186
|
+
:'serivce_header_ticket_number_caption' => :'serivceHeaderTicketNumberCaption',
|
187
|
+
:'service_header_company_name_visible_flag' => :'serviceHeaderCompanyNameVisibleFlag',
|
188
|
+
:'service_header_company_name_caption' => :'serviceHeaderCompanyNameCaption',
|
189
|
+
:'service_header_summary_visible_flag' => :'serviceHeaderSummaryVisibleFlag',
|
190
|
+
:'service_header_summary_caption' => :'serviceHeaderSummaryCaption',
|
191
|
+
:'service_header_contact_name_visible_flag' => :'serviceHeaderContactNameVisibleFlag',
|
192
|
+
:'service_header_contact_name_caption' => :'serviceHeaderContactNameCaption',
|
193
|
+
:'service_header_detail_description_visible_flag' => :'serviceHeaderDetailDescriptionVisibleFlag',
|
194
|
+
:'service_header_detail_description_caption' => :'serviceHeaderDetailDescriptionCaption',
|
195
|
+
:'service_header_resolution_visible_flag' => :'serviceHeaderResolutionVisibleFlag',
|
196
|
+
:'service_header_resolution_caption' => :'serviceHeaderResolutionCaption',
|
197
|
+
:'service_header_amount_visible_flag' => :'serviceHeaderAmountVisibleFlag',
|
198
|
+
:'service_header_amount_caption' => :'serviceHeaderAmountCaption',
|
199
|
+
:'service_header_billing_method_visible_flag' => :'serviceHeaderBillingMethodVisibleFlag',
|
200
|
+
:'service_header_billing_method_caption' => :'serviceHeaderBillingMethodCaption',
|
201
|
+
:'service_header_closed_tasks_visible_flag' => :'serviceHeaderClosedTasksVisibleFlag',
|
202
|
+
:'service_header_open_tasks_visible_flag' => :'serviceHeaderOpenTasksVisibleFlag',
|
203
|
+
:'service_header_bundled_tickets_visible_flag' => :'serviceHeaderBundledTicketsVisibleFlag',
|
204
|
+
:'project_header_project_name_visible_flag' => :'projectHeaderProjectNameVisibleFlag',
|
205
|
+
:'project_header_project_name_caption' => :'projectHeaderProjectNameCaption',
|
206
|
+
:'project_header_company_name_visible_flag' => :'projectHeaderCompanyNameVisibleFlag',
|
207
|
+
:'project_header_company_name_caption' => :'projectHeaderCompanyNameCaption',
|
208
|
+
:'project_header_original_downpayment_visible_flag' => :'projectHeaderOriginalDownpaymentVisibleFlag',
|
209
|
+
:'project_header_original_downpayment_caption' => :'projectHeaderOriginalDownpaymentCaption',
|
210
|
+
:'project_header_contact_name_visible_flag' => :'projectHeaderContactNameVisibleFlag',
|
211
|
+
:'project_header_contact_name_caption' => :'projectHeaderContactNameCaption',
|
212
|
+
:'project_header_amount_visible_flag' => :'projectHeaderAmountVisibleFlag',
|
213
|
+
:'project_header_amount_caption' => :'projectHeaderAmountCaption',
|
214
|
+
:'project_header_billing_method_visible_flag' => :'projectHeaderBillingMethodVisibleFlag',
|
215
|
+
:'project_header_billing_method_caption' => :'projectHeaderBillingMethodCaption',
|
216
|
+
:'project_header_billing_type_visible_flag' => :'projectHeaderBillingTypeVisibleFlag',
|
217
|
+
:'project_header_billing_type_caption' => :'projectHeaderBillingTypeCaption',
|
218
|
+
:'_info' => :'_info'
|
219
|
+
}
|
220
|
+
end
|
221
|
+
|
222
|
+
# Attribute type mapping.
|
223
|
+
def self.swagger_types
|
224
|
+
{
|
225
|
+
:'id' => :'Integer',
|
226
|
+
:'name' => :'String',
|
227
|
+
:'margin_left' => :'Float',
|
228
|
+
:'margin_right' => :'Float',
|
229
|
+
:'margin_top' => :'Float',
|
230
|
+
:'margin_bottom' => :'Float',
|
231
|
+
:'logo_visible_flag' => :'BOOLEAN',
|
232
|
+
:'header_logo_position' => :'String',
|
233
|
+
:'remit_to_visibile_flag' => :'BOOLEAN',
|
234
|
+
:'header_address_position' => :'String',
|
235
|
+
:'header_title_visibile_flag' => :'BOOLEAN',
|
236
|
+
:'header_title_caption' => :'String',
|
237
|
+
:'header_title_position' => :'String',
|
238
|
+
:'header_title_font' => :'String',
|
239
|
+
:'header_terms_visible_flag' => :'BOOLEAN',
|
240
|
+
:'header_terms_caption' => :'String',
|
241
|
+
:'header_due_date_visible_flag' => :'BOOLEAN',
|
242
|
+
:'header_due_date_caption' => :'String',
|
243
|
+
:'header_po_number_visible_flag' => :'BOOLEAN',
|
244
|
+
:'header_po_number_caption' => :'String',
|
245
|
+
:'header_reference_visible_flag' => :'BOOLEAN',
|
246
|
+
:'header_reference_caption' => :'String',
|
247
|
+
:'header_account_visible_flag' => :'BOOLEAN',
|
248
|
+
:'header_account_caption' => :'String',
|
249
|
+
:'header_tax_id_visible_flag' => :'BOOLEAN',
|
250
|
+
:'header_tax_id_caption' => :'String',
|
251
|
+
:'header_ship_to_visible_flag' => :'BOOLEAN',
|
252
|
+
:'header_ship_to_caption' => :'String',
|
253
|
+
:'service_header_ticket_number_visible_flag' => :'BOOLEAN',
|
254
|
+
:'serivce_header_ticket_number_caption' => :'String',
|
255
|
+
:'service_header_company_name_visible_flag' => :'BOOLEAN',
|
256
|
+
:'service_header_company_name_caption' => :'String',
|
257
|
+
:'service_header_summary_visible_flag' => :'BOOLEAN',
|
258
|
+
:'service_header_summary_caption' => :'String',
|
259
|
+
:'service_header_contact_name_visible_flag' => :'BOOLEAN',
|
260
|
+
:'service_header_contact_name_caption' => :'String',
|
261
|
+
:'service_header_detail_description_visible_flag' => :'BOOLEAN',
|
262
|
+
:'service_header_detail_description_caption' => :'String',
|
263
|
+
:'service_header_resolution_visible_flag' => :'BOOLEAN',
|
264
|
+
:'service_header_resolution_caption' => :'String',
|
265
|
+
:'service_header_amount_visible_flag' => :'BOOLEAN',
|
266
|
+
:'service_header_amount_caption' => :'String',
|
267
|
+
:'service_header_billing_method_visible_flag' => :'BOOLEAN',
|
268
|
+
:'service_header_billing_method_caption' => :'String',
|
269
|
+
:'service_header_closed_tasks_visible_flag' => :'BOOLEAN',
|
270
|
+
:'service_header_open_tasks_visible_flag' => :'BOOLEAN',
|
271
|
+
:'service_header_bundled_tickets_visible_flag' => :'BOOLEAN',
|
272
|
+
:'project_header_project_name_visible_flag' => :'BOOLEAN',
|
273
|
+
:'project_header_project_name_caption' => :'String',
|
274
|
+
:'project_header_company_name_visible_flag' => :'BOOLEAN',
|
275
|
+
:'project_header_company_name_caption' => :'String',
|
276
|
+
:'project_header_original_downpayment_visible_flag' => :'BOOLEAN',
|
277
|
+
:'project_header_original_downpayment_caption' => :'String',
|
278
|
+
:'project_header_contact_name_visible_flag' => :'BOOLEAN',
|
279
|
+
:'project_header_contact_name_caption' => :'String',
|
280
|
+
:'project_header_amount_visible_flag' => :'BOOLEAN',
|
281
|
+
:'project_header_amount_caption' => :'String',
|
282
|
+
:'project_header_billing_method_visible_flag' => :'BOOLEAN',
|
283
|
+
:'project_header_billing_method_caption' => :'String',
|
284
|
+
:'project_header_billing_type_visible_flag' => :'BOOLEAN',
|
285
|
+
:'project_header_billing_type_caption' => :'String',
|
286
|
+
:'_info' => :'Metadata'
|
287
|
+
}
|
288
|
+
end
|
289
|
+
|
290
|
+
# Initializes the object
|
291
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
292
|
+
def initialize(attributes = {})
|
293
|
+
return unless attributes.is_a?(Hash)
|
294
|
+
|
295
|
+
# convert string to symbol for hash key
|
296
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
297
|
+
|
298
|
+
if attributes.has_key?(:'id')
|
299
|
+
self.id = attributes[:'id']
|
300
|
+
end
|
301
|
+
|
302
|
+
if attributes.has_key?(:'name')
|
303
|
+
self.name = attributes[:'name']
|
304
|
+
end
|
305
|
+
|
306
|
+
if attributes.has_key?(:'marginLeft')
|
307
|
+
self.margin_left = attributes[:'marginLeft']
|
308
|
+
end
|
309
|
+
|
310
|
+
if attributes.has_key?(:'marginRight')
|
311
|
+
self.margin_right = attributes[:'marginRight']
|
312
|
+
end
|
313
|
+
|
314
|
+
if attributes.has_key?(:'marginTop')
|
315
|
+
self.margin_top = attributes[:'marginTop']
|
316
|
+
end
|
317
|
+
|
318
|
+
if attributes.has_key?(:'marginBottom')
|
319
|
+
self.margin_bottom = attributes[:'marginBottom']
|
320
|
+
end
|
321
|
+
|
322
|
+
if attributes.has_key?(:'logoVisibleFlag')
|
323
|
+
self.logo_visible_flag = attributes[:'logoVisibleFlag']
|
324
|
+
end
|
325
|
+
|
326
|
+
if attributes.has_key?(:'headerLogoPosition')
|
327
|
+
self.header_logo_position = attributes[:'headerLogoPosition']
|
328
|
+
end
|
329
|
+
|
330
|
+
if attributes.has_key?(:'remitToVisibileFlag')
|
331
|
+
self.remit_to_visibile_flag = attributes[:'remitToVisibileFlag']
|
332
|
+
end
|
333
|
+
|
334
|
+
if attributes.has_key?(:'headerAddressPosition')
|
335
|
+
self.header_address_position = attributes[:'headerAddressPosition']
|
336
|
+
end
|
337
|
+
|
338
|
+
if attributes.has_key?(:'headerTitleVisibileFlag')
|
339
|
+
self.header_title_visibile_flag = attributes[:'headerTitleVisibileFlag']
|
340
|
+
end
|
341
|
+
|
342
|
+
if attributes.has_key?(:'headerTitleCaption')
|
343
|
+
self.header_title_caption = attributes[:'headerTitleCaption']
|
344
|
+
end
|
345
|
+
|
346
|
+
if attributes.has_key?(:'headerTitlePosition')
|
347
|
+
self.header_title_position = attributes[:'headerTitlePosition']
|
348
|
+
end
|
349
|
+
|
350
|
+
if attributes.has_key?(:'headerTitleFont')
|
351
|
+
self.header_title_font = attributes[:'headerTitleFont']
|
352
|
+
end
|
353
|
+
|
354
|
+
if attributes.has_key?(:'headerTermsVisibleFlag')
|
355
|
+
self.header_terms_visible_flag = attributes[:'headerTermsVisibleFlag']
|
356
|
+
end
|
357
|
+
|
358
|
+
if attributes.has_key?(:'headerTermsCaption')
|
359
|
+
self.header_terms_caption = attributes[:'headerTermsCaption']
|
360
|
+
end
|
361
|
+
|
362
|
+
if attributes.has_key?(:'headerDueDateVisibleFlag')
|
363
|
+
self.header_due_date_visible_flag = attributes[:'headerDueDateVisibleFlag']
|
364
|
+
end
|
365
|
+
|
366
|
+
if attributes.has_key?(:'headerDueDateCaption')
|
367
|
+
self.header_due_date_caption = attributes[:'headerDueDateCaption']
|
368
|
+
end
|
369
|
+
|
370
|
+
if attributes.has_key?(:'headerPoNumberVisibleFlag')
|
371
|
+
self.header_po_number_visible_flag = attributes[:'headerPoNumberVisibleFlag']
|
372
|
+
end
|
373
|
+
|
374
|
+
if attributes.has_key?(:'headerPoNumberCaption')
|
375
|
+
self.header_po_number_caption = attributes[:'headerPoNumberCaption']
|
376
|
+
end
|
377
|
+
|
378
|
+
if attributes.has_key?(:'headerReferenceVisibleFlag')
|
379
|
+
self.header_reference_visible_flag = attributes[:'headerReferenceVisibleFlag']
|
380
|
+
end
|
381
|
+
|
382
|
+
if attributes.has_key?(:'headerReferenceCaption')
|
383
|
+
self.header_reference_caption = attributes[:'headerReferenceCaption']
|
384
|
+
end
|
385
|
+
|
386
|
+
if attributes.has_key?(:'headerAccountVisibleFlag')
|
387
|
+
self.header_account_visible_flag = attributes[:'headerAccountVisibleFlag']
|
388
|
+
end
|
389
|
+
|
390
|
+
if attributes.has_key?(:'headerAccountCaption')
|
391
|
+
self.header_account_caption = attributes[:'headerAccountCaption']
|
392
|
+
end
|
393
|
+
|
394
|
+
if attributes.has_key?(:'headerTaxIdVisibleFlag')
|
395
|
+
self.header_tax_id_visible_flag = attributes[:'headerTaxIdVisibleFlag']
|
396
|
+
end
|
397
|
+
|
398
|
+
if attributes.has_key?(:'headerTaxIdCaption')
|
399
|
+
self.header_tax_id_caption = attributes[:'headerTaxIdCaption']
|
400
|
+
end
|
401
|
+
|
402
|
+
if attributes.has_key?(:'headerShipToVisibleFlag')
|
403
|
+
self.header_ship_to_visible_flag = attributes[:'headerShipToVisibleFlag']
|
404
|
+
end
|
405
|
+
|
406
|
+
if attributes.has_key?(:'headerShipToCaption')
|
407
|
+
self.header_ship_to_caption = attributes[:'headerShipToCaption']
|
408
|
+
end
|
409
|
+
|
410
|
+
if attributes.has_key?(:'serviceHeaderTicketNumberVisibleFlag')
|
411
|
+
self.service_header_ticket_number_visible_flag = attributes[:'serviceHeaderTicketNumberVisibleFlag']
|
412
|
+
end
|
413
|
+
|
414
|
+
if attributes.has_key?(:'serivceHeaderTicketNumberCaption')
|
415
|
+
self.serivce_header_ticket_number_caption = attributes[:'serivceHeaderTicketNumberCaption']
|
416
|
+
end
|
417
|
+
|
418
|
+
if attributes.has_key?(:'serviceHeaderCompanyNameVisibleFlag')
|
419
|
+
self.service_header_company_name_visible_flag = attributes[:'serviceHeaderCompanyNameVisibleFlag']
|
420
|
+
end
|
421
|
+
|
422
|
+
if attributes.has_key?(:'serviceHeaderCompanyNameCaption')
|
423
|
+
self.service_header_company_name_caption = attributes[:'serviceHeaderCompanyNameCaption']
|
424
|
+
end
|
425
|
+
|
426
|
+
if attributes.has_key?(:'serviceHeaderSummaryVisibleFlag')
|
427
|
+
self.service_header_summary_visible_flag = attributes[:'serviceHeaderSummaryVisibleFlag']
|
428
|
+
end
|
429
|
+
|
430
|
+
if attributes.has_key?(:'serviceHeaderSummaryCaption')
|
431
|
+
self.service_header_summary_caption = attributes[:'serviceHeaderSummaryCaption']
|
432
|
+
end
|
433
|
+
|
434
|
+
if attributes.has_key?(:'serviceHeaderContactNameVisibleFlag')
|
435
|
+
self.service_header_contact_name_visible_flag = attributes[:'serviceHeaderContactNameVisibleFlag']
|
436
|
+
end
|
437
|
+
|
438
|
+
if attributes.has_key?(:'serviceHeaderContactNameCaption')
|
439
|
+
self.service_header_contact_name_caption = attributes[:'serviceHeaderContactNameCaption']
|
440
|
+
end
|
441
|
+
|
442
|
+
if attributes.has_key?(:'serviceHeaderDetailDescriptionVisibleFlag')
|
443
|
+
self.service_header_detail_description_visible_flag = attributes[:'serviceHeaderDetailDescriptionVisibleFlag']
|
444
|
+
end
|
445
|
+
|
446
|
+
if attributes.has_key?(:'serviceHeaderDetailDescriptionCaption')
|
447
|
+
self.service_header_detail_description_caption = attributes[:'serviceHeaderDetailDescriptionCaption']
|
448
|
+
end
|
449
|
+
|
450
|
+
if attributes.has_key?(:'serviceHeaderResolutionVisibleFlag')
|
451
|
+
self.service_header_resolution_visible_flag = attributes[:'serviceHeaderResolutionVisibleFlag']
|
452
|
+
end
|
453
|
+
|
454
|
+
if attributes.has_key?(:'serviceHeaderResolutionCaption')
|
455
|
+
self.service_header_resolution_caption = attributes[:'serviceHeaderResolutionCaption']
|
456
|
+
end
|
457
|
+
|
458
|
+
if attributes.has_key?(:'serviceHeaderAmountVisibleFlag')
|
459
|
+
self.service_header_amount_visible_flag = attributes[:'serviceHeaderAmountVisibleFlag']
|
460
|
+
end
|
461
|
+
|
462
|
+
if attributes.has_key?(:'serviceHeaderAmountCaption')
|
463
|
+
self.service_header_amount_caption = attributes[:'serviceHeaderAmountCaption']
|
464
|
+
end
|
465
|
+
|
466
|
+
if attributes.has_key?(:'serviceHeaderBillingMethodVisibleFlag')
|
467
|
+
self.service_header_billing_method_visible_flag = attributes[:'serviceHeaderBillingMethodVisibleFlag']
|
468
|
+
end
|
469
|
+
|
470
|
+
if attributes.has_key?(:'serviceHeaderBillingMethodCaption')
|
471
|
+
self.service_header_billing_method_caption = attributes[:'serviceHeaderBillingMethodCaption']
|
472
|
+
end
|
473
|
+
|
474
|
+
if attributes.has_key?(:'serviceHeaderClosedTasksVisibleFlag')
|
475
|
+
self.service_header_closed_tasks_visible_flag = attributes[:'serviceHeaderClosedTasksVisibleFlag']
|
476
|
+
end
|
477
|
+
|
478
|
+
if attributes.has_key?(:'serviceHeaderOpenTasksVisibleFlag')
|
479
|
+
self.service_header_open_tasks_visible_flag = attributes[:'serviceHeaderOpenTasksVisibleFlag']
|
480
|
+
end
|
481
|
+
|
482
|
+
if attributes.has_key?(:'serviceHeaderBundledTicketsVisibleFlag')
|
483
|
+
self.service_header_bundled_tickets_visible_flag = attributes[:'serviceHeaderBundledTicketsVisibleFlag']
|
484
|
+
end
|
485
|
+
|
486
|
+
if attributes.has_key?(:'projectHeaderProjectNameVisibleFlag')
|
487
|
+
self.project_header_project_name_visible_flag = attributes[:'projectHeaderProjectNameVisibleFlag']
|
488
|
+
end
|
489
|
+
|
490
|
+
if attributes.has_key?(:'projectHeaderProjectNameCaption')
|
491
|
+
self.project_header_project_name_caption = attributes[:'projectHeaderProjectNameCaption']
|
492
|
+
end
|
493
|
+
|
494
|
+
if attributes.has_key?(:'projectHeaderCompanyNameVisibleFlag')
|
495
|
+
self.project_header_company_name_visible_flag = attributes[:'projectHeaderCompanyNameVisibleFlag']
|
496
|
+
end
|
497
|
+
|
498
|
+
if attributes.has_key?(:'projectHeaderCompanyNameCaption')
|
499
|
+
self.project_header_company_name_caption = attributes[:'projectHeaderCompanyNameCaption']
|
500
|
+
end
|
501
|
+
|
502
|
+
if attributes.has_key?(:'projectHeaderOriginalDownpaymentVisibleFlag')
|
503
|
+
self.project_header_original_downpayment_visible_flag = attributes[:'projectHeaderOriginalDownpaymentVisibleFlag']
|
504
|
+
end
|
505
|
+
|
506
|
+
if attributes.has_key?(:'projectHeaderOriginalDownpaymentCaption')
|
507
|
+
self.project_header_original_downpayment_caption = attributes[:'projectHeaderOriginalDownpaymentCaption']
|
508
|
+
end
|
509
|
+
|
510
|
+
if attributes.has_key?(:'projectHeaderContactNameVisibleFlag')
|
511
|
+
self.project_header_contact_name_visible_flag = attributes[:'projectHeaderContactNameVisibleFlag']
|
512
|
+
end
|
513
|
+
|
514
|
+
if attributes.has_key?(:'projectHeaderContactNameCaption')
|
515
|
+
self.project_header_contact_name_caption = attributes[:'projectHeaderContactNameCaption']
|
516
|
+
end
|
517
|
+
|
518
|
+
if attributes.has_key?(:'projectHeaderAmountVisibleFlag')
|
519
|
+
self.project_header_amount_visible_flag = attributes[:'projectHeaderAmountVisibleFlag']
|
520
|
+
end
|
521
|
+
|
522
|
+
if attributes.has_key?(:'projectHeaderAmountCaption')
|
523
|
+
self.project_header_amount_caption = attributes[:'projectHeaderAmountCaption']
|
524
|
+
end
|
525
|
+
|
526
|
+
if attributes.has_key?(:'projectHeaderBillingMethodVisibleFlag')
|
527
|
+
self.project_header_billing_method_visible_flag = attributes[:'projectHeaderBillingMethodVisibleFlag']
|
528
|
+
end
|
529
|
+
|
530
|
+
if attributes.has_key?(:'projectHeaderBillingMethodCaption')
|
531
|
+
self.project_header_billing_method_caption = attributes[:'projectHeaderBillingMethodCaption']
|
532
|
+
end
|
533
|
+
|
534
|
+
if attributes.has_key?(:'projectHeaderBillingTypeVisibleFlag')
|
535
|
+
self.project_header_billing_type_visible_flag = attributes[:'projectHeaderBillingTypeVisibleFlag']
|
536
|
+
end
|
537
|
+
|
538
|
+
if attributes.has_key?(:'projectHeaderBillingTypeCaption')
|
539
|
+
self.project_header_billing_type_caption = attributes[:'projectHeaderBillingTypeCaption']
|
540
|
+
end
|
541
|
+
|
542
|
+
if attributes.has_key?(:'_info')
|
543
|
+
self._info = attributes[:'_info']
|
544
|
+
end
|
545
|
+
|
546
|
+
end
|
547
|
+
|
548
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
549
|
+
# @return Array for valid properies with the reasons
|
550
|
+
def list_invalid_properties
|
551
|
+
invalid_properties = Array.new
|
552
|
+
if @name.nil?
|
553
|
+
invalid_properties.push("invalid value for 'name', name cannot be nil.")
|
554
|
+
end
|
555
|
+
|
556
|
+
if @name.to_s.length > 50
|
557
|
+
invalid_properties.push("invalid value for 'name', the character length must be smaller than or equal to 50.")
|
558
|
+
end
|
559
|
+
|
560
|
+
if !@header_title_caption.nil? && @header_title_caption.to_s.length > 50
|
561
|
+
invalid_properties.push("invalid value for 'header_title_caption', the character length must be smaller than or equal to 50.")
|
562
|
+
end
|
563
|
+
|
564
|
+
if !@header_terms_caption.nil? && @header_terms_caption.to_s.length > 50
|
565
|
+
invalid_properties.push("invalid value for 'header_terms_caption', the character length must be smaller than or equal to 50.")
|
566
|
+
end
|
567
|
+
|
568
|
+
if !@header_due_date_caption.nil? && @header_due_date_caption.to_s.length > 50
|
569
|
+
invalid_properties.push("invalid value for 'header_due_date_caption', the character length must be smaller than or equal to 50.")
|
570
|
+
end
|
571
|
+
|
572
|
+
if !@header_po_number_caption.nil? && @header_po_number_caption.to_s.length > 50
|
573
|
+
invalid_properties.push("invalid value for 'header_po_number_caption', the character length must be smaller than or equal to 50.")
|
574
|
+
end
|
575
|
+
|
576
|
+
if !@header_reference_caption.nil? && @header_reference_caption.to_s.length > 50
|
577
|
+
invalid_properties.push("invalid value for 'header_reference_caption', the character length must be smaller than or equal to 50.")
|
578
|
+
end
|
579
|
+
|
580
|
+
if !@header_account_caption.nil? && @header_account_caption.to_s.length > 50
|
581
|
+
invalid_properties.push("invalid value for 'header_account_caption', the character length must be smaller than or equal to 50.")
|
582
|
+
end
|
583
|
+
|
584
|
+
if !@header_tax_id_caption.nil? && @header_tax_id_caption.to_s.length > 50
|
585
|
+
invalid_properties.push("invalid value for 'header_tax_id_caption', the character length must be smaller than or equal to 50.")
|
586
|
+
end
|
587
|
+
|
588
|
+
if !@header_ship_to_caption.nil? && @header_ship_to_caption.to_s.length > 50
|
589
|
+
invalid_properties.push("invalid value for 'header_ship_to_caption', the character length must be smaller than or equal to 50.")
|
590
|
+
end
|
591
|
+
|
592
|
+
if !@serivce_header_ticket_number_caption.nil? && @serivce_header_ticket_number_caption.to_s.length > 50
|
593
|
+
invalid_properties.push("invalid value for 'serivce_header_ticket_number_caption', the character length must be smaller than or equal to 50.")
|
594
|
+
end
|
595
|
+
|
596
|
+
if !@service_header_company_name_caption.nil? && @service_header_company_name_caption.to_s.length > 50
|
597
|
+
invalid_properties.push("invalid value for 'service_header_company_name_caption', the character length must be smaller than or equal to 50.")
|
598
|
+
end
|
599
|
+
|
600
|
+
if !@service_header_summary_caption.nil? && @service_header_summary_caption.to_s.length > 50
|
601
|
+
invalid_properties.push("invalid value for 'service_header_summary_caption', the character length must be smaller than or equal to 50.")
|
602
|
+
end
|
603
|
+
|
604
|
+
if !@service_header_contact_name_caption.nil? && @service_header_contact_name_caption.to_s.length > 50
|
605
|
+
invalid_properties.push("invalid value for 'service_header_contact_name_caption', the character length must be smaller than or equal to 50.")
|
606
|
+
end
|
607
|
+
|
608
|
+
if !@service_header_detail_description_caption.nil? && @service_header_detail_description_caption.to_s.length > 50
|
609
|
+
invalid_properties.push("invalid value for 'service_header_detail_description_caption', the character length must be smaller than or equal to 50.")
|
610
|
+
end
|
611
|
+
|
612
|
+
if !@service_header_resolution_caption.nil? && @service_header_resolution_caption.to_s.length > 50
|
613
|
+
invalid_properties.push("invalid value for 'service_header_resolution_caption', the character length must be smaller than or equal to 50.")
|
614
|
+
end
|
615
|
+
|
616
|
+
if !@service_header_amount_caption.nil? && @service_header_amount_caption.to_s.length > 50
|
617
|
+
invalid_properties.push("invalid value for 'service_header_amount_caption', the character length must be smaller than or equal to 50.")
|
618
|
+
end
|
619
|
+
|
620
|
+
if !@service_header_billing_method_caption.nil? && @service_header_billing_method_caption.to_s.length > 50
|
621
|
+
invalid_properties.push("invalid value for 'service_header_billing_method_caption', the character length must be smaller than or equal to 50.")
|
622
|
+
end
|
623
|
+
|
624
|
+
if !@project_header_project_name_caption.nil? && @project_header_project_name_caption.to_s.length > 50
|
625
|
+
invalid_properties.push("invalid value for 'project_header_project_name_caption', the character length must be smaller than or equal to 50.")
|
626
|
+
end
|
627
|
+
|
628
|
+
if !@project_header_company_name_caption.nil? && @project_header_company_name_caption.to_s.length > 50
|
629
|
+
invalid_properties.push("invalid value for 'project_header_company_name_caption', the character length must be smaller than or equal to 50.")
|
630
|
+
end
|
631
|
+
|
632
|
+
if !@project_header_original_downpayment_caption.nil? && @project_header_original_downpayment_caption.to_s.length > 50
|
633
|
+
invalid_properties.push("invalid value for 'project_header_original_downpayment_caption', the character length must be smaller than or equal to 50.")
|
634
|
+
end
|
635
|
+
|
636
|
+
if !@project_header_contact_name_caption.nil? && @project_header_contact_name_caption.to_s.length > 50
|
637
|
+
invalid_properties.push("invalid value for 'project_header_contact_name_caption', the character length must be smaller than or equal to 50.")
|
638
|
+
end
|
639
|
+
|
640
|
+
if !@project_header_amount_caption.nil? && @project_header_amount_caption.to_s.length > 50
|
641
|
+
invalid_properties.push("invalid value for 'project_header_amount_caption', the character length must be smaller than or equal to 50.")
|
642
|
+
end
|
643
|
+
|
644
|
+
if !@project_header_billing_method_caption.nil? && @project_header_billing_method_caption.to_s.length > 50
|
645
|
+
invalid_properties.push("invalid value for 'project_header_billing_method_caption', the character length must be smaller than or equal to 50.")
|
646
|
+
end
|
647
|
+
|
648
|
+
if !@project_header_billing_type_caption.nil? && @project_header_billing_type_caption.to_s.length > 50
|
649
|
+
invalid_properties.push("invalid value for 'project_header_billing_type_caption', the character length must be smaller than or equal to 50.")
|
650
|
+
end
|
651
|
+
|
652
|
+
return invalid_properties
|
653
|
+
end
|
654
|
+
|
655
|
+
# Check to see if the all the properties in the model are valid
|
656
|
+
# @return true if the model is valid
|
657
|
+
def valid?
|
658
|
+
return false if @name.nil?
|
659
|
+
return false if @name.to_s.length > 50
|
660
|
+
header_logo_position_validator = EnumAttributeValidator.new('String', ["LeftSide", "RightSide", "Center"])
|
661
|
+
return false unless header_logo_position_validator.valid?(@header_logo_position)
|
662
|
+
header_address_position_validator = EnumAttributeValidator.new('String', ["LeftSide", "RightSide", "Center"])
|
663
|
+
return false unless header_address_position_validator.valid?(@header_address_position)
|
664
|
+
return false if !@header_title_caption.nil? && @header_title_caption.to_s.length > 50
|
665
|
+
header_title_position_validator = EnumAttributeValidator.new('String', ["LeftSide", "RightSide", "Center"])
|
666
|
+
return false unless header_title_position_validator.valid?(@header_title_position)
|
667
|
+
header_title_font_validator = EnumAttributeValidator.new('String', ["Regular", "RegularBold", "Large", "LargeBold", "ExtraLarge", "ExtraLargeBold"])
|
668
|
+
return false unless header_title_font_validator.valid?(@header_title_font)
|
669
|
+
return false if !@header_terms_caption.nil? && @header_terms_caption.to_s.length > 50
|
670
|
+
return false if !@header_due_date_caption.nil? && @header_due_date_caption.to_s.length > 50
|
671
|
+
return false if !@header_po_number_caption.nil? && @header_po_number_caption.to_s.length > 50
|
672
|
+
return false if !@header_reference_caption.nil? && @header_reference_caption.to_s.length > 50
|
673
|
+
return false if !@header_account_caption.nil? && @header_account_caption.to_s.length > 50
|
674
|
+
return false if !@header_tax_id_caption.nil? && @header_tax_id_caption.to_s.length > 50
|
675
|
+
return false if !@header_ship_to_caption.nil? && @header_ship_to_caption.to_s.length > 50
|
676
|
+
return false if !@serivce_header_ticket_number_caption.nil? && @serivce_header_ticket_number_caption.to_s.length > 50
|
677
|
+
return false if !@service_header_company_name_caption.nil? && @service_header_company_name_caption.to_s.length > 50
|
678
|
+
return false if !@service_header_summary_caption.nil? && @service_header_summary_caption.to_s.length > 50
|
679
|
+
return false if !@service_header_contact_name_caption.nil? && @service_header_contact_name_caption.to_s.length > 50
|
680
|
+
return false if !@service_header_detail_description_caption.nil? && @service_header_detail_description_caption.to_s.length > 50
|
681
|
+
return false if !@service_header_resolution_caption.nil? && @service_header_resolution_caption.to_s.length > 50
|
682
|
+
return false if !@service_header_amount_caption.nil? && @service_header_amount_caption.to_s.length > 50
|
683
|
+
return false if !@service_header_billing_method_caption.nil? && @service_header_billing_method_caption.to_s.length > 50
|
684
|
+
return false if !@project_header_project_name_caption.nil? && @project_header_project_name_caption.to_s.length > 50
|
685
|
+
return false if !@project_header_company_name_caption.nil? && @project_header_company_name_caption.to_s.length > 50
|
686
|
+
return false if !@project_header_original_downpayment_caption.nil? && @project_header_original_downpayment_caption.to_s.length > 50
|
687
|
+
return false if !@project_header_contact_name_caption.nil? && @project_header_contact_name_caption.to_s.length > 50
|
688
|
+
return false if !@project_header_amount_caption.nil? && @project_header_amount_caption.to_s.length > 50
|
689
|
+
return false if !@project_header_billing_method_caption.nil? && @project_header_billing_method_caption.to_s.length > 50
|
690
|
+
return false if !@project_header_billing_type_caption.nil? && @project_header_billing_type_caption.to_s.length > 50
|
691
|
+
return true
|
692
|
+
end
|
693
|
+
|
694
|
+
# Custom attribute writer method with validation
|
695
|
+
# @param [Object] name Value to be assigned
|
696
|
+
def name=(name)
|
697
|
+
if name.nil?
|
698
|
+
fail ArgumentError, "name cannot be nil"
|
699
|
+
end
|
700
|
+
|
701
|
+
if name.to_s.length > 50
|
702
|
+
fail ArgumentError, "invalid value for 'name', the character length must be smaller than or equal to 50."
|
703
|
+
end
|
704
|
+
|
705
|
+
@name = name
|
706
|
+
end
|
707
|
+
|
708
|
+
# Custom attribute writer method checking allowed values (enum).
|
709
|
+
# @param [Object] header_logo_position Object to be assigned
|
710
|
+
def header_logo_position=(header_logo_position)
|
711
|
+
validator = EnumAttributeValidator.new('String', ["LeftSide", "RightSide", "Center"])
|
712
|
+
unless validator.valid?(header_logo_position)
|
713
|
+
fail ArgumentError, "invalid value for 'header_logo_position', must be one of #{validator.allowable_values}."
|
714
|
+
end
|
715
|
+
@header_logo_position = header_logo_position
|
716
|
+
end
|
717
|
+
|
718
|
+
# Custom attribute writer method checking allowed values (enum).
|
719
|
+
# @param [Object] header_address_position Object to be assigned
|
720
|
+
def header_address_position=(header_address_position)
|
721
|
+
validator = EnumAttributeValidator.new('String', ["LeftSide", "RightSide", "Center"])
|
722
|
+
unless validator.valid?(header_address_position)
|
723
|
+
fail ArgumentError, "invalid value for 'header_address_position', must be one of #{validator.allowable_values}."
|
724
|
+
end
|
725
|
+
@header_address_position = header_address_position
|
726
|
+
end
|
727
|
+
|
728
|
+
# Custom attribute writer method with validation
|
729
|
+
# @param [Object] header_title_caption Value to be assigned
|
730
|
+
def header_title_caption=(header_title_caption)
|
731
|
+
|
732
|
+
if !header_title_caption.nil? && header_title_caption.to_s.length > 50
|
733
|
+
fail ArgumentError, "invalid value for 'header_title_caption', the character length must be smaller than or equal to 50."
|
734
|
+
end
|
735
|
+
|
736
|
+
@header_title_caption = header_title_caption
|
737
|
+
end
|
738
|
+
|
739
|
+
# Custom attribute writer method checking allowed values (enum).
|
740
|
+
# @param [Object] header_title_position Object to be assigned
|
741
|
+
def header_title_position=(header_title_position)
|
742
|
+
validator = EnumAttributeValidator.new('String', ["LeftSide", "RightSide", "Center"])
|
743
|
+
unless validator.valid?(header_title_position)
|
744
|
+
fail ArgumentError, "invalid value for 'header_title_position', must be one of #{validator.allowable_values}."
|
745
|
+
end
|
746
|
+
@header_title_position = header_title_position
|
747
|
+
end
|
748
|
+
|
749
|
+
# Custom attribute writer method checking allowed values (enum).
|
750
|
+
# @param [Object] header_title_font Object to be assigned
|
751
|
+
def header_title_font=(header_title_font)
|
752
|
+
validator = EnumAttributeValidator.new('String', ["Regular", "RegularBold", "Large", "LargeBold", "ExtraLarge", "ExtraLargeBold"])
|
753
|
+
unless validator.valid?(header_title_font)
|
754
|
+
fail ArgumentError, "invalid value for 'header_title_font', must be one of #{validator.allowable_values}."
|
755
|
+
end
|
756
|
+
@header_title_font = header_title_font
|
757
|
+
end
|
758
|
+
|
759
|
+
# Custom attribute writer method with validation
|
760
|
+
# @param [Object] header_terms_caption Value to be assigned
|
761
|
+
def header_terms_caption=(header_terms_caption)
|
762
|
+
|
763
|
+
if !header_terms_caption.nil? && header_terms_caption.to_s.length > 50
|
764
|
+
fail ArgumentError, "invalid value for 'header_terms_caption', the character length must be smaller than or equal to 50."
|
765
|
+
end
|
766
|
+
|
767
|
+
@header_terms_caption = header_terms_caption
|
768
|
+
end
|
769
|
+
|
770
|
+
# Custom attribute writer method with validation
|
771
|
+
# @param [Object] header_due_date_caption Value to be assigned
|
772
|
+
def header_due_date_caption=(header_due_date_caption)
|
773
|
+
|
774
|
+
if !header_due_date_caption.nil? && header_due_date_caption.to_s.length > 50
|
775
|
+
fail ArgumentError, "invalid value for 'header_due_date_caption', the character length must be smaller than or equal to 50."
|
776
|
+
end
|
777
|
+
|
778
|
+
@header_due_date_caption = header_due_date_caption
|
779
|
+
end
|
780
|
+
|
781
|
+
# Custom attribute writer method with validation
|
782
|
+
# @param [Object] header_po_number_caption Value to be assigned
|
783
|
+
def header_po_number_caption=(header_po_number_caption)
|
784
|
+
|
785
|
+
if !header_po_number_caption.nil? && header_po_number_caption.to_s.length > 50
|
786
|
+
fail ArgumentError, "invalid value for 'header_po_number_caption', the character length must be smaller than or equal to 50."
|
787
|
+
end
|
788
|
+
|
789
|
+
@header_po_number_caption = header_po_number_caption
|
790
|
+
end
|
791
|
+
|
792
|
+
# Custom attribute writer method with validation
|
793
|
+
# @param [Object] header_reference_caption Value to be assigned
|
794
|
+
def header_reference_caption=(header_reference_caption)
|
795
|
+
|
796
|
+
if !header_reference_caption.nil? && header_reference_caption.to_s.length > 50
|
797
|
+
fail ArgumentError, "invalid value for 'header_reference_caption', the character length must be smaller than or equal to 50."
|
798
|
+
end
|
799
|
+
|
800
|
+
@header_reference_caption = header_reference_caption
|
801
|
+
end
|
802
|
+
|
803
|
+
# Custom attribute writer method with validation
|
804
|
+
# @param [Object] header_account_caption Value to be assigned
|
805
|
+
def header_account_caption=(header_account_caption)
|
806
|
+
|
807
|
+
if !header_account_caption.nil? && header_account_caption.to_s.length > 50
|
808
|
+
fail ArgumentError, "invalid value for 'header_account_caption', the character length must be smaller than or equal to 50."
|
809
|
+
end
|
810
|
+
|
811
|
+
@header_account_caption = header_account_caption
|
812
|
+
end
|
813
|
+
|
814
|
+
# Custom attribute writer method with validation
|
815
|
+
# @param [Object] header_tax_id_caption Value to be assigned
|
816
|
+
def header_tax_id_caption=(header_tax_id_caption)
|
817
|
+
|
818
|
+
if !header_tax_id_caption.nil? && header_tax_id_caption.to_s.length > 50
|
819
|
+
fail ArgumentError, "invalid value for 'header_tax_id_caption', the character length must be smaller than or equal to 50."
|
820
|
+
end
|
821
|
+
|
822
|
+
@header_tax_id_caption = header_tax_id_caption
|
823
|
+
end
|
824
|
+
|
825
|
+
# Custom attribute writer method with validation
|
826
|
+
# @param [Object] header_ship_to_caption Value to be assigned
|
827
|
+
def header_ship_to_caption=(header_ship_to_caption)
|
828
|
+
|
829
|
+
if !header_ship_to_caption.nil? && header_ship_to_caption.to_s.length > 50
|
830
|
+
fail ArgumentError, "invalid value for 'header_ship_to_caption', the character length must be smaller than or equal to 50."
|
831
|
+
end
|
832
|
+
|
833
|
+
@header_ship_to_caption = header_ship_to_caption
|
834
|
+
end
|
835
|
+
|
836
|
+
# Custom attribute writer method with validation
|
837
|
+
# @param [Object] serivce_header_ticket_number_caption Value to be assigned
|
838
|
+
def serivce_header_ticket_number_caption=(serivce_header_ticket_number_caption)
|
839
|
+
|
840
|
+
if !serivce_header_ticket_number_caption.nil? && serivce_header_ticket_number_caption.to_s.length > 50
|
841
|
+
fail ArgumentError, "invalid value for 'serivce_header_ticket_number_caption', the character length must be smaller than or equal to 50."
|
842
|
+
end
|
843
|
+
|
844
|
+
@serivce_header_ticket_number_caption = serivce_header_ticket_number_caption
|
845
|
+
end
|
846
|
+
|
847
|
+
# Custom attribute writer method with validation
|
848
|
+
# @param [Object] service_header_company_name_caption Value to be assigned
|
849
|
+
def service_header_company_name_caption=(service_header_company_name_caption)
|
850
|
+
|
851
|
+
if !service_header_company_name_caption.nil? && service_header_company_name_caption.to_s.length > 50
|
852
|
+
fail ArgumentError, "invalid value for 'service_header_company_name_caption', the character length must be smaller than or equal to 50."
|
853
|
+
end
|
854
|
+
|
855
|
+
@service_header_company_name_caption = service_header_company_name_caption
|
856
|
+
end
|
857
|
+
|
858
|
+
# Custom attribute writer method with validation
|
859
|
+
# @param [Object] service_header_summary_caption Value to be assigned
|
860
|
+
def service_header_summary_caption=(service_header_summary_caption)
|
861
|
+
|
862
|
+
if !service_header_summary_caption.nil? && service_header_summary_caption.to_s.length > 50
|
863
|
+
fail ArgumentError, "invalid value for 'service_header_summary_caption', the character length must be smaller than or equal to 50."
|
864
|
+
end
|
865
|
+
|
866
|
+
@service_header_summary_caption = service_header_summary_caption
|
867
|
+
end
|
868
|
+
|
869
|
+
# Custom attribute writer method with validation
|
870
|
+
# @param [Object] service_header_contact_name_caption Value to be assigned
|
871
|
+
def service_header_contact_name_caption=(service_header_contact_name_caption)
|
872
|
+
|
873
|
+
if !service_header_contact_name_caption.nil? && service_header_contact_name_caption.to_s.length > 50
|
874
|
+
fail ArgumentError, "invalid value for 'service_header_contact_name_caption', the character length must be smaller than or equal to 50."
|
875
|
+
end
|
876
|
+
|
877
|
+
@service_header_contact_name_caption = service_header_contact_name_caption
|
878
|
+
end
|
879
|
+
|
880
|
+
# Custom attribute writer method with validation
|
881
|
+
# @param [Object] service_header_detail_description_caption Value to be assigned
|
882
|
+
def service_header_detail_description_caption=(service_header_detail_description_caption)
|
883
|
+
|
884
|
+
if !service_header_detail_description_caption.nil? && service_header_detail_description_caption.to_s.length > 50
|
885
|
+
fail ArgumentError, "invalid value for 'service_header_detail_description_caption', the character length must be smaller than or equal to 50."
|
886
|
+
end
|
887
|
+
|
888
|
+
@service_header_detail_description_caption = service_header_detail_description_caption
|
889
|
+
end
|
890
|
+
|
891
|
+
# Custom attribute writer method with validation
|
892
|
+
# @param [Object] service_header_resolution_caption Value to be assigned
|
893
|
+
def service_header_resolution_caption=(service_header_resolution_caption)
|
894
|
+
|
895
|
+
if !service_header_resolution_caption.nil? && service_header_resolution_caption.to_s.length > 50
|
896
|
+
fail ArgumentError, "invalid value for 'service_header_resolution_caption', the character length must be smaller than or equal to 50."
|
897
|
+
end
|
898
|
+
|
899
|
+
@service_header_resolution_caption = service_header_resolution_caption
|
900
|
+
end
|
901
|
+
|
902
|
+
# Custom attribute writer method with validation
|
903
|
+
# @param [Object] service_header_amount_caption Value to be assigned
|
904
|
+
def service_header_amount_caption=(service_header_amount_caption)
|
905
|
+
|
906
|
+
if !service_header_amount_caption.nil? && service_header_amount_caption.to_s.length > 50
|
907
|
+
fail ArgumentError, "invalid value for 'service_header_amount_caption', the character length must be smaller than or equal to 50."
|
908
|
+
end
|
909
|
+
|
910
|
+
@service_header_amount_caption = service_header_amount_caption
|
911
|
+
end
|
912
|
+
|
913
|
+
# Custom attribute writer method with validation
|
914
|
+
# @param [Object] service_header_billing_method_caption Value to be assigned
|
915
|
+
def service_header_billing_method_caption=(service_header_billing_method_caption)
|
916
|
+
|
917
|
+
if !service_header_billing_method_caption.nil? && service_header_billing_method_caption.to_s.length > 50
|
918
|
+
fail ArgumentError, "invalid value for 'service_header_billing_method_caption', the character length must be smaller than or equal to 50."
|
919
|
+
end
|
920
|
+
|
921
|
+
@service_header_billing_method_caption = service_header_billing_method_caption
|
922
|
+
end
|
923
|
+
|
924
|
+
# Custom attribute writer method with validation
|
925
|
+
# @param [Object] project_header_project_name_caption Value to be assigned
|
926
|
+
def project_header_project_name_caption=(project_header_project_name_caption)
|
927
|
+
|
928
|
+
if !project_header_project_name_caption.nil? && project_header_project_name_caption.to_s.length > 50
|
929
|
+
fail ArgumentError, "invalid value for 'project_header_project_name_caption', the character length must be smaller than or equal to 50."
|
930
|
+
end
|
931
|
+
|
932
|
+
@project_header_project_name_caption = project_header_project_name_caption
|
933
|
+
end
|
934
|
+
|
935
|
+
# Custom attribute writer method with validation
|
936
|
+
# @param [Object] project_header_company_name_caption Value to be assigned
|
937
|
+
def project_header_company_name_caption=(project_header_company_name_caption)
|
938
|
+
|
939
|
+
if !project_header_company_name_caption.nil? && project_header_company_name_caption.to_s.length > 50
|
940
|
+
fail ArgumentError, "invalid value for 'project_header_company_name_caption', the character length must be smaller than or equal to 50."
|
941
|
+
end
|
942
|
+
|
943
|
+
@project_header_company_name_caption = project_header_company_name_caption
|
944
|
+
end
|
945
|
+
|
946
|
+
# Custom attribute writer method with validation
|
947
|
+
# @param [Object] project_header_original_downpayment_caption Value to be assigned
|
948
|
+
def project_header_original_downpayment_caption=(project_header_original_downpayment_caption)
|
949
|
+
|
950
|
+
if !project_header_original_downpayment_caption.nil? && project_header_original_downpayment_caption.to_s.length > 50
|
951
|
+
fail ArgumentError, "invalid value for 'project_header_original_downpayment_caption', the character length must be smaller than or equal to 50."
|
952
|
+
end
|
953
|
+
|
954
|
+
@project_header_original_downpayment_caption = project_header_original_downpayment_caption
|
955
|
+
end
|
956
|
+
|
957
|
+
# Custom attribute writer method with validation
|
958
|
+
# @param [Object] project_header_contact_name_caption Value to be assigned
|
959
|
+
def project_header_contact_name_caption=(project_header_contact_name_caption)
|
960
|
+
|
961
|
+
if !project_header_contact_name_caption.nil? && project_header_contact_name_caption.to_s.length > 50
|
962
|
+
fail ArgumentError, "invalid value for 'project_header_contact_name_caption', the character length must be smaller than or equal to 50."
|
963
|
+
end
|
964
|
+
|
965
|
+
@project_header_contact_name_caption = project_header_contact_name_caption
|
966
|
+
end
|
967
|
+
|
968
|
+
# Custom attribute writer method with validation
|
969
|
+
# @param [Object] project_header_amount_caption Value to be assigned
|
970
|
+
def project_header_amount_caption=(project_header_amount_caption)
|
971
|
+
|
972
|
+
if !project_header_amount_caption.nil? && project_header_amount_caption.to_s.length > 50
|
973
|
+
fail ArgumentError, "invalid value for 'project_header_amount_caption', the character length must be smaller than or equal to 50."
|
974
|
+
end
|
975
|
+
|
976
|
+
@project_header_amount_caption = project_header_amount_caption
|
977
|
+
end
|
978
|
+
|
979
|
+
# Custom attribute writer method with validation
|
980
|
+
# @param [Object] project_header_billing_method_caption Value to be assigned
|
981
|
+
def project_header_billing_method_caption=(project_header_billing_method_caption)
|
982
|
+
|
983
|
+
if !project_header_billing_method_caption.nil? && project_header_billing_method_caption.to_s.length > 50
|
984
|
+
fail ArgumentError, "invalid value for 'project_header_billing_method_caption', the character length must be smaller than or equal to 50."
|
985
|
+
end
|
986
|
+
|
987
|
+
@project_header_billing_method_caption = project_header_billing_method_caption
|
988
|
+
end
|
989
|
+
|
990
|
+
# Custom attribute writer method with validation
|
991
|
+
# @param [Object] project_header_billing_type_caption Value to be assigned
|
992
|
+
def project_header_billing_type_caption=(project_header_billing_type_caption)
|
993
|
+
|
994
|
+
if !project_header_billing_type_caption.nil? && project_header_billing_type_caption.to_s.length > 50
|
995
|
+
fail ArgumentError, "invalid value for 'project_header_billing_type_caption', the character length must be smaller than or equal to 50."
|
996
|
+
end
|
997
|
+
|
998
|
+
@project_header_billing_type_caption = project_header_billing_type_caption
|
999
|
+
end
|
1000
|
+
|
1001
|
+
# Checks equality by comparing each attribute.
|
1002
|
+
# @param [Object] Object to be compared
|
1003
|
+
def ==(o)
|
1004
|
+
return true if self.equal?(o)
|
1005
|
+
self.class == o.class &&
|
1006
|
+
id == o.id &&
|
1007
|
+
name == o.name &&
|
1008
|
+
margin_left == o.margin_left &&
|
1009
|
+
margin_right == o.margin_right &&
|
1010
|
+
margin_top == o.margin_top &&
|
1011
|
+
margin_bottom == o.margin_bottom &&
|
1012
|
+
logo_visible_flag == o.logo_visible_flag &&
|
1013
|
+
header_logo_position == o.header_logo_position &&
|
1014
|
+
remit_to_visibile_flag == o.remit_to_visibile_flag &&
|
1015
|
+
header_address_position == o.header_address_position &&
|
1016
|
+
header_title_visibile_flag == o.header_title_visibile_flag &&
|
1017
|
+
header_title_caption == o.header_title_caption &&
|
1018
|
+
header_title_position == o.header_title_position &&
|
1019
|
+
header_title_font == o.header_title_font &&
|
1020
|
+
header_terms_visible_flag == o.header_terms_visible_flag &&
|
1021
|
+
header_terms_caption == o.header_terms_caption &&
|
1022
|
+
header_due_date_visible_flag == o.header_due_date_visible_flag &&
|
1023
|
+
header_due_date_caption == o.header_due_date_caption &&
|
1024
|
+
header_po_number_visible_flag == o.header_po_number_visible_flag &&
|
1025
|
+
header_po_number_caption == o.header_po_number_caption &&
|
1026
|
+
header_reference_visible_flag == o.header_reference_visible_flag &&
|
1027
|
+
header_reference_caption == o.header_reference_caption &&
|
1028
|
+
header_account_visible_flag == o.header_account_visible_flag &&
|
1029
|
+
header_account_caption == o.header_account_caption &&
|
1030
|
+
header_tax_id_visible_flag == o.header_tax_id_visible_flag &&
|
1031
|
+
header_tax_id_caption == o.header_tax_id_caption &&
|
1032
|
+
header_ship_to_visible_flag == o.header_ship_to_visible_flag &&
|
1033
|
+
header_ship_to_caption == o.header_ship_to_caption &&
|
1034
|
+
service_header_ticket_number_visible_flag == o.service_header_ticket_number_visible_flag &&
|
1035
|
+
serivce_header_ticket_number_caption == o.serivce_header_ticket_number_caption &&
|
1036
|
+
service_header_company_name_visible_flag == o.service_header_company_name_visible_flag &&
|
1037
|
+
service_header_company_name_caption == o.service_header_company_name_caption &&
|
1038
|
+
service_header_summary_visible_flag == o.service_header_summary_visible_flag &&
|
1039
|
+
service_header_summary_caption == o.service_header_summary_caption &&
|
1040
|
+
service_header_contact_name_visible_flag == o.service_header_contact_name_visible_flag &&
|
1041
|
+
service_header_contact_name_caption == o.service_header_contact_name_caption &&
|
1042
|
+
service_header_detail_description_visible_flag == o.service_header_detail_description_visible_flag &&
|
1043
|
+
service_header_detail_description_caption == o.service_header_detail_description_caption &&
|
1044
|
+
service_header_resolution_visible_flag == o.service_header_resolution_visible_flag &&
|
1045
|
+
service_header_resolution_caption == o.service_header_resolution_caption &&
|
1046
|
+
service_header_amount_visible_flag == o.service_header_amount_visible_flag &&
|
1047
|
+
service_header_amount_caption == o.service_header_amount_caption &&
|
1048
|
+
service_header_billing_method_visible_flag == o.service_header_billing_method_visible_flag &&
|
1049
|
+
service_header_billing_method_caption == o.service_header_billing_method_caption &&
|
1050
|
+
service_header_closed_tasks_visible_flag == o.service_header_closed_tasks_visible_flag &&
|
1051
|
+
service_header_open_tasks_visible_flag == o.service_header_open_tasks_visible_flag &&
|
1052
|
+
service_header_bundled_tickets_visible_flag == o.service_header_bundled_tickets_visible_flag &&
|
1053
|
+
project_header_project_name_visible_flag == o.project_header_project_name_visible_flag &&
|
1054
|
+
project_header_project_name_caption == o.project_header_project_name_caption &&
|
1055
|
+
project_header_company_name_visible_flag == o.project_header_company_name_visible_flag &&
|
1056
|
+
project_header_company_name_caption == o.project_header_company_name_caption &&
|
1057
|
+
project_header_original_downpayment_visible_flag == o.project_header_original_downpayment_visible_flag &&
|
1058
|
+
project_header_original_downpayment_caption == o.project_header_original_downpayment_caption &&
|
1059
|
+
project_header_contact_name_visible_flag == o.project_header_contact_name_visible_flag &&
|
1060
|
+
project_header_contact_name_caption == o.project_header_contact_name_caption &&
|
1061
|
+
project_header_amount_visible_flag == o.project_header_amount_visible_flag &&
|
1062
|
+
project_header_amount_caption == o.project_header_amount_caption &&
|
1063
|
+
project_header_billing_method_visible_flag == o.project_header_billing_method_visible_flag &&
|
1064
|
+
project_header_billing_method_caption == o.project_header_billing_method_caption &&
|
1065
|
+
project_header_billing_type_visible_flag == o.project_header_billing_type_visible_flag &&
|
1066
|
+
project_header_billing_type_caption == o.project_header_billing_type_caption &&
|
1067
|
+
_info == o._info
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
# @see the `==` method
|
1071
|
+
# @param [Object] Object to be compared
|
1072
|
+
def eql?(o)
|
1073
|
+
self == o
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
# Calculates hash code according to all attributes.
|
1077
|
+
# @return [Fixnum] Hash code
|
1078
|
+
def hash
|
1079
|
+
[id, name, margin_left, margin_right, margin_top, margin_bottom, logo_visible_flag, header_logo_position, remit_to_visibile_flag, header_address_position, header_title_visibile_flag, header_title_caption, header_title_position, header_title_font, header_terms_visible_flag, header_terms_caption, header_due_date_visible_flag, header_due_date_caption, header_po_number_visible_flag, header_po_number_caption, header_reference_visible_flag, header_reference_caption, header_account_visible_flag, header_account_caption, header_tax_id_visible_flag, header_tax_id_caption, header_ship_to_visible_flag, header_ship_to_caption, service_header_ticket_number_visible_flag, serivce_header_ticket_number_caption, service_header_company_name_visible_flag, service_header_company_name_caption, service_header_summary_visible_flag, service_header_summary_caption, service_header_contact_name_visible_flag, service_header_contact_name_caption, service_header_detail_description_visible_flag, service_header_detail_description_caption, service_header_resolution_visible_flag, service_header_resolution_caption, service_header_amount_visible_flag, service_header_amount_caption, service_header_billing_method_visible_flag, service_header_billing_method_caption, service_header_closed_tasks_visible_flag, service_header_open_tasks_visible_flag, service_header_bundled_tickets_visible_flag, project_header_project_name_visible_flag, project_header_project_name_caption, project_header_company_name_visible_flag, project_header_company_name_caption, project_header_original_downpayment_visible_flag, project_header_original_downpayment_caption, project_header_contact_name_visible_flag, project_header_contact_name_caption, project_header_amount_visible_flag, project_header_amount_caption, project_header_billing_method_visible_flag, project_header_billing_method_caption, project_header_billing_type_visible_flag, project_header_billing_type_caption, _info].hash
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
# Builds the object from hash
|
1083
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
1084
|
+
# @return [Object] Returns the model itself
|
1085
|
+
def build_from_hash(attributes)
|
1086
|
+
return nil unless attributes.is_a?(Hash)
|
1087
|
+
self.class.swagger_types.each_pair do |key, type|
|
1088
|
+
if type =~ /\AArray<(.*)>/i
|
1089
|
+
# check to ensure the input is an array given that the the attribute
|
1090
|
+
# is documented as an array but the input is not
|
1091
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
1092
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
1093
|
+
end
|
1094
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
1095
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
1096
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
self
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
# Deserializes the data based on type
|
1103
|
+
# @param string type Data type
|
1104
|
+
# @param string value Value to be deserialized
|
1105
|
+
# @return [Object] Deserialized data
|
1106
|
+
def _deserialize(type, value)
|
1107
|
+
case type.to_sym
|
1108
|
+
when :DateTime
|
1109
|
+
DateTime.parse(value)
|
1110
|
+
when :Date
|
1111
|
+
Date.parse(value)
|
1112
|
+
when :String
|
1113
|
+
value.to_s
|
1114
|
+
when :Integer
|
1115
|
+
value.to_i
|
1116
|
+
when :Float
|
1117
|
+
value.to_f
|
1118
|
+
when :BOOLEAN
|
1119
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
1120
|
+
true
|
1121
|
+
else
|
1122
|
+
false
|
1123
|
+
end
|
1124
|
+
when :Object
|
1125
|
+
# generic object (usually a Hash), return directly
|
1126
|
+
value
|
1127
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
1128
|
+
inner_type = Regexp.last_match[:inner_type]
|
1129
|
+
value.map { |v| _deserialize(inner_type, v) }
|
1130
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
1131
|
+
k_type = Regexp.last_match[:k_type]
|
1132
|
+
v_type = Regexp.last_match[:v_type]
|
1133
|
+
{}.tap do |hash|
|
1134
|
+
value.each do |k, v|
|
1135
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
1136
|
+
end
|
1137
|
+
end
|
1138
|
+
else # model
|
1139
|
+
temp_model = ConnectWise.const_get(type).new
|
1140
|
+
temp_model.build_from_hash(value)
|
1141
|
+
end
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
# Returns the string representation of the object
|
1145
|
+
# @return [String] String presentation of the object
|
1146
|
+
def to_s
|
1147
|
+
to_hash.to_s
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
# to_body is an alias to to_hash (backward compatibility)
|
1151
|
+
# @return [Hash] Returns the object in the form of hash
|
1152
|
+
def to_body
|
1153
|
+
to_hash
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
# Returns the object in the form of hash
|
1157
|
+
# @return [Hash] Returns the object in the form of hash
|
1158
|
+
def to_hash
|
1159
|
+
hash = {}
|
1160
|
+
self.class.attribute_map.each_pair do |attr, param|
|
1161
|
+
value = self.send(attr)
|
1162
|
+
next if value.nil?
|
1163
|
+
hash[param] = _to_hash(value)
|
1164
|
+
end
|
1165
|
+
hash
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
# Outputs non-array value in the form of hash
|
1169
|
+
# For object, use to_hash. Otherwise, just return the value
|
1170
|
+
# @param [Object] value Any valid value
|
1171
|
+
# @return [Hash] Returns the value in the form of hash
|
1172
|
+
def _to_hash(value)
|
1173
|
+
if value.is_a?(Array)
|
1174
|
+
value.compact.map{ |v| _to_hash(v) }
|
1175
|
+
elsif value.is_a?(Hash)
|
1176
|
+
{}.tap do |hash|
|
1177
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
1178
|
+
end
|
1179
|
+
elsif value.respond_to? :to_hash
|
1180
|
+
value.to_hash
|
1181
|
+
else
|
1182
|
+
value
|
1183
|
+
end
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
end
|
1187
|
+
|
1188
|
+
end
|