connectwise-ruby-sdk 1.0.3 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2524) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -5
  3. data/README.md +2466 -1082
  4. data/Rakefile +20 -6
  5. data/connectwise-ruby-sdk.gemspec +8 -31
  6. data/docs/AccountingBatch.md +14 -0
  7. data/docs/AccountingBatchesApi.md +139 -26
  8. data/docs/AccountingPackage.md +29 -0
  9. data/docs/AccountingPackagesApi.md +179 -0
  10. data/docs/AccountingUnpostedExpensesApi.md +14 -10
  11. data/docs/AccountingUnpostedProcurementsApi.md +14 -10
  12. data/docs/AccountingUnpostedinvoicesApi.md +14 -10
  13. data/docs/ActivitiesApi.md +31 -25
  14. data/docs/Activity.md +4 -2
  15. data/docs/ActivityReference.md +1 -1
  16. data/docs/ActivityStatus.md +1 -1
  17. data/docs/ActivityStatusReference.md +1 -1
  18. data/docs/ActivityStatusesApi.md +29 -25
  19. data/docs/ActivityStopwatch.md +26 -0
  20. data/docs/ActivityStopwatchesApi.md +396 -0
  21. data/docs/ActivityType.md +1 -1
  22. data/docs/ActivityTypeReference.md +1 -1
  23. data/docs/ActivityTypesApi.md +29 -25
  24. data/docs/Addition.md +6 -1
  25. data/docs/AddressFormat.md +15 -0
  26. data/docs/AddressFormatReference.md +10 -0
  27. data/docs/AddressFormatsApi.md +396 -0
  28. data/docs/Adjustment.md +8 -1
  29. data/docs/AdjustmentDetail.md +18 -0
  30. data/docs/AdjustmentDetailsApi.md +299 -0
  31. data/docs/AdjustmentReference.md +10 -0
  32. data/docs/AdjustmentType.md +14 -0
  33. data/docs/AdjustmentTypeReference.md +10 -0
  34. data/docs/AdjustmentTypesApi.md +396 -0
  35. data/docs/AdjustmentsApi.md +396 -0
  36. data/docs/Agreement.md +4 -2
  37. data/docs/AgreementAdditionsApi.md +31 -25
  38. data/docs/AgreementAdjustmentsApi.md +31 -25
  39. data/docs/AgreementBatchSetup.md +11 -0
  40. data/docs/AgreementBatchSetupsApi.md +291 -0
  41. data/docs/AgreementBoardDefaultsApi.md +29 -25
  42. data/docs/AgreementReference.md +1 -1
  43. data/docs/AgreementSite.md +1 -1
  44. data/docs/AgreementSitesApi.md +29 -25
  45. data/docs/AgreementType.md +18 -9
  46. data/docs/AgreementTypeBoardDefault.md +15 -0
  47. data/docs/AgreementTypeBoardDefaultsApi.md +417 -0
  48. data/docs/AgreementTypeReference.md +1 -1
  49. data/docs/AgreementTypeWorkRole.md +15 -0
  50. data/docs/AgreementTypeWorkRoleExclusion.md +11 -0
  51. data/docs/AgreementTypeWorkRoleExclusionsApi.md +299 -0
  52. data/docs/AgreementTypeWorkRolesApi.md +417 -0
  53. data/docs/AgreementTypeWorkType.md +21 -0
  54. data/docs/AgreementTypeWorkTypeExclusion.md +11 -0
  55. data/docs/AgreementTypeWorkTypeExclusionsApi.md +299 -0
  56. data/docs/AgreementTypeWorkTypesApi.md +417 -0
  57. data/docs/AgreementTypesApi.md +29 -25
  58. data/docs/AgreementWorkRole.md +1 -1
  59. data/docs/AgreementWorkRoleExclusion.md +1 -1
  60. data/docs/AgreementWorkRoleExclusionsApi.md +18 -14
  61. data/docs/AgreementWorkRolesApi.md +29 -25
  62. data/docs/AgreementWorkType.md +1 -1
  63. data/docs/AgreementWorkTypeExclusion.md +1 -1
  64. data/docs/AgreementWorkTypeExclusionsApi.md +18 -14
  65. data/docs/AgreementWorkTypesApi.md +29 -25
  66. data/docs/AgreementsApi.md +47 -41
  67. data/docs/AuditTrailApi.md +7 -59
  68. data/docs/AuditTrailEntry.md +2 -1
  69. data/docs/AuthAnvil.md +11 -0
  70. data/docs/AuthAnvilsApi.md +338 -0
  71. data/docs/AutomateScriptReference.md +10 -0
  72. data/docs/BatchApi.md +61 -0
  73. data/docs/BatchRequest.md +10 -0
  74. data/docs/BatchResponse.md +9 -0
  75. data/docs/BillingCycle.md +14 -0
  76. data/docs/BillingCycleReference.md +10 -0
  77. data/docs/BillingCyclesApi.md +179 -0
  78. data/docs/BillingDeliveryReference.md +10 -0
  79. data/docs/BillingOptionsReference.md +10 -0
  80. data/docs/BillingSetup.md +66 -0
  81. data/docs/BillingSetupRouting.md +13 -0
  82. data/docs/BillingSetupRoutingsApi.md +417 -0
  83. data/docs/BillingSetupsApi.md +396 -0
  84. data/docs/BillingStatus.md +15 -0
  85. data/docs/BillingStatusReference.md +1 -1
  86. data/docs/BillingStatusesApi.md +179 -0
  87. data/docs/BillingTerm.md +13 -0
  88. data/docs/BillingTermsApi.md +179 -0
  89. data/docs/BillingTermsReference.md +1 -1
  90. data/docs/Board.md +50 -8
  91. data/docs/BoardAutoAssignResource.md +11 -0
  92. data/docs/BoardAutoAssignResourcesApi.md +417 -0
  93. data/docs/BoardAutoTemplate.md +23 -0
  94. data/docs/BoardAutoTemplatesApi.md +417 -0
  95. data/docs/{AuditTrailObjects.md → BoardCopy.md} +3 -3
  96. data/docs/BoardDefault.md +1 -1
  97. data/docs/{ExcludedMember.md → BoardExcludedMember.md} +1 -1
  98. data/docs/BoardExcludedMembersApi.md +29 -25
  99. data/docs/BoardItem.md +12 -0
  100. data/docs/BoardItemAssociation.md +14 -0
  101. data/docs/BoardItemAssociationsApi.md +321 -0
  102. data/docs/BoardItemsApi.md +43 -39
  103. data/docs/BoardNotification.md +12 -0
  104. data/docs/BoardNotificationsApi.md +417 -0
  105. data/docs/BoardReference.md +1 -1
  106. data/docs/{Status.md → BoardStatus.md} +7 -3
  107. data/docs/BoardStatusNotification.md +14 -0
  108. data/docs/BoardStatusNotificationsApi.md +438 -0
  109. data/docs/BoardStatusesApi.md +43 -39
  110. data/docs/{SubType.md → BoardSubType.md} +5 -5
  111. data/docs/BoardSubTypesApi.md +43 -39
  112. data/docs/BoardTeam.md +17 -0
  113. data/docs/BoardTeamsApi.md +43 -39
  114. data/docs/BoardType.md +18 -0
  115. data/docs/BoardTypeSubTypeItemAssociation.md +13 -0
  116. data/docs/BoardTypeSubTypeItemAssociationsApi.md +188 -0
  117. data/docs/BoardTypesApi.md +43 -95
  118. data/docs/BoardsApi.md +82 -25
  119. data/docs/Calendar.md +25 -0
  120. data/docs/CalendarReference.md +1 -1
  121. data/docs/CalendarSetupReference.md +10 -0
  122. data/docs/CalendarsApi.md +179 -0
  123. data/docs/CallbackEntry.md +2 -1
  124. data/docs/{CallbackEntriesApi.md → CallbacksApi.md} +43 -39
  125. data/docs/Campaign.md +1 -1
  126. data/docs/CampaignAudit.md +1 -1
  127. data/docs/CampaignAuditsApi.md +29 -25
  128. data/docs/CampaignEmailsOpenedApi.md +29 -25
  129. data/docs/CampaignFormsSubmittedApi.md +29 -25
  130. data/docs/CampaignLinksClickedApi.md +29 -25
  131. data/docs/CampaignReference.md +1 -1
  132. data/docs/CampaignStatus.md +1 -1
  133. data/docs/CampaignStatusReference.md +1 -1
  134. data/docs/CampaignStatusesApi.md +29 -25
  135. data/docs/CampaignSubType.md +2 -2
  136. data/docs/CampaignSubTypeReference.md +1 -1
  137. data/docs/CampaignSubTypesApi.md +78 -95
  138. data/docs/CampaignType.md +1 -1
  139. data/docs/CampaignTypeReference.md +1 -1
  140. data/docs/CampaignTypesApi.md +29 -25
  141. data/docs/CampaignsApi.md +41 -37
  142. data/docs/CatalogComponent.md +2 -1
  143. data/docs/CatalogComponentsApi.md +29 -25
  144. data/docs/CatalogItem.md +3 -2
  145. data/docs/CatalogItemReference.md +2 -1
  146. data/docs/CatalogsItemApi.md +32 -28
  147. data/docs/CategoriesApi.md +29 -25
  148. data/docs/Category.md +1 -1
  149. data/docs/Certification.md +11 -0
  150. data/docs/CertificationReference.md +10 -0
  151. data/docs/CertificationsApi.md +396 -0
  152. data/docs/ChargeCode.md +21 -0
  153. data/docs/ChargeCodeExpenseType.md +11 -0
  154. data/docs/ChargeCodeExpenseTypesApi.md +417 -0
  155. data/docs/ChargeCodeReference.md +1 -1
  156. data/docs/ChargeCodesApi.md +396 -0
  157. data/docs/Classification.md +14 -0
  158. data/docs/ClassificationReference.md +1 -1
  159. data/docs/ClassificationsApi.md +179 -0
  160. data/docs/ClearPickerRequest.md +9 -0
  161. data/docs/Code.md +1 -1
  162. data/docs/CodesApi.md +29 -25
  163. data/docs/Commission.md +37 -0
  164. data/docs/CommissionsApi.md +396 -0
  165. data/docs/CommunicationTypeReference.md +1 -1
  166. data/docs/CompaniesApi.md +35 -29
  167. data/docs/Company.md +27 -10
  168. data/docs/CompanyCustomNote.md +12 -0
  169. data/docs/CompanyCustomNotesApi.md +417 -0
  170. data/docs/CompanyGroup.md +16 -0
  171. data/docs/CompanyGroupsApi.md +417 -0
  172. data/docs/CompanyManagementSummary.md +1 -1
  173. data/docs/CompanyManagementSummaryReportsApi.md +29 -25
  174. data/docs/CompanyMerge.md +1 -1
  175. data/docs/CompanyNote.md +1 -1
  176. data/docs/CompanyNoteTypesApi.md +396 -0
  177. data/docs/CompanyNotesApi.md +29 -25
  178. data/docs/CompanyPickerItem.md +17 -0
  179. data/docs/CompanyPickerItemsApi.md +340 -0
  180. data/docs/CompanyReference.md +1 -1
  181. data/docs/CompanySite.md +4 -2
  182. data/docs/CompanySitesApi.md +29 -25
  183. data/docs/CompanyStatus.md +1 -1
  184. data/docs/CompanyStatusReference.md +1 -1
  185. data/docs/CompanyStatusesApi.md +29 -25
  186. data/docs/CompanyTeam.md +4 -1
  187. data/docs/CompanyTeamsApi.md +29 -25
  188. data/docs/CompanyType.md +1 -1
  189. data/docs/CompanyTypeReference.md +1 -1
  190. data/docs/CompanyTypesApi.md +29 -25
  191. data/docs/Configuration.md +2 -1
  192. data/docs/ConfigurationQuestion.md +1 -1
  193. data/docs/ConfigurationReference.md +1 -1
  194. data/docs/ConfigurationStatus.md +1 -1
  195. data/docs/ConfigurationStatusReference.md +1 -1
  196. data/docs/ConfigurationStatusesApi.md +29 -25
  197. data/docs/ConfigurationType.md +1 -1
  198. data/docs/ConfigurationTypeQuestion.md +3 -4
  199. data/docs/ConfigurationTypeQuestionReference.md +10 -0
  200. data/docs/ConfigurationTypeQuestionValue.md +14 -0
  201. data/docs/ConfigurationTypeQuestionValuesApi.md +426 -0
  202. data/docs/ConfigurationTypeQuestionsApi.md +29 -25
  203. data/docs/ConfigurationTypeReference.md +1 -1
  204. data/docs/ConfigurationTypesApi.md +29 -25
  205. data/docs/ConfigurationsApi.md +29 -25
  206. data/docs/ConnectWiseHostedSetup.md +8 -3
  207. data/docs/ConnectWiseHostedSetupsApi.md +29 -25
  208. data/docs/Contact.md +3 -1
  209. data/docs/ContactCommunication.md +1 -1
  210. data/docs/ContactCommunicationItem.md +1 -1
  211. data/docs/ContactCommunicationsApi.md +29 -25
  212. data/docs/ContactDepartment.md +1 -1
  213. data/docs/ContactDepartmentReference.md +1 -1
  214. data/docs/ContactDepartmentsApi.md +29 -25
  215. data/docs/ContactGroup.md +17 -0
  216. data/docs/ContactGroupsApi.md +417 -0
  217. data/docs/ContactNote.md +1 -1
  218. data/docs/ContactNotesApi.md +29 -25
  219. data/docs/ContactReference.md +1 -1
  220. data/docs/ContactRelationship.md +1 -1
  221. data/docs/ContactRelationshipsApi.md +29 -25
  222. data/docs/ContactTracksApi.md +21 -17
  223. data/docs/ContactType.md +1 -1
  224. data/docs/ContactTypeReference.md +1 -1
  225. data/docs/ContactTypesApi.md +29 -25
  226. data/docs/ContactsApi.md +47 -39
  227. data/docs/Conversion.md +1 -1
  228. data/docs/CorporateStructure.md +25 -0
  229. data/docs/CorporateStructureLevel.md +9 -0
  230. data/docs/CorporateStructureLevelReference.md +10 -0
  231. data/docs/CorporateStructureLevelsApi.md +179 -0
  232. data/docs/CorporateStructuresApi.md +291 -0
  233. data/docs/Count.md +1 -1
  234. data/docs/CountriesApi.md +396 -0
  235. data/docs/Country.md +21 -0
  236. data/docs/CountryReference.md +1 -1
  237. data/docs/CreateAccountingBatchRequest.md +15 -0
  238. data/docs/Crm.md +31 -0
  239. data/docs/CrmsApi.md +291 -0
  240. data/docs/CurrenciesApi.md +29 -25
  241. data/docs/Currency.md +3 -3
  242. data/docs/CurrencyReference.md +4 -2
  243. data/docs/CustomFieldValue.md +1 -1
  244. data/docs/CustomReport.md +82 -0
  245. data/docs/CustomReportParameter.md +12 -0
  246. data/docs/CustomReportParametersApi.md +417 -0
  247. data/docs/CustomReportReference.md +10 -0
  248. data/docs/CustomReportsApi.md +396 -0
  249. data/docs/DeliveryMethod.md +15 -0
  250. data/docs/DeliveryMethodsApi.md +396 -0
  251. data/docs/Department.md +11 -0
  252. data/docs/DepartmentLocation.md +18 -0
  253. data/docs/DepartmentLocationsApi.md +417 -0
  254. data/docs/DepartmentMananager.md +9 -0
  255. data/docs/DepartmentsApi.md +396 -0
  256. data/docs/DispatchMember.md +9 -0
  257. data/docs/DocumentInfo.md +3 -1
  258. data/docs/DocumentReference.md +2 -1
  259. data/docs/DocumentSetup.md +14 -0
  260. data/docs/DocumentsApi.md +44 -39
  261. data/docs/DocumentsSetupApi.md +237 -0
  262. data/docs/DutyManager.md +9 -0
  263. data/docs/EmailConnector.md +33 -0
  264. data/docs/EmailConnectorParsingRule.md +19 -0
  265. data/docs/EmailConnectorParsingRulesApi.md +438 -0
  266. data/docs/EmailConnectorParsingStyle.md +12 -0
  267. data/docs/EmailConnectorParsingStyleReference.md +10 -0
  268. data/docs/EmailConnectorParsingStylesApi.md +417 -0
  269. data/docs/EmailConnectorParsingTypeReference.md +10 -0
  270. data/docs/EmailConnectorParsingVariableReference.md +11 -0
  271. data/docs/EmailConnectorReference.md +10 -0
  272. data/docs/EmailConnectorsApi.md +396 -0
  273. data/docs/EmailOpened.md +1 -1
  274. data/docs/EmailTemplateReference.md +10 -0
  275. data/docs/EmailToken.md +23 -0
  276. data/docs/EmailTokensApi.md +179 -0
  277. data/docs/EndpointRequest.md +12 -0
  278. data/docs/EndpointResponse.md +11 -0
  279. data/docs/EntityTypeReference.md +1 -1
  280. data/docs/Error.md +1 -1
  281. data/docs/ExpenseEntriesApi.md +33 -25
  282. data/docs/ExpenseEntry.md +5 -3
  283. data/docs/ExpenseReport.md +17 -0
  284. data/docs/ExpenseReportsApi.md +285 -0
  285. data/docs/ExpenseTax.md +1 -1
  286. data/docs/ExpenseTaxTypeReference.md +1 -1
  287. data/docs/ExpenseType.md +3 -1
  288. data/docs/ExpenseTypeExemption.md +16 -0
  289. data/docs/ExpenseTypeExternalIntegrationReference.md +11 -0
  290. data/docs/ExpenseTypeExternalIntegrationReferencesApi.md +179 -0
  291. data/docs/ExpenseTypeReference.md +1 -1
  292. data/docs/ExpenseTypesApi.md +29 -25
  293. data/docs/ExportAccountingBatchRequest.md +21 -0
  294. data/docs/ExternalExpenseTypeIntegrationReference.md +11 -0
  295. data/docs/ExternalIntegrationStatusReference.md +11 -0
  296. data/docs/ExternalWorkTypeIntegrationReference.md +11 -0
  297. data/docs/FilterValues.md +3 -1
  298. data/docs/Forecast.md +3 -1
  299. data/docs/FormSubmitted.md +1 -1
  300. data/docs/GLExport.md +16 -0
  301. data/docs/GLExportAdjustmentTransaction.md +16 -0
  302. data/docs/GLExportAdjustmentTransactionDetail.md +18 -0
  303. data/docs/GLExportCustomer.md +35 -0
  304. data/docs/GLExportExpense.md +27 -0
  305. data/docs/GLExportExpenseBill.md +19 -0
  306. data/docs/GLExportExpenseBillDetail.md +19 -0
  307. data/docs/GLExportExpenseOffset.md +17 -0
  308. data/docs/GLExportInventoryTransfer.md +49 -0
  309. data/docs/GLExportInventoryTransferOffset.md +16 -0
  310. data/docs/GLExportPurchaseTransaction.md +50 -0
  311. data/docs/GLExportPurchaseTransactionDetail.md +51 -0
  312. data/docs/GLExportPurchaseTransactionDetailTax.md +50 -0
  313. data/docs/GLExportSettings.md +7 -0
  314. data/docs/GLExportTransaction.md +66 -0
  315. data/docs/GLExportTransactionDetail.md +57 -0
  316. data/docs/GLExportVendor.md +17 -0
  317. data/docs/GenericIdIdentifierReference.md +2 -1
  318. data/docs/Group.md +1 -1
  319. data/docs/GroupCompaniesApi.md +29 -25
  320. data/docs/GroupContactsApi.md +29 -25
  321. data/docs/GroupReference.md +1 -1
  322. data/docs/GroupsApi.md +29 -25
  323. data/docs/Guid.md +1 -1
  324. data/docs/Holiday.md +14 -0
  325. data/docs/HolidayList.md +10 -0
  326. data/docs/HolidayListReference.md +10 -0
  327. data/docs/HolidayListsApi.md +396 -0
  328. data/docs/HolidaysApi.md +417 -0
  329. data/docs/Imap.md +18 -0
  330. data/docs/ImapSetupReference.md +10 -0
  331. data/docs/ImapsApi.md +179 -0
  332. data/docs/Impact.md +12 -0
  333. data/docs/ImpactsApi.md +291 -0
  334. data/docs/ImportMassMaintenance.md +11 -0
  335. data/docs/ImportsMassMaintenanceApi.md +61 -0
  336. data/docs/InOutBoard.md +13 -0
  337. data/docs/InOutBoardsApi.md +396 -0
  338. data/docs/InOutType.md +10 -0
  339. data/docs/InOutTypeReference.md +10 -0
  340. data/docs/InOutTypesApi.md +396 -0
  341. data/docs/Info.md +1 -1
  342. data/docs/InfoApi.md +4 -4
  343. data/docs/IntegratorLogin.md +7 -4
  344. data/docs/IntegratorLoginReference.md +10 -0
  345. data/docs/IntegratorLoginsApi.md +396 -0
  346. data/docs/Invoice.md +4 -2
  347. data/docs/InvoiceEmailTemplate.md +19 -0
  348. data/docs/InvoiceEmailTemplatesApi.md +396 -0
  349. data/docs/InvoicePaymentsApi.md +26 -22
  350. data/docs/InvoiceReference.md +1 -1
  351. data/docs/InvoiceTemplate.md +69 -0
  352. data/docs/InvoiceTemplateReference.md +10 -0
  353. data/docs/InvoiceTemplateSetup.md +11 -0
  354. data/docs/InvoiceTemplateSetupsApi.md +179 -0
  355. data/docs/InvoiceTemplatesApi.md +179 -0
  356. data/docs/InvoicesApi.md +34 -28
  357. data/docs/IvItemReference.md +1 -1
  358. data/docs/JArray.md +7 -0
  359. data/docs/JObject.md +1 -1
  360. data/docs/KPI.md +13 -0
  361. data/docs/KPICategoriesApi.md +179 -0
  362. data/docs/KPICategory.md +10 -0
  363. data/docs/KPICategoryReference.md +10 -0
  364. data/docs/{BatchReference.md → KPIReference.md} +1 -1
  365. data/docs/KPIsApi.md +179 -0
  366. data/docs/KnowledgeBaseArticle.md +3 -13
  367. data/docs/KnowledgeBaseArticlesApi.md +31 -25
  368. data/docs/LdapConfiguration.md +12 -0
  369. data/docs/LdapConfigurationReference.md +11 -0
  370. data/docs/LdapConfigurationsApi.md +396 -0
  371. data/docs/LegacyCampaignSubTypesApi.md +188 -0
  372. data/docs/LegacySubCategoriesApi.md +417 -0
  373. data/docs/LegacySubCategory.md +11 -0
  374. data/docs/Link.md +3 -2
  375. data/docs/LinkClicked.md +1 -1
  376. data/docs/LinksApi.md +29 -25
  377. data/docs/Location.md +23 -3
  378. data/docs/LocationDepartment.md +11 -0
  379. data/docs/LocationDepartmentsApi.md +188 -0
  380. data/docs/LocationWorkRole.md +12 -0
  381. data/docs/LocationWorkRolesApi.md +188 -0
  382. data/docs/LocationsApi.md +66 -62
  383. data/docs/ManagedDevicesIntegration.md +23 -0
  384. data/docs/ManagedDevicesIntegrationCrossReference.md +16 -0
  385. data/docs/ManagedDevicesIntegrationCrossReferencesApi.md +418 -0
  386. data/docs/ManagedDevicesIntegrationLogin.md +13 -0
  387. data/docs/ManagedDevicesIntegrationLoginsApi.md +418 -0
  388. data/docs/ManagedDevicesIntegrationNotification.md +13 -0
  389. data/docs/ManagedDevicesIntegrationNotificationsApi.md +418 -0
  390. data/docs/ManagedDevicesIntegrationReference.md +10 -0
  391. data/docs/ManagedDevicesIntegrationsApi.md +396 -0
  392. data/docs/Management.md +17 -0
  393. data/docs/ManagementBackup.md +12 -0
  394. data/docs/ManagementBackupsApi.md +396 -0
  395. data/docs/ManagementEmail.md +15 -0
  396. data/docs/ManagementEmailsApi.md +396 -0
  397. data/docs/ManagementExecuteManagedItSyncsApi.md +72 -0
  398. data/docs/ManagementItSolution.md +29 -0
  399. data/docs/ManagementItSolutionAgreementInterfaceParameter.md +14 -0
  400. data/docs/ManagementItSolutionAgreementInterfaceParametersApi.md +418 -0
  401. data/docs/ManagementItSolutionsApi.md +396 -0
  402. data/docs/ManagementLogDocumentInfo.md +7 -0
  403. data/docs/ManagementLogsApi.md +125 -0
  404. data/docs/ManagementNetworkSecurity.md +13 -0
  405. data/docs/ManagementNetworksSecurityApi.md +450 -0
  406. data/docs/ManagementReportNotification.md +12 -0
  407. data/docs/ManagementReportNotificationsApi.md +417 -0
  408. data/docs/ManagementSolutionReference.md +1 -1
  409. data/docs/ManagementsApi.md +291 -0
  410. data/docs/Manufacturer.md +1 -1
  411. data/docs/ManufacturerReference.md +1 -1
  412. data/docs/ManufacturersApi.md +29 -25
  413. data/docs/MarketDescription.md +10 -0
  414. data/docs/MarketDescriptionsApi.md +396 -0
  415. data/docs/MarketingCompany.md +1 -1
  416. data/docs/MarketingContact.md +1 -1
  417. data/docs/Member.md +92 -71
  418. data/docs/MemberAccrual.md +14 -0
  419. data/docs/MemberAccrualsApi.md +417 -0
  420. data/docs/MemberCertification.md +17 -0
  421. data/docs/MemberCertificationsApi.md +417 -0
  422. data/docs/MemberDeactivation.md +28 -0
  423. data/docs/MemberDelegation.md +14 -0
  424. data/docs/MemberDelegationsApi.md +417 -0
  425. data/docs/MemberReference.md +1 -1
  426. data/docs/MemberSkill.md +15 -0
  427. data/docs/MemberSkillsApi.md +417 -0
  428. data/docs/MemberTypeReference.md +1 -1
  429. data/docs/MemberTypesApi.md +396 -0
  430. data/docs/MembersApi.md +257 -38
  431. data/docs/MenuEntriesApi.md +42 -34
  432. data/docs/MenuEntry.md +3 -1
  433. data/docs/MenuEntryLocation.md +11 -0
  434. data/docs/MenuEntryLocationsApi.md +299 -0
  435. data/docs/MenuLocationReference.md +1 -1
  436. data/docs/Metadata.md +1 -1
  437. data/docs/MyCompanyCOORole.md +9 -0
  438. data/docs/MyCompanyControllerRole.md +9 -0
  439. data/docs/MyCompanyDispatchRole.md +9 -0
  440. data/docs/MyCompanyDutyManagerRole.md +9 -0
  441. data/docs/MyCompanyPresidentRole.md +9 -0
  442. data/docs/MyCompanyPurchasingsApi.md +291 -0
  443. data/docs/MyCompanyServiceManagerRole.md +9 -0
  444. data/docs/NoteType.md +13 -0
  445. data/docs/NoteTypeReference.md +1 -1
  446. data/docs/NotificationRecipient.md +23 -0
  447. data/docs/NotificationRecipientReference.md +11 -0
  448. data/docs/NotificationRecipientsApi.md +179 -0
  449. data/docs/NotifyTypeReference.md +11 -0
  450. data/docs/OpportunitiesApi.md +47 -41
  451. data/docs/Opportunity.md +6 -1
  452. data/docs/OpportunityContact.md +1 -1
  453. data/docs/OpportunityContactsApi.md +29 -25
  454. data/docs/OpportunityForecastsApi.md +29 -25
  455. data/docs/OpportunityNote.md +1 -1
  456. data/docs/OpportunityNotesApi.md +29 -25
  457. data/docs/OpportunityPriorityReference.md +1 -1
  458. data/docs/OpportunityProbabilityReference.md +1 -1
  459. data/docs/OpportunityRating.md +1 -1
  460. data/docs/OpportunityRatingReference.md +1 -1
  461. data/docs/OpportunityRatingsApi.md +29 -25
  462. data/docs/OpportunityReference.md +1 -1
  463. data/docs/OpportunitySalesRoleReference.md +1 -1
  464. data/docs/OpportunityStage.md +13 -0
  465. data/docs/OpportunityStageReference.md +1 -1
  466. data/docs/OpportunityStagesApi.md +396 -0
  467. data/docs/OpportunityStatus.md +1 -1
  468. data/docs/OpportunityStatusReference.md +1 -1
  469. data/docs/OpportunityStatusesApi.md +29 -25
  470. data/docs/OpportunityTeamsApi.md +29 -25
  471. data/docs/OpportunityToAgreementConversion.md +2 -1
  472. data/docs/OpportunityToProjectConversion.md +1 -1
  473. data/docs/OpportunityToSalesOrderConversion.md +1 -1
  474. data/docs/OpportunityToServiceTicketConversion.md +1 -1
  475. data/docs/OpportunityType.md +1 -1
  476. data/docs/OpportunityTypeReference.md +1 -1
  477. data/docs/OpportunityTypesApi.md +29 -25
  478. data/docs/Order.md +2 -1
  479. data/docs/OrderStatus.md +2 -1
  480. data/docs/OrderStatusEmailTemplate.md +17 -0
  481. data/docs/OrderStatusEmailTemplateReference.md +10 -0
  482. data/docs/OrderStatusNotification.md +14 -0
  483. data/docs/OrderStatusNotificationsApi.md +417 -0
  484. data/docs/OrderStatusReference.md +1 -1
  485. data/docs/OrderStatusesApi.md +29 -25
  486. data/docs/OrderStatusesEmailTemplateApi.md +417 -0
  487. data/docs/OrdersApi.md +31 -25
  488. data/docs/Other.md +24 -0
  489. data/docs/OthersApi.md +291 -0
  490. data/docs/OwnershipType.md +10 -0
  491. data/docs/OwnershipTypeReference.md +1 -1
  492. data/docs/OwnershipTypesApi.md +396 -0
  493. data/docs/ParsingType.md +12 -0
  494. data/docs/ParsingTypesApi.md +179 -0
  495. data/docs/ParsingVariable.md +11 -0
  496. data/docs/ParsingVariablesApi.md +179 -0
  497. data/docs/PatchOperation.md +1 -1
  498. data/docs/Payment.md +1 -1
  499. data/docs/PaymentMethodReference.md +1 -1
  500. data/docs/PaymentType.md +13 -0
  501. data/docs/PaymentTypesApi.md +396 -0
  502. data/docs/PhaseStatusReference.md +1 -1
  503. data/docs/PortalCalendar.md +19 -0
  504. data/docs/PortalCalendarsApi.md +291 -0
  505. data/docs/PortalConfiguration.md +25 -0
  506. data/docs/PortalConfigurationInvoiceSetup.md +20 -0
  507. data/docs/PortalConfigurationInvoiceSetupsApi.md +365 -0
  508. data/docs/PortalConfigurationOpportunitySetup.md +46 -0
  509. data/docs/PortalConfigurationOpportunitySetupsApi.md +302 -0
  510. data/docs/PortalConfigurationPasswordEmailSetup.md +21 -0
  511. data/docs/PortalConfigurationPasswordEmailSetupsApi.md +249 -0
  512. data/docs/PortalConfigurationProjectSetup.md +52 -0
  513. data/docs/PortalConfigurationProjectSetupsApi.md +306 -0
  514. data/docs/PortalConfigurationReference.md +10 -0
  515. data/docs/PortalConfigurationServiceSetup.md +29 -0
  516. data/docs/PortalConfigurationServiceSetupsApi.md +306 -0
  517. data/docs/PortalConfigurationsApi.md +508 -0
  518. data/docs/PortalReport.md +15 -0
  519. data/docs/PortalReportsApi.md +396 -0
  520. data/docs/PortalSecuritiesApi.md +291 -0
  521. data/docs/PortalSecurity.md +11 -1
  522. data/docs/PortalSecurityLevel.md +12 -0
  523. data/docs/PortalSecurityLevelsApi.md +291 -0
  524. data/docs/PricingBreak.md +3 -2
  525. data/docs/PricingBreaksApi.md +29 -25
  526. data/docs/PricingDetail.md +2 -1
  527. data/docs/PricingDetailsApi.md +29 -25
  528. data/docs/PricingSchedule.md +2 -1
  529. data/docs/PricingScheduleReference.md +10 -0
  530. data/docs/PricingSchedulesApi.md +29 -25
  531. data/docs/PrioritiesApi.md +32 -28
  532. data/docs/Priority.md +1 -1
  533. data/docs/PriorityReference.md +1 -1
  534. data/docs/ProductCategoryReference.md +1 -1
  535. data/docs/ProductComponent.md +1 -1
  536. data/docs/ProductComponentsApi.md +29 -25
  537. data/docs/ProductItem.md +3 -1
  538. data/docs/ProductItemReference.md +1 -1
  539. data/docs/ProductPickingShippingDetail.md +1 -1
  540. data/docs/ProductPickingShippingDetailsApi.md +29 -25
  541. data/docs/ProductRecurring.md +1 -1
  542. data/docs/ProductReference.md +1 -1
  543. data/docs/ProductSubCategoryReference.md +1 -1
  544. data/docs/ProductType.md +1 -1
  545. data/docs/ProductTypeExemption.md +16 -0
  546. data/docs/ProductTypeReference.md +1 -1
  547. data/docs/ProductTypesApi.md +29 -25
  548. data/docs/ProductsItemApi.md +29 -25
  549. data/docs/Project.md +12 -5
  550. data/docs/ProjectBoardReference.md +1 -1
  551. data/docs/ProjectContact.md +1 -1
  552. data/docs/ProjectContactsApi.md +18 -14
  553. data/docs/ProjectManager.md +9 -0
  554. data/docs/ProjectNote.md +1 -1
  555. data/docs/ProjectNotesApi.md +29 -25
  556. data/docs/ProjectPhase.md +22 -2
  557. data/docs/ProjectPhaseReference.md +1 -1
  558. data/docs/ProjectPhasesApi.md +29 -25
  559. data/docs/ProjectReference.md +1 -1
  560. data/docs/ProjectRoleReference.md +1 -1
  561. data/docs/ProjectSecurityRole.md +12 -0
  562. data/docs/ProjectSecurityRoleSetting.md +15 -0
  563. data/docs/ProjectSecurityRoleSettingsApi.md +306 -0
  564. data/docs/ProjectSecurityRolesApi.md +396 -0
  565. data/docs/ProjectStatus.md +14 -0
  566. data/docs/ProjectStatusReference.md +1 -1
  567. data/docs/ProjectStatusesApi.md +396 -0
  568. data/docs/{ProjectTeamMember.md → ProjectTeammember.md} +1 -1
  569. data/docs/ProjectType.md +13 -0
  570. data/docs/ProjectTypeReference.md +1 -1
  571. data/docs/ProjectTypesApi.md +179 -0
  572. data/docs/ProjectsApi.md +31 -25
  573. data/docs/{ProjectsTeamMembersApi.md → ProjectsTeammembersApi.md} +55 -51
  574. data/docs/PurchaseOrder.md +2 -1
  575. data/docs/PurchaseOrderLineItem.md +2 -1
  576. data/docs/PurchaseOrderLineItemsApi.md +29 -25
  577. data/docs/PurchaseOrderReference.md +1 -1
  578. data/docs/PurchaseOrderStatus.md +16 -0
  579. data/docs/PurchaseOrderStatusEmailTemplate.md +17 -0
  580. data/docs/PurchaseOrderStatusEmailTemplateReference.md +10 -0
  581. data/docs/PurchaseOrderStatusEmailTemplatesApi.md +417 -0
  582. data/docs/PurchaseOrderStatusNotification.md +14 -0
  583. data/docs/PurchaseOrderStatusNotificationsApi.md +417 -0
  584. data/docs/PurchaseOrderStatusReference.md +1 -1
  585. data/docs/PurchaseOrderStatusesApi.md +396 -0
  586. data/docs/PurchaseOrdersApi.md +29 -25
  587. data/docs/Purchasing.md +23 -0
  588. data/docs/RMAAction.md +11 -0
  589. data/docs/RMAActionsApi.md +396 -0
  590. data/docs/RMADisposition.md +11 -0
  591. data/docs/RMADispositionsApi.md +396 -0
  592. data/docs/RelationshipReference.md +1 -1
  593. data/docs/ReminderReference.md +1 -1
  594. data/docs/Report.md +1 -1
  595. data/docs/ReportCard.md +10 -0
  596. data/docs/ReportCardDetail.md +12 -0
  597. data/docs/ReportCardDetailsApi.md +417 -0
  598. data/docs/ReportCardReference.md +10 -0
  599. data/docs/ReportCardsApi.md +396 -0
  600. data/docs/ReportDataResponse.md +1 -1
  601. data/docs/ReportingService.md +13 -0
  602. data/docs/ReportingServicesApi.md +290 -0
  603. data/docs/ReportsApi.md +21 -13
  604. data/docs/RequestPasswordRequest.md +2 -2
  605. data/docs/RmaStatus.md +14 -0
  606. data/docs/RmaStatusEmailTemplate.md +17 -0
  607. data/docs/RmaStatusEmailTemplateReference.md +10 -0
  608. data/docs/RmaStatusEmailTemplatesApi.md +417 -0
  609. data/docs/RmaStatusNotification.md +14 -0
  610. data/docs/RmaStatusNotificationsApi.md +417 -0
  611. data/docs/RmaStatusReference.md +10 -0
  612. data/docs/RmaStatusesApi.md +396 -0
  613. data/docs/Role.md +10 -0
  614. data/docs/RolesApi.md +396 -0
  615. data/docs/SLA.md +29 -0
  616. data/docs/SLAPrioritiesApi.md +417 -0
  617. data/docs/SLAPriority.md +17 -0
  618. data/docs/SLAReference.md +1 -1
  619. data/docs/SLAsApi.md +396 -0
  620. data/docs/SalesActivity.md +9 -0
  621. data/docs/SalesProbabilitiesApi.md +396 -0
  622. data/docs/SalesProbability.md +10 -0
  623. data/docs/SalesQuota.md +40 -0
  624. data/docs/SalesQuotasApi.md +396 -0
  625. data/docs/SalesTeam.md +13 -0
  626. data/docs/SalesTeamMember.md +13 -0
  627. data/docs/SalesTeamMembersApi.md +417 -0
  628. data/docs/SalesTeamReference.md +1 -1
  629. data/docs/SalesTeamsApi.md +396 -0
  630. data/docs/ScheduleColor.md +12 -0
  631. data/docs/ScheduleColorsApi.md +391 -0
  632. data/docs/ScheduleDetail.md +13 -0
  633. data/docs/ScheduleDetailsApi.md +188 -0
  634. data/docs/ScheduleEntriesApi.md +29 -25
  635. data/docs/ScheduleEntry.md +3 -2
  636. data/docs/ScheduleEntryReference.md +1 -1
  637. data/docs/ScheduleReminderTime.md +12 -0
  638. data/docs/ScheduleReminderTimesApi.md +291 -0
  639. data/docs/ScheduleSpanReference.md +1 -1
  640. data/docs/ScheduleStatus.md +1 -1
  641. data/docs/ScheduleStatusReference.md +1 -1
  642. data/docs/ScheduleStatusesApi.md +29 -25
  643. data/docs/ScheduleStopwatch.md +26 -0
  644. data/docs/ScheduleStopwatchesApi.md +396 -0
  645. data/docs/ScheduleType.md +1 -1
  646. data/docs/ScheduleTypeReference.md +1 -1
  647. data/docs/ScheduleTypesApi.md +29 -25
  648. data/docs/SecurityRole.md +12 -0
  649. data/docs/SecurityRoleReference.md +1 -1
  650. data/docs/SecurityRoleSetting.md +24 -0
  651. data/docs/SecurityRoleSettingsApi.md +188 -0
  652. data/docs/SecurityRolesApi.md +284 -0
  653. data/docs/Service.md +22 -0
  654. data/docs/ServiceCodeReference.md +1 -1
  655. data/docs/ServiceEmailTemplate.md +24 -0
  656. data/docs/ServiceEmailTemplateReference.md +11 -0
  657. data/docs/ServiceEmailTemplatesApi.md +396 -0
  658. data/docs/ServiceItemReference.md +1 -1
  659. data/docs/ServiceLocation.md +12 -0
  660. data/docs/ServiceLocationReference.md +1 -1
  661. data/docs/ServiceLocationsApi.md +396 -0
  662. data/docs/ServiceManger.md +9 -0
  663. data/docs/ServiceNote.md +1 -1
  664. data/docs/ServiceSignoff.md +64 -0
  665. data/docs/ServiceSignoffReference.md +1 -1
  666. data/docs/ServiceSignoffsApi.md +396 -0
  667. data/docs/ServiceSourceReference.md +1 -1
  668. data/docs/ServiceStatusReference.md +1 -1
  669. data/docs/ServiceSubTypeReference.md +1 -1
  670. data/docs/ServiceSurvey.md +20 -0
  671. data/docs/ServiceSurveyQuestion.md +17 -0
  672. data/docs/{SurveyQuestionOption.md → ServiceSurveyQuestionOption.md} +1 -1
  673. data/docs/ServiceSurveyQuestionsApi.md +417 -0
  674. data/docs/ServiceSurveyReference.md +10 -0
  675. data/docs/ServiceSurveysApi.md +396 -0
  676. data/docs/ServiceTeam.md +16 -0
  677. data/docs/ServiceTeamReference.md +1 -1
  678. data/docs/ServiceTeamsApi.md +179 -0
  679. data/docs/ServiceTemplate.md +57 -0
  680. data/docs/ServiceTemplateReference.md +11 -0
  681. data/docs/ServiceTemplatesApi.md +179 -0
  682. data/docs/ServiceTypeReference.md +1 -1
  683. data/docs/ServicesApi.md +237 -0
  684. data/docs/SetupScreen.md +15 -0
  685. data/docs/SetupScreensApi.md +179 -0
  686. data/docs/SeveritiesApi.md +291 -0
  687. data/docs/Severity.md +12 -0
  688. data/docs/ShipmentMethod.md +1 -1
  689. data/docs/ShipmentMethodReference.md +1 -1
  690. data/docs/ShipmentMethodsApi.md +29 -25
  691. data/docs/SicCodeReference.md +1 -1
  692. data/docs/SiteReference.md +1 -1
  693. data/docs/Skill.md +11 -0
  694. data/docs/SkillCategoriesApi.md +396 -0
  695. data/docs/SkillCategory.md +10 -0
  696. data/docs/SkillCategoryReference.md +10 -0
  697. data/docs/SkillReference.md +10 -0
  698. data/docs/SkillsApi.md +396 -0
  699. data/docs/Source.md +1 -1
  700. data/docs/SourcesApi.md +29 -25
  701. data/docs/State.md +12 -0
  702. data/docs/StateReference.md +11 -0
  703. data/docs/StatesApi.md +232 -0
  704. data/docs/StatusExternalIntegrationReference.md +11 -0
  705. data/docs/StatusExternalIntegrationReferencesApi.md +179 -0
  706. data/docs/StatusWorkflow.md +9 -0
  707. data/docs/StructureReference.md +10 -0
  708. data/docs/SubCategoriesApi.md +78 -95
  709. data/docs/SubCategory.md +3 -1
  710. data/docs/SuccessResponse.md +1 -1
  711. data/docs/Survey.md +2 -10
  712. data/docs/SurveyOption.md +12 -0
  713. data/docs/SurveyOptionsApi.md +438 -0
  714. data/docs/SurveyQuestion.md +7 -7
  715. data/docs/SurveyQuestionReference.md +10 -0
  716. data/docs/SurveyQuestionValue.md +15 -0
  717. data/docs/SurveyQuestionValuesApi.md +426 -0
  718. data/docs/SurveyQuestionsApi.md +60 -123
  719. data/docs/SurveyReference.md +10 -0
  720. data/docs/SurveyResult.md +1 -1
  721. data/docs/SurveyResultDetail.md +1 -1
  722. data/docs/SurveyResultsApi.md +29 -25
  723. data/docs/SurveysApi.md +64 -60
  724. data/docs/SystemDepartmentReference.md +11 -0
  725. data/docs/SystemLocationReference.md +10 -0
  726. data/docs/SystemMenuEntryReference.md +10 -0
  727. data/docs/SystemTracksApi.md +396 -0
  728. data/docs/Task.md +1 -1
  729. data/docs/TaxCode.md +87 -0
  730. data/docs/TaxCodeExpenseTypeExemptionsApi.md +417 -0
  731. data/docs/TaxCodeProductTypeExemptionsApi.md +417 -0
  732. data/docs/TaxCodeReference.md +1 -1
  733. data/docs/TaxCodeWorkRoleExemptionsApi.md +417 -0
  734. data/docs/TaxCodeXRef.md +17 -0
  735. data/docs/TaxCodeXRefsApi.md +417 -0
  736. data/docs/TaxCodesApi.md +396 -0
  737. data/docs/TaxIntegration.md +24 -0
  738. data/docs/TaxIntegrationsApi.md +179 -0
  739. data/docs/Team.md +1 -9
  740. data/docs/TeamMember.md +13 -0
  741. data/docs/TeamMembersApi.md +284 -0
  742. data/docs/TeamRole.md +10 -0
  743. data/docs/TeamRoleReference.md +1 -1
  744. data/docs/TeamRolesApi.md +396 -0
  745. data/docs/Ticket.md +6 -4
  746. data/docs/TicketMerge.md +9 -0
  747. data/docs/TicketNotesApi.md +29 -25
  748. data/docs/TicketReference.md +1 -1
  749. data/docs/TicketStopwatch.md +32 -0
  750. data/docs/TicketStopwatchesApi.md +396 -0
  751. data/docs/TicketSync.md +20 -0
  752. data/docs/TicketSyncsApi.md +396 -0
  753. data/docs/TicketTasksApi.md +29 -25
  754. data/docs/TicketsApi.md +146 -84
  755. data/docs/TimeAccrual.md +26 -0
  756. data/docs/TimeAccrualDetail.md +14 -0
  757. data/docs/TimeAccrualDetailsApi.md +417 -0
  758. data/docs/TimeAccrualReference.md +10 -0
  759. data/docs/TimeAccrualsApi.md +396 -0
  760. data/docs/TimeEntriesApi.md +84 -25
  761. data/docs/TimeEntry.md +13 -8
  762. data/docs/TimeEntryReference.md +1 -1
  763. data/docs/TimeExpense.md +17 -0
  764. data/docs/TimeExpensesApi.md +291 -0
  765. data/docs/TimePeriod.md +14 -0
  766. data/docs/TimePeriodSetup.md +21 -0
  767. data/docs/TimePeriodSetupDefaults.md +7 -0
  768. data/docs/TimePeriodSetupReference.md +9 -0
  769. data/docs/TimePeriodSetupsApi.md +331 -0
  770. data/docs/TimePeriodsApi.md +188 -0
  771. data/docs/TimeSheet.md +17 -0
  772. data/docs/TimeSheetReference.md +10 -0
  773. data/docs/TimeSheetsApi.md +285 -0
  774. data/docs/TimeZone.md +14 -0
  775. data/docs/TimeZoneReference.md +1 -1
  776. data/docs/TimeZoneSetup.md +14 -0
  777. data/docs/TimeZoneSetupReference.md +10 -0
  778. data/docs/TimeZoneSetupsApi.md +396 -0
  779. data/docs/TimeZonesApi.md +179 -0
  780. data/docs/TodayPageCategoriesApi.md +396 -0
  781. data/docs/TodayPageCategory.md +12 -0
  782. data/docs/Token.md +1 -1
  783. data/docs/Track.md +5 -3
  784. data/docs/TrackAction.md +27 -0
  785. data/docs/TrackActionsApi.md +417 -0
  786. data/docs/TrackReference.md +1 -1
  787. data/docs/Type.md +2 -8
  788. data/docs/UnitOfMeasure.md +1 -1
  789. data/docs/UnitOfMeasureConversionsApi.md +29 -25
  790. data/docs/UnitOfMeasureReference.md +1 -1
  791. data/docs/{UnitsOfMeasureApi.md → UnitOfMeasuresApi.md} +43 -39
  792. data/docs/UnpostedExpense.md +1 -1
  793. data/docs/UnpostedInvoice.md +1 -1
  794. data/docs/UnpostedProcurement.md +1 -1
  795. data/docs/UserDefinedField.md +1 -1
  796. data/docs/UserDefinedFieldOption.md +1 -1
  797. data/docs/UserDefinedFieldReference.md +10 -0
  798. data/docs/UserDefinedFieldsApi.md +29 -25
  799. data/docs/ValidatePortalRequest.md +3 -3
  800. data/docs/ValidatePortalResponse.md +1 -1
  801. data/docs/ValidationError.md +2 -1
  802. data/docs/Warehouse.md +20 -0
  803. data/docs/WarehouseBin.md +24 -0
  804. data/docs/WarehouseBinReference.md +1 -1
  805. data/docs/WarehouseBinsApi.md +396 -0
  806. data/docs/WarehouseReference.md +1 -1
  807. data/docs/WarehousesApi.md +396 -0
  808. data/docs/WorkRole.md +17 -0
  809. data/docs/WorkRoleExemption.md +16 -0
  810. data/docs/WorkRoleLocation.md +12 -0
  811. data/docs/WorkRoleLocationsApi.md +417 -0
  812. data/docs/WorkRoleReference.md +1 -1
  813. data/docs/WorkRolesApi.md +396 -0
  814. data/docs/WorkType.md +25 -0
  815. data/docs/WorkTypeExternalIntegrationReference.md +11 -0
  816. data/docs/WorkTypeExternalIntegrationReferencesApi.md +179 -0
  817. data/docs/WorkTypeReference.md +1 -1
  818. data/docs/WorkTypesApi.md +396 -0
  819. data/docs/Workflow.md +19 -0
  820. data/docs/WorkflowAction.md +41 -0
  821. data/docs/WorkflowActionAutomateParameter.md +10 -0
  822. data/docs/WorkflowActionAutomateParametersApi.md +417 -0
  823. data/docs/WorkflowActionsApi.md +438 -0
  824. data/docs/WorkflowEvent.md +15 -0
  825. data/docs/WorkflowEventsApi.md +473 -0
  826. data/docs/WorkflowNotifyType.md +12 -0
  827. data/docs/WorkflowNotifyTypesApi.md +188 -0
  828. data/docs/WorkflowTableType.md +11 -0
  829. data/docs/WorkflowTableTypeReference.md +11 -0
  830. data/docs/WorkflowTableTypesApi.md +179 -0
  831. data/docs/WorkflowTrigger.md +15 -0
  832. data/docs/WorkflowTriggerOption.md +11 -0
  833. data/docs/WorkflowTriggerOptionsApi.md +138 -0
  834. data/docs/WorkflowTriggersApi.md +132 -0
  835. data/docs/WorkflowsApi.md +449 -0
  836. data/lib/connectwise-ruby-sdk.rb +485 -40
  837. data/lib/connectwise-ruby-sdk/api/accounting_batches_api.rb +160 -84
  838. data/lib/connectwise-ruby-sdk/api/accounting_packages_api.rb +180 -0
  839. data/lib/connectwise-ruby-sdk/api/accounting_unposted_expenses_api.rb +16 -48
  840. data/lib/connectwise-ruby-sdk/api/accounting_unposted_procurements_api.rb +16 -48
  841. data/lib/connectwise-ruby-sdk/api/accounting_unpostedinvoices_api.rb +16 -48
  842. data/lib/connectwise-ruby-sdk/api/activities_api.rb +47 -84
  843. data/lib/connectwise-ruby-sdk/api/activity_statuses_api.rb +44 -84
  844. data/lib/connectwise-ruby-sdk/api/activity_stopwatches_api.rb +407 -0
  845. data/lib/connectwise-ruby-sdk/api/activity_types_api.rb +44 -84
  846. data/lib/connectwise-ruby-sdk/api/address_formats_api.rb +407 -0
  847. data/lib/connectwise-ruby-sdk/api/adjustment_details_api.rb +315 -0
  848. data/lib/connectwise-ruby-sdk/api/adjustment_types_api.rb +407 -0
  849. data/lib/connectwise-ruby-sdk/api/adjustments_api.rb +407 -0
  850. data/lib/connectwise-ruby-sdk/api/agreement_additions_api.rb +68 -91
  851. data/lib/connectwise-ruby-sdk/api/agreement_adjustments_api.rb +68 -91
  852. data/lib/connectwise-ruby-sdk/api/agreement_batch_setups_api.rb +302 -0
  853. data/lib/connectwise-ruby-sdk/api/agreement_board_defaults_api.rb +65 -91
  854. data/lib/connectwise-ruby-sdk/api/agreement_sites_api.rb +65 -91
  855. data/lib/connectwise-ruby-sdk/api/agreement_type_board_defaults_api.rb +449 -0
  856. data/lib/connectwise-ruby-sdk/api/agreement_type_work_role_exclusions_api.rb +315 -0
  857. data/lib/connectwise-ruby-sdk/api/agreement_type_work_roles_api.rb +449 -0
  858. data/lib/connectwise-ruby-sdk/api/agreement_type_work_type_exclusions_api.rb +315 -0
  859. data/lib/connectwise-ruby-sdk/api/agreement_type_work_types_api.rb +449 -0
  860. data/lib/connectwise-ruby-sdk/api/agreement_types_api.rb +44 -84
  861. data/lib/connectwise-ruby-sdk/api/agreement_work_role_exclusions_api.rb +33 -61
  862. data/lib/connectwise-ruby-sdk/api/agreement_work_roles_api.rb +65 -91
  863. data/lib/connectwise-ruby-sdk/api/agreement_work_type_exclusions_api.rb +33 -61
  864. data/lib/connectwise-ruby-sdk/api/agreement_work_types_api.rb +65 -91
  865. data/lib/connectwise-ruby-sdk/api/agreements_api.rb +81 -132
  866. data/lib/connectwise-ruby-sdk/api/audit_trail_api.rb +9 -99
  867. data/lib/connectwise-ruby-sdk/api/auth_anvils_api.rb +349 -0
  868. data/lib/connectwise-ruby-sdk/api/batch_api.rb +67 -0
  869. data/lib/connectwise-ruby-sdk/api/billing_cycles_api.rb +180 -0
  870. data/lib/connectwise-ruby-sdk/api/billing_setup_routings_api.rb +449 -0
  871. data/lib/connectwise-ruby-sdk/api/billing_setups_api.rb +407 -0
  872. data/lib/connectwise-ruby-sdk/api/billing_statuses_api.rb +180 -0
  873. data/lib/connectwise-ruby-sdk/api/billing_terms_api.rb +180 -0
  874. data/lib/connectwise-ruby-sdk/api/board_auto_assign_resources_api.rb +449 -0
  875. data/lib/connectwise-ruby-sdk/api/board_auto_templates_api.rb +449 -0
  876. data/lib/connectwise-ruby-sdk/api/board_excluded_members_api.rb +57 -87
  877. data/lib/connectwise-ruby-sdk/api/board_item_associations_api.rb +362 -0
  878. data/lib/connectwise-ruby-sdk/api/board_items_api.rb +94 -120
  879. data/lib/connectwise-ruby-sdk/api/board_notifications_api.rb +449 -0
  880. data/lib/connectwise-ruby-sdk/api/board_status_notifications_api.rb +491 -0
  881. data/lib/connectwise-ruby-sdk/api/board_statuses_api.rb +94 -120
  882. data/lib/connectwise-ruby-sdk/api/board_sub_types_api.rb +94 -120
  883. data/lib/connectwise-ruby-sdk/api/board_teams_api.rb +94 -120
  884. data/lib/connectwise-ruby-sdk/api/board_type_sub_type_item_associations_api.rb +198 -0
  885. data/lib/connectwise-ruby-sdk/api/board_types_api.rb +94 -181
  886. data/lib/connectwise-ruby-sdk/api/boards_api.rb +98 -83
  887. data/lib/connectwise-ruby-sdk/api/calendars_api.rb +180 -0
  888. data/lib/connectwise-ruby-sdk/api/{callback_entries_api.rb → callbacks_api.rb} +59 -99
  889. data/lib/connectwise-ruby-sdk/api/campaign_audits_api.rb +65 -91
  890. data/lib/connectwise-ruby-sdk/api/campaign_emails_opened_api.rb +65 -91
  891. data/lib/connectwise-ruby-sdk/api/campaign_forms_submitted_api.rb +65 -91
  892. data/lib/connectwise-ruby-sdk/api/campaign_links_clicked_api.rb +65 -91
  893. data/lib/connectwise-ruby-sdk/api/campaign_statuses_api.rb +44 -84
  894. data/lib/connectwise-ruby-sdk/api/campaign_sub_types_api.rb +112 -180
  895. data/lib/connectwise-ruby-sdk/api/campaign_types_api.rb +44 -84
  896. data/lib/connectwise-ruby-sdk/api/campaigns_api.rb +64 -120
  897. data/lib/connectwise-ruby-sdk/api/catalog_components_api.rb +65 -91
  898. data/lib/connectwise-ruby-sdk/api/catalogs_item_api.rb +49 -93
  899. data/lib/connectwise-ruby-sdk/api/categories_api.rb +44 -84
  900. data/lib/connectwise-ruby-sdk/api/certifications_api.rb +407 -0
  901. data/lib/connectwise-ruby-sdk/api/charge_code_expense_types_api.rb +449 -0
  902. data/lib/connectwise-ruby-sdk/api/charge_codes_api.rb +407 -0
  903. data/lib/connectwise-ruby-sdk/api/classifications_api.rb +180 -0
  904. data/lib/connectwise-ruby-sdk/api/codes_api.rb +44 -84
  905. data/lib/connectwise-ruby-sdk/api/commissions_api.rb +407 -0
  906. data/lib/connectwise-ruby-sdk/api/companies_api.rb +56 -93
  907. data/lib/connectwise-ruby-sdk/api/company_custom_notes_api.rb +449 -0
  908. data/lib/connectwise-ruby-sdk/api/company_groups_api.rb +449 -0
  909. data/lib/connectwise-ruby-sdk/api/company_management_summary_reports_api.rb +65 -91
  910. data/lib/connectwise-ruby-sdk/api/company_note_types_api.rb +407 -0
  911. data/lib/connectwise-ruby-sdk/api/company_notes_api.rb +65 -91
  912. data/lib/connectwise-ruby-sdk/api/company_picker_items_api.rb +339 -0
  913. data/lib/connectwise-ruby-sdk/api/company_sites_api.rb +65 -91
  914. data/lib/connectwise-ruby-sdk/api/company_statuses_api.rb +44 -84
  915. data/lib/connectwise-ruby-sdk/api/company_teams_api.rb +65 -91
  916. data/lib/connectwise-ruby-sdk/api/company_types_api.rb +44 -84
  917. data/lib/connectwise-ruby-sdk/api/configuration_statuses_api.rb +44 -84
  918. data/lib/connectwise-ruby-sdk/api/configuration_type_question_values_api.rb +467 -0
  919. data/lib/connectwise-ruby-sdk/api/configuration_type_questions_api.rb +65 -91
  920. data/lib/connectwise-ruby-sdk/api/configuration_types_api.rb +44 -84
  921. data/lib/connectwise-ruby-sdk/api/configurations_api.rb +50 -90
  922. data/lib/connectwise-ruby-sdk/api/connect_wise_hosted_setups_api.rb +44 -84
  923. data/lib/connectwise-ruby-sdk/api/contact_communications_api.rb +65 -91
  924. data/lib/connectwise-ruby-sdk/api/contact_departments_api.rb +44 -84
  925. data/lib/connectwise-ruby-sdk/api/contact_groups_api.rb +449 -0
  926. data/lib/connectwise-ruby-sdk/api/contact_notes_api.rb +65 -91
  927. data/lib/connectwise-ruby-sdk/api/contact_relationships_api.rb +44 -84
  928. data/lib/connectwise-ruby-sdk/api/contact_tracks_api.rb +41 -71
  929. data/lib/connectwise-ruby-sdk/api/contact_types_api.rb +44 -84
  930. data/lib/connectwise-ruby-sdk/api/contacts_api.rb +71 -119
  931. data/lib/connectwise-ruby-sdk/api/corporate_structure_levels_api.rb +180 -0
  932. data/lib/connectwise-ruby-sdk/api/corporate_structures_api.rb +302 -0
  933. data/lib/connectwise-ruby-sdk/api/countries_api.rb +407 -0
  934. data/lib/connectwise-ruby-sdk/api/crms_api.rb +302 -0
  935. data/lib/connectwise-ruby-sdk/api/currencies_api.rb +44 -84
  936. data/lib/connectwise-ruby-sdk/api/custom_report_parameters_api.rb +449 -0
  937. data/lib/connectwise-ruby-sdk/api/custom_reports_api.rb +407 -0
  938. data/lib/connectwise-ruby-sdk/api/delivery_methods_api.rb +407 -0
  939. data/lib/connectwise-ruby-sdk/api/department_locations_api.rb +449 -0
  940. data/lib/connectwise-ruby-sdk/api/departments_api.rb +407 -0
  941. data/lib/connectwise-ruby-sdk/api/documents_api.rb +125 -167
  942. data/lib/connectwise-ruby-sdk/api/documents_setup_api.rb +252 -0
  943. data/lib/connectwise-ruby-sdk/api/email_connector_parsing_rules_api.rb +491 -0
  944. data/lib/connectwise-ruby-sdk/api/email_connector_parsing_styles_api.rb +449 -0
  945. data/lib/connectwise-ruby-sdk/api/email_connectors_api.rb +407 -0
  946. data/lib/connectwise-ruby-sdk/api/email_tokens_api.rb +180 -0
  947. data/lib/connectwise-ruby-sdk/api/expense_entries_api.rb +50 -84
  948. data/lib/connectwise-ruby-sdk/api/expense_reports_api.rb +286 -0
  949. data/lib/connectwise-ruby-sdk/api/expense_type_external_integration_references_api.rb +180 -0
  950. data/lib/connectwise-ruby-sdk/api/expense_types_api.rb +44 -84
  951. data/lib/connectwise-ruby-sdk/api/group_companies_api.rb +65 -91
  952. data/lib/connectwise-ruby-sdk/api/group_contacts_api.rb +65 -91
  953. data/lib/connectwise-ruby-sdk/api/groups_api.rb +44 -84
  954. data/lib/connectwise-ruby-sdk/api/holiday_lists_api.rb +407 -0
  955. data/lib/connectwise-ruby-sdk/api/holidays_api.rb +449 -0
  956. data/lib/connectwise-ruby-sdk/api/imaps_api.rb +180 -0
  957. data/lib/connectwise-ruby-sdk/api/impacts_api.rb +302 -0
  958. data/lib/connectwise-ruby-sdk/api/imports_mass_maintenance_api.rb +65 -0
  959. data/lib/connectwise-ruby-sdk/api/in_out_boards_api.rb +407 -0
  960. data/lib/connectwise-ruby-sdk/api/in_out_types_api.rb +407 -0
  961. data/lib/connectwise-ruby-sdk/api/info_api.rb +3 -31
  962. data/lib/connectwise-ruby-sdk/api/integrator_logins_api.rb +407 -0
  963. data/lib/connectwise-ruby-sdk/api/invoice_email_templates_api.rb +407 -0
  964. data/lib/connectwise-ruby-sdk/api/invoice_payments_api.rb +60 -82
  965. data/lib/connectwise-ruby-sdk/api/invoice_template_setups_api.rb +180 -0
  966. data/lib/connectwise-ruby-sdk/api/invoice_templates_api.rb +180 -0
  967. data/lib/connectwise-ruby-sdk/api/invoices_api.rb +52 -93
  968. data/lib/connectwise-ruby-sdk/api/knowledge_base_articles_api.rb +47 -84
  969. data/lib/connectwise-ruby-sdk/api/kp_is_api.rb +180 -0
  970. data/lib/connectwise-ruby-sdk/api/kpi_categories_api.rb +180 -0
  971. data/lib/connectwise-ruby-sdk/api/ldap_configurations_api.rb +407 -0
  972. data/lib/connectwise-ruby-sdk/api/legacy_campaign_sub_types_api.rb +198 -0
  973. data/lib/connectwise-ruby-sdk/api/legacy_sub_categories_api.rb +449 -0
  974. data/lib/connectwise-ruby-sdk/api/links_api.rb +44 -84
  975. data/lib/connectwise-ruby-sdk/api/location_departments_api.rb +198 -0
  976. data/lib/connectwise-ruby-sdk/api/location_work_roles_api.rb +198 -0
  977. data/lib/connectwise-ruby-sdk/api/locations_api.rb +83 -123
  978. data/lib/connectwise-ruby-sdk/api/managed_devices_integration_cross_references_api.rb +452 -0
  979. data/lib/connectwise-ruby-sdk/api/managed_devices_integration_logins_api.rb +452 -0
  980. data/lib/connectwise-ruby-sdk/api/managed_devices_integration_notifications_api.rb +452 -0
  981. data/lib/connectwise-ruby-sdk/api/managed_devices_integrations_api.rb +407 -0
  982. data/lib/connectwise-ruby-sdk/api/management_backups_api.rb +407 -0
  983. data/lib/connectwise-ruby-sdk/api/management_emails_api.rb +407 -0
  984. data/lib/connectwise-ruby-sdk/api/management_execute_managed_it_syncs_api.rb +77 -0
  985. data/lib/connectwise-ruby-sdk/api/management_it_solution_agreement_interface_parameters_api.rb +452 -0
  986. data/lib/connectwise-ruby-sdk/api/management_it_solutions_api.rb +407 -0
  987. data/lib/connectwise-ruby-sdk/api/management_logs_api.rb +126 -0
  988. data/lib/connectwise-ruby-sdk/api/management_networks_security_api.rb +457 -0
  989. data/lib/connectwise-ruby-sdk/api/management_report_notifications_api.rb +449 -0
  990. data/lib/connectwise-ruby-sdk/api/managements_api.rb +302 -0
  991. data/lib/connectwise-ruby-sdk/api/manufacturers_api.rb +44 -84
  992. data/lib/connectwise-ruby-sdk/api/market_descriptions_api.rb +407 -0
  993. data/lib/connectwise-ruby-sdk/api/member_accruals_api.rb +449 -0
  994. data/lib/connectwise-ruby-sdk/api/member_certifications_api.rb +449 -0
  995. data/lib/connectwise-ruby-sdk/api/member_delegations_api.rb +449 -0
  996. data/lib/connectwise-ruby-sdk/api/member_skills_api.rb +449 -0
  997. data/lib/connectwise-ruby-sdk/api/member_types_api.rb +407 -0
  998. data/lib/connectwise-ruby-sdk/api/members_api.rb +281 -91
  999. data/lib/connectwise-ruby-sdk/api/menu_entries_api.rb +57 -102
  1000. data/lib/connectwise-ruby-sdk/api/menu_entry_locations_api.rb +315 -0
  1001. data/lib/connectwise-ruby-sdk/api/my_company_purchasings_api.rb +302 -0
  1002. data/lib/connectwise-ruby-sdk/api/notification_recipients_api.rb +180 -0
  1003. data/lib/connectwise-ruby-sdk/api/opportunities_api.rb +83 -120
  1004. data/lib/connectwise-ruby-sdk/api/opportunity_contacts_api.rb +65 -91
  1005. data/lib/connectwise-ruby-sdk/api/opportunity_forecasts_api.rb +65 -91
  1006. data/lib/connectwise-ruby-sdk/api/opportunity_notes_api.rb +65 -91
  1007. data/lib/connectwise-ruby-sdk/api/opportunity_ratings_api.rb +44 -84
  1008. data/lib/connectwise-ruby-sdk/api/opportunity_stages_api.rb +407 -0
  1009. data/lib/connectwise-ruby-sdk/api/opportunity_statuses_api.rb +44 -84
  1010. data/lib/connectwise-ruby-sdk/api/opportunity_teams_api.rb +65 -91
  1011. data/lib/connectwise-ruby-sdk/api/opportunity_types_api.rb +44 -84
  1012. data/lib/connectwise-ruby-sdk/api/order_status_notifications_api.rb +449 -0
  1013. data/lib/connectwise-ruby-sdk/api/order_statuses_api.rb +44 -84
  1014. data/lib/connectwise-ruby-sdk/api/order_statuses_email_template_api.rb +449 -0
  1015. data/lib/connectwise-ruby-sdk/api/orders_api.rb +47 -84
  1016. data/lib/connectwise-ruby-sdk/api/others_api.rb +302 -0
  1017. data/lib/connectwise-ruby-sdk/api/ownership_types_api.rb +407 -0
  1018. data/lib/connectwise-ruby-sdk/api/parsing_types_api.rb +180 -0
  1019. data/lib/connectwise-ruby-sdk/api/parsing_variables_api.rb +180 -0
  1020. data/lib/connectwise-ruby-sdk/api/payment_types_api.rb +407 -0
  1021. data/lib/connectwise-ruby-sdk/api/portal_calendars_api.rb +302 -0
  1022. data/lib/connectwise-ruby-sdk/api/portal_configuration_invoice_setups_api.rb +399 -0
  1023. data/lib/connectwise-ruby-sdk/api/portal_configuration_opportunity_setups_api.rb +331 -0
  1024. data/lib/connectwise-ruby-sdk/api/portal_configuration_password_email_setups_api.rb +276 -0
  1025. data/lib/connectwise-ruby-sdk/api/portal_configuration_project_setups_api.rb +332 -0
  1026. data/lib/connectwise-ruby-sdk/api/portal_configuration_service_setups_api.rb +332 -0
  1027. data/lib/connectwise-ruby-sdk/api/portal_configurations_api.rb +517 -0
  1028. data/lib/connectwise-ruby-sdk/api/portal_reports_api.rb +407 -0
  1029. data/lib/connectwise-ruby-sdk/api/portal_securities_api.rb +302 -0
  1030. data/lib/connectwise-ruby-sdk/api/portal_security_levels_api.rb +302 -0
  1031. data/lib/connectwise-ruby-sdk/api/pricing_breaks_api.rb +86 -98
  1032. data/lib/connectwise-ruby-sdk/api/pricing_details_api.rb +65 -91
  1033. data/lib/connectwise-ruby-sdk/api/pricing_schedules_api.rb +44 -84
  1034. data/lib/connectwise-ruby-sdk/api/priorities_api.rb +49 -93
  1035. data/lib/connectwise-ruby-sdk/api/product_components_api.rb +65 -91
  1036. data/lib/connectwise-ruby-sdk/api/product_picking_shipping_details_api.rb +65 -91
  1037. data/lib/connectwise-ruby-sdk/api/product_types_api.rb +44 -84
  1038. data/lib/connectwise-ruby-sdk/api/products_item_api.rb +44 -84
  1039. data/lib/connectwise-ruby-sdk/api/project_contacts_api.rb +36 -62
  1040. data/lib/connectwise-ruby-sdk/api/project_notes_api.rb +65 -91
  1041. data/lib/connectwise-ruby-sdk/api/project_phases_api.rb +65 -91
  1042. data/lib/connectwise-ruby-sdk/api/project_security_role_settings_api.rb +332 -0
  1043. data/lib/connectwise-ruby-sdk/api/project_security_roles_api.rb +407 -0
  1044. data/lib/connectwise-ruby-sdk/api/project_statuses_api.rb +407 -0
  1045. data/lib/connectwise-ruby-sdk/api/project_types_api.rb +180 -0
  1046. data/lib/connectwise-ruby-sdk/api/projects_api.rb +47 -84
  1047. data/lib/connectwise-ruby-sdk/api/{projects_team_members_api.rb → projects_teammembers_api.rb} +95 -121
  1048. data/lib/connectwise-ruby-sdk/api/purchase_order_line_items_api.rb +65 -91
  1049. data/lib/connectwise-ruby-sdk/api/purchase_order_status_email_templates_api.rb +449 -0
  1050. data/lib/connectwise-ruby-sdk/api/purchase_order_status_notifications_api.rb +449 -0
  1051. data/lib/connectwise-ruby-sdk/api/purchase_order_statuses_api.rb +407 -0
  1052. data/lib/connectwise-ruby-sdk/api/purchase_orders_api.rb +44 -84
  1053. data/lib/connectwise-ruby-sdk/api/report_card_details_api.rb +449 -0
  1054. data/lib/connectwise-ruby-sdk/api/report_cards_api.rb +407 -0
  1055. data/lib/connectwise-ruby-sdk/api/reporting_services_api.rb +305 -0
  1056. data/lib/connectwise-ruby-sdk/api/reports_api.rb +30 -58
  1057. data/lib/connectwise-ruby-sdk/api/rma_actions_api.rb +407 -0
  1058. data/lib/connectwise-ruby-sdk/api/rma_dispositions_api.rb +407 -0
  1059. data/lib/connectwise-ruby-sdk/api/rma_status_email_templates_api.rb +449 -0
  1060. data/lib/connectwise-ruby-sdk/api/rma_status_notifications_api.rb +449 -0
  1061. data/lib/connectwise-ruby-sdk/api/rma_statuses_api.rb +407 -0
  1062. data/lib/connectwise-ruby-sdk/api/roles_api.rb +407 -0
  1063. data/lib/connectwise-ruby-sdk/api/sales_probabilities_api.rb +407 -0
  1064. data/lib/connectwise-ruby-sdk/api/sales_quotas_api.rb +407 -0
  1065. data/lib/connectwise-ruby-sdk/api/sales_team_members_api.rb +449 -0
  1066. data/lib/connectwise-ruby-sdk/api/sales_teams_api.rb +407 -0
  1067. data/lib/connectwise-ruby-sdk/api/schedule_colors_api.rb +402 -0
  1068. data/lib/connectwise-ruby-sdk/api/schedule_details_api.rb +198 -0
  1069. data/lib/connectwise-ruby-sdk/api/schedule_entries_api.rb +44 -84
  1070. data/lib/connectwise-ruby-sdk/api/schedule_reminder_times_api.rb +302 -0
  1071. data/lib/connectwise-ruby-sdk/api/schedule_statuses_api.rb +44 -84
  1072. data/lib/connectwise-ruby-sdk/api/schedule_stopwatches_api.rb +407 -0
  1073. data/lib/connectwise-ruby-sdk/api/schedule_types_api.rb +44 -84
  1074. data/lib/connectwise-ruby-sdk/api/security_role_settings_api.rb +198 -0
  1075. data/lib/connectwise-ruby-sdk/api/security_roles_api.rb +285 -0
  1076. data/lib/connectwise-ruby-sdk/api/service_email_templates_api.rb +407 -0
  1077. data/lib/connectwise-ruby-sdk/api/service_locations_api.rb +407 -0
  1078. data/lib/connectwise-ruby-sdk/api/service_signoffs_api.rb +407 -0
  1079. data/lib/connectwise-ruby-sdk/api/service_survey_questions_api.rb +449 -0
  1080. data/lib/connectwise-ruby-sdk/api/service_surveys_api.rb +407 -0
  1081. data/lib/connectwise-ruby-sdk/api/service_teams_api.rb +180 -0
  1082. data/lib/connectwise-ruby-sdk/api/service_templates_api.rb +180 -0
  1083. data/lib/connectwise-ruby-sdk/api/services_api.rb +252 -0
  1084. data/lib/connectwise-ruby-sdk/api/setup_screens_api.rb +180 -0
  1085. data/lib/connectwise-ruby-sdk/api/severities_api.rb +302 -0
  1086. data/lib/connectwise-ruby-sdk/api/shipment_methods_api.rb +44 -84
  1087. data/lib/connectwise-ruby-sdk/api/skill_categories_api.rb +407 -0
  1088. data/lib/connectwise-ruby-sdk/api/skills_api.rb +407 -0
  1089. data/lib/connectwise-ruby-sdk/api/sl_as_api.rb +407 -0
  1090. data/lib/connectwise-ruby-sdk/api/sla_priorities_api.rb +449 -0
  1091. data/lib/connectwise-ruby-sdk/api/sources_api.rb +44 -84
  1092. data/lib/connectwise-ruby-sdk/api/states_api.rb +235 -0
  1093. data/lib/connectwise-ruby-sdk/api/status_external_integration_references_api.rb +180 -0
  1094. data/lib/connectwise-ruby-sdk/api/sub_categories_api.rb +112 -180
  1095. data/lib/connectwise-ruby-sdk/api/survey_options_api.rb +491 -0
  1096. data/lib/connectwise-ruby-sdk/api/survey_question_values_api.rb +467 -0
  1097. data/lib/connectwise-ruby-sdk/api/survey_questions_api.rb +96 -193
  1098. data/lib/connectwise-ruby-sdk/api/survey_results_api.rb +65 -91
  1099. data/lib/connectwise-ruby-sdk/api/surveys_api.rb +79 -119
  1100. data/lib/connectwise-ruby-sdk/api/system_tracks_api.rb +407 -0
  1101. data/lib/connectwise-ruby-sdk/api/tax_code_expense_type_exemptions_api.rb +449 -0
  1102. data/lib/connectwise-ruby-sdk/api/tax_code_product_type_exemptions_api.rb +449 -0
  1103. data/lib/connectwise-ruby-sdk/api/tax_code_work_role_exemptions_api.rb +449 -0
  1104. data/lib/connectwise-ruby-sdk/api/tax_code_x_refs_api.rb +449 -0
  1105. data/lib/connectwise-ruby-sdk/api/tax_codes_api.rb +407 -0
  1106. data/lib/connectwise-ruby-sdk/api/tax_integrations_api.rb +180 -0
  1107. data/lib/connectwise-ruby-sdk/api/team_members_api.rb +285 -0
  1108. data/lib/connectwise-ruby-sdk/api/team_roles_api.rb +407 -0
  1109. data/lib/connectwise-ruby-sdk/api/ticket_notes_api.rb +65 -91
  1110. data/lib/connectwise-ruby-sdk/api/ticket_stopwatches_api.rb +407 -0
  1111. data/lib/connectwise-ruby-sdk/api/ticket_syncs_api.rb +407 -0
  1112. data/lib/connectwise-ruby-sdk/api/ticket_tasks_api.rb +65 -91
  1113. data/lib/connectwise-ruby-sdk/api/tickets_api.rb +216 -248
  1114. data/lib/connectwise-ruby-sdk/api/time_accrual_details_api.rb +449 -0
  1115. data/lib/connectwise-ruby-sdk/api/time_accruals_api.rb +407 -0
  1116. data/lib/connectwise-ruby-sdk/api/time_entries_api.rb +102 -84
  1117. data/lib/connectwise-ruby-sdk/api/time_expenses_api.rb +302 -0
  1118. data/lib/connectwise-ruby-sdk/api/time_period_setups_api.rb +332 -0
  1119. data/lib/connectwise-ruby-sdk/api/time_periods_api.rb +198 -0
  1120. data/lib/connectwise-ruby-sdk/api/time_sheets_api.rb +286 -0
  1121. data/lib/connectwise-ruby-sdk/api/time_zone_setups_api.rb +407 -0
  1122. data/lib/connectwise-ruby-sdk/api/time_zones_api.rb +180 -0
  1123. data/lib/connectwise-ruby-sdk/api/today_page_categories_api.rb +407 -0
  1124. data/lib/connectwise-ruby-sdk/api/track_actions_api.rb +449 -0
  1125. data/lib/connectwise-ruby-sdk/api/unit_of_measure_conversions_api.rb +65 -91
  1126. data/lib/connectwise-ruby-sdk/api/{units_of_measure_api.rb → unit_of_measures_api.rb} +59 -99
  1127. data/lib/connectwise-ruby-sdk/api/user_defined_fields_api.rb +44 -84
  1128. data/lib/connectwise-ruby-sdk/api/warehouse_bins_api.rb +407 -0
  1129. data/lib/connectwise-ruby-sdk/api/warehouses_api.rb +407 -0
  1130. data/lib/connectwise-ruby-sdk/api/work_role_locations_api.rb +449 -0
  1131. data/lib/connectwise-ruby-sdk/api/work_roles_api.rb +407 -0
  1132. data/lib/connectwise-ruby-sdk/api/work_type_external_integration_references_api.rb +180 -0
  1133. data/lib/connectwise-ruby-sdk/api/work_types_api.rb +407 -0
  1134. data/lib/connectwise-ruby-sdk/api/workflow_action_automate_parameters_api.rb +449 -0
  1135. data/lib/connectwise-ruby-sdk/api/workflow_actions_api.rb +491 -0
  1136. data/lib/connectwise-ruby-sdk/api/workflow_events_api.rb +508 -0
  1137. data/lib/connectwise-ruby-sdk/api/workflow_notify_types_api.rb +198 -0
  1138. data/lib/connectwise-ruby-sdk/api/workflow_table_types_api.rb +180 -0
  1139. data/lib/connectwise-ruby-sdk/api/workflow_trigger_options_api.rb +151 -0
  1140. data/lib/connectwise-ruby-sdk/api/workflow_triggers_api.rb +139 -0
  1141. data/lib/connectwise-ruby-sdk/api/workflows_api.rb +460 -0
  1142. data/lib/connectwise-ruby-sdk/api_client.rb +54 -55
  1143. data/lib/connectwise-ruby-sdk/api_error.rb +8 -28
  1144. data/lib/connectwise-ruby-sdk/configuration.rb +7 -23
  1145. data/lib/connectwise-ruby-sdk/models/accounting_batch.rb +256 -0
  1146. data/lib/connectwise-ruby-sdk/models/accounting_package.rb +444 -0
  1147. data/lib/connectwise-ruby-sdk/models/activity.rb +28 -31
  1148. data/lib/connectwise-ruby-sdk/models/activity_reference.rb +5 -27
  1149. data/lib/connectwise-ruby-sdk/models/activity_status.rb +5 -27
  1150. data/lib/connectwise-ruby-sdk/models/activity_status_reference.rb +6 -28
  1151. data/lib/connectwise-ruby-sdk/models/activity_stopwatch.rb +416 -0
  1152. data/lib/connectwise-ruby-sdk/models/activity_type.rb +5 -27
  1153. data/lib/connectwise-ruby-sdk/models/activity_type_reference.rb +6 -28
  1154. data/lib/connectwise-ruby-sdk/models/addition.rb +58 -29
  1155. data/lib/connectwise-ruby-sdk/models/address_format.rb +291 -0
  1156. data/lib/connectwise-ruby-sdk/models/{batch_reference.rb → address_format_reference.rb} +6 -28
  1157. data/lib/connectwise-ruby-sdk/models/adjustment.rb +117 -32
  1158. data/lib/connectwise-ruby-sdk/models/adjustment_detail.rb +320 -0
  1159. data/lib/connectwise-ruby-sdk/models/adjustment_reference.rb +196 -0
  1160. data/lib/connectwise-ruby-sdk/models/adjustment_type.rb +272 -0
  1161. data/lib/connectwise-ruby-sdk/models/adjustment_type_reference.rb +196 -0
  1162. data/lib/connectwise-ruby-sdk/models/agreement.rb +47 -43
  1163. data/lib/connectwise-ruby-sdk/models/agreement_batch_setup.rb +215 -0
  1164. data/lib/connectwise-ruby-sdk/models/agreement_reference.rb +5 -27
  1165. data/lib/connectwise-ruby-sdk/models/agreement_site.rb +9 -27
  1166. data/lib/connectwise-ruby-sdk/models/agreement_type.rb +222 -72
  1167. data/lib/connectwise-ruby-sdk/models/agreement_type_board_default.rb +246 -0
  1168. data/lib/connectwise-ruby-sdk/models/agreement_type_reference.rb +6 -28
  1169. data/lib/connectwise-ruby-sdk/models/agreement_type_work_role.rb +279 -0
  1170. data/lib/connectwise-ruby-sdk/models/agreement_type_work_role_exclusion.rb +210 -0
  1171. data/lib/connectwise-ruby-sdk/models/agreement_type_work_type.rb +367 -0
  1172. data/lib/connectwise-ruby-sdk/models/agreement_type_work_type_exclusion.rb +210 -0
  1173. data/lib/connectwise-ruby-sdk/models/agreement_work_role.rb +9 -27
  1174. data/lib/connectwise-ruby-sdk/models/agreement_work_role_exclusion.rb +9 -27
  1175. data/lib/connectwise-ruby-sdk/models/agreement_work_type.rb +13 -27
  1176. data/lib/connectwise-ruby-sdk/models/agreement_work_type_exclusion.rb +9 -27
  1177. data/lib/connectwise-ruby-sdk/models/audit_trail_entry.rb +15 -28
  1178. data/lib/connectwise-ruby-sdk/models/auth_anvil.rb +215 -0
  1179. data/lib/connectwise-ruby-sdk/models/automate_script_reference.rb +196 -0
  1180. data/lib/connectwise-ruby-sdk/models/{type_associations.rb → batch_request.rb} +30 -42
  1181. data/lib/connectwise-ruby-sdk/models/batch_response.rb +188 -0
  1182. data/lib/connectwise-ruby-sdk/models/billing_cycle.rb +285 -0
  1183. data/lib/connectwise-ruby-sdk/models/billing_cycle_reference.rb +196 -0
  1184. data/lib/connectwise-ruby-sdk/models/billing_delivery_reference.rb +196 -0
  1185. data/lib/connectwise-ruby-sdk/models/billing_options_reference.rb +196 -0
  1186. data/lib/connectwise-ruby-sdk/models/billing_setup.rb +1028 -0
  1187. data/lib/connectwise-ruby-sdk/models/billing_setup_routing.rb +311 -0
  1188. data/lib/connectwise-ruby-sdk/models/billing_status.rb +265 -0
  1189. data/lib/connectwise-ruby-sdk/models/billing_status_reference.rb +5 -27
  1190. data/lib/connectwise-ruby-sdk/models/billing_term.rb +273 -0
  1191. data/lib/connectwise-ruby-sdk/models/billing_terms_reference.rb +5 -27
  1192. data/lib/connectwise-ruby-sdk/models/board.rb +577 -72
  1193. data/lib/connectwise-ruby-sdk/models/board_auto_assign_resource.rb +210 -0
  1194. data/lib/connectwise-ruby-sdk/models/board_auto_template.rb +450 -0
  1195. data/lib/connectwise-ruby-sdk/models/board_copy.rb +210 -0
  1196. data/lib/connectwise-ruby-sdk/models/board_default.rb +9 -27
  1197. data/lib/connectwise-ruby-sdk/models/{excluded_member.rb → board_excluded_member.rb} +10 -28
  1198. data/lib/connectwise-ruby-sdk/models/board_item.rb +238 -0
  1199. data/lib/connectwise-ruby-sdk/models/board_item_association.rb +239 -0
  1200. data/lib/connectwise-ruby-sdk/models/board_notification.rb +235 -0
  1201. data/lib/connectwise-ruby-sdk/models/board_reference.rb +5 -27
  1202. data/lib/connectwise-ruby-sdk/models/{status.rb → board_status.rb} +95 -35
  1203. data/lib/connectwise-ruby-sdk/models/board_status_notification.rb +255 -0
  1204. data/lib/connectwise-ruby-sdk/models/{sub_type.rb → board_sub_type.rb} +31 -53
  1205. data/lib/connectwise-ruby-sdk/models/board_team.rb +290 -0
  1206. data/lib/connectwise-ruby-sdk/models/board_type.rb +341 -0
  1207. data/lib/connectwise-ruby-sdk/models/board_type_sub_type_item_association.rb +223 -0
  1208. data/lib/connectwise-ruby-sdk/models/calendar.rb +336 -0
  1209. data/lib/connectwise-ruby-sdk/models/calendar_reference.rb +6 -28
  1210. data/lib/connectwise-ruby-sdk/models/calendar_setup_reference.rb +196 -0
  1211. data/lib/connectwise-ruby-sdk/models/callback_entry.rb +31 -29
  1212. data/lib/connectwise-ruby-sdk/models/campaign.rb +17 -27
  1213. data/lib/connectwise-ruby-sdk/models/campaign_audit.rb +35 -60
  1214. data/lib/connectwise-ruby-sdk/models/campaign_reference.rb +5 -27
  1215. data/lib/connectwise-ruby-sdk/models/campaign_status.rb +5 -27
  1216. data/lib/connectwise-ruby-sdk/models/campaign_status_reference.rb +5 -27
  1217. data/lib/connectwise-ruby-sdk/models/campaign_sub_type.rb +17 -34
  1218. data/lib/connectwise-ruby-sdk/models/campaign_sub_type_reference.rb +5 -27
  1219. data/lib/connectwise-ruby-sdk/models/campaign_type.rb +5 -27
  1220. data/lib/connectwise-ruby-sdk/models/campaign_type_reference.rb +5 -27
  1221. data/lib/connectwise-ruby-sdk/models/catalog_component.rb +23 -28
  1222. data/lib/connectwise-ruby-sdk/models/catalog_item.rb +34 -40
  1223. data/lib/connectwise-ruby-sdk/models/catalog_item_reference.rb +15 -28
  1224. data/lib/connectwise-ruby-sdk/models/category.rb +10 -34
  1225. data/lib/connectwise-ruby-sdk/models/certification.rb +234 -0
  1226. data/lib/connectwise-ruby-sdk/models/certification_reference.rb +196 -0
  1227. data/lib/connectwise-ruby-sdk/models/charge_code.rb +376 -0
  1228. data/lib/connectwise-ruby-sdk/models/charge_code_expense_type.rb +210 -0
  1229. data/lib/connectwise-ruby-sdk/models/charge_code_reference.rb +5 -27
  1230. data/lib/connectwise-ruby-sdk/models/classification.rb +232 -0
  1231. data/lib/connectwise-ruby-sdk/models/classification_reference.rb +5 -27
  1232. data/lib/connectwise-ruby-sdk/models/{audit_trail_objects.rb → clear_picker_request.rb} +21 -47
  1233. data/lib/connectwise-ruby-sdk/models/code.rb +9 -27
  1234. data/lib/connectwise-ruby-sdk/models/commission.rb +501 -0
  1235. data/lib/connectwise-ruby-sdk/models/communication_type_reference.rb +5 -27
  1236. data/lib/connectwise-ruby-sdk/models/company.rb +188 -61
  1237. data/lib/connectwise-ruby-sdk/models/company_custom_note.rb +243 -0
  1238. data/lib/connectwise-ruby-sdk/models/company_group.rb +257 -0
  1239. data/lib/connectwise-ruby-sdk/models/company_management_summary.rb +5 -27
  1240. data/lib/connectwise-ruby-sdk/models/company_merge.rb +9 -27
  1241. data/lib/connectwise-ruby-sdk/models/company_note.rb +9 -27
  1242. data/lib/connectwise-ruby-sdk/models/company_picker_item.rb +266 -0
  1243. data/lib/connectwise-ruby-sdk/models/company_reference.rb +6 -28
  1244. data/lib/connectwise-ruby-sdk/models/company_site.rb +25 -36
  1245. data/lib/connectwise-ruby-sdk/models/company_status.rb +5 -28
  1246. data/lib/connectwise-ruby-sdk/models/company_status_reference.rb +6 -28
  1247. data/lib/connectwise-ruby-sdk/models/company_team.rb +41 -32
  1248. data/lib/connectwise-ruby-sdk/models/company_type.rb +5 -27
  1249. data/lib/connectwise-ruby-sdk/models/company_type_reference.rb +5 -27
  1250. data/lib/connectwise-ruby-sdk/models/configuration.rb +22 -42
  1251. data/lib/connectwise-ruby-sdk/models/configuration_question.rb +7 -29
  1252. data/lib/connectwise-ruby-sdk/models/configuration_reference.rb +5 -27
  1253. data/lib/connectwise-ruby-sdk/models/configuration_status.rb +5 -27
  1254. data/lib/connectwise-ruby-sdk/models/configuration_status_reference.rb +5 -27
  1255. data/lib/connectwise-ruby-sdk/models/configuration_type.rb +5 -27
  1256. data/lib/connectwise-ruby-sdk/models/configuration_type_question.rb +37 -58
  1257. data/lib/connectwise-ruby-sdk/models/configuration_type_question_reference.rb +196 -0
  1258. data/lib/connectwise-ruby-sdk/models/configuration_type_question_value.rb +256 -0
  1259. data/lib/connectwise-ruby-sdk/models/configuration_type_reference.rb +5 -27
  1260. data/lib/connectwise-ruby-sdk/models/connect_wise_hosted_setup.rb +124 -61
  1261. data/lib/connectwise-ruby-sdk/models/contact.rb +34 -52
  1262. data/lib/connectwise-ruby-sdk/models/contact_communication.rb +9 -28
  1263. data/lib/connectwise-ruby-sdk/models/contact_communication_item.rb +9 -28
  1264. data/lib/connectwise-ruby-sdk/models/contact_department.rb +5 -27
  1265. data/lib/connectwise-ruby-sdk/models/contact_department_reference.rb +5 -27
  1266. data/lib/connectwise-ruby-sdk/models/contact_group.rb +280 -0
  1267. data/lib/connectwise-ruby-sdk/models/contact_note.rb +9 -27
  1268. data/lib/connectwise-ruby-sdk/models/contact_reference.rb +5 -27
  1269. data/lib/connectwise-ruby-sdk/models/contact_relationship.rb +5 -27
  1270. data/lib/connectwise-ruby-sdk/models/contact_type.rb +5 -27
  1271. data/lib/connectwise-ruby-sdk/models/contact_type_reference.rb +5 -27
  1272. data/lib/connectwise-ruby-sdk/models/conversion.rb +13 -27
  1273. data/lib/connectwise-ruby-sdk/models/corporate_structure.rb +514 -0
  1274. data/lib/connectwise-ruby-sdk/models/corporate_structure_level.rb +186 -0
  1275. data/lib/connectwise-ruby-sdk/models/corporate_structure_level_reference.rb +196 -0
  1276. data/lib/connectwise-ruby-sdk/models/count.rb +5 -27
  1277. data/lib/connectwise-ruby-sdk/models/country.rb +461 -0
  1278. data/lib/connectwise-ruby-sdk/models/country_reference.rb +6 -28
  1279. data/lib/connectwise-ruby-sdk/models/create_accounting_batch_request.rb +274 -0
  1280. data/lib/connectwise-ruby-sdk/models/crm.rb +649 -0
  1281. data/lib/connectwise-ruby-sdk/models/currency.rb +25 -34
  1282. data/lib/connectwise-ruby-sdk/models/currency_reference.rb +30 -34
  1283. data/lib/connectwise-ruby-sdk/models/custom_field_value.rb +7 -29
  1284. data/lib/connectwise-ruby-sdk/models/custom_report.rb +1020 -0
  1285. data/lib/connectwise-ruby-sdk/models/custom_report_parameter.rb +248 -0
  1286. data/lib/connectwise-ruby-sdk/models/custom_report_reference.rb +196 -0
  1287. data/lib/connectwise-ruby-sdk/models/delivery_method.rb +265 -0
  1288. data/lib/connectwise-ruby-sdk/models/department.rb +253 -0
  1289. data/lib/connectwise-ruby-sdk/models/department_location.rb +278 -0
  1290. data/lib/connectwise-ruby-sdk/models/department_mananager.rb +186 -0
  1291. data/lib/connectwise-ruby-sdk/models/dispatch_member.rb +186 -0
  1292. data/lib/connectwise-ruby-sdk/models/document_info.rb +24 -28
  1293. data/lib/connectwise-ruby-sdk/models/document_reference.rb +15 -28
  1294. data/lib/connectwise-ruby-sdk/models/document_setup.rb +280 -0
  1295. data/lib/connectwise-ruby-sdk/models/duty_manager.rb +186 -0
  1296. data/lib/connectwise-ruby-sdk/models/email_connector.rb +479 -0
  1297. data/lib/connectwise-ruby-sdk/models/email_connector_parsing_rule.rb +311 -0
  1298. data/lib/connectwise-ruby-sdk/models/email_connector_parsing_style.rb +248 -0
  1299. data/lib/connectwise-ruby-sdk/models/email_connector_parsing_style_reference.rb +196 -0
  1300. data/lib/connectwise-ruby-sdk/models/email_connector_parsing_type_reference.rb +196 -0
  1301. data/lib/connectwise-ruby-sdk/models/email_connector_parsing_variable_reference.rb +205 -0
  1302. data/lib/connectwise-ruby-sdk/models/email_connector_reference.rb +196 -0
  1303. data/lib/connectwise-ruby-sdk/models/email_opened.rb +9 -27
  1304. data/lib/connectwise-ruby-sdk/models/email_template_reference.rb +196 -0
  1305. data/lib/connectwise-ruby-sdk/models/email_token.rb +312 -0
  1306. data/lib/connectwise-ruby-sdk/models/endpoint_request.rb +213 -0
  1307. data/lib/connectwise-ruby-sdk/models/endpoint_response.rb +204 -0
  1308. data/lib/connectwise-ruby-sdk/models/entity_type_reference.rb +6 -28
  1309. data/lib/connectwise-ruby-sdk/models/error.rb +5 -27
  1310. data/lib/connectwise-ruby-sdk/models/expense_entry.rb +42 -28
  1311. data/lib/connectwise-ruby-sdk/models/expense_report.rb +292 -0
  1312. data/lib/connectwise-ruby-sdk/models/expense_tax.rb +5 -27
  1313. data/lib/connectwise-ruby-sdk/models/expense_tax_type_reference.rb +5 -27
  1314. data/lib/connectwise-ruby-sdk/models/expense_type.rb +52 -28
  1315. data/lib/connectwise-ruby-sdk/models/expense_type_exemption.rb +260 -0
  1316. data/lib/connectwise-ruby-sdk/models/expense_type_external_integration_reference.rb +205 -0
  1317. data/lib/connectwise-ruby-sdk/models/expense_type_reference.rb +5 -27
  1318. data/lib/connectwise-ruby-sdk/models/{batch.rb → export_accounting_batch_request.rb} +103 -117
  1319. data/lib/connectwise-ruby-sdk/models/external_expense_type_integration_reference.rb +205 -0
  1320. data/lib/connectwise-ruby-sdk/models/external_integration_status_reference.rb +205 -0
  1321. data/lib/connectwise-ruby-sdk/models/external_work_type_integration_reference.rb +205 -0
  1322. data/lib/connectwise-ruby-sdk/models/filter_values.rb +27 -31
  1323. data/lib/connectwise-ruby-sdk/models/forecast.rb +60 -29
  1324. data/lib/connectwise-ruby-sdk/models/form_submitted.rb +9 -27
  1325. data/lib/connectwise-ruby-sdk/models/generic_id_identifier_reference.rb +18 -31
  1326. data/lib/connectwise-ruby-sdk/models/gl_export.rb +266 -0
  1327. data/lib/connectwise-ruby-sdk/models/gl_export_adjustment_transaction.rb +251 -0
  1328. data/lib/connectwise-ruby-sdk/models/gl_export_adjustment_transaction_detail.rb +267 -0
  1329. data/lib/connectwise-ruby-sdk/models/gl_export_customer.rb +420 -0
  1330. data/lib/connectwise-ruby-sdk/models/gl_export_expense.rb +348 -0
  1331. data/lib/connectwise-ruby-sdk/models/gl_export_expense_bill.rb +278 -0
  1332. data/lib/connectwise-ruby-sdk/models/gl_export_expense_bill_detail.rb +276 -0
  1333. data/lib/connectwise-ruby-sdk/models/gl_export_expense_offset.rb +258 -0
  1334. data/lib/connectwise-ruby-sdk/models/gl_export_inventory_transfer.rb +546 -0
  1335. data/lib/connectwise-ruby-sdk/models/gl_export_inventory_transfer_offset.rb +249 -0
  1336. data/lib/connectwise-ruby-sdk/models/gl_export_purchase_transaction.rb +559 -0
  1337. data/lib/connectwise-ruby-sdk/models/gl_export_purchase_transaction_detail.rb +564 -0
  1338. data/lib/connectwise-ruby-sdk/models/gl_export_purchase_transaction_detail_tax.rb +555 -0
  1339. data/lib/connectwise-ruby-sdk/models/gl_export_settings.rb +168 -0
  1340. data/lib/connectwise-ruby-sdk/models/gl_export_transaction.rb +701 -0
  1341. data/lib/connectwise-ruby-sdk/models/gl_export_transaction_detail.rb +618 -0
  1342. data/lib/connectwise-ruby-sdk/models/gl_export_vendor.rb +260 -0
  1343. data/lib/connectwise-ruby-sdk/models/group.rb +8 -27
  1344. data/lib/connectwise-ruby-sdk/models/group_reference.rb +6 -28
  1345. data/lib/connectwise-ruby-sdk/models/guid.rb +5 -27
  1346. data/lib/connectwise-ruby-sdk/models/holiday.rb +263 -0
  1347. data/lib/connectwise-ruby-sdk/models/holiday_list.rb +220 -0
  1348. data/lib/connectwise-ruby-sdk/models/holiday_list_reference.rb +196 -0
  1349. data/lib/connectwise-ruby-sdk/models/imap.rb +364 -0
  1350. data/lib/connectwise-ruby-sdk/models/imap_setup_reference.rb +196 -0
  1351. data/lib/connectwise-ruby-sdk/models/impact.rb +238 -0
  1352. data/lib/connectwise-ruby-sdk/models/import_mass_maintenance.rb +204 -0
  1353. data/lib/connectwise-ruby-sdk/models/in_out_board.rb +254 -0
  1354. data/lib/connectwise-ruby-sdk/models/in_out_type.rb +220 -0
  1355. data/lib/connectwise-ruby-sdk/models/in_out_type_reference.rb +196 -0
  1356. data/lib/connectwise-ruby-sdk/models/info.rb +5 -27
  1357. data/lib/connectwise-ruby-sdk/models/integrator_login.rb +36 -41
  1358. data/lib/connectwise-ruby-sdk/models/integrator_login_reference.rb +196 -0
  1359. data/lib/connectwise-ruby-sdk/models/invoice.rb +36 -34
  1360. data/lib/connectwise-ruby-sdk/models/invoice_email_template.rb +376 -0
  1361. data/lib/connectwise-ruby-sdk/models/invoice_reference.rb +5 -27
  1362. data/lib/connectwise-ruby-sdk/models/invoice_template.rb +1188 -0
  1363. data/lib/connectwise-ruby-sdk/models/invoice_template_reference.rb +196 -0
  1364. data/lib/connectwise-ruby-sdk/models/invoice_template_setup.rb +221 -0
  1365. data/lib/connectwise-ruby-sdk/models/iv_item_reference.rb +5 -27
  1366. data/lib/connectwise-ruby-sdk/models/j_array.rb +168 -0
  1367. data/lib/connectwise-ruby-sdk/models/j_object.rb +5 -27
  1368. data/lib/connectwise-ruby-sdk/models/knowledge_base_article.rb +24 -34
  1369. data/lib/connectwise-ruby-sdk/models/knowledgebase_article.rb +186 -0
  1370. data/lib/connectwise-ruby-sdk/models/kpi.rb +259 -0
  1371. data/lib/connectwise-ruby-sdk/models/kpi_category.rb +211 -0
  1372. data/lib/connectwise-ruby-sdk/models/kpi_category_reference.rb +196 -0
  1373. data/lib/connectwise-ruby-sdk/models/kpi_reference.rb +196 -0
  1374. data/lib/connectwise-ruby-sdk/models/ldap_configuration.rb +288 -0
  1375. data/lib/connectwise-ruby-sdk/models/ldap_configuration_reference.rb +205 -0
  1376. data/lib/connectwise-ruby-sdk/models/legacy_sub_category.rb +229 -0
  1377. data/lib/connectwise-ruby-sdk/models/link.rb +48 -30
  1378. data/lib/connectwise-ruby-sdk/models/link_clicked.rb +9 -27
  1379. data/lib/connectwise-ruby-sdk/models/location.rb +367 -74
  1380. data/lib/connectwise-ruby-sdk/models/location_department.rb +205 -0
  1381. data/lib/connectwise-ruby-sdk/models/location_work_role.rb +214 -0
  1382. data/lib/connectwise-ruby-sdk/models/managed_devices_integration.rb +466 -0
  1383. data/lib/connectwise-ruby-sdk/models/managed_devices_integration_cross_reference.rb +284 -0
  1384. data/lib/connectwise-ruby-sdk/models/managed_devices_integration_login.rb +276 -0
  1385. data/lib/connectwise-ruby-sdk/models/managed_devices_integration_notification.rb +267 -0
  1386. data/lib/connectwise-ruby-sdk/models/managed_devices_integration_reference.rb +196 -0
  1387. data/lib/connectwise-ruby-sdk/models/management.rb +282 -0
  1388. data/lib/connectwise-ruby-sdk/models/management_backup.rb +262 -0
  1389. data/lib/connectwise-ruby-sdk/models/management_email.rb +378 -0
  1390. data/lib/connectwise-ruby-sdk/models/management_it_solution.rb +650 -0
  1391. data/lib/connectwise-ruby-sdk/models/management_it_solution_agreement_interface_parameter.rb +237 -0
  1392. data/lib/connectwise-ruby-sdk/models/management_log_document_info.rb +168 -0
  1393. data/lib/connectwise-ruby-sdk/models/management_network_security.rb +303 -0
  1394. data/lib/connectwise-ruby-sdk/models/management_report_notification.rb +235 -0
  1395. data/lib/connectwise-ruby-sdk/models/management_solution_reference.rb +5 -27
  1396. data/lib/connectwise-ruby-sdk/models/manufacturer.rb +5 -27
  1397. data/lib/connectwise-ruby-sdk/models/manufacturer_reference.rb +5 -27
  1398. data/lib/connectwise-ruby-sdk/models/market_description.rb +220 -0
  1399. data/lib/connectwise-ruby-sdk/models/marketing_company.rb +9 -27
  1400. data/lib/connectwise-ruby-sdk/models/marketing_contact.rb +8 -27
  1401. data/lib/connectwise-ruby-sdk/models/member.rb +1085 -617
  1402. data/lib/connectwise-ruby-sdk/models/member_accrual.rb +313 -0
  1403. data/lib/connectwise-ruby-sdk/models/member_certification.rb +280 -0
  1404. data/lib/connectwise-ruby-sdk/models/member_deactivation.rb +365 -0
  1405. data/lib/connectwise-ruby-sdk/models/member_delegation.rb +285 -0
  1406. data/lib/connectwise-ruby-sdk/models/member_reference.rb +6 -28
  1407. data/lib/connectwise-ruby-sdk/models/member_skill.rb +284 -0
  1408. data/lib/connectwise-ruby-sdk/models/member_type_reference.rb +5 -27
  1409. data/lib/connectwise-ruby-sdk/models/menu_entry.rb +31 -28
  1410. data/lib/connectwise-ruby-sdk/models/menu_entry_location.rb +210 -0
  1411. data/lib/connectwise-ruby-sdk/models/menu_location_reference.rb +5 -27
  1412. data/lib/connectwise-ruby-sdk/models/metadata.rb +5 -27
  1413. data/lib/connectwise-ruby-sdk/models/my_company_controller_role.rb +186 -0
  1414. data/lib/connectwise-ruby-sdk/models/my_company_coo_role.rb +186 -0
  1415. data/lib/connectwise-ruby-sdk/models/my_company_dispatch_role.rb +186 -0
  1416. data/lib/connectwise-ruby-sdk/models/my_company_duty_manager_role.rb +186 -0
  1417. data/lib/connectwise-ruby-sdk/models/my_company_president_role.rb +186 -0
  1418. data/lib/connectwise-ruby-sdk/models/my_company_service_manager_role.rb +186 -0
  1419. data/lib/connectwise-ruby-sdk/models/note_type.rb +263 -0
  1420. data/lib/connectwise-ruby-sdk/models/note_type_reference.rb +5 -27
  1421. data/lib/connectwise-ruby-sdk/models/notification_recipient.rb +313 -0
  1422. data/lib/connectwise-ruby-sdk/models/notification_recipient_reference.rb +205 -0
  1423. data/lib/connectwise-ruby-sdk/models/notify_type_reference.rb +205 -0
  1424. data/lib/connectwise-ruby-sdk/models/opportunity.rb +70 -33
  1425. data/lib/connectwise-ruby-sdk/models/opportunity_contact.rb +9 -27
  1426. data/lib/connectwise-ruby-sdk/models/opportunity_note.rb +9 -27
  1427. data/lib/connectwise-ruby-sdk/models/opportunity_priority_reference.rb +5 -27
  1428. data/lib/connectwise-ruby-sdk/models/opportunity_probability_reference.rb +5 -27
  1429. data/lib/connectwise-ruby-sdk/models/opportunity_rating.rb +5 -27
  1430. data/lib/connectwise-ruby-sdk/models/opportunity_rating_reference.rb +5 -27
  1431. data/lib/connectwise-ruby-sdk/models/opportunity_reference.rb +5 -27
  1432. data/lib/connectwise-ruby-sdk/models/opportunity_sales_role_reference.rb +5 -27
  1433. data/lib/connectwise-ruby-sdk/models/opportunity_stage.rb +263 -0
  1434. data/lib/connectwise-ruby-sdk/models/opportunity_stage_reference.rb +5 -27
  1435. data/lib/connectwise-ruby-sdk/models/opportunity_status.rb +5 -27
  1436. data/lib/connectwise-ruby-sdk/models/opportunity_status_reference.rb +6 -28
  1437. data/lib/connectwise-ruby-sdk/models/opportunity_to_agreement_conversion.rb +15 -28
  1438. data/lib/connectwise-ruby-sdk/models/opportunity_to_project_conversion.rb +5 -27
  1439. data/lib/connectwise-ruby-sdk/models/opportunity_to_sales_order_conversion.rb +5 -27
  1440. data/lib/connectwise-ruby-sdk/models/opportunity_to_service_ticket_conversion.rb +5 -27
  1441. data/lib/connectwise-ruby-sdk/models/opportunity_type.rb +5 -27
  1442. data/lib/connectwise-ruby-sdk/models/opportunity_type_reference.rb +5 -27
  1443. data/lib/connectwise-ruby-sdk/models/order.rb +26 -28
  1444. data/lib/connectwise-ruby-sdk/models/order_status.rb +40 -28
  1445. data/lib/connectwise-ruby-sdk/models/order_status_email_template.rb +336 -0
  1446. data/lib/connectwise-ruby-sdk/models/order_status_email_template_reference.rb +196 -0
  1447. data/lib/connectwise-ruby-sdk/models/order_status_notification.rb +255 -0
  1448. data/lib/connectwise-ruby-sdk/models/order_status_reference.rb +6 -28
  1449. data/lib/connectwise-ruby-sdk/models/other.rb +459 -0
  1450. data/lib/connectwise-ruby-sdk/models/ownership_type.rb +220 -0
  1451. data/lib/connectwise-ruby-sdk/models/ownership_type_reference.rb +5 -27
  1452. data/lib/connectwise-ruby-sdk/models/parsing_type.rb +246 -0
  1453. data/lib/connectwise-ruby-sdk/models/parsing_variable.rb +237 -0
  1454. data/lib/connectwise-ruby-sdk/models/patch_operation.rb +5 -27
  1455. data/lib/connectwise-ruby-sdk/models/payment.rb +9 -27
  1456. data/lib/connectwise-ruby-sdk/models/payment_method_reference.rb +5 -27
  1457. data/lib/connectwise-ruby-sdk/models/payment_type.rb +252 -0
  1458. data/lib/connectwise-ruby-sdk/models/phase_status_reference.rb +5 -27
  1459. data/lib/connectwise-ruby-sdk/models/portal_calendar.rb +315 -0
  1460. data/lib/connectwise-ruby-sdk/models/portal_configuration.rb +508 -0
  1461. data/lib/connectwise-ruby-sdk/models/portal_configuration_invoice_setup.rb +321 -0
  1462. data/lib/connectwise-ruby-sdk/models/portal_configuration_opportunity_setup.rb +533 -0
  1463. data/lib/connectwise-ruby-sdk/models/portal_configuration_password_email_setup.rb +297 -0
  1464. data/lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb +607 -0
  1465. data/lib/connectwise-ruby-sdk/models/portal_configuration_reference.rb +196 -0
  1466. data/lib/connectwise-ruby-sdk/models/portal_configuration_service_setup.rb +415 -0
  1467. data/lib/connectwise-ruby-sdk/models/portal_report.rb +289 -0
  1468. data/lib/connectwise-ruby-sdk/models/portal_security.rb +98 -29
  1469. data/lib/connectwise-ruby-sdk/models/portal_security_level.rb +230 -0
  1470. data/lib/connectwise-ruby-sdk/models/pricing_break.rb +24 -28
  1471. data/lib/connectwise-ruby-sdk/models/pricing_detail.rb +19 -28
  1472. data/lib/connectwise-ruby-sdk/models/pricing_schedule.rb +15 -28
  1473. data/lib/connectwise-ruby-sdk/models/pricing_schedule_reference.rb +196 -0
  1474. data/lib/connectwise-ruby-sdk/models/priority.rb +5 -27
  1475. data/lib/connectwise-ruby-sdk/models/priority_reference.rb +5 -27
  1476. data/lib/connectwise-ruby-sdk/models/product_category_reference.rb +5 -27
  1477. data/lib/connectwise-ruby-sdk/models/product_component.rb +13 -27
  1478. data/lib/connectwise-ruby-sdk/models/product_item.rb +43 -34
  1479. data/lib/connectwise-ruby-sdk/models/product_item_reference.rb +5 -27
  1480. data/lib/connectwise-ruby-sdk/models/product_picking_shipping_detail.rb +21 -27
  1481. data/lib/connectwise-ruby-sdk/models/product_recurring.rb +33 -27
  1482. data/lib/connectwise-ruby-sdk/models/product_reference.rb +5 -27
  1483. data/lib/connectwise-ruby-sdk/models/product_sub_category_reference.rb +5 -27
  1484. data/lib/connectwise-ruby-sdk/models/product_type.rb +5 -27
  1485. data/lib/connectwise-ruby-sdk/models/product_type_exemption.rb +260 -0
  1486. data/lib/connectwise-ruby-sdk/models/product_type_reference.rb +5 -27
  1487. data/lib/connectwise-ruby-sdk/models/project.rb +95 -36
  1488. data/lib/connectwise-ruby-sdk/models/project_board_reference.rb +5 -27
  1489. data/lib/connectwise-ruby-sdk/models/project_contact.rb +9 -27
  1490. data/lib/connectwise-ruby-sdk/models/project_manager.rb +186 -0
  1491. data/lib/connectwise-ruby-sdk/models/project_note.rb +9 -27
  1492. data/lib/connectwise-ruby-sdk/models/project_phase.rb +205 -29
  1493. data/lib/connectwise-ruby-sdk/models/project_phase_reference.rb +5 -27
  1494. data/lib/connectwise-ruby-sdk/models/project_reference.rb +5 -27
  1495. data/lib/connectwise-ruby-sdk/models/project_role_reference.rb +5 -27
  1496. data/lib/connectwise-ruby-sdk/models/project_security_role.rb +238 -0
  1497. data/lib/connectwise-ruby-sdk/models/project_security_role_setting.rb +326 -0
  1498. data/lib/connectwise-ruby-sdk/models/project_status.rb +256 -0
  1499. data/lib/connectwise-ruby-sdk/models/project_status_reference.rb +6 -28
  1500. data/lib/connectwise-ruby-sdk/models/{project_team_member.rb → project_teammember.rb} +14 -28
  1501. data/lib/connectwise-ruby-sdk/models/project_type.rb +239 -0
  1502. data/lib/connectwise-ruby-sdk/models/project_type_reference.rb +5 -27
  1503. data/lib/connectwise-ruby-sdk/models/purchase_order.rb +31 -32
  1504. data/lib/connectwise-ruby-sdk/models/purchase_order_line_item.rb +32 -35
  1505. data/lib/connectwise-ruby-sdk/models/purchase_order_reference.rb +5 -27
  1506. data/lib/connectwise-ruby-sdk/models/purchase_order_status.rb +299 -0
  1507. data/lib/connectwise-ruby-sdk/models/purchase_order_status_email_template.rb +331 -0
  1508. data/lib/connectwise-ruby-sdk/models/purchase_order_status_email_template_reference.rb +196 -0
  1509. data/lib/connectwise-ruby-sdk/models/purchase_order_status_notification.rb +255 -0
  1510. data/lib/connectwise-ruby-sdk/models/purchase_order_status_reference.rb +5 -27
  1511. data/lib/connectwise-ruby-sdk/models/purchasing.rb +453 -0
  1512. data/lib/connectwise-ruby-sdk/models/relationship_reference.rb +5 -27
  1513. data/lib/connectwise-ruby-sdk/models/reminder_reference.rb +5 -27
  1514. data/lib/connectwise-ruby-sdk/models/report.rb +5 -27
  1515. data/lib/connectwise-ruby-sdk/models/report_card.rb +220 -0
  1516. data/lib/connectwise-ruby-sdk/models/report_card_detail.rb +244 -0
  1517. data/lib/connectwise-ruby-sdk/models/report_card_reference.rb +196 -0
  1518. data/lib/connectwise-ruby-sdk/models/report_data_response.rb +5 -27
  1519. data/lib/connectwise-ruby-sdk/models/reporting_service.rb +288 -0
  1520. data/lib/connectwise-ruby-sdk/models/request_password_request.rb +10 -27
  1521. data/lib/connectwise-ruby-sdk/models/rma_action.rb +229 -0
  1522. data/lib/connectwise-ruby-sdk/models/rma_disposition.rb +229 -0
  1523. data/lib/connectwise-ruby-sdk/models/{item.rb → rma_status.rb} +56 -73
  1524. data/lib/connectwise-ruby-sdk/models/rma_status_email_template.rb +336 -0
  1525. data/lib/connectwise-ruby-sdk/models/rma_status_email_template_reference.rb +196 -0
  1526. data/lib/connectwise-ruby-sdk/models/rma_status_notification.rb +255 -0
  1527. data/lib/connectwise-ruby-sdk/models/rma_status_reference.rb +196 -0
  1528. data/lib/connectwise-ruby-sdk/models/role.rb +220 -0
  1529. data/lib/connectwise-ruby-sdk/models/sales_activity.rb +186 -0
  1530. data/lib/connectwise-ruby-sdk/models/sales_probability.rb +201 -0
  1531. data/lib/connectwise-ruby-sdk/models/sales_quota.rb +501 -0
  1532. data/lib/connectwise-ruby-sdk/models/sales_team.rb +276 -0
  1533. data/lib/connectwise-ruby-sdk/models/sales_team_member.rb +228 -0
  1534. data/lib/connectwise-ruby-sdk/models/sales_team_reference.rb +5 -27
  1535. data/lib/connectwise-ruby-sdk/models/schedule_color.rb +222 -0
  1536. data/lib/connectwise-ruby-sdk/models/schedule_detail.rb +223 -0
  1537. data/lib/connectwise-ruby-sdk/models/schedule_entry.rb +20 -29
  1538. data/lib/connectwise-ruby-sdk/models/schedule_entry_reference.rb +5 -27
  1539. data/lib/connectwise-ruby-sdk/models/schedule_reminder_time.rb +231 -0
  1540. data/lib/connectwise-ruby-sdk/models/schedule_span_reference.rb +5 -27
  1541. data/lib/connectwise-ruby-sdk/models/schedule_status.rb +5 -27
  1542. data/lib/connectwise-ruby-sdk/models/schedule_status_reference.rb +5 -27
  1543. data/lib/connectwise-ruby-sdk/models/schedule_stopwatch.rb +416 -0
  1544. data/lib/connectwise-ruby-sdk/models/schedule_type.rb +5 -27
  1545. data/lib/connectwise-ruby-sdk/models/schedule_type_reference.rb +5 -27
  1546. data/lib/connectwise-ruby-sdk/models/security_role.rb +238 -0
  1547. data/lib/connectwise-ruby-sdk/models/security_role_reference.rb +5 -27
  1548. data/lib/connectwise-ruby-sdk/models/security_role_setting.rb +487 -0
  1549. data/lib/connectwise-ruby-sdk/models/service.rb +423 -0
  1550. data/lib/connectwise-ruby-sdk/models/service_code_reference.rb +5 -27
  1551. data/lib/connectwise-ruby-sdk/models/service_email_template.rb +428 -0
  1552. data/lib/connectwise-ruby-sdk/models/service_email_template_reference.rb +205 -0
  1553. data/lib/connectwise-ruby-sdk/models/service_item_reference.rb +5 -27
  1554. data/lib/connectwise-ruby-sdk/models/service_location.rb +276 -0
  1555. data/lib/connectwise-ruby-sdk/models/service_location_reference.rb +5 -27
  1556. data/lib/connectwise-ruby-sdk/models/service_manger.rb +186 -0
  1557. data/lib/connectwise-ruby-sdk/models/service_note.rb +5 -27
  1558. data/lib/connectwise-ruby-sdk/models/service_signoff.rb +778 -0
  1559. data/lib/connectwise-ruby-sdk/models/service_signoff_reference.rb +5 -27
  1560. data/lib/connectwise-ruby-sdk/models/service_source_reference.rb +5 -27
  1561. data/lib/connectwise-ruby-sdk/models/service_status_reference.rb +5 -27
  1562. data/lib/connectwise-ruby-sdk/models/service_sub_type_reference.rb +5 -27
  1563. data/lib/connectwise-ruby-sdk/models/service_survey.rb +358 -0
  1564. data/lib/connectwise-ruby-sdk/models/service_survey_question.rb +348 -0
  1565. data/lib/connectwise-ruby-sdk/models/{survey_question_option.rb → service_survey_question_option.rb} +31 -28
  1566. data/lib/connectwise-ruby-sdk/models/service_survey_reference.rb +196 -0
  1567. data/lib/connectwise-ruby-sdk/models/service_team.rb +250 -0
  1568. data/lib/connectwise-ruby-sdk/models/service_team_reference.rb +5 -27
  1569. data/lib/connectwise-ruby-sdk/models/service_template.rb +827 -0
  1570. data/lib/connectwise-ruby-sdk/models/service_template_reference.rb +205 -0
  1571. data/lib/connectwise-ruby-sdk/models/service_type_reference.rb +5 -27
  1572. data/lib/connectwise-ruby-sdk/models/setup_screen.rb +337 -0
  1573. data/lib/connectwise-ruby-sdk/models/severity.rb +238 -0
  1574. data/lib/connectwise-ruby-sdk/models/shipment_method.rb +21 -27
  1575. data/lib/connectwise-ruby-sdk/models/shipment_method_reference.rb +5 -27
  1576. data/lib/connectwise-ruby-sdk/models/sic_code_reference.rb +5 -27
  1577. data/lib/connectwise-ruby-sdk/models/site_reference.rb +5 -27
  1578. data/lib/connectwise-ruby-sdk/models/skill.rb +234 -0
  1579. data/lib/connectwise-ruby-sdk/models/{audit_trail_entry_insert_request.rb → skill_category.rb} +42 -56
  1580. data/lib/connectwise-ruby-sdk/models/skill_category_reference.rb +196 -0
  1581. data/lib/connectwise-ruby-sdk/models/skill_reference.rb +196 -0
  1582. data/lib/connectwise-ruby-sdk/models/sla.rb +605 -0
  1583. data/lib/connectwise-ruby-sdk/models/sla_priority.rb +414 -0
  1584. data/lib/connectwise-ruby-sdk/models/sla_reference.rb +5 -27
  1585. data/lib/connectwise-ruby-sdk/models/source.rb +5 -27
  1586. data/lib/connectwise-ruby-sdk/models/state.rb +262 -0
  1587. data/lib/connectwise-ruby-sdk/models/state_reference.rb +205 -0
  1588. data/lib/connectwise-ruby-sdk/models/status_external_integration_reference.rb +253 -0
  1589. data/lib/connectwise-ruby-sdk/models/status_workflow.rb +186 -0
  1590. data/lib/connectwise-ruby-sdk/models/structure_reference.rb +196 -0
  1591. data/lib/connectwise-ruby-sdk/models/sub_category.rb +45 -28
  1592. data/lib/connectwise-ruby-sdk/models/success_response.rb +5 -27
  1593. data/lib/connectwise-ruby-sdk/models/survey.rb +23 -152
  1594. data/lib/connectwise-ruby-sdk/models/survey_option.rb +243 -0
  1595. data/lib/connectwise-ruby-sdk/models/survey_question.rb +106 -79
  1596. data/lib/connectwise-ruby-sdk/models/survey_question_reference.rb +196 -0
  1597. data/lib/connectwise-ruby-sdk/models/survey_question_value.rb +290 -0
  1598. data/lib/connectwise-ruby-sdk/models/survey_reference.rb +196 -0
  1599. data/lib/connectwise-ruby-sdk/models/survey_result.rb +9 -27
  1600. data/lib/connectwise-ruby-sdk/models/survey_result_detail.rb +9 -27
  1601. data/lib/connectwise-ruby-sdk/models/system_department_reference.rb +205 -0
  1602. data/lib/connectwise-ruby-sdk/models/system_location_reference.rb +196 -0
  1603. data/lib/connectwise-ruby-sdk/models/system_menu_entry_reference.rb +196 -0
  1604. data/lib/connectwise-ruby-sdk/models/task.rb +15 -38
  1605. data/lib/connectwise-ruby-sdk/models/tax_code.rb +1418 -0
  1606. data/lib/connectwise-ruby-sdk/models/tax_code_reference.rb +6 -28
  1607. data/lib/connectwise-ruby-sdk/models/tax_code_x_ref.rb +364 -0
  1608. data/lib/connectwise-ruby-sdk/models/tax_integration.rb +499 -0
  1609. data/lib/connectwise-ruby-sdk/models/team.rb +11 -128
  1610. data/lib/connectwise-ruby-sdk/models/team_member.rb +233 -0
  1611. data/lib/connectwise-ruby-sdk/models/team_role.rb +220 -0
  1612. data/lib/connectwise-ruby-sdk/models/team_role_reference.rb +5 -27
  1613. data/lib/connectwise-ruby-sdk/models/ticket.rb +45 -39
  1614. data/lib/connectwise-ruby-sdk/models/ticket_merge.rb +198 -0
  1615. data/lib/connectwise-ruby-sdk/models/ticket_reference.rb +5 -27
  1616. data/lib/connectwise-ruby-sdk/models/ticket_stopwatch.rb +470 -0
  1617. data/lib/connectwise-ruby-sdk/models/ticket_sync.rb +344 -0
  1618. data/lib/connectwise-ruby-sdk/models/time_accrual.rb +413 -0
  1619. data/lib/connectwise-ruby-sdk/models/time_accrual_detail.rb +342 -0
  1620. data/lib/connectwise-ruby-sdk/models/time_accrual_reference.rb +196 -0
  1621. data/lib/connectwise-ruby-sdk/models/time_entry.rb +74 -29
  1622. data/lib/connectwise-ruby-sdk/models/time_entry_reference.rb +5 -27
  1623. data/lib/connectwise-ruby-sdk/models/time_expense.rb +314 -0
  1624. data/lib/connectwise-ruby-sdk/models/time_period.rb +237 -0
  1625. data/lib/connectwise-ruby-sdk/models/time_period_setup.rb +390 -0
  1626. data/lib/connectwise-ruby-sdk/models/time_period_setup_defaults.rb +168 -0
  1627. data/lib/connectwise-ruby-sdk/models/time_period_setup_reference.rb +187 -0
  1628. data/lib/connectwise-ruby-sdk/models/time_sheet.rb +292 -0
  1629. data/lib/connectwise-ruby-sdk/models/time_sheet_reference.rb +196 -0
  1630. data/lib/connectwise-ruby-sdk/models/time_zone.rb +233 -0
  1631. data/lib/connectwise-ruby-sdk/models/time_zone_reference.rb +6 -28
  1632. data/lib/connectwise-ruby-sdk/models/time_zone_setup.rb +264 -0
  1633. data/lib/connectwise-ruby-sdk/models/time_zone_setup_reference.rb +196 -0
  1634. data/lib/connectwise-ruby-sdk/models/today_page_category.rb +243 -0
  1635. data/lib/connectwise-ruby-sdk/models/token.rb +5 -27
  1636. data/lib/connectwise-ruby-sdk/models/track.rb +53 -32
  1637. data/lib/connectwise-ruby-sdk/models/track_action.rb +460 -0
  1638. data/lib/connectwise-ruby-sdk/models/track_reference.rb +6 -28
  1639. data/lib/connectwise-ruby-sdk/models/type.rb +17 -126
  1640. data/lib/connectwise-ruby-sdk/models/unit_of_measure.rb +10 -33
  1641. data/lib/connectwise-ruby-sdk/models/unit_of_measure_reference.rb +5 -27
  1642. data/lib/connectwise-ruby-sdk/models/unposted_expense.rb +5 -27
  1643. data/lib/connectwise-ruby-sdk/models/unposted_invoice.rb +5 -27
  1644. data/lib/connectwise-ruby-sdk/models/unposted_procurement.rb +5 -27
  1645. data/lib/connectwise-ruby-sdk/models/user_defined_field.rb +34 -51
  1646. data/lib/connectwise-ruby-sdk/models/user_defined_field_option.rb +5 -27
  1647. data/lib/connectwise-ruby-sdk/models/user_defined_field_reference.rb +196 -0
  1648. data/lib/connectwise-ruby-sdk/models/validate_portal_request.rb +15 -27
  1649. data/lib/connectwise-ruby-sdk/models/validate_portal_response.rb +5 -27
  1650. data/lib/connectwise-ruby-sdk/models/validation_error.rb +18 -31
  1651. data/lib/connectwise-ruby-sdk/models/warehouse.rb +331 -0
  1652. data/lib/connectwise-ruby-sdk/models/warehouse_bin.rb +351 -0
  1653. data/lib/connectwise-ruby-sdk/models/warehouse_bin_reference.rb +5 -27
  1654. data/lib/connectwise-ruby-sdk/models/warehouse_reference.rb +5 -27
  1655. data/lib/connectwise-ruby-sdk/models/work_role.rb +302 -0
  1656. data/lib/connectwise-ruby-sdk/models/work_role_exemption.rb +260 -0
  1657. data/lib/connectwise-ruby-sdk/models/work_role_location.rb +219 -0
  1658. data/lib/connectwise-ruby-sdk/models/work_role_reference.rb +5 -27
  1659. data/lib/connectwise-ruby-sdk/models/work_type.rb +444 -0
  1660. data/lib/connectwise-ruby-sdk/models/work_type_external_integration_reference.rb +205 -0
  1661. data/lib/connectwise-ruby-sdk/models/work_type_reference.rb +5 -27
  1662. data/lib/connectwise-ruby-sdk/models/workflow.rb +362 -0
  1663. data/lib/connectwise-ruby-sdk/models/workflow_action.rb +549 -0
  1664. data/lib/connectwise-ruby-sdk/models/workflow_action_automate_parameter.rb +200 -0
  1665. data/lib/connectwise-ruby-sdk/models/workflow_event.rb +345 -0
  1666. data/lib/connectwise-ruby-sdk/models/workflow_notify_type.rb +215 -0
  1667. data/lib/connectwise-ruby-sdk/models/workflow_table_type.rb +205 -0
  1668. data/lib/connectwise-ruby-sdk/models/workflow_table_type_reference.rb +205 -0
  1669. data/lib/connectwise-ruby-sdk/models/workflow_trigger.rb +241 -0
  1670. data/lib/connectwise-ruby-sdk/models/workflow_trigger_option.rb +206 -0
  1671. data/lib/connectwise-ruby-sdk/version.rb +2 -24
  1672. data/scripts/clean.ps1 +2 -0
  1673. data/scripts/format.ps1 +4 -0
  1674. data/scripts/header.awk +34 -0
  1675. data/spec/api/accounting_batches_api_spec.rb +36 -31
  1676. data/spec/api/accounting_packages_api_spec.rb +65 -0
  1677. data/spec/api/accounting_unposted_expenses_api_spec.rb +6 -26
  1678. data/spec/api/accounting_unposted_procurements_api_spec.rb +6 -26
  1679. data/spec/api/accounting_unpostedinvoices_api_spec.rb +6 -26
  1680. data/spec/api/activities_api_spec.rb +7 -26
  1681. data/spec/api/activity_statuses_api_spec.rb +6 -26
  1682. data/spec/api/activity_stopwatches_api_spec.rb +115 -0
  1683. data/spec/api/activity_types_api_spec.rb +6 -26
  1684. data/spec/api/address_formats_api_spec.rb +115 -0
  1685. data/spec/api/adjustment_details_api_spec.rb +94 -0
  1686. data/spec/api/adjustment_types_api_spec.rb +115 -0
  1687. data/spec/api/adjustments_api_spec.rb +115 -0
  1688. data/spec/api/agreement_additions_api_spec.rb +7 -26
  1689. data/spec/api/agreement_adjustments_api_spec.rb +7 -26
  1690. data/spec/api/agreement_batch_setups_api_spec.rb +91 -0
  1691. data/spec/api/agreement_board_defaults_api_spec.rb +6 -26
  1692. data/spec/api/agreement_sites_api_spec.rb +6 -26
  1693. data/spec/api/agreement_type_board_defaults_api_spec.rb +122 -0
  1694. data/spec/api/agreement_type_work_role_exclusions_api_spec.rb +94 -0
  1695. data/spec/api/agreement_type_work_roles_api_spec.rb +122 -0
  1696. data/spec/api/agreement_type_work_type_exclusions_api_spec.rb +94 -0
  1697. data/spec/api/agreement_type_work_types_api_spec.rb +122 -0
  1698. data/spec/api/agreement_types_api_spec.rb +6 -26
  1699. data/spec/api/agreement_work_role_exclusions_api_spec.rb +6 -26
  1700. data/spec/api/agreement_work_roles_api_spec.rb +6 -26
  1701. data/spec/api/agreement_work_type_exclusions_api_spec.rb +6 -26
  1702. data/spec/api/agreement_work_types_api_spec.rb +6 -26
  1703. data/spec/api/agreements_api_spec.rb +7 -26
  1704. data/spec/api/audit_trail_api_spec.rb +4 -38
  1705. data/spec/api/auth_anvils_api_spec.rb +102 -0
  1706. data/spec/api/batch_api_spec.rb +36 -0
  1707. data/spec/api/billing_cycles_api_spec.rb +65 -0
  1708. data/spec/api/billing_setup_routings_api_spec.rb +122 -0
  1709. data/spec/api/billing_setups_api_spec.rb +115 -0
  1710. data/spec/api/billing_statuses_api_spec.rb +65 -0
  1711. data/spec/api/billing_terms_api_spec.rb +65 -0
  1712. data/spec/api/board_auto_assign_resources_api_spec.rb +122 -0
  1713. data/spec/api/board_auto_templates_api_spec.rb +122 -0
  1714. data/spec/api/board_excluded_members_api_spec.rb +10 -30
  1715. data/spec/api/board_item_associations_api_spec.rb +101 -0
  1716. data/spec/api/board_items_api_spec.rb +13 -33
  1717. data/spec/api/board_notifications_api_spec.rb +122 -0
  1718. data/spec/api/board_status_notifications_api_spec.rb +129 -0
  1719. data/spec/api/board_statuses_api_spec.rb +13 -33
  1720. data/spec/api/board_sub_types_api_spec.rb +13 -33
  1721. data/spec/api/board_teams_api_spec.rb +13 -33
  1722. data/spec/api/board_type_sub_type_item_associations_api_spec.rb +68 -0
  1723. data/spec/api/board_types_api_spec.rb +13 -46
  1724. data/spec/api/boards_api_spec.rb +18 -26
  1725. data/spec/api/calendars_api_spec.rb +65 -0
  1726. data/spec/api/{callback_entries_api_spec.rb → callbacks_api_spec.rb} +8 -28
  1727. data/spec/api/campaign_audits_api_spec.rb +6 -26
  1728. data/spec/api/campaign_emails_opened_api_spec.rb +6 -26
  1729. data/spec/api/campaign_forms_submitted_api_spec.rb +6 -26
  1730. data/spec/api/campaign_links_clicked_api_spec.rb +6 -26
  1731. data/spec/api/campaign_statuses_api_spec.rb +6 -26
  1732. data/spec/api/campaign_sub_types_api_spec.rb +29 -56
  1733. data/spec/api/campaign_types_api_spec.rb +6 -26
  1734. data/spec/api/campaigns_api_spec.rb +6 -26
  1735. data/spec/api/catalog_components_api_spec.rb +6 -26
  1736. data/spec/api/catalogs_item_api_spec.rb +6 -26
  1737. data/spec/api/categories_api_spec.rb +6 -26
  1738. data/spec/api/certifications_api_spec.rb +115 -0
  1739. data/spec/api/charge_code_expense_types_api_spec.rb +122 -0
  1740. data/spec/api/charge_codes_api_spec.rb +115 -0
  1741. data/spec/api/classifications_api_spec.rb +65 -0
  1742. data/spec/api/codes_api_spec.rb +6 -26
  1743. data/spec/api/commissions_api_spec.rb +115 -0
  1744. data/spec/api/companies_api_spec.rb +7 -26
  1745. data/spec/api/company_custom_notes_api_spec.rb +122 -0
  1746. data/spec/api/company_groups_api_spec.rb +122 -0
  1747. data/spec/api/company_management_summary_reports_api_spec.rb +6 -26
  1748. data/spec/api/company_note_types_api_spec.rb +115 -0
  1749. data/spec/api/company_notes_api_spec.rb +6 -26
  1750. data/spec/api/company_picker_items_api_spec.rb +102 -0
  1751. data/spec/api/company_sites_api_spec.rb +6 -26
  1752. data/spec/api/company_statuses_api_spec.rb +6 -26
  1753. data/spec/api/company_teams_api_spec.rb +6 -26
  1754. data/spec/api/company_types_api_spec.rb +6 -26
  1755. data/spec/api/configuration_statuses_api_spec.rb +6 -26
  1756. data/spec/api/configuration_type_question_values_api_spec.rb +125 -0
  1757. data/spec/api/configuration_type_questions_api_spec.rb +6 -26
  1758. data/spec/api/configuration_types_api_spec.rb +6 -26
  1759. data/spec/api/configurations_api_spec.rb +6 -26
  1760. data/spec/api/connect_wise_hosted_setups_api_spec.rb +6 -26
  1761. data/spec/api/contact_communications_api_spec.rb +6 -26
  1762. data/spec/api/contact_departments_api_spec.rb +6 -26
  1763. data/spec/api/contact_groups_api_spec.rb +122 -0
  1764. data/spec/api/contact_notes_api_spec.rb +6 -26
  1765. data/spec/api/contact_relationships_api_spec.rb +6 -26
  1766. data/spec/api/contact_tracks_api_spec.rb +6 -26
  1767. data/spec/api/contact_types_api_spec.rb +6 -26
  1768. data/spec/api/contacts_api_spec.rb +8 -26
  1769. data/spec/api/corporate_structure_levels_api_spec.rb +65 -0
  1770. data/spec/api/corporate_structures_api_spec.rb +91 -0
  1771. data/spec/api/countries_api_spec.rb +115 -0
  1772. data/spec/api/crms_api_spec.rb +91 -0
  1773. data/spec/api/currencies_api_spec.rb +6 -26
  1774. data/spec/api/custom_report_parameters_api_spec.rb +122 -0
  1775. data/spec/api/custom_reports_api_spec.rb +115 -0
  1776. data/spec/api/delivery_methods_api_spec.rb +115 -0
  1777. data/spec/api/department_locations_api_spec.rb +122 -0
  1778. data/spec/api/departments_api_spec.rb +115 -0
  1779. data/spec/api/documents_api_spec.rb +7 -27
  1780. data/spec/api/documents_setup_api_spec.rb +79 -0
  1781. data/spec/api/email_connector_parsing_rules_api_spec.rb +129 -0
  1782. data/spec/api/email_connector_parsing_styles_api_spec.rb +122 -0
  1783. data/spec/api/email_connectors_api_spec.rb +115 -0
  1784. data/spec/api/email_tokens_api_spec.rb +65 -0
  1785. data/spec/api/expense_entries_api_spec.rb +8 -26
  1786. data/spec/api/expense_reports_api_spec.rb +89 -0
  1787. data/spec/api/expense_type_external_integration_references_api_spec.rb +65 -0
  1788. data/spec/api/expense_types_api_spec.rb +6 -26
  1789. data/spec/api/group_companies_api_spec.rb +6 -26
  1790. data/spec/api/group_contacts_api_spec.rb +6 -26
  1791. data/spec/api/groups_api_spec.rb +6 -26
  1792. data/spec/api/holiday_lists_api_spec.rb +115 -0
  1793. data/spec/api/holidays_api_spec.rb +122 -0
  1794. data/spec/api/imaps_api_spec.rb +65 -0
  1795. data/spec/api/impacts_api_spec.rb +91 -0
  1796. data/spec/api/imports_mass_maintenance_api_spec.rb +36 -0
  1797. data/spec/api/in_out_boards_api_spec.rb +115 -0
  1798. data/spec/api/in_out_types_api_spec.rb +115 -0
  1799. data/spec/api/info_api_spec.rb +4 -26
  1800. data/spec/api/integrator_logins_api_spec.rb +115 -0
  1801. data/spec/api/invoice_email_templates_api_spec.rb +115 -0
  1802. data/spec/api/invoice_payments_api_spec.rb +6 -26
  1803. data/spec/api/invoice_template_setups_api_spec.rb +65 -0
  1804. data/spec/api/invoice_templates_api_spec.rb +65 -0
  1805. data/spec/api/invoices_api_spec.rb +7 -26
  1806. data/spec/api/knowledge_base_articles_api_spec.rb +7 -26
  1807. data/spec/api/kp_is_api_spec.rb +65 -0
  1808. data/spec/api/kpi_categories_api_spec.rb +65 -0
  1809. data/spec/api/ldap_configurations_api_spec.rb +115 -0
  1810. data/spec/api/legacy_campaign_sub_types_api_spec.rb +68 -0
  1811. data/spec/api/legacy_sub_categories_api_spec.rb +122 -0
  1812. data/spec/api/links_api_spec.rb +6 -26
  1813. data/spec/api/location_departments_api_spec.rb +68 -0
  1814. data/spec/api/location_work_roles_api_spec.rb +68 -0
  1815. data/spec/api/locations_api_spec.rb +22 -42
  1816. data/spec/api/managed_devices_integration_cross_references_api_spec.rb +122 -0
  1817. data/spec/api/managed_devices_integration_logins_api_spec.rb +122 -0
  1818. data/spec/api/managed_devices_integration_notifications_api_spec.rb +122 -0
  1819. data/spec/api/managed_devices_integrations_api_spec.rb +115 -0
  1820. data/spec/api/management_backups_api_spec.rb +115 -0
  1821. data/spec/api/management_emails_api_spec.rb +115 -0
  1822. data/spec/api/management_execute_managed_it_syncs_api_spec.rb +41 -0
  1823. data/spec/api/management_it_solution_agreement_interface_parameters_api_spec.rb +122 -0
  1824. data/spec/api/management_it_solutions_api_spec.rb +115 -0
  1825. data/spec/api/management_logs_api_spec.rb +53 -0
  1826. data/spec/api/management_networks_security_api_spec.rb +127 -0
  1827. data/spec/api/management_report_notifications_api_spec.rb +122 -0
  1828. data/spec/api/managements_api_spec.rb +91 -0
  1829. data/spec/api/manufacturers_api_spec.rb +6 -26
  1830. data/spec/api/market_descriptions_api_spec.rb +115 -0
  1831. data/spec/api/member_accruals_api_spec.rb +122 -0
  1832. data/spec/api/member_certifications_api_spec.rb +122 -0
  1833. data/spec/api/member_delegations_api_spec.rb +122 -0
  1834. data/spec/api/member_skills_api_spec.rb +122 -0
  1835. data/spec/api/member_types_api_spec.rb +115 -0
  1836. data/spec/api/members_api_spec.rb +64 -35
  1837. data/spec/api/menu_entries_api_spec.rb +7 -26
  1838. data/spec/api/menu_entry_locations_api_spec.rb +94 -0
  1839. data/spec/api/my_company_purchasings_api_spec.rb +91 -0
  1840. data/spec/api/notification_recipients_api_spec.rb +65 -0
  1841. data/spec/api/opportunities_api_spec.rb +7 -26
  1842. data/spec/api/opportunity_contacts_api_spec.rb +6 -26
  1843. data/spec/api/opportunity_forecasts_api_spec.rb +6 -26
  1844. data/spec/api/opportunity_notes_api_spec.rb +6 -26
  1845. data/spec/api/opportunity_ratings_api_spec.rb +6 -26
  1846. data/spec/api/opportunity_stages_api_spec.rb +115 -0
  1847. data/spec/api/opportunity_statuses_api_spec.rb +6 -26
  1848. data/spec/api/opportunity_teams_api_spec.rb +6 -26
  1849. data/spec/api/opportunity_types_api_spec.rb +6 -26
  1850. data/spec/api/order_status_notifications_api_spec.rb +122 -0
  1851. data/spec/api/order_statuses_api_spec.rb +6 -26
  1852. data/spec/api/order_statuses_email_template_api_spec.rb +122 -0
  1853. data/spec/api/orders_api_spec.rb +7 -26
  1854. data/spec/api/others_api_spec.rb +91 -0
  1855. data/spec/api/ownership_types_api_spec.rb +115 -0
  1856. data/spec/api/parsing_types_api_spec.rb +65 -0
  1857. data/spec/api/parsing_variables_api_spec.rb +65 -0
  1858. data/spec/api/payment_types_api_spec.rb +115 -0
  1859. data/spec/api/portal_calendars_api_spec.rb +91 -0
  1860. data/spec/api/portal_configuration_invoice_setups_api_spec.rb +110 -0
  1861. data/spec/api/portal_configuration_opportunity_setups_api_spec.rb +95 -0
  1862. data/spec/api/portal_configuration_password_email_setups_api_spec.rb +83 -0
  1863. data/spec/api/portal_configuration_project_setups_api_spec.rb +96 -0
  1864. data/spec/api/portal_configuration_service_setups_api_spec.rb +96 -0
  1865. data/spec/api/portal_configurations_api_spec.rb +141 -0
  1866. data/spec/api/portal_reports_api_spec.rb +115 -0
  1867. data/spec/api/portal_securities_api_spec.rb +91 -0
  1868. data/spec/api/portal_security_levels_api_spec.rb +91 -0
  1869. data/spec/api/pricing_breaks_api_spec.rb +6 -26
  1870. data/spec/api/pricing_details_api_spec.rb +6 -26
  1871. data/spec/api/pricing_schedules_api_spec.rb +6 -26
  1872. data/spec/api/priorities_api_spec.rb +6 -26
  1873. data/spec/api/product_components_api_spec.rb +6 -26
  1874. data/spec/api/product_picking_shipping_details_api_spec.rb +6 -26
  1875. data/spec/api/product_types_api_spec.rb +6 -26
  1876. data/spec/api/products_item_api_spec.rb +6 -26
  1877. data/spec/api/project_contacts_api_spec.rb +6 -26
  1878. data/spec/api/project_notes_api_spec.rb +6 -26
  1879. data/spec/api/project_phases_api_spec.rb +6 -26
  1880. data/spec/api/project_security_role_settings_api_spec.rb +96 -0
  1881. data/spec/api/project_security_roles_api_spec.rb +115 -0
  1882. data/spec/api/project_statuses_api_spec.rb +115 -0
  1883. data/spec/api/project_types_api_spec.rb +65 -0
  1884. data/spec/api/projects_api_spec.rb +7 -26
  1885. data/spec/api/{projects_team_members_api_spec.rb → projects_teammembers_api_spec.rb} +13 -33
  1886. data/spec/api/purchase_order_line_items_api_spec.rb +6 -26
  1887. data/spec/api/purchase_order_status_email_templates_api_spec.rb +122 -0
  1888. data/spec/api/purchase_order_status_notifications_api_spec.rb +122 -0
  1889. data/spec/api/purchase_order_statuses_api_spec.rb +115 -0
  1890. data/spec/api/purchase_orders_api_spec.rb +6 -26
  1891. data/spec/api/report_card_details_api_spec.rb +122 -0
  1892. data/spec/api/report_cards_api_spec.rb +115 -0
  1893. data/spec/api/reporting_services_api_spec.rb +91 -0
  1894. data/spec/api/reports_api_spec.rb +8 -26
  1895. data/spec/api/rma_actions_api_spec.rb +115 -0
  1896. data/spec/api/rma_dispositions_api_spec.rb +115 -0
  1897. data/spec/api/rma_status_email_templates_api_spec.rb +122 -0
  1898. data/spec/api/rma_status_notifications_api_spec.rb +122 -0
  1899. data/spec/api/rma_statuses_api_spec.rb +115 -0
  1900. data/spec/api/roles_api_spec.rb +115 -0
  1901. data/spec/api/sales_probabilities_api_spec.rb +115 -0
  1902. data/spec/api/sales_quotas_api_spec.rb +115 -0
  1903. data/spec/api/sales_team_members_api_spec.rb +122 -0
  1904. data/spec/api/sales_teams_api_spec.rb +115 -0
  1905. data/spec/api/schedule_colors_api_spec.rb +114 -0
  1906. data/spec/api/schedule_details_api_spec.rb +68 -0
  1907. data/spec/api/schedule_entries_api_spec.rb +6 -26
  1908. data/spec/api/schedule_reminder_times_api_spec.rb +91 -0
  1909. data/spec/api/schedule_statuses_api_spec.rb +6 -26
  1910. data/spec/api/schedule_stopwatches_api_spec.rb +115 -0
  1911. data/spec/api/schedule_types_api_spec.rb +6 -26
  1912. data/spec/api/security_role_settings_api_spec.rb +68 -0
  1913. data/spec/api/security_roles_api_spec.rb +89 -0
  1914. data/spec/api/service_email_templates_api_spec.rb +115 -0
  1915. data/spec/api/service_locations_api_spec.rb +115 -0
  1916. data/spec/api/service_signoffs_api_spec.rb +115 -0
  1917. data/spec/api/service_survey_questions_api_spec.rb +122 -0
  1918. data/spec/api/service_surveys_api_spec.rb +115 -0
  1919. data/spec/api/service_teams_api_spec.rb +65 -0
  1920. data/spec/api/service_templates_api_spec.rb +65 -0
  1921. data/spec/api/services_api_spec.rb +79 -0
  1922. data/spec/api/setup_screens_api_spec.rb +65 -0
  1923. data/spec/api/severities_api_spec.rb +91 -0
  1924. data/spec/api/shipment_methods_api_spec.rb +6 -26
  1925. data/spec/api/skill_categories_api_spec.rb +115 -0
  1926. data/spec/api/skills_api_spec.rb +115 -0
  1927. data/spec/api/sl_as_api_spec.rb +115 -0
  1928. data/spec/api/sla_priorities_api_spec.rb +122 -0
  1929. data/spec/api/sources_api_spec.rb +6 -26
  1930. data/spec/api/states_api_spec.rb +77 -0
  1931. data/spec/api/status_external_integration_references_api_spec.rb +65 -0
  1932. data/spec/api/sub_categories_api_spec.rb +29 -56
  1933. data/spec/api/survey_options_api_spec.rb +129 -0
  1934. data/spec/api/survey_question_values_api_spec.rb +125 -0
  1935. data/spec/api/survey_questions_api_spec.rb +20 -58
  1936. data/spec/api/survey_results_api_spec.rb +6 -26
  1937. data/spec/api/surveys_api_spec.rb +20 -40
  1938. data/spec/api/system_tracks_api_spec.rb +115 -0
  1939. data/spec/api/tax_code_expense_type_exemptions_api_spec.rb +122 -0
  1940. data/spec/api/tax_code_product_type_exemptions_api_spec.rb +122 -0
  1941. data/spec/api/tax_code_work_role_exemptions_api_spec.rb +122 -0
  1942. data/spec/api/tax_code_x_refs_api_spec.rb +122 -0
  1943. data/spec/api/tax_codes_api_spec.rb +115 -0
  1944. data/spec/api/tax_integrations_api_spec.rb +65 -0
  1945. data/spec/api/team_members_api_spec.rb +89 -0
  1946. data/spec/api/team_roles_api_spec.rb +115 -0
  1947. data/spec/api/ticket_notes_api_spec.rb +6 -26
  1948. data/spec/api/ticket_stopwatches_api_spec.rb +115 -0
  1949. data/spec/api/ticket_syncs_api_spec.rb +115 -0
  1950. data/spec/api/ticket_tasks_api_spec.rb +6 -26
  1951. data/spec/api/tickets_api_spec.rb +29 -35
  1952. data/spec/api/time_accrual_details_api_spec.rb +122 -0
  1953. data/spec/api/time_accruals_api_spec.rb +115 -0
  1954. data/spec/api/time_entries_api_spec.rb +19 -26
  1955. data/spec/api/time_expenses_api_spec.rb +91 -0
  1956. data/spec/api/time_period_setups_api_spec.rb +100 -0
  1957. data/spec/api/time_periods_api_spec.rb +68 -0
  1958. data/spec/api/time_sheets_api_spec.rb +89 -0
  1959. data/spec/api/time_zone_setups_api_spec.rb +115 -0
  1960. data/spec/api/time_zones_api_spec.rb +65 -0
  1961. data/spec/api/today_page_categories_api_spec.rb +115 -0
  1962. data/spec/api/track_actions_api_spec.rb +122 -0
  1963. data/spec/api/unit_of_measure_conversions_api_spec.rb +6 -26
  1964. data/spec/api/{units_of_measure_api_spec.rb → unit_of_measures_api_spec.rb} +8 -28
  1965. data/spec/api/user_defined_fields_api_spec.rb +6 -26
  1966. data/spec/api/warehouse_bins_api_spec.rb +115 -0
  1967. data/spec/api/warehouses_api_spec.rb +115 -0
  1968. data/spec/api/work_role_locations_api_spec.rb +122 -0
  1969. data/spec/api/work_roles_api_spec.rb +115 -0
  1970. data/spec/api/work_type_external_integration_references_api_spec.rb +65 -0
  1971. data/spec/api/work_types_api_spec.rb +115 -0
  1972. data/spec/api/workflow_action_automate_parameters_api_spec.rb +122 -0
  1973. data/spec/api/workflow_actions_api_spec.rb +129 -0
  1974. data/spec/api/workflow_events_api_spec.rb +135 -0
  1975. data/spec/api/workflow_notify_types_api_spec.rb +68 -0
  1976. data/spec/api/workflow_table_types_api_spec.rb +65 -0
  1977. data/spec/api/workflow_trigger_options_api_spec.rb +57 -0
  1978. data/spec/api/workflow_triggers_api_spec.rb +55 -0
  1979. data/spec/api/workflows_api_spec.rb +127 -0
  1980. data/spec/api_client_spec.rb +31 -53
  1981. data/spec/configuration_spec.rb +3 -25
  1982. data/spec/models/accounting_batch_spec.rb +67 -0
  1983. data/spec/models/accounting_package_spec.rb +165 -0
  1984. data/spec/models/activity_reference_spec.rb +4 -26
  1985. data/spec/models/activity_spec.rb +16 -26
  1986. data/spec/models/activity_status_reference_spec.rb +4 -26
  1987. data/spec/models/activity_status_spec.rb +4 -26
  1988. data/spec/models/activity_stopwatch_spec.rb +147 -0
  1989. data/spec/models/activity_type_reference_spec.rb +4 -26
  1990. data/spec/models/activity_type_spec.rb +4 -26
  1991. data/spec/models/addition_spec.rb +34 -26
  1992. data/spec/models/address_format_reference_spec.rb +43 -0
  1993. data/spec/models/address_format_spec.rb +73 -0
  1994. data/spec/models/adjustment_detail_spec.rb +91 -0
  1995. data/spec/models/adjustment_reference_spec.rb +43 -0
  1996. data/spec/models/adjustment_spec.rb +46 -26
  1997. data/spec/models/adjustment_type_reference_spec.rb +43 -0
  1998. data/spec/models/adjustment_type_spec.rb +67 -0
  1999. data/spec/models/agreement_batch_setup_spec.rb +49 -0
  2000. data/spec/models/agreement_reference_spec.rb +4 -26
  2001. data/spec/models/agreement_site_spec.rb +4 -26
  2002. data/spec/models/agreement_spec.rb +18 -28
  2003. data/spec/models/agreement_type_board_default_spec.rb +73 -0
  2004. data/spec/models/agreement_type_reference_spec.rb +4 -26
  2005. data/spec/models/agreement_type_spec.rb +65 -33
  2006. data/spec/models/agreement_type_work_role_exclusion_spec.rb +49 -0
  2007. data/spec/models/agreement_type_work_role_spec.rb +77 -0
  2008. data/spec/models/agreement_type_work_type_exclusion_spec.rb +49 -0
  2009. data/spec/models/agreement_type_work_type_spec.rb +121 -0
  2010. data/spec/models/agreement_work_role_exclusion_spec.rb +4 -26
  2011. data/spec/models/agreement_work_role_spec.rb +4 -26
  2012. data/spec/models/agreement_work_type_exclusion_spec.rb +4 -26
  2013. data/spec/models/agreement_work_type_spec.rb +4 -26
  2014. data/spec/models/audit_trail_entry_spec.rb +10 -26
  2015. data/spec/models/auth_anvil_spec.rb +49 -0
  2016. data/spec/models/automate_script_reference_spec.rb +43 -0
  2017. data/spec/models/batch_request_spec.rb +43 -0
  2018. data/spec/models/batch_response_spec.rb +37 -0
  2019. data/spec/models/billing_cycle_reference_spec.rb +43 -0
  2020. data/spec/models/billing_cycle_spec.rb +67 -0
  2021. data/spec/models/billing_delivery_reference_spec.rb +43 -0
  2022. data/spec/models/billing_options_reference_spec.rb +43 -0
  2023. data/spec/models/billing_setup_routing_spec.rb +69 -0
  2024. data/spec/models/billing_setup_spec.rb +383 -0
  2025. data/spec/models/billing_status_reference_spec.rb +4 -26
  2026. data/spec/models/billing_status_spec.rb +73 -0
  2027. data/spec/models/billing_term_spec.rb +61 -0
  2028. data/spec/models/billing_terms_reference_spec.rb +4 -26
  2029. data/spec/models/board_auto_assign_resource_spec.rb +49 -0
  2030. data/spec/models/board_auto_template_spec.rb +153 -0
  2031. data/spec/models/board_copy_spec.rb +37 -0
  2032. data/spec/models/board_default_spec.rb +4 -26
  2033. data/spec/models/{excluded_member_spec.rb → board_excluded_member_spec.rb} +6 -28
  2034. data/spec/models/board_item_association_spec.rb +67 -0
  2035. data/spec/models/board_item_spec.rb +55 -0
  2036. data/spec/models/board_notification_spec.rb +55 -0
  2037. data/spec/models/board_reference_spec.rb +4 -26
  2038. data/spec/models/board_spec.rb +291 -33
  2039. data/spec/models/board_status_notification_spec.rb +67 -0
  2040. data/spec/models/{status_spec.rb → board_status_spec.rb} +31 -29
  2041. data/spec/models/{sub_type_spec.rb → board_sub_type_spec.rb} +10 -32
  2042. data/spec/models/{item_spec.rb → board_team_spec.rb} +18 -34
  2043. data/spec/models/board_type_spec.rb +95 -0
  2044. data/spec/models/board_type_sub_type_item_association_spec.rb +61 -0
  2045. data/spec/models/calendar_reference_spec.rb +4 -26
  2046. data/spec/models/calendar_setup_reference_spec.rb +43 -0
  2047. data/spec/models/calendar_spec.rb +133 -0
  2048. data/spec/models/callback_entry_spec.rb +10 -26
  2049. data/spec/models/campaign_audit_spec.rb +4 -26
  2050. data/spec/models/campaign_reference_spec.rb +4 -26
  2051. data/spec/models/campaign_spec.rb +4 -26
  2052. data/spec/models/campaign_status_reference_spec.rb +4 -26
  2053. data/spec/models/campaign_status_spec.rb +4 -26
  2054. data/spec/models/campaign_sub_type_reference_spec.rb +4 -26
  2055. data/spec/models/campaign_sub_type_spec.rb +5 -27
  2056. data/spec/models/campaign_type_reference_spec.rb +4 -26
  2057. data/spec/models/campaign_type_spec.rb +4 -26
  2058. data/spec/models/catalog_component_spec.rb +10 -26
  2059. data/spec/models/catalog_item_reference_spec.rb +10 -26
  2060. data/spec/models/catalog_item_spec.rb +10 -26
  2061. data/spec/models/category_spec.rb +4 -26
  2062. data/spec/models/certification_reference_spec.rb +43 -0
  2063. data/spec/models/certification_spec.rb +49 -0
  2064. data/spec/models/charge_code_expense_type_spec.rb +49 -0
  2065. data/spec/models/charge_code_reference_spec.rb +4 -26
  2066. data/spec/models/charge_code_spec.rb +113 -0
  2067. data/spec/models/classification_reference_spec.rb +4 -26
  2068. data/spec/models/classification_spec.rb +67 -0
  2069. data/spec/models/clear_picker_request_spec.rb +41 -0
  2070. data/spec/models/code_spec.rb +4 -26
  2071. data/spec/models/commission_spec.rb +217 -0
  2072. data/spec/models/communication_type_reference_spec.rb +4 -26
  2073. data/spec/models/company_custom_note_spec.rb +55 -0
  2074. data/spec/models/company_group_spec.rb +79 -0
  2075. data/spec/models/company_management_summary_spec.rb +4 -26
  2076. data/spec/models/company_merge_spec.rb +4 -26
  2077. data/spec/models/company_note_spec.rb +4 -26
  2078. data/spec/models/company_picker_item_spec.rb +85 -0
  2079. data/spec/models/company_reference_spec.rb +4 -26
  2080. data/spec/models/company_site_spec.rb +16 -26
  2081. data/spec/models/company_spec.rb +106 -26
  2082. data/spec/models/company_status_reference_spec.rb +4 -26
  2083. data/spec/models/company_status_spec.rb +4 -26
  2084. data/spec/models/company_team_spec.rb +22 -26
  2085. data/spec/models/company_type_reference_spec.rb +4 -26
  2086. data/spec/models/company_type_spec.rb +4 -26
  2087. data/spec/models/configuration_question_spec.rb +5 -27
  2088. data/spec/models/configuration_reference_spec.rb +4 -26
  2089. data/spec/models/configuration_spec.rb +10 -26
  2090. data/spec/models/configuration_status_reference_spec.rb +4 -26
  2091. data/spec/models/configuration_status_spec.rb +4 -26
  2092. data/spec/models/configuration_type_question_reference_spec.rb +43 -0
  2093. data/spec/models/configuration_type_question_spec.rb +6 -34
  2094. data/spec/models/configuration_type_question_value_spec.rb +67 -0
  2095. data/spec/models/configuration_type_reference_spec.rb +4 -26
  2096. data/spec/models/configuration_type_spec.rb +4 -26
  2097. data/spec/models/connect_wise_hosted_setup_spec.rb +41 -33
  2098. data/spec/models/contact_communication_item_spec.rb +4 -26
  2099. data/spec/models/contact_communication_spec.rb +4 -26
  2100. data/spec/models/contact_department_reference_spec.rb +4 -26
  2101. data/spec/models/contact_department_spec.rb +4 -26
  2102. data/spec/models/contact_group_spec.rb +85 -0
  2103. data/spec/models/contact_note_spec.rb +4 -26
  2104. data/spec/models/contact_reference_spec.rb +4 -26
  2105. data/spec/models/contact_relationship_spec.rb +4 -26
  2106. data/spec/models/contact_spec.rb +16 -26
  2107. data/spec/models/contact_type_reference_spec.rb +4 -26
  2108. data/spec/models/contact_type_spec.rb +4 -26
  2109. data/spec/models/conversion_spec.rb +4 -26
  2110. data/spec/models/corporate_structure_level_reference_spec.rb +43 -0
  2111. data/spec/models/corporate_structure_level_spec.rb +37 -0
  2112. data/spec/models/corporate_structure_spec.rb +141 -0
  2113. data/spec/models/count_spec.rb +4 -26
  2114. data/spec/models/country_reference_spec.rb +4 -26
  2115. data/spec/models/country_spec.rb +109 -0
  2116. data/spec/models/create_accounting_batch_request_spec.rb +73 -0
  2117. data/spec/models/crm_spec.rb +169 -0
  2118. data/spec/models/currency_reference_spec.rb +17 -27
  2119. data/spec/models/currency_spec.rb +4 -26
  2120. data/spec/models/custom_field_value_spec.rb +5 -27
  2121. data/spec/models/custom_report_parameter_spec.rb +55 -0
  2122. data/spec/models/custom_report_reference_spec.rb +43 -0
  2123. data/spec/models/custom_report_spec.rb +479 -0
  2124. data/spec/models/delivery_method_spec.rb +73 -0
  2125. data/spec/models/department_location_spec.rb +91 -0
  2126. data/spec/models/department_mananager_spec.rb +37 -0
  2127. data/spec/models/department_spec.rb +49 -0
  2128. data/spec/models/dispatch_member_spec.rb +37 -0
  2129. data/spec/models/document_info_spec.rb +16 -26
  2130. data/spec/models/document_reference_spec.rb +10 -26
  2131. data/spec/models/document_setup_spec.rb +67 -0
  2132. data/spec/models/duty_manager_spec.rb +37 -0
  2133. data/spec/models/email_connector_parsing_rule_spec.rb +97 -0
  2134. data/spec/models/email_connector_parsing_style_reference_spec.rb +43 -0
  2135. data/spec/models/email_connector_parsing_style_spec.rb +55 -0
  2136. data/spec/models/email_connector_parsing_type_reference_spec.rb +43 -0
  2137. data/spec/models/email_connector_parsing_variable_reference_spec.rb +49 -0
  2138. data/spec/models/email_connector_reference_spec.rb +43 -0
  2139. data/spec/models/email_connector_spec.rb +181 -0
  2140. data/spec/models/email_opened_spec.rb +4 -26
  2141. data/spec/models/email_template_reference_spec.rb +43 -0
  2142. data/spec/models/email_token_spec.rb +121 -0
  2143. data/spec/models/endpoint_request_spec.rb +55 -0
  2144. data/spec/models/endpoint_response_spec.rb +49 -0
  2145. data/spec/models/entity_type_reference_spec.rb +4 -26
  2146. data/spec/models/error_spec.rb +4 -26
  2147. data/spec/models/expense_entry_spec.rb +16 -26
  2148. data/spec/models/expense_report_spec.rb +89 -0
  2149. data/spec/models/expense_tax_spec.rb +4 -26
  2150. data/spec/models/expense_tax_type_reference_spec.rb +4 -26
  2151. data/spec/models/expense_type_exemption_spec.rb +79 -0
  2152. data/spec/models/expense_type_external_integration_reference_spec.rb +49 -0
  2153. data/spec/models/expense_type_reference_spec.rb +4 -26
  2154. data/spec/models/expense_type_spec.rb +16 -26
  2155. data/spec/models/{batch_spec.rb → export_accounting_batch_request_spec.rb} +22 -58
  2156. data/spec/models/external_expense_type_integration_reference_spec.rb +49 -0
  2157. data/spec/models/external_integration_status_reference_spec.rb +49 -0
  2158. data/spec/models/external_work_type_integration_reference_spec.rb +49 -0
  2159. data/spec/models/filter_values_spec.rb +16 -26
  2160. data/spec/models/forecast_spec.rb +16 -26
  2161. data/spec/models/form_submitted_spec.rb +4 -26
  2162. data/spec/models/generic_id_identifier_reference_spec.rb +10 -26
  2163. data/spec/models/gl_export_adjustment_transaction_detail_spec.rb +91 -0
  2164. data/spec/models/gl_export_adjustment_transaction_spec.rb +79 -0
  2165. data/spec/models/gl_export_customer_spec.rb +193 -0
  2166. data/spec/models/gl_export_expense_bill_detail_spec.rb +97 -0
  2167. data/spec/models/gl_export_expense_bill_spec.rb +97 -0
  2168. data/spec/models/gl_export_expense_offset_spec.rb +85 -0
  2169. data/spec/models/gl_export_expense_spec.rb +145 -0
  2170. data/spec/models/gl_export_inventory_transfer_offset_spec.rb +79 -0
  2171. data/spec/models/gl_export_inventory_transfer_spec.rb +277 -0
  2172. data/spec/models/gl_export_purchase_transaction_detail_spec.rb +289 -0
  2173. data/spec/models/gl_export_purchase_transaction_detail_tax_spec.rb +283 -0
  2174. data/spec/models/gl_export_purchase_transaction_spec.rb +283 -0
  2175. data/spec/models/gl_export_settings_spec.rb +25 -0
  2176. data/spec/models/gl_export_spec.rb +79 -0
  2177. data/spec/models/gl_export_transaction_detail_spec.rb +325 -0
  2178. data/spec/models/{transaction_spec.rb → gl_export_transaction_spec.rb} +63 -99
  2179. data/spec/models/gl_export_vendor_spec.rb +85 -0
  2180. data/spec/models/group_reference_spec.rb +4 -26
  2181. data/spec/models/group_spec.rb +4 -26
  2182. data/spec/models/guid_spec.rb +4 -26
  2183. data/spec/models/holiday_list_reference_spec.rb +43 -0
  2184. data/spec/models/holiday_list_spec.rb +43 -0
  2185. data/spec/models/holiday_spec.rb +67 -0
  2186. data/spec/models/imap_setup_reference_spec.rb +43 -0
  2187. data/spec/models/imap_spec.rb +91 -0
  2188. data/spec/models/impact_spec.rb +55 -0
  2189. data/spec/models/import_mass_maintenance_spec.rb +49 -0
  2190. data/spec/models/in_out_board_spec.rb +61 -0
  2191. data/spec/models/in_out_type_reference_spec.rb +43 -0
  2192. data/spec/models/in_out_type_spec.rb +43 -0
  2193. data/spec/models/info_spec.rb +4 -26
  2194. data/spec/models/integrator_login_reference_spec.rb +43 -0
  2195. data/spec/models/integrator_login_spec.rb +22 -26
  2196. data/spec/models/invoice_email_template_spec.rb +97 -0
  2197. data/spec/models/invoice_reference_spec.rb +4 -26
  2198. data/spec/models/invoice_spec.rb +16 -26
  2199. data/spec/models/invoice_template_reference_spec.rb +43 -0
  2200. data/spec/models/invoice_template_setup_spec.rb +49 -0
  2201. data/spec/models/invoice_template_spec.rb +413 -0
  2202. data/spec/models/iv_item_reference_spec.rb +4 -26
  2203. data/spec/models/j_array_spec.rb +25 -0
  2204. data/spec/models/j_object_spec.rb +4 -26
  2205. data/spec/models/knowledge_base_article_spec.rb +5 -27
  2206. data/spec/models/knowledgebase_article_spec.rb +37 -0
  2207. data/spec/models/kpi_category_reference_spec.rb +43 -0
  2208. data/spec/models/kpi_category_spec.rb +43 -0
  2209. data/spec/models/kpi_reference_spec.rb +43 -0
  2210. data/spec/models/kpi_spec.rb +61 -0
  2211. data/spec/models/ldap_configuration_reference_spec.rb +49 -0
  2212. data/spec/models/ldap_configuration_spec.rb +55 -0
  2213. data/spec/models/legacy_sub_category_spec.rb +49 -0
  2214. data/spec/models/link_clicked_spec.rb +4 -26
  2215. data/spec/models/link_spec.rb +14 -26
  2216. data/spec/models/location_department_spec.rb +49 -0
  2217. data/spec/models/location_spec.rb +126 -32
  2218. data/spec/models/location_work_role_spec.rb +55 -0
  2219. data/spec/models/managed_devices_integration_cross_reference_spec.rb +79 -0
  2220. data/spec/models/managed_devices_integration_login_spec.rb +61 -0
  2221. data/spec/models/managed_devices_integration_notification_spec.rb +65 -0
  2222. data/spec/models/managed_devices_integration_reference_spec.rb +43 -0
  2223. data/spec/models/managed_devices_integration_spec.rb +129 -0
  2224. data/spec/models/management_backup_spec.rb +59 -0
  2225. data/spec/models/management_email_spec.rb +77 -0
  2226. data/spec/models/management_it_solution_agreement_interface_parameter_spec.rb +67 -0
  2227. data/spec/models/management_it_solution_spec.rb +161 -0
  2228. data/spec/models/management_log_document_info_spec.rb +25 -0
  2229. data/spec/models/management_network_security_spec.rb +61 -0
  2230. data/spec/models/management_report_notification_spec.rb +55 -0
  2231. data/spec/models/management_solution_reference_spec.rb +4 -26
  2232. data/spec/models/management_spec.rb +85 -0
  2233. data/spec/models/manufacturer_reference_spec.rb +4 -26
  2234. data/spec/models/manufacturer_spec.rb +4 -26
  2235. data/spec/models/market_description_spec.rb +43 -0
  2236. data/spec/models/marketing_company_spec.rb +4 -26
  2237. data/spec/models/marketing_contact_spec.rb +4 -26
  2238. data/spec/models/member_accrual_spec.rb +71 -0
  2239. data/spec/models/member_certification_spec.rb +85 -0
  2240. data/spec/models/member_deactivation_spec.rb +151 -0
  2241. data/spec/models/member_delegation_spec.rb +71 -0
  2242. data/spec/models/member_reference_spec.rb +4 -26
  2243. data/spec/models/member_skill_spec.rb +77 -0
  2244. data/spec/models/member_spec.rb +252 -112
  2245. data/spec/models/member_type_reference_spec.rb +4 -26
  2246. data/spec/models/menu_entry_location_spec.rb +49 -0
  2247. data/spec/models/menu_entry_spec.rb +16 -26
  2248. data/spec/models/menu_location_reference_spec.rb +4 -26
  2249. data/spec/models/metadata_spec.rb +4 -26
  2250. data/spec/models/my_company_controller_role_spec.rb +37 -0
  2251. data/spec/models/my_company_coo_role_spec.rb +37 -0
  2252. data/spec/models/my_company_dispatch_role_spec.rb +37 -0
  2253. data/spec/models/my_company_duty_manager_role_spec.rb +37 -0
  2254. data/spec/models/my_company_president_role_spec.rb +37 -0
  2255. data/spec/models/my_company_service_manager_role_spec.rb +37 -0
  2256. data/spec/models/note_type_reference_spec.rb +4 -26
  2257. data/spec/models/note_type_spec.rb +61 -0
  2258. data/spec/models/notification_recipient_reference_spec.rb +49 -0
  2259. data/spec/models/notification_recipient_spec.rb +121 -0
  2260. data/spec/models/notify_type_reference_spec.rb +49 -0
  2261. data/spec/models/opportunity_contact_spec.rb +4 -26
  2262. data/spec/models/opportunity_note_spec.rb +4 -26
  2263. data/spec/models/opportunity_priority_reference_spec.rb +4 -26
  2264. data/spec/models/opportunity_probability_reference_spec.rb +4 -26
  2265. data/spec/models/opportunity_rating_reference_spec.rb +4 -26
  2266. data/spec/models/opportunity_rating_spec.rb +4 -26
  2267. data/spec/models/opportunity_reference_spec.rb +4 -26
  2268. data/spec/models/opportunity_sales_role_reference_spec.rb +4 -26
  2269. data/spec/models/opportunity_spec.rb +34 -26
  2270. data/spec/models/opportunity_stage_reference_spec.rb +4 -26
  2271. data/spec/models/opportunity_stage_spec.rb +61 -0
  2272. data/spec/models/opportunity_status_reference_spec.rb +4 -26
  2273. data/spec/models/opportunity_status_spec.rb +4 -26
  2274. data/spec/models/opportunity_to_agreement_conversion_spec.rb +10 -26
  2275. data/spec/models/opportunity_to_project_conversion_spec.rb +4 -26
  2276. data/spec/models/opportunity_to_sales_order_conversion_spec.rb +4 -26
  2277. data/spec/models/opportunity_to_service_ticket_conversion_spec.rb +4 -26
  2278. data/spec/models/opportunity_type_reference_spec.rb +4 -26
  2279. data/spec/models/opportunity_type_spec.rb +4 -26
  2280. data/spec/models/order_spec.rb +10 -26
  2281. data/spec/models/order_status_email_template_reference_spec.rb +43 -0
  2282. data/spec/models/order_status_email_template_spec.rb +85 -0
  2283. data/spec/models/order_status_notification_spec.rb +67 -0
  2284. data/spec/models/order_status_reference_spec.rb +4 -26
  2285. data/spec/models/order_status_spec.rb +10 -26
  2286. data/spec/models/other_spec.rb +131 -0
  2287. data/spec/models/ownership_type_reference_spec.rb +4 -26
  2288. data/spec/models/ownership_type_spec.rb +43 -0
  2289. data/spec/models/parsing_type_spec.rb +55 -0
  2290. data/spec/models/parsing_variable_spec.rb +49 -0
  2291. data/spec/models/patch_operation_spec.rb +4 -26
  2292. data/spec/models/payment_method_reference_spec.rb +4 -26
  2293. data/spec/models/payment_spec.rb +4 -26
  2294. data/spec/models/payment_type_spec.rb +61 -0
  2295. data/spec/models/phase_status_reference_spec.rb +4 -26
  2296. data/spec/models/portal_calendar_spec.rb +101 -0
  2297. data/spec/models/portal_configuration_invoice_setup_spec.rb +107 -0
  2298. data/spec/models/portal_configuration_opportunity_setup_spec.rb +259 -0
  2299. data/spec/models/portal_configuration_password_email_setup_spec.rb +109 -0
  2300. data/spec/models/portal_configuration_project_setup_spec.rb +299 -0
  2301. data/spec/models/portal_configuration_reference_spec.rb +43 -0
  2302. data/spec/models/portal_configuration_service_setup_spec.rb +161 -0
  2303. data/spec/models/portal_configuration_spec.rb +137 -0
  2304. data/spec/models/portal_report_spec.rb +73 -0
  2305. data/spec/models/portal_security_level_spec.rb +55 -0
  2306. data/spec/models/portal_security_spec.rb +64 -26
  2307. data/spec/models/pricing_break_spec.rb +10 -26
  2308. data/spec/models/pricing_detail_spec.rb +10 -26
  2309. data/spec/models/pricing_schedule_reference_spec.rb +43 -0
  2310. data/spec/models/pricing_schedule_spec.rb +10 -26
  2311. data/spec/models/priority_reference_spec.rb +4 -26
  2312. data/spec/models/priority_spec.rb +4 -26
  2313. data/spec/models/product_category_reference_spec.rb +4 -26
  2314. data/spec/models/product_component_spec.rb +4 -26
  2315. data/spec/models/product_item_reference_spec.rb +4 -26
  2316. data/spec/models/product_item_spec.rb +16 -26
  2317. data/spec/models/product_picking_shipping_detail_spec.rb +4 -26
  2318. data/spec/models/product_recurring_spec.rb +4 -26
  2319. data/spec/models/product_reference_spec.rb +4 -26
  2320. data/spec/models/product_sub_category_reference_spec.rb +4 -26
  2321. data/spec/models/product_type_exemption_spec.rb +79 -0
  2322. data/spec/models/product_type_reference_spec.rb +4 -26
  2323. data/spec/models/product_type_spec.rb +4 -26
  2324. data/spec/models/project_board_reference_spec.rb +4 -26
  2325. data/spec/models/project_contact_spec.rb +4 -26
  2326. data/spec/models/project_manager_spec.rb +37 -0
  2327. data/spec/models/project_note_spec.rb +4 -26
  2328. data/spec/models/project_phase_reference_spec.rb +4 -26
  2329. data/spec/models/project_phase_spec.rb +124 -26
  2330. data/spec/models/project_reference_spec.rb +4 -26
  2331. data/spec/models/project_role_reference_spec.rb +4 -26
  2332. data/spec/models/project_security_role_setting_spec.rb +89 -0
  2333. data/spec/models/project_security_role_spec.rb +55 -0
  2334. data/spec/models/project_spec.rb +46 -26
  2335. data/spec/models/project_status_reference_spec.rb +4 -26
  2336. data/spec/models/project_status_spec.rb +67 -0
  2337. data/spec/models/{project_team_member_spec.rb → project_teammember_spec.rb} +6 -28
  2338. data/spec/models/project_type_reference_spec.rb +4 -26
  2339. data/spec/models/project_type_spec.rb +61 -0
  2340. data/spec/models/purchase_order_line_item_spec.rb +10 -26
  2341. data/spec/models/purchase_order_reference_spec.rb +4 -26
  2342. data/spec/models/purchase_order_spec.rb +10 -26
  2343. data/spec/models/purchase_order_status_email_template_reference_spec.rb +43 -0
  2344. data/spec/models/purchase_order_status_email_template_spec.rb +85 -0
  2345. data/spec/models/purchase_order_status_notification_spec.rb +67 -0
  2346. data/spec/models/purchase_order_status_reference_spec.rb +4 -26
  2347. data/spec/models/purchase_order_status_spec.rb +79 -0
  2348. data/spec/models/purchasing_spec.rb +129 -0
  2349. data/spec/models/relationship_reference_spec.rb +4 -26
  2350. data/spec/models/reminder_reference_spec.rb +4 -26
  2351. data/spec/models/report_card_detail_spec.rb +55 -0
  2352. data/spec/models/report_card_reference_spec.rb +43 -0
  2353. data/spec/models/report_card_spec.rb +43 -0
  2354. data/spec/models/report_data_response_spec.rb +4 -26
  2355. data/spec/models/report_spec.rb +4 -26
  2356. data/spec/models/reporting_service_spec.rb +61 -0
  2357. data/spec/models/request_password_request_spec.rb +4 -26
  2358. data/spec/models/rma_action_spec.rb +49 -0
  2359. data/spec/models/rma_disposition_spec.rb +49 -0
  2360. data/spec/models/rma_status_email_template_reference_spec.rb +43 -0
  2361. data/spec/models/rma_status_email_template_spec.rb +85 -0
  2362. data/spec/models/rma_status_notification_spec.rb +67 -0
  2363. data/spec/models/rma_status_reference_spec.rb +43 -0
  2364. data/spec/models/rma_status_spec.rb +67 -0
  2365. data/spec/models/role_spec.rb +43 -0
  2366. data/spec/models/sales_activity_spec.rb +37 -0
  2367. data/spec/models/sales_probability_spec.rb +43 -0
  2368. data/spec/models/sales_quota_spec.rb +223 -0
  2369. data/spec/models/sales_team_member_spec.rb +61 -0
  2370. data/spec/models/sales_team_reference_spec.rb +4 -26
  2371. data/spec/models/sales_team_spec.rb +61 -0
  2372. data/spec/models/schedule_color_spec.rb +55 -0
  2373. data/spec/models/schedule_detail_spec.rb +61 -0
  2374. data/spec/models/schedule_entry_reference_spec.rb +4 -26
  2375. data/spec/models/schedule_entry_spec.rb +10 -26
  2376. data/spec/models/schedule_reminder_time_spec.rb +55 -0
  2377. data/spec/models/schedule_span_reference_spec.rb +4 -26
  2378. data/spec/models/schedule_status_reference_spec.rb +4 -26
  2379. data/spec/models/schedule_status_spec.rb +4 -26
  2380. data/spec/models/schedule_stopwatch_spec.rb +147 -0
  2381. data/spec/models/schedule_type_reference_spec.rb +4 -26
  2382. data/spec/models/schedule_type_spec.rb +4 -26
  2383. data/spec/models/security_role_reference_spec.rb +4 -26
  2384. data/spec/models/security_role_setting_spec.rb +143 -0
  2385. data/spec/models/security_role_spec.rb +55 -0
  2386. data/spec/models/service_code_reference_spec.rb +4 -26
  2387. data/spec/models/service_email_template_reference_spec.rb +49 -0
  2388. data/spec/models/service_email_template_spec.rb +131 -0
  2389. data/spec/models/service_item_reference_spec.rb +4 -26
  2390. data/spec/models/service_location_reference_spec.rb +4 -26
  2391. data/spec/models/service_location_spec.rb +59 -0
  2392. data/spec/models/service_manger_spec.rb +37 -0
  2393. data/spec/models/service_note_spec.rb +4 -26
  2394. data/spec/models/service_signoff_reference_spec.rb +4 -26
  2395. data/spec/models/service_signoff_spec.rb +371 -0
  2396. data/spec/models/service_source_reference_spec.rb +4 -26
  2397. data/spec/models/service_spec.rb +123 -0
  2398. data/spec/models/service_status_reference_spec.rb +4 -26
  2399. data/spec/models/service_sub_type_reference_spec.rb +4 -26
  2400. data/spec/models/service_survey_question_option_spec.rb +43 -0
  2401. data/spec/models/service_survey_question_spec.rb +89 -0
  2402. data/spec/models/service_survey_reference_spec.rb +43 -0
  2403. data/spec/models/service_survey_spec.rb +103 -0
  2404. data/spec/models/service_team_reference_spec.rb +4 -26
  2405. data/spec/models/service_team_spec.rb +79 -0
  2406. data/spec/models/service_template_reference_spec.rb +49 -0
  2407. data/spec/models/service_template_spec.rb +337 -0
  2408. data/spec/models/service_type_reference_spec.rb +4 -26
  2409. data/spec/models/setup_screen_spec.rb +73 -0
  2410. data/spec/models/severity_spec.rb +55 -0
  2411. data/spec/models/shipment_method_reference_spec.rb +4 -26
  2412. data/spec/models/shipment_method_spec.rb +4 -26
  2413. data/spec/models/sic_code_reference_spec.rb +4 -26
  2414. data/spec/models/site_reference_spec.rb +4 -26
  2415. data/spec/models/skill_category_reference_spec.rb +43 -0
  2416. data/spec/models/skill_category_spec.rb +43 -0
  2417. data/spec/models/skill_reference_spec.rb +43 -0
  2418. data/spec/models/skill_spec.rb +49 -0
  2419. data/spec/models/sla_priority_spec.rb +85 -0
  2420. data/spec/models/sla_reference_spec.rb +4 -26
  2421. data/spec/models/sla_spec.rb +161 -0
  2422. data/spec/models/source_spec.rb +4 -26
  2423. data/spec/models/state_reference_spec.rb +49 -0
  2424. data/spec/models/state_spec.rb +55 -0
  2425. data/spec/models/status_external_integration_reference_spec.rb +49 -0
  2426. data/spec/models/status_workflow_spec.rb +37 -0
  2427. data/spec/models/structure_reference_spec.rb +43 -0
  2428. data/spec/models/sub_category_spec.rb +16 -26
  2429. data/spec/models/success_response_spec.rb +4 -26
  2430. data/spec/models/survey_option_spec.rb +55 -0
  2431. data/spec/models/survey_question_reference_spec.rb +43 -0
  2432. data/spec/models/survey_question_spec.rb +18 -36
  2433. data/spec/models/survey_question_value_spec.rb +73 -0
  2434. data/spec/models/survey_reference_spec.rb +43 -0
  2435. data/spec/models/survey_result_detail_spec.rb +4 -26
  2436. data/spec/models/survey_result_spec.rb +4 -26
  2437. data/spec/models/survey_spec.rb +6 -76
  2438. data/spec/models/system_department_reference_spec.rb +49 -0
  2439. data/spec/models/system_location_reference_spec.rb +43 -0
  2440. data/spec/models/system_menu_entry_reference_spec.rb +43 -0
  2441. data/spec/models/task_spec.rb +4 -26
  2442. data/spec/models/tax_code_reference_spec.rb +4 -26
  2443. data/spec/models/tax_code_spec.rb +525 -0
  2444. data/spec/models/tax_code_x_ref_spec.rb +105 -0
  2445. data/spec/models/tax_integration_spec.rb +131 -0
  2446. data/spec/models/team_member_spec.rb +61 -0
  2447. data/spec/models/team_role_reference_spec.rb +4 -26
  2448. data/spec/models/team_role_spec.rb +43 -0
  2449. data/spec/models/team_spec.rb +4 -74
  2450. data/spec/models/ticket_merge_spec.rb +37 -0
  2451. data/spec/models/ticket_reference_spec.rb +4 -26
  2452. data/spec/models/ticket_spec.rb +16 -26
  2453. data/spec/models/ticket_stopwatch_spec.rb +183 -0
  2454. data/spec/models/ticket_sync_spec.rb +107 -0
  2455. data/spec/models/time_accrual_detail_spec.rb +71 -0
  2456. data/spec/models/time_accrual_reference_spec.rb +43 -0
  2457. data/spec/models/time_accrual_spec.rb +155 -0
  2458. data/spec/models/time_entry_reference_spec.rb +4 -26
  2459. data/spec/models/time_entry_spec.rb +38 -26
  2460. data/spec/models/time_expense_spec.rb +85 -0
  2461. data/spec/models/time_period_setup_defaults_spec.rb +25 -0
  2462. data/spec/models/time_period_setup_reference_spec.rb +37 -0
  2463. data/spec/models/time_period_setup_spec.rb +117 -0
  2464. data/spec/models/time_period_spec.rb +67 -0
  2465. data/spec/models/time_sheet_reference_spec.rb +43 -0
  2466. data/spec/models/time_sheet_spec.rb +89 -0
  2467. data/spec/models/time_zone_reference_spec.rb +4 -26
  2468. data/spec/models/time_zone_setup_reference_spec.rb +43 -0
  2469. data/spec/models/time_zone_setup_spec.rb +67 -0
  2470. data/spec/models/time_zone_spec.rb +67 -0
  2471. data/spec/models/today_page_category_spec.rb +55 -0
  2472. data/spec/models/token_spec.rb +4 -26
  2473. data/spec/models/track_action_spec.rb +149 -0
  2474. data/spec/models/track_reference_spec.rb +4 -26
  2475. data/spec/models/track_spec.rb +16 -26
  2476. data/spec/models/type_spec.rb +5 -67
  2477. data/spec/models/unit_of_measure_reference_spec.rb +4 -26
  2478. data/spec/models/unit_of_measure_spec.rb +4 -26
  2479. data/spec/models/unposted_expense_spec.rb +4 -26
  2480. data/spec/models/unposted_invoice_spec.rb +4 -26
  2481. data/spec/models/unposted_procurement_spec.rb +4 -26
  2482. data/spec/models/user_defined_field_option_spec.rb +4 -26
  2483. data/spec/models/user_defined_field_reference_spec.rb +43 -0
  2484. data/spec/models/user_defined_field_spec.rb +5 -27
  2485. data/spec/models/validate_portal_request_spec.rb +4 -26
  2486. data/spec/models/validate_portal_response_spec.rb +4 -26
  2487. data/spec/models/validation_error_spec.rb +10 -26
  2488. data/spec/models/warehouse_bin_reference_spec.rb +4 -26
  2489. data/spec/models/warehouse_bin_spec.rb +127 -0
  2490. data/spec/models/warehouse_reference_spec.rb +4 -26
  2491. data/spec/models/warehouse_spec.rb +103 -0
  2492. data/spec/models/work_role_exemption_spec.rb +79 -0
  2493. data/spec/models/work_role_location_spec.rb +55 -0
  2494. data/spec/models/work_role_reference_spec.rb +4 -26
  2495. data/spec/models/work_role_spec.rb +85 -0
  2496. data/spec/models/work_type_external_integration_reference_spec.rb +49 -0
  2497. data/spec/models/work_type_reference_spec.rb +4 -26
  2498. data/spec/models/work_type_spec.rb +145 -0
  2499. data/spec/models/workflow_action_automate_parameter_spec.rb +43 -0
  2500. data/spec/models/workflow_action_spec.rb +229 -0
  2501. data/spec/models/workflow_event_spec.rb +81 -0
  2502. data/spec/models/workflow_notify_type_spec.rb +55 -0
  2503. data/spec/models/workflow_spec.rb +105 -0
  2504. data/spec/models/workflow_table_type_reference_spec.rb +49 -0
  2505. data/spec/models/workflow_table_type_spec.rb +49 -0
  2506. data/spec/models/workflow_trigger_option_spec.rb +49 -0
  2507. data/spec/models/workflow_trigger_spec.rb +73 -0
  2508. data/spec/spec_helper.rb +0 -37
  2509. metadata +2255 -386
  2510. data/LICENSE +0 -201
  2511. data/docs/AccountingBatchTransactionsApi.md +0 -184
  2512. data/docs/AuditTrailEntryInsertRequest.md +0 -9
  2513. data/docs/Batch.md +0 -24
  2514. data/docs/Item.md +0 -16
  2515. data/docs/Transaction.md +0 -67
  2516. data/docs/TypeAssociations.md +0 -9
  2517. data/lib/connectwise-ruby-sdk/api/accounting_batch_transactions_api.rb +0 -224
  2518. data/lib/connectwise-ruby-sdk/models/transaction.rb +0 -782
  2519. data/spec/api/accounting_batch_transactions_api_spec.rb +0 -88
  2520. data/spec/models/audit_trail_entry_insert_request_spec.rb +0 -59
  2521. data/spec/models/audit_trail_objects_spec.rb +0 -63
  2522. data/spec/models/batch_reference_spec.rb +0 -65
  2523. data/spec/models/survey_question_option_spec.rb +0 -65
  2524. data/spec/models/type_associations_spec.rb +0 -59
@@ -1,29 +1,7 @@
1
- =begin
2
- #Connectwise REST API
3
-
4
- #ConnectWise API
5
-
6
- OpenAPI spec version: 1.0.0
7
- Contact: platform@connectwise.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- Licensed under the Apache License, Version 2.0 (the "License");
11
- you may not use this file except in compliance with the License.
12
- You may obtain a copy of the License at
13
-
14
- http://www.apache.org/licenses/LICENSE-2.0
15
-
16
- Unless required by applicable law or agreed to in writing, software
17
- distributed under the License is distributed on an "AS IS" BASIS,
18
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- See the License for the specific language governing permissions and
20
- limitations under the License.
21
-
22
- =end
23
1
 
24
2
  require 'date'
25
3
 
26
- module Connectwise
4
+ module ConnectWise
27
5
 
28
6
  class MarketingCompany
29
7
  attr_accessor :id
@@ -102,6 +80,10 @@ module Connectwise
102
80
  # @return Array for valid properies with the reasons
103
81
  def list_invalid_properties
104
82
  invalid_properties = Array.new
83
+ if @id.nil?
84
+ invalid_properties.push("invalid value for 'id', id cannot be nil.")
85
+ end
86
+
105
87
  return invalid_properties
106
88
  end
107
89
 
@@ -143,7 +125,7 @@ module Connectwise
143
125
  def build_from_hash(attributes)
144
126
  return nil unless attributes.is_a?(Hash)
145
127
  self.class.swagger_types.each_pair do |key, type|
146
- if type =~ /^Array<(.*)>/i
128
+ if type =~ /\AArray<(.*)>/i
147
129
  # check to ensure the input is an array given that the the attribute
148
130
  # is documented as an array but the input is not
149
131
  if attributes[self.class.attribute_map[key]].is_a?(Array)
@@ -174,7 +156,7 @@ module Connectwise
174
156
  when :Float
175
157
  value.to_f
176
158
  when :BOOLEAN
177
- if value.to_s =~ /^(true|t|yes|y|1)$/i
159
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
178
160
  true
179
161
  else
180
162
  false
@@ -185,7 +167,7 @@ module Connectwise
185
167
  when /\AArray<(?<inner_type>.+)>\z/
186
168
  inner_type = Regexp.last_match[:inner_type]
187
169
  value.map { |v| _deserialize(inner_type, v) }
188
- when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
170
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
189
171
  k_type = Regexp.last_match[:k_type]
190
172
  v_type = Regexp.last_match[:v_type]
191
173
  {}.tap do |hash|
@@ -194,7 +176,7 @@ module Connectwise
194
176
  end
195
177
  end
196
178
  else # model
197
- temp_model = Connectwise.const_get(type).new
179
+ temp_model = ConnectWise.const_get(type).new
198
180
  temp_model.build_from_hash(value)
199
181
  end
200
182
  end
@@ -1,29 +1,7 @@
1
- =begin
2
- #Connectwise REST API
3
-
4
- #ConnectWise API
5
-
6
- OpenAPI spec version: 1.0.0
7
- Contact: platform@connectwise.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- Licensed under the Apache License, Version 2.0 (the "License");
11
- you may not use this file except in compliance with the License.
12
- You may obtain a copy of the License at
13
-
14
- http://www.apache.org/licenses/LICENSE-2.0
15
-
16
- Unless required by applicable law or agreed to in writing, software
17
- distributed under the License is distributed on an "AS IS" BASIS,
18
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- See the License for the specific language governing permissions and
20
- limitations under the License.
21
-
22
- =end
23
1
 
24
2
  require 'date'
25
3
 
26
- module Connectwise
4
+ module ConnectWise
27
5
 
28
6
  class MarketingContact
29
7
  attr_accessor :id
@@ -94,6 +72,9 @@ module Connectwise
94
72
  # @return Array for valid properies with the reasons
95
73
  def list_invalid_properties
96
74
  invalid_properties = Array.new
75
+ if @id.nil?
76
+ invalid_properties.push("invalid value for 'id', id cannot be nil.")
77
+ end
97
78
 
98
79
  if !@note.nil? && @note.to_s.length > 50
99
80
  invalid_properties.push("invalid value for 'note', the character length must be smaller than or equal to 50.")
@@ -151,7 +132,7 @@ module Connectwise
151
132
  def build_from_hash(attributes)
152
133
  return nil unless attributes.is_a?(Hash)
153
134
  self.class.swagger_types.each_pair do |key, type|
154
- if type =~ /^Array<(.*)>/i
135
+ if type =~ /\AArray<(.*)>/i
155
136
  # check to ensure the input is an array given that the the attribute
156
137
  # is documented as an array but the input is not
157
138
  if attributes[self.class.attribute_map[key]].is_a?(Array)
@@ -182,7 +163,7 @@ module Connectwise
182
163
  when :Float
183
164
  value.to_f
184
165
  when :BOOLEAN
185
- if value.to_s =~ /^(true|t|yes|y|1)$/i
166
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
186
167
  true
187
168
  else
188
169
  false
@@ -193,7 +174,7 @@ module Connectwise
193
174
  when /\AArray<(?<inner_type>.+)>\z/
194
175
  inner_type = Regexp.last_match[:inner_type]
195
176
  value.map { |v| _deserialize(inner_type, v) }
196
- when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
177
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
197
178
  k_type = Regexp.last_match[:k_type]
198
179
  v_type = Regexp.last_match[:v_type]
199
180
  {}.tap do |hash|
@@ -202,7 +183,7 @@ module Connectwise
202
183
  end
203
184
  end
204
185
  else # model
205
- temp_model = Connectwise.const_get(type).new
186
+ temp_model = ConnectWise.const_get(type).new
206
187
  temp_model.build_from_hash(value)
207
188
  end
208
189
  end
@@ -1,206 +1,228 @@
1
- =begin
2
- #Connectwise REST API
3
1
 
4
- #ConnectWise API
2
+ require 'date'
5
3
 
6
- OpenAPI spec version: 1.0.0
7
- Contact: platform@connectwise.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
4
+ module ConnectWise
9
5
 
10
- Licensed under the Apache License, Version 2.0 (the "License");
11
- you may not use this file except in compliance with the License.
12
- You may obtain a copy of the License at
6
+ class Member
7
+ attr_accessor :id
13
8
 
14
- http://www.apache.org/licenses/LICENSE-2.0
9
+ attr_accessor :identifier
15
10
 
16
- Unless required by applicable law or agreed to in writing, software
17
- distributed under the License is distributed on an "AS IS" BASIS,
18
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- See the License for the specific language governing permissions and
20
- limitations under the License.
11
+ # ConditionallyRequired. API Member will get random password generated
12
+ attr_accessor :password
21
13
 
22
- =end
14
+ attr_accessor :first_name
23
15
 
24
- require 'date'
16
+ attr_accessor :middle_initial
25
17
 
26
- module Connectwise
18
+ attr_accessor :last_name
27
19
 
28
- class Member
29
- attr_accessor :admin_flag
20
+ attr_accessor :title
30
21
 
31
- attr_accessor :allow_expenses_entered_against_companies_flag
22
+ attr_accessor :report_card
32
23
 
33
- attr_accessor :allow_in_cell_entry_on_time_sheet
24
+ # F = Full Member, A = API Member, C = StreamlineIT Member, X = Subcontractor Member
25
+ attr_accessor :license_class
34
26
 
35
- attr_accessor :billable_forecast
27
+ attr_accessor :disable_online_flag
36
28
 
37
- attr_accessor :calendar
29
+ attr_accessor :enable_mobile_flag
38
30
 
39
- attr_accessor :calendar_sync_integration_flag
31
+ attr_accessor :type
40
32
 
41
- attr_accessor :country
33
+ attr_accessor :employee_identifer
42
34
 
43
- attr_accessor :daily_capacity
35
+ attr_accessor :vendor_number
44
36
 
45
- attr_accessor :days_tolerance
37
+ attr_accessor :notes
46
38
 
47
- attr_accessor :default_department_id
39
+ attr_accessor :time_zone
48
40
 
49
- attr_accessor :default_email
41
+ attr_accessor :country
50
42
 
51
- attr_accessor :default_location_id
43
+ attr_accessor :service_board_team_ids
52
44
 
53
- attr_accessor :default_phone
45
+ attr_accessor :enable_mobile_gps_flag
54
46
 
55
- attr_accessor :disable_online_flag
47
+ attr_accessor :inactive_date
56
48
 
57
- attr_accessor :enable_ldap_authentication_flag
49
+ attr_accessor :inactive_flag
58
50
 
59
- attr_accessor :enable_mobile_flag
51
+ attr_accessor :last_login
60
52
 
61
- attr_accessor :enable_mobile_gps_flag
53
+ attr_accessor :photo
62
54
 
63
- attr_accessor :enter_time_against_company_flag
55
+ attr_accessor :office_email
64
56
 
65
- attr_accessor :expense_approver
57
+ attr_accessor :office_phone
66
58
 
67
- attr_accessor :first_name
59
+ attr_accessor :office_extension
68
60
 
69
- attr_accessor :hide_member_in_dispatch_portal_flag
61
+ attr_accessor :mobile_email
70
62
 
71
- attr_accessor :hire_date
63
+ attr_accessor :mobile_phone
64
+
65
+ attr_accessor :mobile_extension
72
66
 
73
67
  attr_accessor :home_email
74
68
 
69
+ attr_accessor :home_phone
70
+
75
71
  attr_accessor :home_extension
76
72
 
77
- attr_accessor :home_phone
73
+ attr_accessor :default_email
78
74
 
79
- attr_accessor :hourly_cost
75
+ attr_accessor :default_phone
80
76
 
81
- attr_accessor :hourly_rate
77
+ attr_accessor :security_role
82
78
 
83
- attr_accessor :id
79
+ attr_accessor :admin_flag
84
80
 
85
- attr_accessor :identifier
81
+ attr_accessor :structure_level
86
82
 
87
- attr_accessor :inactive_date
83
+ attr_accessor :security_location
88
84
 
89
- attr_accessor :inactive_flag
85
+ attr_accessor :default_location
90
86
 
91
- attr_accessor :include_in_utilization_reporting_flag
87
+ attr_accessor :default_department
92
88
 
93
- attr_accessor :last_login
89
+ attr_accessor :reports_to
94
90
 
95
- attr_accessor :last_name
91
+ attr_accessor :restrict_location_flag
96
92
 
97
- attr_accessor :license_class
93
+ attr_accessor :restrict_department_flag
98
94
 
99
- attr_accessor :mapi_name
95
+ attr_accessor :work_role
100
96
 
101
- attr_accessor :middle_initial
97
+ attr_accessor :work_type
102
98
 
103
- attr_accessor :minimum_hours
99
+ attr_accessor :time_approver
104
100
 
105
- attr_accessor :mobile_email
101
+ attr_accessor :expense_approver
106
102
 
107
- attr_accessor :mobile_extension
103
+ attr_accessor :billable_forecast
108
104
 
109
- attr_accessor :mobile_phone
105
+ attr_accessor :daily_capacity
110
106
 
111
- attr_accessor :notes
107
+ attr_accessor :hourly_cost
112
108
 
113
- attr_accessor :office_email
109
+ attr_accessor :hourly_rate
114
110
 
115
- attr_accessor :office_extension
111
+ attr_accessor :include_in_utilization_reporting_flag
116
112
 
117
- attr_accessor :office_phone
113
+ attr_accessor :require_expense_entry_flag
118
114
 
119
- attr_accessor :project_default_board
115
+ attr_accessor :require_time_sheet_entry_flag
120
116
 
121
- attr_accessor :project_default_department_id
117
+ attr_accessor :require_start_and_end_time_on_time_entry_flag
122
118
 
123
- attr_accessor :project_default_location_id
119
+ attr_accessor :allow_in_cell_entry_on_time_sheet
124
120
 
125
- attr_accessor :reports_to
121
+ attr_accessor :enter_time_against_company_flag
126
122
 
127
- attr_accessor :require_expense_entry_flag
123
+ attr_accessor :allow_expenses_entered_against_companies_flag
128
124
 
129
- attr_accessor :require_start_and_end_time_on_time_entry_flag
125
+ attr_accessor :time_reminder_email_flag
130
126
 
131
- attr_accessor :require_time_sheet_entry_flag
127
+ attr_accessor :days_tolerance
132
128
 
133
- attr_accessor :restrict_default_sales_territory_flag
129
+ attr_accessor :minimum_hours
134
130
 
135
- attr_accessor :restrict_default_warehouse_bin_flag
131
+ attr_accessor :time_sheet_start_date
136
132
 
137
- attr_accessor :restrict_default_warehouse_flag
133
+ attr_accessor :hire_date
138
134
 
139
- attr_accessor :restrict_department_flag
135
+ attr_accessor :service_default_location
140
136
 
141
- attr_accessor :restrict_location_flag
137
+ attr_accessor :service_default_department
142
138
 
143
- attr_accessor :restrict_project_default_department_flag
139
+ attr_accessor :service_default_board
140
+
141
+ attr_accessor :restrict_service_default_location_flag
142
+
143
+ attr_accessor :restrict_service_default_department_flag
144
+
145
+ attr_accessor :excluded_service_board_ids
146
+
147
+ attr_accessor :project_default_location
148
+
149
+ attr_accessor :project_default_department
150
+
151
+ attr_accessor :project_default_board
144
152
 
145
153
  attr_accessor :restrict_project_default_location_flag
146
154
 
147
- attr_accessor :restrict_schedule_flag
155
+ attr_accessor :restrict_project_default_department_flag
148
156
 
149
- attr_accessor :restrict_service_default_department_flag
157
+ attr_accessor :excluded_project_board_ids
150
158
 
151
- attr_accessor :restrict_service_default_location_flag
159
+ attr_accessor :schedule_default_location
152
160
 
153
- attr_accessor :sales_default_location_id
161
+ attr_accessor :schedule_default_department
154
162
 
155
163
  attr_accessor :schedule_capacity
156
164
 
157
- attr_accessor :schedule_default_department_id
165
+ attr_accessor :service_location
166
+
167
+ attr_accessor :restrict_schedule_flag
168
+
169
+ attr_accessor :hide_member_in_dispatch_portal_flag
158
170
 
159
- attr_accessor :schedule_default_location_id
171
+ attr_accessor :calendar
160
172
 
161
- attr_accessor :security_level
173
+ attr_accessor :sales_default_location
162
174
 
163
- attr_accessor :security_location_id
175
+ attr_accessor :restrict_default_sales_territory_flag
164
176
 
165
- attr_accessor :security_role
177
+ attr_accessor :warehouse
166
178
 
167
- attr_accessor :service_default_board
179
+ attr_accessor :warehouse_bin
168
180
 
169
- attr_accessor :service_default_department_id
181
+ attr_accessor :restrict_default_warehouse_flag
170
182
 
171
- attr_accessor :service_default_location_id
183
+ attr_accessor :restrict_default_warehouse_bin_flag
172
184
 
173
- attr_accessor :service_location
185
+ attr_accessor :mapi_name
174
186
 
175
- attr_accessor :service_teams
187
+ attr_accessor :calendar_sync_integration_flag
176
188
 
177
- attr_accessor :time_approver
189
+ attr_accessor :enable_ldap_authentication_flag
178
190
 
179
- attr_accessor :time_reminder_email_flag
191
+ attr_accessor :ldap_configuration
180
192
 
181
- attr_accessor :time_sheet_start_date
193
+ attr_accessor :ldap_user_name
182
194
 
183
- attr_accessor :time_zone
195
+ attr_accessor :company_activity_tab_format
184
196
 
185
- attr_accessor :title
197
+ attr_accessor :invoice_time_tab_format
186
198
 
187
- attr_accessor :type
199
+ attr_accessor :invoice_screen_default_tab_format
188
200
 
189
- attr_accessor :vendor_number
201
+ attr_accessor :invoicing_display_options
190
202
 
191
- attr_accessor :warehouse
203
+ attr_accessor :agreement_invoicing_display_options
192
204
 
193
- attr_accessor :warehouse_bin
205
+ attr_accessor :corelytics_username
194
206
 
195
- attr_accessor :work_role
207
+ attr_accessor :corelytics_password
196
208
 
197
- attr_accessor :work_type
209
+ attr_accessor :remote_package
210
+
211
+ attr_accessor :remote_package_platform
212
+
213
+ attr_accessor :remote_package_user_name
214
+
215
+ attr_accessor :remote_package_password
216
+
217
+ attr_accessor :remote_package_account
218
+
219
+ attr_accessor :authentication_service_type
220
+
221
+ attr_accessor :timebased_one_time_password_activated
198
222
 
199
223
  # Metadata of the entity
200
224
  attr_accessor :_info
201
225
 
202
- attr_accessor :system_flag
203
-
204
226
  class EnumAttributeValidator
205
227
  attr_reader :datatype
206
228
  attr_reader :allowable_values
@@ -226,186 +248,228 @@ module Connectwise
226
248
  # Attribute mapping from ruby-style variable name to JSON key.
227
249
  def self.attribute_map
228
250
  {
229
- :'admin_flag' => :'adminFlag',
230
- :'allow_expenses_entered_against_companies_flag' => :'allowExpensesEnteredAgainstCompaniesFlag',
231
- :'allow_in_cell_entry_on_time_sheet' => :'allowInCellEntryOnTimeSheet',
232
- :'billable_forecast' => :'billableForecast',
233
- :'calendar' => :'calendar',
234
- :'calendar_sync_integration_flag' => :'calendarSyncIntegrationFlag',
235
- :'country' => :'country',
236
- :'daily_capacity' => :'dailyCapacity',
237
- :'days_tolerance' => :'daysTolerance',
238
- :'default_department_id' => :'defaultDepartmentId',
239
- :'default_email' => :'defaultEmail',
240
- :'default_location_id' => :'defaultLocationId',
241
- :'default_phone' => :'defaultPhone',
251
+ :'id' => :'id',
252
+ :'identifier' => :'identifier',
253
+ :'password' => :'password',
254
+ :'first_name' => :'firstName',
255
+ :'middle_initial' => :'middleInitial',
256
+ :'last_name' => :'lastName',
257
+ :'title' => :'title',
258
+ :'report_card' => :'reportCard',
259
+ :'license_class' => :'licenseClass',
242
260
  :'disable_online_flag' => :'disableOnlineFlag',
243
- :'enable_ldap_authentication_flag' => :'enableLdapAuthenticationFlag',
244
261
  :'enable_mobile_flag' => :'enableMobileFlag',
262
+ :'type' => :'type',
263
+ :'employee_identifer' => :'employeeIdentifer',
264
+ :'vendor_number' => :'vendorNumber',
265
+ :'notes' => :'notes',
266
+ :'time_zone' => :'timeZone',
267
+ :'country' => :'country',
268
+ :'service_board_team_ids' => :'serviceBoardTeamIds',
245
269
  :'enable_mobile_gps_flag' => :'enableMobileGpsFlag',
246
- :'enter_time_against_company_flag' => :'enterTimeAgainstCompanyFlag',
247
- :'expense_approver' => :'expenseApprover',
248
- :'first_name' => :'firstName',
249
- :'hide_member_in_dispatch_portal_flag' => :'hideMemberInDispatchPortalFlag',
250
- :'hire_date' => :'hireDate',
251
- :'home_email' => :'homeEmail',
252
- :'home_extension' => :'homeExtension',
253
- :'home_phone' => :'homePhone',
254
- :'hourly_cost' => :'hourlyCost',
255
- :'hourly_rate' => :'hourlyRate',
256
- :'id' => :'id',
257
- :'identifier' => :'identifier',
258
270
  :'inactive_date' => :'inactiveDate',
259
271
  :'inactive_flag' => :'inactiveFlag',
260
- :'include_in_utilization_reporting_flag' => :'includeInUtilizationReportingFlag',
261
272
  :'last_login' => :'lastLogin',
262
- :'last_name' => :'lastName',
263
- :'license_class' => :'licenseClass',
264
- :'mapi_name' => :'mapiName',
265
- :'middle_initial' => :'middleInitial',
266
- :'minimum_hours' => :'minimumHours',
267
- :'mobile_email' => :'mobileEmail',
268
- :'mobile_extension' => :'mobileExtension',
269
- :'mobile_phone' => :'mobilePhone',
270
- :'notes' => :'notes',
273
+ :'photo' => :'photo',
271
274
  :'office_email' => :'officeEmail',
272
- :'office_extension' => :'officeExtension',
273
275
  :'office_phone' => :'officePhone',
274
- :'project_default_board' => :'projectDefaultBoard',
275
- :'project_default_department_id' => :'projectDefaultDepartmentId',
276
- :'project_default_location_id' => :'projectDefaultLocationId',
276
+ :'office_extension' => :'officeExtension',
277
+ :'mobile_email' => :'mobileEmail',
278
+ :'mobile_phone' => :'mobilePhone',
279
+ :'mobile_extension' => :'mobileExtension',
280
+ :'home_email' => :'homeEmail',
281
+ :'home_phone' => :'homePhone',
282
+ :'home_extension' => :'homeExtension',
283
+ :'default_email' => :'defaultEmail',
284
+ :'default_phone' => :'defaultPhone',
285
+ :'security_role' => :'securityRole',
286
+ :'admin_flag' => :'adminFlag',
287
+ :'structure_level' => :'structureLevel',
288
+ :'security_location' => :'securityLocation',
289
+ :'default_location' => :'defaultLocation',
290
+ :'default_department' => :'defaultDepartment',
277
291
  :'reports_to' => :'reportsTo',
292
+ :'restrict_location_flag' => :'restrictLocationFlag',
293
+ :'restrict_department_flag' => :'restrictDepartmentFlag',
294
+ :'work_role' => :'workRole',
295
+ :'work_type' => :'workType',
296
+ :'time_approver' => :'timeApprover',
297
+ :'expense_approver' => :'expenseApprover',
298
+ :'billable_forecast' => :'billableForecast',
299
+ :'daily_capacity' => :'dailyCapacity',
300
+ :'hourly_cost' => :'hourlyCost',
301
+ :'hourly_rate' => :'hourlyRate',
302
+ :'include_in_utilization_reporting_flag' => :'includeInUtilizationReportingFlag',
278
303
  :'require_expense_entry_flag' => :'requireExpenseEntryFlag',
279
- :'require_start_and_end_time_on_time_entry_flag' => :'requireStartAndEndTimeOnTimeEntryFlag',
280
304
  :'require_time_sheet_entry_flag' => :'requireTimeSheetEntryFlag',
281
- :'restrict_default_sales_territory_flag' => :'restrictDefaultSalesTerritoryFlag',
282
- :'restrict_default_warehouse_bin_flag' => :'restrictDefaultWarehouseBinFlag',
283
- :'restrict_default_warehouse_flag' => :'restrictDefaultWarehouseFlag',
284
- :'restrict_department_flag' => :'restrictDepartmentFlag',
285
- :'restrict_location_flag' => :'restrictLocationFlag',
286
- :'restrict_project_default_department_flag' => :'restrictProjectDefaultDepartmentFlag',
287
- :'restrict_project_default_location_flag' => :'restrictProjectDefaultLocationFlag',
288
- :'restrict_schedule_flag' => :'restrictScheduleFlag',
289
- :'restrict_service_default_department_flag' => :'restrictServiceDefaultDepartmentFlag',
305
+ :'require_start_and_end_time_on_time_entry_flag' => :'requireStartAndEndTimeOnTimeEntryFlag',
306
+ :'allow_in_cell_entry_on_time_sheet' => :'allowInCellEntryOnTimeSheet',
307
+ :'enter_time_against_company_flag' => :'enterTimeAgainstCompanyFlag',
308
+ :'allow_expenses_entered_against_companies_flag' => :'allowExpensesEnteredAgainstCompaniesFlag',
309
+ :'time_reminder_email_flag' => :'timeReminderEmailFlag',
310
+ :'days_tolerance' => :'daysTolerance',
311
+ :'minimum_hours' => :'minimumHours',
312
+ :'time_sheet_start_date' => :'timeSheetStartDate',
313
+ :'hire_date' => :'hireDate',
314
+ :'service_default_location' => :'serviceDefaultLocation',
315
+ :'service_default_department' => :'serviceDefaultDepartment',
316
+ :'service_default_board' => :'serviceDefaultBoard',
290
317
  :'restrict_service_default_location_flag' => :'restrictServiceDefaultLocationFlag',
291
- :'sales_default_location_id' => :'salesDefaultLocationId',
318
+ :'restrict_service_default_department_flag' => :'restrictServiceDefaultDepartmentFlag',
319
+ :'excluded_service_board_ids' => :'excludedServiceBoardIds',
320
+ :'project_default_location' => :'projectDefaultLocation',
321
+ :'project_default_department' => :'projectDefaultDepartment',
322
+ :'project_default_board' => :'projectDefaultBoard',
323
+ :'restrict_project_default_location_flag' => :'restrictProjectDefaultLocationFlag',
324
+ :'restrict_project_default_department_flag' => :'restrictProjectDefaultDepartmentFlag',
325
+ :'excluded_project_board_ids' => :'excludedProjectBoardIds',
326
+ :'schedule_default_location' => :'scheduleDefaultLocation',
327
+ :'schedule_default_department' => :'scheduleDefaultDepartment',
292
328
  :'schedule_capacity' => :'scheduleCapacity',
293
- :'schedule_default_department_id' => :'scheduleDefaultDepartmentId',
294
- :'schedule_default_location_id' => :'scheduleDefaultLocationId',
295
- :'security_level' => :'securityLevel',
296
- :'security_location_id' => :'securityLocationId',
297
- :'security_role' => :'securityRole',
298
- :'service_default_board' => :'serviceDefaultBoard',
299
- :'service_default_department_id' => :'serviceDefaultDepartmentId',
300
- :'service_default_location_id' => :'serviceDefaultLocationId',
301
329
  :'service_location' => :'serviceLocation',
302
- :'service_teams' => :'serviceTeams',
303
- :'time_approver' => :'timeApprover',
304
- :'time_reminder_email_flag' => :'timeReminderEmailFlag',
305
- :'time_sheet_start_date' => :'timeSheetStartDate',
306
- :'time_zone' => :'timeZone',
307
- :'title' => :'title',
308
- :'type' => :'type',
309
- :'vendor_number' => :'vendorNumber',
330
+ :'restrict_schedule_flag' => :'restrictScheduleFlag',
331
+ :'hide_member_in_dispatch_portal_flag' => :'hideMemberInDispatchPortalFlag',
332
+ :'calendar' => :'calendar',
333
+ :'sales_default_location' => :'salesDefaultLocation',
334
+ :'restrict_default_sales_territory_flag' => :'restrictDefaultSalesTerritoryFlag',
310
335
  :'warehouse' => :'warehouse',
311
336
  :'warehouse_bin' => :'warehouseBin',
312
- :'work_role' => :'workRole',
313
- :'work_type' => :'workType',
314
- :'_info' => :'_info',
315
- :'system_flag' => :'System_Flag'
337
+ :'restrict_default_warehouse_flag' => :'restrictDefaultWarehouseFlag',
338
+ :'restrict_default_warehouse_bin_flag' => :'restrictDefaultWarehouseBinFlag',
339
+ :'mapi_name' => :'mapiName',
340
+ :'calendar_sync_integration_flag' => :'calendarSyncIntegrationFlag',
341
+ :'enable_ldap_authentication_flag' => :'enableLdapAuthenticationFlag',
342
+ :'ldap_configuration' => :'ldapConfiguration',
343
+ :'ldap_user_name' => :'ldapUserName',
344
+ :'company_activity_tab_format' => :'companyActivityTabFormat',
345
+ :'invoice_time_tab_format' => :'invoiceTimeTabFormat',
346
+ :'invoice_screen_default_tab_format' => :'invoiceScreenDefaultTabFormat',
347
+ :'invoicing_display_options' => :'invoicingDisplayOptions',
348
+ :'agreement_invoicing_display_options' => :'agreementInvoicingDisplayOptions',
349
+ :'corelytics_username' => :'corelyticsUsername',
350
+ :'corelytics_password' => :'corelyticsPassword',
351
+ :'remote_package' => :'remotePackage',
352
+ :'remote_package_platform' => :'remotePackagePlatform',
353
+ :'remote_package_user_name' => :'remotePackageUserName',
354
+ :'remote_package_password' => :'remotePackagePassword',
355
+ :'remote_package_account' => :'remotePackageAccount',
356
+ :'authentication_service_type' => :'authenticationServiceType',
357
+ :'timebased_one_time_password_activated' => :'timebasedOneTimePasswordActivated',
358
+ :'_info' => :'_info'
316
359
  }
317
360
  end
318
361
 
319
362
  # Attribute type mapping.
320
363
  def self.swagger_types
321
364
  {
322
- :'admin_flag' => :'BOOLEAN',
323
- :'allow_expenses_entered_against_companies_flag' => :'BOOLEAN',
324
- :'allow_in_cell_entry_on_time_sheet' => :'BOOLEAN',
325
- :'billable_forecast' => :'Float',
326
- :'calendar' => :'CalendarReference',
327
- :'calendar_sync_integration_flag' => :'BOOLEAN',
328
- :'country' => :'CountryReference',
329
- :'daily_capacity' => :'Float',
330
- :'days_tolerance' => :'Integer',
331
- :'default_department_id' => :'Integer',
332
- :'default_email' => :'String',
333
- :'default_location_id' => :'Integer',
334
- :'default_phone' => :'String',
365
+ :'id' => :'Integer',
366
+ :'identifier' => :'String',
367
+ :'password' => :'String',
368
+ :'first_name' => :'String',
369
+ :'middle_initial' => :'String',
370
+ :'last_name' => :'String',
371
+ :'title' => :'String',
372
+ :'report_card' => :'ReportCardReference',
373
+ :'license_class' => :'String',
335
374
  :'disable_online_flag' => :'BOOLEAN',
336
- :'enable_ldap_authentication_flag' => :'BOOLEAN',
337
375
  :'enable_mobile_flag' => :'BOOLEAN',
376
+ :'type' => :'MemberTypeReference',
377
+ :'employee_identifer' => :'String',
378
+ :'vendor_number' => :'String',
379
+ :'notes' => :'String',
380
+ :'time_zone' => :'TimeZoneSetupReference',
381
+ :'country' => :'CountryReference',
382
+ :'service_board_team_ids' => :'Array<Integer>',
338
383
  :'enable_mobile_gps_flag' => :'BOOLEAN',
339
- :'enter_time_against_company_flag' => :'BOOLEAN',
340
- :'expense_approver' => :'MemberReference',
341
- :'first_name' => :'String',
342
- :'hide_member_in_dispatch_portal_flag' => :'BOOLEAN',
343
- :'hire_date' => :'DateTime',
344
- :'home_email' => :'String',
345
- :'home_extension' => :'String',
346
- :'home_phone' => :'String',
347
- :'hourly_cost' => :'Float',
348
- :'hourly_rate' => :'Float',
349
- :'id' => :'Integer',
350
- :'identifier' => :'String',
351
384
  :'inactive_date' => :'DateTime',
352
385
  :'inactive_flag' => :'BOOLEAN',
353
- :'include_in_utilization_reporting_flag' => :'BOOLEAN',
354
386
  :'last_login' => :'String',
355
- :'last_name' => :'String',
356
- :'license_class' => :'String',
357
- :'mapi_name' => :'String',
358
- :'middle_initial' => :'String',
359
- :'minimum_hours' => :'Float',
360
- :'mobile_email' => :'String',
361
- :'mobile_extension' => :'String',
362
- :'mobile_phone' => :'String',
363
- :'notes' => :'String',
387
+ :'photo' => :'DocumentReference',
364
388
  :'office_email' => :'String',
365
- :'office_extension' => :'String',
366
389
  :'office_phone' => :'String',
367
- :'project_default_board' => :'ProjectBoardReference',
368
- :'project_default_department_id' => :'Integer',
369
- :'project_default_location_id' => :'Integer',
390
+ :'office_extension' => :'String',
391
+ :'mobile_email' => :'String',
392
+ :'mobile_phone' => :'String',
393
+ :'mobile_extension' => :'String',
394
+ :'home_email' => :'String',
395
+ :'home_phone' => :'String',
396
+ :'home_extension' => :'String',
397
+ :'default_email' => :'String',
398
+ :'default_phone' => :'String',
399
+ :'security_role' => :'SecurityRoleReference',
400
+ :'admin_flag' => :'BOOLEAN',
401
+ :'structure_level' => :'StructureReference',
402
+ :'security_location' => :'SystemLocationReference',
403
+ :'default_location' => :'SystemLocationReference',
404
+ :'default_department' => :'SystemDepartmentReference',
370
405
  :'reports_to' => :'MemberReference',
406
+ :'restrict_location_flag' => :'BOOLEAN',
407
+ :'restrict_department_flag' => :'BOOLEAN',
408
+ :'work_role' => :'WorkRoleReference',
409
+ :'work_type' => :'WorkTypeReference',
410
+ :'time_approver' => :'MemberReference',
411
+ :'expense_approver' => :'MemberReference',
412
+ :'billable_forecast' => :'Float',
413
+ :'daily_capacity' => :'Float',
414
+ :'hourly_cost' => :'Float',
415
+ :'hourly_rate' => :'Float',
416
+ :'include_in_utilization_reporting_flag' => :'BOOLEAN',
371
417
  :'require_expense_entry_flag' => :'BOOLEAN',
372
- :'require_start_and_end_time_on_time_entry_flag' => :'BOOLEAN',
373
418
  :'require_time_sheet_entry_flag' => :'BOOLEAN',
374
- :'restrict_default_sales_territory_flag' => :'BOOLEAN',
375
- :'restrict_default_warehouse_bin_flag' => :'BOOLEAN',
376
- :'restrict_default_warehouse_flag' => :'BOOLEAN',
377
- :'restrict_department_flag' => :'BOOLEAN',
378
- :'restrict_location_flag' => :'BOOLEAN',
379
- :'restrict_project_default_department_flag' => :'BOOLEAN',
380
- :'restrict_project_default_location_flag' => :'BOOLEAN',
381
- :'restrict_schedule_flag' => :'BOOLEAN',
382
- :'restrict_service_default_department_flag' => :'BOOLEAN',
419
+ :'require_start_and_end_time_on_time_entry_flag' => :'BOOLEAN',
420
+ :'allow_in_cell_entry_on_time_sheet' => :'BOOLEAN',
421
+ :'enter_time_against_company_flag' => :'BOOLEAN',
422
+ :'allow_expenses_entered_against_companies_flag' => :'BOOLEAN',
423
+ :'time_reminder_email_flag' => :'BOOLEAN',
424
+ :'days_tolerance' => :'Integer',
425
+ :'minimum_hours' => :'Float',
426
+ :'time_sheet_start_date' => :'DateTime',
427
+ :'hire_date' => :'DateTime',
428
+ :'service_default_location' => :'SystemLocationReference',
429
+ :'service_default_department' => :'SystemDepartmentReference',
430
+ :'service_default_board' => :'BoardReference',
383
431
  :'restrict_service_default_location_flag' => :'BOOLEAN',
384
- :'sales_default_location_id' => :'Integer',
432
+ :'restrict_service_default_department_flag' => :'BOOLEAN',
433
+ :'excluded_service_board_ids' => :'Array<Integer>',
434
+ :'project_default_location' => :'SystemLocationReference',
435
+ :'project_default_department' => :'SystemDepartmentReference',
436
+ :'project_default_board' => :'ProjectBoardReference',
437
+ :'restrict_project_default_location_flag' => :'BOOLEAN',
438
+ :'restrict_project_default_department_flag' => :'BOOLEAN',
439
+ :'excluded_project_board_ids' => :'Array<Integer>',
440
+ :'schedule_default_location' => :'SystemLocationReference',
441
+ :'schedule_default_department' => :'SystemDepartmentReference',
385
442
  :'schedule_capacity' => :'Float',
386
- :'schedule_default_department_id' => :'Integer',
387
- :'schedule_default_location_id' => :'Integer',
388
- :'security_level' => :'String',
389
- :'security_location_id' => :'Integer',
390
- :'security_role' => :'SecurityRoleReference',
391
- :'service_default_board' => :'BoardReference',
392
- :'service_default_department_id' => :'Integer',
393
- :'service_default_location_id' => :'Integer',
394
443
  :'service_location' => :'ServiceLocationReference',
395
- :'service_teams' => :'Array<Integer>',
396
- :'time_approver' => :'MemberReference',
397
- :'time_reminder_email_flag' => :'BOOLEAN',
398
- :'time_sheet_start_date' => :'DateTime',
399
- :'time_zone' => :'TimeZoneReference',
400
- :'title' => :'String',
401
- :'type' => :'MemberTypeReference',
402
- :'vendor_number' => :'String',
444
+ :'restrict_schedule_flag' => :'BOOLEAN',
445
+ :'hide_member_in_dispatch_portal_flag' => :'BOOLEAN',
446
+ :'calendar' => :'CalendarReference',
447
+ :'sales_default_location' => :'SystemLocationReference',
448
+ :'restrict_default_sales_territory_flag' => :'BOOLEAN',
403
449
  :'warehouse' => :'WarehouseReference',
404
450
  :'warehouse_bin' => :'WarehouseBinReference',
405
- :'work_role' => :'WorkRoleReference',
406
- :'work_type' => :'WorkTypeReference',
407
- :'_info' => :'Metadata',
408
- :'system_flag' => :'BOOLEAN'
451
+ :'restrict_default_warehouse_flag' => :'BOOLEAN',
452
+ :'restrict_default_warehouse_bin_flag' => :'BOOLEAN',
453
+ :'mapi_name' => :'String',
454
+ :'calendar_sync_integration_flag' => :'BOOLEAN',
455
+ :'enable_ldap_authentication_flag' => :'BOOLEAN',
456
+ :'ldap_configuration' => :'LdapConfigurationReference',
457
+ :'ldap_user_name' => :'String',
458
+ :'company_activity_tab_format' => :'String',
459
+ :'invoice_time_tab_format' => :'String',
460
+ :'invoice_screen_default_tab_format' => :'String',
461
+ :'invoicing_display_options' => :'String',
462
+ :'agreement_invoicing_display_options' => :'String',
463
+ :'corelytics_username' => :'String',
464
+ :'corelytics_password' => :'String',
465
+ :'remote_package' => :'String',
466
+ :'remote_package_platform' => :'String',
467
+ :'remote_package_user_name' => :'String',
468
+ :'remote_package_password' => :'String',
469
+ :'remote_package_account' => :'String',
470
+ :'authentication_service_type' => :'String',
471
+ :'timebased_one_time_password_activated' => :'BOOLEAN',
472
+ :'_info' => :'Metadata'
409
473
  }
410
474
  end
411
475
 
@@ -417,370 +481,460 @@ module Connectwise
417
481
  # convert string to symbol for hash key
418
482
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
419
483
 
420
- if attributes.has_key?(:'adminFlag')
421
- self.admin_flag = attributes[:'adminFlag']
484
+ if attributes.has_key?(:'id')
485
+ self.id = attributes[:'id']
422
486
  end
423
487
 
424
- if attributes.has_key?(:'allowExpensesEnteredAgainstCompaniesFlag')
425
- self.allow_expenses_entered_against_companies_flag = attributes[:'allowExpensesEnteredAgainstCompaniesFlag']
488
+ if attributes.has_key?(:'identifier')
489
+ self.identifier = attributes[:'identifier']
426
490
  end
427
491
 
428
- if attributes.has_key?(:'allowInCellEntryOnTimeSheet')
429
- self.allow_in_cell_entry_on_time_sheet = attributes[:'allowInCellEntryOnTimeSheet']
492
+ if attributes.has_key?(:'password')
493
+ self.password = attributes[:'password']
430
494
  end
431
495
 
432
- if attributes.has_key?(:'billableForecast')
433
- self.billable_forecast = attributes[:'billableForecast']
496
+ if attributes.has_key?(:'firstName')
497
+ self.first_name = attributes[:'firstName']
434
498
  end
435
499
 
436
- if attributes.has_key?(:'calendar')
437
- self.calendar = attributes[:'calendar']
500
+ if attributes.has_key?(:'middleInitial')
501
+ self.middle_initial = attributes[:'middleInitial']
438
502
  end
439
503
 
440
- if attributes.has_key?(:'calendarSyncIntegrationFlag')
441
- self.calendar_sync_integration_flag = attributes[:'calendarSyncIntegrationFlag']
504
+ if attributes.has_key?(:'lastName')
505
+ self.last_name = attributes[:'lastName']
442
506
  end
443
507
 
444
- if attributes.has_key?(:'country')
445
- self.country = attributes[:'country']
508
+ if attributes.has_key?(:'title')
509
+ self.title = attributes[:'title']
446
510
  end
447
511
 
448
- if attributes.has_key?(:'dailyCapacity')
449
- self.daily_capacity = attributes[:'dailyCapacity']
512
+ if attributes.has_key?(:'reportCard')
513
+ self.report_card = attributes[:'reportCard']
450
514
  end
451
515
 
452
- if attributes.has_key?(:'daysTolerance')
453
- self.days_tolerance = attributes[:'daysTolerance']
516
+ if attributes.has_key?(:'licenseClass')
517
+ self.license_class = attributes[:'licenseClass']
454
518
  end
455
519
 
456
- if attributes.has_key?(:'defaultDepartmentId')
457
- self.default_department_id = attributes[:'defaultDepartmentId']
520
+ if attributes.has_key?(:'disableOnlineFlag')
521
+ self.disable_online_flag = attributes[:'disableOnlineFlag']
458
522
  end
459
523
 
460
- if attributes.has_key?(:'defaultEmail')
461
- self.default_email = attributes[:'defaultEmail']
524
+ if attributes.has_key?(:'enableMobileFlag')
525
+ self.enable_mobile_flag = attributes[:'enableMobileFlag']
462
526
  end
463
527
 
464
- if attributes.has_key?(:'defaultLocationId')
465
- self.default_location_id = attributes[:'defaultLocationId']
528
+ if attributes.has_key?(:'type')
529
+ self.type = attributes[:'type']
466
530
  end
467
531
 
468
- if attributes.has_key?(:'defaultPhone')
469
- self.default_phone = attributes[:'defaultPhone']
532
+ if attributes.has_key?(:'employeeIdentifer')
533
+ self.employee_identifer = attributes[:'employeeIdentifer']
470
534
  end
471
535
 
472
- if attributes.has_key?(:'disableOnlineFlag')
473
- self.disable_online_flag = attributes[:'disableOnlineFlag']
536
+ if attributes.has_key?(:'vendorNumber')
537
+ self.vendor_number = attributes[:'vendorNumber']
474
538
  end
475
539
 
476
- if attributes.has_key?(:'enableLdapAuthenticationFlag')
477
- self.enable_ldap_authentication_flag = attributes[:'enableLdapAuthenticationFlag']
540
+ if attributes.has_key?(:'notes')
541
+ self.notes = attributes[:'notes']
478
542
  end
479
543
 
480
- if attributes.has_key?(:'enableMobileFlag')
481
- self.enable_mobile_flag = attributes[:'enableMobileFlag']
544
+ if attributes.has_key?(:'timeZone')
545
+ self.time_zone = attributes[:'timeZone']
546
+ end
547
+
548
+ if attributes.has_key?(:'country')
549
+ self.country = attributes[:'country']
550
+ end
551
+
552
+ if attributes.has_key?(:'serviceBoardTeamIds')
553
+ if (value = attributes[:'serviceBoardTeamIds']).is_a?(Array)
554
+ self.service_board_team_ids = value
555
+ end
482
556
  end
483
557
 
484
558
  if attributes.has_key?(:'enableMobileGpsFlag')
485
559
  self.enable_mobile_gps_flag = attributes[:'enableMobileGpsFlag']
486
560
  end
487
561
 
488
- if attributes.has_key?(:'enterTimeAgainstCompanyFlag')
489
- self.enter_time_against_company_flag = attributes[:'enterTimeAgainstCompanyFlag']
562
+ if attributes.has_key?(:'inactiveDate')
563
+ self.inactive_date = attributes[:'inactiveDate']
490
564
  end
491
565
 
492
- if attributes.has_key?(:'expenseApprover')
493
- self.expense_approver = attributes[:'expenseApprover']
566
+ if attributes.has_key?(:'inactiveFlag')
567
+ self.inactive_flag = attributes[:'inactiveFlag']
494
568
  end
495
569
 
496
- if attributes.has_key?(:'firstName')
497
- self.first_name = attributes[:'firstName']
570
+ if attributes.has_key?(:'lastLogin')
571
+ self.last_login = attributes[:'lastLogin']
498
572
  end
499
573
 
500
- if attributes.has_key?(:'hideMemberInDispatchPortalFlag')
501
- self.hide_member_in_dispatch_portal_flag = attributes[:'hideMemberInDispatchPortalFlag']
574
+ if attributes.has_key?(:'photo')
575
+ self.photo = attributes[:'photo']
502
576
  end
503
577
 
504
- if attributes.has_key?(:'hireDate')
505
- self.hire_date = attributes[:'hireDate']
578
+ if attributes.has_key?(:'officeEmail')
579
+ self.office_email = attributes[:'officeEmail']
506
580
  end
507
581
 
508
- if attributes.has_key?(:'homeEmail')
509
- self.home_email = attributes[:'homeEmail']
582
+ if attributes.has_key?(:'officePhone')
583
+ self.office_phone = attributes[:'officePhone']
510
584
  end
511
585
 
512
- if attributes.has_key?(:'homeExtension')
513
- self.home_extension = attributes[:'homeExtension']
586
+ if attributes.has_key?(:'officeExtension')
587
+ self.office_extension = attributes[:'officeExtension']
514
588
  end
515
589
 
516
- if attributes.has_key?(:'homePhone')
517
- self.home_phone = attributes[:'homePhone']
590
+ if attributes.has_key?(:'mobileEmail')
591
+ self.mobile_email = attributes[:'mobileEmail']
518
592
  end
519
593
 
520
- if attributes.has_key?(:'hourlyCost')
521
- self.hourly_cost = attributes[:'hourlyCost']
594
+ if attributes.has_key?(:'mobilePhone')
595
+ self.mobile_phone = attributes[:'mobilePhone']
522
596
  end
523
597
 
524
- if attributes.has_key?(:'hourlyRate')
525
- self.hourly_rate = attributes[:'hourlyRate']
598
+ if attributes.has_key?(:'mobileExtension')
599
+ self.mobile_extension = attributes[:'mobileExtension']
526
600
  end
527
601
 
528
- if attributes.has_key?(:'id')
529
- self.id = attributes[:'id']
602
+ if attributes.has_key?(:'homeEmail')
603
+ self.home_email = attributes[:'homeEmail']
530
604
  end
531
605
 
532
- if attributes.has_key?(:'identifier')
533
- self.identifier = attributes[:'identifier']
606
+ if attributes.has_key?(:'homePhone')
607
+ self.home_phone = attributes[:'homePhone']
534
608
  end
535
609
 
536
- if attributes.has_key?(:'inactiveDate')
537
- self.inactive_date = attributes[:'inactiveDate']
610
+ if attributes.has_key?(:'homeExtension')
611
+ self.home_extension = attributes[:'homeExtension']
538
612
  end
539
613
 
540
- if attributes.has_key?(:'inactiveFlag')
541
- self.inactive_flag = attributes[:'inactiveFlag']
614
+ if attributes.has_key?(:'defaultEmail')
615
+ self.default_email = attributes[:'defaultEmail']
542
616
  end
543
617
 
544
- if attributes.has_key?(:'includeInUtilizationReportingFlag')
545
- self.include_in_utilization_reporting_flag = attributes[:'includeInUtilizationReportingFlag']
618
+ if attributes.has_key?(:'defaultPhone')
619
+ self.default_phone = attributes[:'defaultPhone']
546
620
  end
547
621
 
548
- if attributes.has_key?(:'lastLogin')
549
- self.last_login = attributes[:'lastLogin']
622
+ if attributes.has_key?(:'securityRole')
623
+ self.security_role = attributes[:'securityRole']
550
624
  end
551
625
 
552
- if attributes.has_key?(:'lastName')
553
- self.last_name = attributes[:'lastName']
626
+ if attributes.has_key?(:'adminFlag')
627
+ self.admin_flag = attributes[:'adminFlag']
554
628
  end
555
629
 
556
- if attributes.has_key?(:'licenseClass')
557
- self.license_class = attributes[:'licenseClass']
630
+ if attributes.has_key?(:'structureLevel')
631
+ self.structure_level = attributes[:'structureLevel']
558
632
  end
559
633
 
560
- if attributes.has_key?(:'mapiName')
561
- self.mapi_name = attributes[:'mapiName']
634
+ if attributes.has_key?(:'securityLocation')
635
+ self.security_location = attributes[:'securityLocation']
562
636
  end
563
637
 
564
- if attributes.has_key?(:'middleInitial')
565
- self.middle_initial = attributes[:'middleInitial']
638
+ if attributes.has_key?(:'defaultLocation')
639
+ self.default_location = attributes[:'defaultLocation']
566
640
  end
567
641
 
568
- if attributes.has_key?(:'minimumHours')
569
- self.minimum_hours = attributes[:'minimumHours']
642
+ if attributes.has_key?(:'defaultDepartment')
643
+ self.default_department = attributes[:'defaultDepartment']
570
644
  end
571
645
 
572
- if attributes.has_key?(:'mobileEmail')
573
- self.mobile_email = attributes[:'mobileEmail']
646
+ if attributes.has_key?(:'reportsTo')
647
+ self.reports_to = attributes[:'reportsTo']
574
648
  end
575
649
 
576
- if attributes.has_key?(:'mobileExtension')
577
- self.mobile_extension = attributes[:'mobileExtension']
650
+ if attributes.has_key?(:'restrictLocationFlag')
651
+ self.restrict_location_flag = attributes[:'restrictLocationFlag']
578
652
  end
579
653
 
580
- if attributes.has_key?(:'mobilePhone')
581
- self.mobile_phone = attributes[:'mobilePhone']
654
+ if attributes.has_key?(:'restrictDepartmentFlag')
655
+ self.restrict_department_flag = attributes[:'restrictDepartmentFlag']
582
656
  end
583
657
 
584
- if attributes.has_key?(:'notes')
585
- self.notes = attributes[:'notes']
658
+ if attributes.has_key?(:'workRole')
659
+ self.work_role = attributes[:'workRole']
586
660
  end
587
661
 
588
- if attributes.has_key?(:'officeEmail')
589
- self.office_email = attributes[:'officeEmail']
662
+ if attributes.has_key?(:'workType')
663
+ self.work_type = attributes[:'workType']
590
664
  end
591
665
 
592
- if attributes.has_key?(:'officeExtension')
593
- self.office_extension = attributes[:'officeExtension']
666
+ if attributes.has_key?(:'timeApprover')
667
+ self.time_approver = attributes[:'timeApprover']
594
668
  end
595
669
 
596
- if attributes.has_key?(:'officePhone')
597
- self.office_phone = attributes[:'officePhone']
670
+ if attributes.has_key?(:'expenseApprover')
671
+ self.expense_approver = attributes[:'expenseApprover']
598
672
  end
599
673
 
600
- if attributes.has_key?(:'projectDefaultBoard')
601
- self.project_default_board = attributes[:'projectDefaultBoard']
674
+ if attributes.has_key?(:'billableForecast')
675
+ self.billable_forecast = attributes[:'billableForecast']
602
676
  end
603
677
 
604
- if attributes.has_key?(:'projectDefaultDepartmentId')
605
- self.project_default_department_id = attributes[:'projectDefaultDepartmentId']
678
+ if attributes.has_key?(:'dailyCapacity')
679
+ self.daily_capacity = attributes[:'dailyCapacity']
606
680
  end
607
681
 
608
- if attributes.has_key?(:'projectDefaultLocationId')
609
- self.project_default_location_id = attributes[:'projectDefaultLocationId']
682
+ if attributes.has_key?(:'hourlyCost')
683
+ self.hourly_cost = attributes[:'hourlyCost']
610
684
  end
611
685
 
612
- if attributes.has_key?(:'reportsTo')
613
- self.reports_to = attributes[:'reportsTo']
686
+ if attributes.has_key?(:'hourlyRate')
687
+ self.hourly_rate = attributes[:'hourlyRate']
688
+ end
689
+
690
+ if attributes.has_key?(:'includeInUtilizationReportingFlag')
691
+ self.include_in_utilization_reporting_flag = attributes[:'includeInUtilizationReportingFlag']
614
692
  end
615
693
 
616
694
  if attributes.has_key?(:'requireExpenseEntryFlag')
617
695
  self.require_expense_entry_flag = attributes[:'requireExpenseEntryFlag']
618
696
  end
619
697
 
698
+ if attributes.has_key?(:'requireTimeSheetEntryFlag')
699
+ self.require_time_sheet_entry_flag = attributes[:'requireTimeSheetEntryFlag']
700
+ end
701
+
620
702
  if attributes.has_key?(:'requireStartAndEndTimeOnTimeEntryFlag')
621
703
  self.require_start_and_end_time_on_time_entry_flag = attributes[:'requireStartAndEndTimeOnTimeEntryFlag']
622
704
  end
623
705
 
624
- if attributes.has_key?(:'requireTimeSheetEntryFlag')
625
- self.require_time_sheet_entry_flag = attributes[:'requireTimeSheetEntryFlag']
706
+ if attributes.has_key?(:'allowInCellEntryOnTimeSheet')
707
+ self.allow_in_cell_entry_on_time_sheet = attributes[:'allowInCellEntryOnTimeSheet']
626
708
  end
627
709
 
628
- if attributes.has_key?(:'restrictDefaultSalesTerritoryFlag')
629
- self.restrict_default_sales_territory_flag = attributes[:'restrictDefaultSalesTerritoryFlag']
710
+ if attributes.has_key?(:'enterTimeAgainstCompanyFlag')
711
+ self.enter_time_against_company_flag = attributes[:'enterTimeAgainstCompanyFlag']
630
712
  end
631
713
 
632
- if attributes.has_key?(:'restrictDefaultWarehouseBinFlag')
633
- self.restrict_default_warehouse_bin_flag = attributes[:'restrictDefaultWarehouseBinFlag']
714
+ if attributes.has_key?(:'allowExpensesEnteredAgainstCompaniesFlag')
715
+ self.allow_expenses_entered_against_companies_flag = attributes[:'allowExpensesEnteredAgainstCompaniesFlag']
634
716
  end
635
717
 
636
- if attributes.has_key?(:'restrictDefaultWarehouseFlag')
637
- self.restrict_default_warehouse_flag = attributes[:'restrictDefaultWarehouseFlag']
718
+ if attributes.has_key?(:'timeReminderEmailFlag')
719
+ self.time_reminder_email_flag = attributes[:'timeReminderEmailFlag']
638
720
  end
639
721
 
640
- if attributes.has_key?(:'restrictDepartmentFlag')
641
- self.restrict_department_flag = attributes[:'restrictDepartmentFlag']
722
+ if attributes.has_key?(:'daysTolerance')
723
+ self.days_tolerance = attributes[:'daysTolerance']
642
724
  end
643
725
 
644
- if attributes.has_key?(:'restrictLocationFlag')
645
- self.restrict_location_flag = attributes[:'restrictLocationFlag']
726
+ if attributes.has_key?(:'minimumHours')
727
+ self.minimum_hours = attributes[:'minimumHours']
646
728
  end
647
729
 
648
- if attributes.has_key?(:'restrictProjectDefaultDepartmentFlag')
649
- self.restrict_project_default_department_flag = attributes[:'restrictProjectDefaultDepartmentFlag']
730
+ if attributes.has_key?(:'timeSheetStartDate')
731
+ self.time_sheet_start_date = attributes[:'timeSheetStartDate']
732
+ end
733
+
734
+ if attributes.has_key?(:'hireDate')
735
+ self.hire_date = attributes[:'hireDate']
736
+ end
737
+
738
+ if attributes.has_key?(:'serviceDefaultLocation')
739
+ self.service_default_location = attributes[:'serviceDefaultLocation']
740
+ end
741
+
742
+ if attributes.has_key?(:'serviceDefaultDepartment')
743
+ self.service_default_department = attributes[:'serviceDefaultDepartment']
744
+ end
745
+
746
+ if attributes.has_key?(:'serviceDefaultBoard')
747
+ self.service_default_board = attributes[:'serviceDefaultBoard']
748
+ end
749
+
750
+ if attributes.has_key?(:'restrictServiceDefaultLocationFlag')
751
+ self.restrict_service_default_location_flag = attributes[:'restrictServiceDefaultLocationFlag']
752
+ end
753
+
754
+ if attributes.has_key?(:'restrictServiceDefaultDepartmentFlag')
755
+ self.restrict_service_default_department_flag = attributes[:'restrictServiceDefaultDepartmentFlag']
756
+ end
757
+
758
+ if attributes.has_key?(:'excludedServiceBoardIds')
759
+ if (value = attributes[:'excludedServiceBoardIds']).is_a?(Array)
760
+ self.excluded_service_board_ids = value
761
+ end
762
+ end
763
+
764
+ if attributes.has_key?(:'projectDefaultLocation')
765
+ self.project_default_location = attributes[:'projectDefaultLocation']
766
+ end
767
+
768
+ if attributes.has_key?(:'projectDefaultDepartment')
769
+ self.project_default_department = attributes[:'projectDefaultDepartment']
770
+ end
771
+
772
+ if attributes.has_key?(:'projectDefaultBoard')
773
+ self.project_default_board = attributes[:'projectDefaultBoard']
650
774
  end
651
775
 
652
776
  if attributes.has_key?(:'restrictProjectDefaultLocationFlag')
653
777
  self.restrict_project_default_location_flag = attributes[:'restrictProjectDefaultLocationFlag']
654
778
  end
655
779
 
780
+ if attributes.has_key?(:'restrictProjectDefaultDepartmentFlag')
781
+ self.restrict_project_default_department_flag = attributes[:'restrictProjectDefaultDepartmentFlag']
782
+ end
783
+
784
+ if attributes.has_key?(:'excludedProjectBoardIds')
785
+ if (value = attributes[:'excludedProjectBoardIds']).is_a?(Array)
786
+ self.excluded_project_board_ids = value
787
+ end
788
+ end
789
+
790
+ if attributes.has_key?(:'scheduleDefaultLocation')
791
+ self.schedule_default_location = attributes[:'scheduleDefaultLocation']
792
+ end
793
+
794
+ if attributes.has_key?(:'scheduleDefaultDepartment')
795
+ self.schedule_default_department = attributes[:'scheduleDefaultDepartment']
796
+ end
797
+
798
+ if attributes.has_key?(:'scheduleCapacity')
799
+ self.schedule_capacity = attributes[:'scheduleCapacity']
800
+ end
801
+
802
+ if attributes.has_key?(:'serviceLocation')
803
+ self.service_location = attributes[:'serviceLocation']
804
+ end
805
+
656
806
  if attributes.has_key?(:'restrictScheduleFlag')
657
807
  self.restrict_schedule_flag = attributes[:'restrictScheduleFlag']
658
808
  end
659
809
 
660
- if attributes.has_key?(:'restrictServiceDefaultDepartmentFlag')
661
- self.restrict_service_default_department_flag = attributes[:'restrictServiceDefaultDepartmentFlag']
810
+ if attributes.has_key?(:'hideMemberInDispatchPortalFlag')
811
+ self.hide_member_in_dispatch_portal_flag = attributes[:'hideMemberInDispatchPortalFlag']
662
812
  end
663
813
 
664
- if attributes.has_key?(:'restrictServiceDefaultLocationFlag')
665
- self.restrict_service_default_location_flag = attributes[:'restrictServiceDefaultLocationFlag']
814
+ if attributes.has_key?(:'calendar')
815
+ self.calendar = attributes[:'calendar']
816
+ end
817
+
818
+ if attributes.has_key?(:'salesDefaultLocation')
819
+ self.sales_default_location = attributes[:'salesDefaultLocation']
820
+ end
821
+
822
+ if attributes.has_key?(:'restrictDefaultSalesTerritoryFlag')
823
+ self.restrict_default_sales_territory_flag = attributes[:'restrictDefaultSalesTerritoryFlag']
666
824
  end
667
825
 
668
- if attributes.has_key?(:'salesDefaultLocationId')
669
- self.sales_default_location_id = attributes[:'salesDefaultLocationId']
826
+ if attributes.has_key?(:'warehouse')
827
+ self.warehouse = attributes[:'warehouse']
670
828
  end
671
829
 
672
- if attributes.has_key?(:'scheduleCapacity')
673
- self.schedule_capacity = attributes[:'scheduleCapacity']
830
+ if attributes.has_key?(:'warehouseBin')
831
+ self.warehouse_bin = attributes[:'warehouseBin']
674
832
  end
675
833
 
676
- if attributes.has_key?(:'scheduleDefaultDepartmentId')
677
- self.schedule_default_department_id = attributes[:'scheduleDefaultDepartmentId']
834
+ if attributes.has_key?(:'restrictDefaultWarehouseFlag')
835
+ self.restrict_default_warehouse_flag = attributes[:'restrictDefaultWarehouseFlag']
678
836
  end
679
837
 
680
- if attributes.has_key?(:'scheduleDefaultLocationId')
681
- self.schedule_default_location_id = attributes[:'scheduleDefaultLocationId']
838
+ if attributes.has_key?(:'restrictDefaultWarehouseBinFlag')
839
+ self.restrict_default_warehouse_bin_flag = attributes[:'restrictDefaultWarehouseBinFlag']
682
840
  end
683
841
 
684
- if attributes.has_key?(:'securityLevel')
685
- self.security_level = attributes[:'securityLevel']
842
+ if attributes.has_key?(:'mapiName')
843
+ self.mapi_name = attributes[:'mapiName']
686
844
  end
687
845
 
688
- if attributes.has_key?(:'securityLocationId')
689
- self.security_location_id = attributes[:'securityLocationId']
846
+ if attributes.has_key?(:'calendarSyncIntegrationFlag')
847
+ self.calendar_sync_integration_flag = attributes[:'calendarSyncIntegrationFlag']
690
848
  end
691
849
 
692
- if attributes.has_key?(:'securityRole')
693
- self.security_role = attributes[:'securityRole']
850
+ if attributes.has_key?(:'enableLdapAuthenticationFlag')
851
+ self.enable_ldap_authentication_flag = attributes[:'enableLdapAuthenticationFlag']
694
852
  end
695
853
 
696
- if attributes.has_key?(:'serviceDefaultBoard')
697
- self.service_default_board = attributes[:'serviceDefaultBoard']
854
+ if attributes.has_key?(:'ldapConfiguration')
855
+ self.ldap_configuration = attributes[:'ldapConfiguration']
698
856
  end
699
857
 
700
- if attributes.has_key?(:'serviceDefaultDepartmentId')
701
- self.service_default_department_id = attributes[:'serviceDefaultDepartmentId']
858
+ if attributes.has_key?(:'ldapUserName')
859
+ self.ldap_user_name = attributes[:'ldapUserName']
702
860
  end
703
861
 
704
- if attributes.has_key?(:'serviceDefaultLocationId')
705
- self.service_default_location_id = attributes[:'serviceDefaultLocationId']
862
+ if attributes.has_key?(:'companyActivityTabFormat')
863
+ self.company_activity_tab_format = attributes[:'companyActivityTabFormat']
706
864
  end
707
865
 
708
- if attributes.has_key?(:'serviceLocation')
709
- self.service_location = attributes[:'serviceLocation']
866
+ if attributes.has_key?(:'invoiceTimeTabFormat')
867
+ self.invoice_time_tab_format = attributes[:'invoiceTimeTabFormat']
710
868
  end
711
869
 
712
- if attributes.has_key?(:'serviceTeams')
713
- if (value = attributes[:'serviceTeams']).is_a?(Array)
714
- self.service_teams = value
715
- end
870
+ if attributes.has_key?(:'invoiceScreenDefaultTabFormat')
871
+ self.invoice_screen_default_tab_format = attributes[:'invoiceScreenDefaultTabFormat']
716
872
  end
717
873
 
718
- if attributes.has_key?(:'timeApprover')
719
- self.time_approver = attributes[:'timeApprover']
874
+ if attributes.has_key?(:'invoicingDisplayOptions')
875
+ self.invoicing_display_options = attributes[:'invoicingDisplayOptions']
720
876
  end
721
877
 
722
- if attributes.has_key?(:'timeReminderEmailFlag')
723
- self.time_reminder_email_flag = attributes[:'timeReminderEmailFlag']
878
+ if attributes.has_key?(:'agreementInvoicingDisplayOptions')
879
+ self.agreement_invoicing_display_options = attributes[:'agreementInvoicingDisplayOptions']
724
880
  end
725
881
 
726
- if attributes.has_key?(:'timeSheetStartDate')
727
- self.time_sheet_start_date = attributes[:'timeSheetStartDate']
882
+ if attributes.has_key?(:'corelyticsUsername')
883
+ self.corelytics_username = attributes[:'corelyticsUsername']
728
884
  end
729
885
 
730
- if attributes.has_key?(:'timeZone')
731
- self.time_zone = attributes[:'timeZone']
886
+ if attributes.has_key?(:'corelyticsPassword')
887
+ self.corelytics_password = attributes[:'corelyticsPassword']
732
888
  end
733
889
 
734
- if attributes.has_key?(:'title')
735
- self.title = attributes[:'title']
890
+ if attributes.has_key?(:'remotePackage')
891
+ self.remote_package = attributes[:'remotePackage']
736
892
  end
737
893
 
738
- if attributes.has_key?(:'type')
739
- self.type = attributes[:'type']
894
+ if attributes.has_key?(:'remotePackagePlatform')
895
+ self.remote_package_platform = attributes[:'remotePackagePlatform']
740
896
  end
741
897
 
742
- if attributes.has_key?(:'vendorNumber')
743
- self.vendor_number = attributes[:'vendorNumber']
898
+ if attributes.has_key?(:'remotePackageUserName')
899
+ self.remote_package_user_name = attributes[:'remotePackageUserName']
744
900
  end
745
901
 
746
- if attributes.has_key?(:'warehouse')
747
- self.warehouse = attributes[:'warehouse']
902
+ if attributes.has_key?(:'remotePackagePassword')
903
+ self.remote_package_password = attributes[:'remotePackagePassword']
748
904
  end
749
905
 
750
- if attributes.has_key?(:'warehouseBin')
751
- self.warehouse_bin = attributes[:'warehouseBin']
906
+ if attributes.has_key?(:'remotePackageAccount')
907
+ self.remote_package_account = attributes[:'remotePackageAccount']
752
908
  end
753
909
 
754
- if attributes.has_key?(:'workRole')
755
- self.work_role = attributes[:'workRole']
910
+ if attributes.has_key?(:'authenticationServiceType')
911
+ self.authentication_service_type = attributes[:'authenticationServiceType']
756
912
  end
757
913
 
758
- if attributes.has_key?(:'workType')
759
- self.work_type = attributes[:'workType']
914
+ if attributes.has_key?(:'timebasedOneTimePasswordActivated')
915
+ self.timebased_one_time_password_activated = attributes[:'timebasedOneTimePasswordActivated']
760
916
  end
761
917
 
762
918
  if attributes.has_key?(:'_info')
763
919
  self._info = attributes[:'_info']
764
920
  end
765
921
 
766
- if attributes.has_key?(:'System_Flag')
767
- self.system_flag = attributes[:'System_Flag']
768
- end
769
-
770
922
  end
771
923
 
772
924
  # Show invalid properties with the reasons. Usually used together with valid?
773
925
  # @return Array for valid properies with the reasons
774
926
  def list_invalid_properties
775
927
  invalid_properties = Array.new
776
-
777
- if !@default_email.nil? && @default_email.to_s.length > 250
778
- invalid_properties.push("invalid value for 'default_email', the character length must be smaller than or equal to 250.")
928
+ if @identifier.nil?
929
+ invalid_properties.push("invalid value for 'identifier', identifier cannot be nil.")
779
930
  end
780
931
 
932
+ if @identifier.to_s.length > 15
933
+ invalid_properties.push("invalid value for 'identifier', the character length must be smaller than or equal to 15.")
934
+ end
781
935
 
782
- if !@default_phone.nil? && @default_phone.to_s.length > 15
783
- invalid_properties.push("invalid value for 'default_phone', the character length must be smaller than or equal to 15.")
936
+ if !@password.nil? && @password.to_s.length > 60
937
+ invalid_properties.push("invalid value for 'password', the character length must be smaller than or equal to 60.")
784
938
  end
785
939
 
786
940
  if @first_name.nil?
@@ -791,70 +945,160 @@ module Connectwise
791
945
  invalid_properties.push("invalid value for 'first_name', the character length must be smaller than or equal to 30.")
792
946
  end
793
947
 
948
+ if @last_name.nil?
949
+ invalid_properties.push("invalid value for 'last_name', last_name cannot be nil.")
950
+ end
951
+
952
+ if @last_name.to_s.length > 30
953
+ invalid_properties.push("invalid value for 'last_name', the character length must be smaller than or equal to 30.")
954
+ end
955
+
956
+ if !@title.nil? && @title.to_s.length > 50
957
+ invalid_properties.push("invalid value for 'title', the character length must be smaller than or equal to 50.")
958
+ end
959
+
960
+ if @license_class.nil?
961
+ invalid_properties.push("invalid value for 'license_class', license_class cannot be nil.")
962
+ end
963
+
964
+ if !@employee_identifer.nil? && @employee_identifer.to_s.length > 10
965
+ invalid_properties.push("invalid value for 'employee_identifer', the character length must be smaller than or equal to 10.")
966
+ end
967
+
968
+ if @time_zone.nil?
969
+ invalid_properties.push("invalid value for 'time_zone', time_zone cannot be nil.")
970
+ end
971
+
972
+ if !@office_email.nil? && @office_email.to_s.length > 250
973
+ invalid_properties.push("invalid value for 'office_email', the character length must be smaller than or equal to 250.")
974
+ end
975
+
976
+ if !@office_phone.nil? && @office_phone.to_s.length > 15
977
+ invalid_properties.push("invalid value for 'office_phone', the character length must be smaller than or equal to 15.")
978
+ end
979
+
980
+ if !@office_extension.nil? && @office_extension.to_s.length > 10
981
+ invalid_properties.push("invalid value for 'office_extension', the character length must be smaller than or equal to 10.")
982
+ end
983
+
984
+ if !@mobile_email.nil? && @mobile_email.to_s.length > 250
985
+ invalid_properties.push("invalid value for 'mobile_email', the character length must be smaller than or equal to 250.")
986
+ end
987
+
988
+ if !@mobile_phone.nil? && @mobile_phone.to_s.length > 15
989
+ invalid_properties.push("invalid value for 'mobile_phone', the character length must be smaller than or equal to 15.")
990
+ end
991
+
992
+ if !@mobile_extension.nil? && @mobile_extension.to_s.length > 10
993
+ invalid_properties.push("invalid value for 'mobile_extension', the character length must be smaller than or equal to 10.")
994
+ end
794
995
 
795
996
  if !@home_email.nil? && @home_email.to_s.length > 250
796
997
  invalid_properties.push("invalid value for 'home_email', the character length must be smaller than or equal to 250.")
797
998
  end
798
999
 
1000
+ if !@home_phone.nil? && @home_phone.to_s.length > 15
1001
+ invalid_properties.push("invalid value for 'home_phone', the character length must be smaller than or equal to 15.")
1002
+ end
799
1003
 
800
1004
  if !@home_extension.nil? && @home_extension.to_s.length > 10
801
1005
  invalid_properties.push("invalid value for 'home_extension', the character length must be smaller than or equal to 10.")
802
1006
  end
803
1007
 
1008
+ if @default_email.nil?
1009
+ invalid_properties.push("invalid value for 'default_email', default_email cannot be nil.")
1010
+ end
804
1011
 
805
- if !@home_phone.nil? && @home_phone.to_s.length > 15
806
- invalid_properties.push("invalid value for 'home_phone', the character length must be smaller than or equal to 15.")
1012
+ if @default_phone.nil?
1013
+ invalid_properties.push("invalid value for 'default_phone', default_phone cannot be nil.")
807
1014
  end
808
1015
 
809
- if @identifier.nil?
810
- invalid_properties.push("invalid value for 'identifier', identifier cannot be nil.")
1016
+ if @security_role.nil?
1017
+ invalid_properties.push("invalid value for 'security_role', security_role cannot be nil.")
811
1018
  end
812
1019
 
813
- if @identifier.to_s.length > 15
814
- invalid_properties.push("invalid value for 'identifier', the character length must be smaller than or equal to 15.")
1020
+ if @structure_level.nil?
1021
+ invalid_properties.push("invalid value for 'structure_level', structure_level cannot be nil.")
815
1022
  end
816
1023
 
817
- if @last_name.nil?
818
- invalid_properties.push("invalid value for 'last_name', last_name cannot be nil.")
1024
+ if @security_location.nil?
1025
+ invalid_properties.push("invalid value for 'security_location', security_location cannot be nil.")
819
1026
  end
820
1027
 
821
- if @last_name.to_s.length > 30
822
- invalid_properties.push("invalid value for 'last_name', the character length must be smaller than or equal to 30.")
1028
+ if @default_location.nil?
1029
+ invalid_properties.push("invalid value for 'default_location', default_location cannot be nil.")
823
1030
  end
824
1031
 
1032
+ if @default_department.nil?
1033
+ invalid_properties.push("invalid value for 'default_department', default_department cannot be nil.")
1034
+ end
825
1035
 
826
- if !@mobile_email.nil? && @mobile_email.to_s.length > 250
827
- invalid_properties.push("invalid value for 'mobile_email', the character length must be smaller than or equal to 250.")
1036
+ if @work_role.nil?
1037
+ invalid_properties.push("invalid value for 'work_role', work_role cannot be nil.")
828
1038
  end
829
1039
 
1040
+ if @time_approver.nil?
1041
+ invalid_properties.push("invalid value for 'time_approver', time_approver cannot be nil.")
1042
+ end
830
1043
 
831
- if !@mobile_extension.nil? && @mobile_extension.to_s.length > 10
832
- invalid_properties.push("invalid value for 'mobile_extension', the character length must be smaller than or equal to 10.")
1044
+ if @expense_approver.nil?
1045
+ invalid_properties.push("invalid value for 'expense_approver', expense_approver cannot be nil.")
833
1046
  end
834
1047
 
1048
+ if @hire_date.nil?
1049
+ invalid_properties.push("invalid value for 'hire_date', hire_date cannot be nil.")
1050
+ end
835
1051
 
836
- if !@mobile_phone.nil? && @mobile_phone.to_s.length > 15
837
- invalid_properties.push("invalid value for 'mobile_phone', the character length must be smaller than or equal to 15.")
1052
+ if @sales_default_location.nil?
1053
+ invalid_properties.push("invalid value for 'sales_default_location', sales_default_location cannot be nil.")
838
1054
  end
839
1055
 
1056
+ if !@ldap_user_name.nil? && @ldap_user_name.to_s.length > 50
1057
+ invalid_properties.push("invalid value for 'ldap_user_name', the character length must be smaller than or equal to 50.")
1058
+ end
840
1059
 
841
- if !@office_email.nil? && @office_email.to_s.length > 250
842
- invalid_properties.push("invalid value for 'office_email', the character length must be smaller than or equal to 250.")
1060
+ if @company_activity_tab_format.nil?
1061
+ invalid_properties.push("invalid value for 'company_activity_tab_format', company_activity_tab_format cannot be nil.")
843
1062
  end
844
1063
 
1064
+ if @invoice_time_tab_format.nil?
1065
+ invalid_properties.push("invalid value for 'invoice_time_tab_format', invoice_time_tab_format cannot be nil.")
1066
+ end
845
1067
 
846
- if !@office_extension.nil? && @office_extension.to_s.length > 10
847
- invalid_properties.push("invalid value for 'office_extension', the character length must be smaller than or equal to 10.")
1068
+ if @invoice_screen_default_tab_format.nil?
1069
+ invalid_properties.push("invalid value for 'invoice_screen_default_tab_format', invoice_screen_default_tab_format cannot be nil.")
848
1070
  end
849
1071
 
1072
+ if @invoicing_display_options.nil?
1073
+ invalid_properties.push("invalid value for 'invoicing_display_options', invoicing_display_options cannot be nil.")
1074
+ end
850
1075
 
851
- if !@office_phone.nil? && @office_phone.to_s.length > 15
852
- invalid_properties.push("invalid value for 'office_phone', the character length must be smaller than or equal to 15.")
1076
+ if @agreement_invoicing_display_options.nil?
1077
+ invalid_properties.push("invalid value for 'agreement_invoicing_display_options', agreement_invoicing_display_options cannot be nil.")
1078
+ end
1079
+
1080
+ if !@corelytics_username.nil? && @corelytics_username.to_s.length > 50
1081
+ invalid_properties.push("invalid value for 'corelytics_username', the character length must be smaller than or equal to 50.")
853
1082
  end
854
1083
 
1084
+ if !@corelytics_password.nil? && @corelytics_password.to_s.length > 50
1085
+ invalid_properties.push("invalid value for 'corelytics_password', the character length must be smaller than or equal to 50.")
1086
+ end
855
1087
 
856
- if !@title.nil? && @title.to_s.length > 50
857
- invalid_properties.push("invalid value for 'title', the character length must be smaller than or equal to 50.")
1088
+ if !@remote_package_platform.nil? && @remote_package_platform.to_s.length > 250
1089
+ invalid_properties.push("invalid value for 'remote_package_platform', the character length must be smaller than or equal to 250.")
1090
+ end
1091
+
1092
+ if !@remote_package_user_name.nil? && @remote_package_user_name.to_s.length > 50
1093
+ invalid_properties.push("invalid value for 'remote_package_user_name', the character length must be smaller than or equal to 50.")
1094
+ end
1095
+
1096
+ if !@remote_package_password.nil? && @remote_package_password.to_s.length > 50
1097
+ invalid_properties.push("invalid value for 'remote_package_password', the character length must be smaller than or equal to 50.")
1098
+ end
1099
+
1100
+ if !@remote_package_account.nil? && @remote_package_account.to_s.length > 250
1101
+ invalid_properties.push("invalid value for 'remote_package_account', the character length must be smaller than or equal to 250.")
858
1102
  end
859
1103
 
860
1104
  return invalid_properties
@@ -863,71 +1107,222 @@ module Connectwise
863
1107
  # Check to see if the all the properties in the model are valid
864
1108
  # @return true if the model is valid
865
1109
  def valid?
866
- return false if @default_department_id.nil?
867
- return false if !@default_email.nil? && @default_email.to_s.length > 250
868
- return false if @default_location_id.nil?
869
- return false if !@default_phone.nil? && @default_phone.to_s.length > 15
870
- return false if @expense_approver.nil?
871
- return false if @first_name.nil?
872
- return false if @first_name.to_s.length > 30
873
- return false if !@home_email.nil? && @home_email.to_s.length > 250
874
- return false if !@home_extension.nil? && @home_extension.to_s.length > 10
875
- return false if !@home_phone.nil? && @home_phone.to_s.length > 15
876
1110
  return false if @identifier.nil?
877
1111
  return false if @identifier.to_s.length > 15
1112
+ return false if !@password.nil? && @password.to_s.length > 60
1113
+ return false if @first_name.nil?
1114
+ return false if @first_name.to_s.length > 30
878
1115
  return false if @last_name.nil?
879
1116
  return false if @last_name.to_s.length > 30
1117
+ return false if !@title.nil? && @title.to_s.length > 50
880
1118
  return false if @license_class.nil?
881
1119
  license_class_validator = EnumAttributeValidator.new('String', ["F", "A", "C", "X"])
882
1120
  return false unless license_class_validator.valid?(@license_class)
883
- return false if !@mobile_email.nil? && @mobile_email.to_s.length > 250
884
- return false if !@mobile_extension.nil? && @mobile_extension.to_s.length > 10
885
- return false if !@mobile_phone.nil? && @mobile_phone.to_s.length > 15
1121
+ return false if !@employee_identifer.nil? && @employee_identifer.to_s.length > 10
1122
+ return false if @time_zone.nil?
886
1123
  return false if !@office_email.nil? && @office_email.to_s.length > 250
887
- return false if !@office_extension.nil? && @office_extension.to_s.length > 10
888
1124
  return false if !@office_phone.nil? && @office_phone.to_s.length > 15
889
- return false if @sales_default_location_id.nil?
890
- return false if @time_approver.nil?
891
- return false if @time_zone.nil?
892
- return false if !@title.nil? && @title.to_s.length > 50
1125
+ return false if !@office_extension.nil? && @office_extension.to_s.length > 10
1126
+ return false if !@mobile_email.nil? && @mobile_email.to_s.length > 250
1127
+ return false if !@mobile_phone.nil? && @mobile_phone.to_s.length > 15
1128
+ return false if !@mobile_extension.nil? && @mobile_extension.to_s.length > 10
1129
+ return false if !@home_email.nil? && @home_email.to_s.length > 250
1130
+ return false if !@home_phone.nil? && @home_phone.to_s.length > 15
1131
+ return false if !@home_extension.nil? && @home_extension.to_s.length > 10
1132
+ return false if @default_email.nil?
1133
+ default_email_validator = EnumAttributeValidator.new('String', ["Office", "Mobile", "Home"])
1134
+ return false unless default_email_validator.valid?(@default_email)
1135
+ return false if @default_phone.nil?
1136
+ default_phone_validator = EnumAttributeValidator.new('String', ["Office", "Mobile", "Home"])
1137
+ return false unless default_phone_validator.valid?(@default_phone)
1138
+ return false if @security_role.nil?
1139
+ return false if @structure_level.nil?
1140
+ return false if @security_location.nil?
1141
+ return false if @default_location.nil?
1142
+ return false if @default_department.nil?
893
1143
  return false if @work_role.nil?
1144
+ return false if @time_approver.nil?
1145
+ return false if @expense_approver.nil?
1146
+ return false if @hire_date.nil?
1147
+ return false if @sales_default_location.nil?
1148
+ return false if !@ldap_user_name.nil? && @ldap_user_name.to_s.length > 50
1149
+ return false if @company_activity_tab_format.nil?
1150
+ company_activity_tab_format_validator = EnumAttributeValidator.new('String', ["SummaryList", "DetailList"])
1151
+ return false unless company_activity_tab_format_validator.valid?(@company_activity_tab_format)
1152
+ return false if @invoice_time_tab_format.nil?
1153
+ invoice_time_tab_format_validator = EnumAttributeValidator.new('String', ["SummaryList", "DetailList"])
1154
+ return false unless invoice_time_tab_format_validator.valid?(@invoice_time_tab_format)
1155
+ return false if @invoice_screen_default_tab_format.nil?
1156
+ invoice_screen_default_tab_format_validator = EnumAttributeValidator.new('String', ["ShowInvoicingTab", "ShowAgreementInvoicingTab"])
1157
+ return false unless invoice_screen_default_tab_format_validator.valid?(@invoice_screen_default_tab_format)
1158
+ return false if @invoicing_display_options.nil?
1159
+ invoicing_display_options_validator = EnumAttributeValidator.new('String', ["RemainOnInvoicingScreen", "ShowRecentInvoices"])
1160
+ return false unless invoicing_display_options_validator.valid?(@invoicing_display_options)
1161
+ return false if @agreement_invoicing_display_options.nil?
1162
+ agreement_invoicing_display_options_validator = EnumAttributeValidator.new('String', ["RemainOnInvoicingScreen", "ShowRecentInvoices"])
1163
+ return false unless agreement_invoicing_display_options_validator.valid?(@agreement_invoicing_display_options)
1164
+ return false if !@corelytics_username.nil? && @corelytics_username.to_s.length > 50
1165
+ return false if !@corelytics_password.nil? && @corelytics_password.to_s.length > 50
1166
+ remote_package_validator = EnumAttributeValidator.new('String', ["LogMeIn", "NTR"])
1167
+ return false unless remote_package_validator.valid?(@remote_package)
1168
+ return false if !@remote_package_platform.nil? && @remote_package_platform.to_s.length > 250
1169
+ return false if !@remote_package_user_name.nil? && @remote_package_user_name.to_s.length > 50
1170
+ return false if !@remote_package_password.nil? && @remote_package_password.to_s.length > 50
1171
+ return false if !@remote_package_account.nil? && @remote_package_account.to_s.length > 250
1172
+ authentication_service_type_validator = EnumAttributeValidator.new('String', ["AuthAnvil", "GoogleAuthenticator"])
1173
+ return false unless authentication_service_type_validator.valid?(@authentication_service_type)
894
1174
  return true
895
1175
  end
896
1176
 
897
1177
  # Custom attribute writer method with validation
898
- # @param [Object] default_email Value to be assigned
899
- def default_email=(default_email)
1178
+ # @param [Object] identifier Value to be assigned
1179
+ def identifier=(identifier)
1180
+ if identifier.nil?
1181
+ fail ArgumentError, "identifier cannot be nil"
1182
+ end
1183
+
1184
+ if identifier.to_s.length > 15
1185
+ fail ArgumentError, "invalid value for 'identifier', the character length must be smaller than or equal to 15."
1186
+ end
1187
+
1188
+ @identifier = identifier
1189
+ end
1190
+
1191
+ # Custom attribute writer method with validation
1192
+ # @param [Object] password Value to be assigned
1193
+ def password=(password)
1194
+
1195
+ if !password.nil? && password.to_s.length > 60
1196
+ fail ArgumentError, "invalid value for 'password', the character length must be smaller than or equal to 60."
1197
+ end
1198
+
1199
+ @password = password
1200
+ end
1201
+
1202
+ # Custom attribute writer method with validation
1203
+ # @param [Object] first_name Value to be assigned
1204
+ def first_name=(first_name)
1205
+ if first_name.nil?
1206
+ fail ArgumentError, "first_name cannot be nil"
1207
+ end
1208
+
1209
+ if first_name.to_s.length > 30
1210
+ fail ArgumentError, "invalid value for 'first_name', the character length must be smaller than or equal to 30."
1211
+ end
1212
+
1213
+ @first_name = first_name
1214
+ end
1215
+
1216
+ # Custom attribute writer method with validation
1217
+ # @param [Object] last_name Value to be assigned
1218
+ def last_name=(last_name)
1219
+ if last_name.nil?
1220
+ fail ArgumentError, "last_name cannot be nil"
1221
+ end
1222
+
1223
+ if last_name.to_s.length > 30
1224
+ fail ArgumentError, "invalid value for 'last_name', the character length must be smaller than or equal to 30."
1225
+ end
1226
+
1227
+ @last_name = last_name
1228
+ end
1229
+
1230
+ # Custom attribute writer method with validation
1231
+ # @param [Object] title Value to be assigned
1232
+ def title=(title)
1233
+
1234
+ if !title.nil? && title.to_s.length > 50
1235
+ fail ArgumentError, "invalid value for 'title', the character length must be smaller than or equal to 50."
1236
+ end
1237
+
1238
+ @title = title
1239
+ end
1240
+
1241
+ # Custom attribute writer method checking allowed values (enum).
1242
+ # @param [Object] license_class Object to be assigned
1243
+ def license_class=(license_class)
1244
+ validator = EnumAttributeValidator.new('String', ["F", "A", "C", "X"])
1245
+ unless validator.valid?(license_class)
1246
+ fail ArgumentError, "invalid value for 'license_class', must be one of #{validator.allowable_values}."
1247
+ end
1248
+ @license_class = license_class
1249
+ end
1250
+
1251
+ # Custom attribute writer method with validation
1252
+ # @param [Object] employee_identifer Value to be assigned
1253
+ def employee_identifer=(employee_identifer)
1254
+
1255
+ if !employee_identifer.nil? && employee_identifer.to_s.length > 10
1256
+ fail ArgumentError, "invalid value for 'employee_identifer', the character length must be smaller than or equal to 10."
1257
+ end
1258
+
1259
+ @employee_identifer = employee_identifer
1260
+ end
1261
+
1262
+ # Custom attribute writer method with validation
1263
+ # @param [Object] office_email Value to be assigned
1264
+ def office_email=(office_email)
1265
+
1266
+ if !office_email.nil? && office_email.to_s.length > 250
1267
+ fail ArgumentError, "invalid value for 'office_email', the character length must be smaller than or equal to 250."
1268
+ end
1269
+
1270
+ @office_email = office_email
1271
+ end
1272
+
1273
+ # Custom attribute writer method with validation
1274
+ # @param [Object] office_phone Value to be assigned
1275
+ def office_phone=(office_phone)
1276
+
1277
+ if !office_phone.nil? && office_phone.to_s.length > 15
1278
+ fail ArgumentError, "invalid value for 'office_phone', the character length must be smaller than or equal to 15."
1279
+ end
1280
+
1281
+ @office_phone = office_phone
1282
+ end
1283
+
1284
+ # Custom attribute writer method with validation
1285
+ # @param [Object] office_extension Value to be assigned
1286
+ def office_extension=(office_extension)
900
1287
 
901
- if !default_email.nil? && default_email.to_s.length > 250
902
- fail ArgumentError, "invalid value for 'default_email', the character length must be smaller than or equal to 250."
1288
+ if !office_extension.nil? && office_extension.to_s.length > 10
1289
+ fail ArgumentError, "invalid value for 'office_extension', the character length must be smaller than or equal to 10."
903
1290
  end
904
1291
 
905
- @default_email = default_email
1292
+ @office_extension = office_extension
906
1293
  end
907
1294
 
908
1295
  # Custom attribute writer method with validation
909
- # @param [Object] default_phone Value to be assigned
910
- def default_phone=(default_phone)
1296
+ # @param [Object] mobile_email Value to be assigned
1297
+ def mobile_email=(mobile_email)
911
1298
 
912
- if !default_phone.nil? && default_phone.to_s.length > 15
913
- fail ArgumentError, "invalid value for 'default_phone', the character length must be smaller than or equal to 15."
1299
+ if !mobile_email.nil? && mobile_email.to_s.length > 250
1300
+ fail ArgumentError, "invalid value for 'mobile_email', the character length must be smaller than or equal to 250."
914
1301
  end
915
1302
 
916
- @default_phone = default_phone
1303
+ @mobile_email = mobile_email
917
1304
  end
918
1305
 
919
1306
  # Custom attribute writer method with validation
920
- # @param [Object] first_name Value to be assigned
921
- def first_name=(first_name)
922
- if first_name.nil?
923
- fail ArgumentError, "first_name cannot be nil"
1307
+ # @param [Object] mobile_phone Value to be assigned
1308
+ def mobile_phone=(mobile_phone)
1309
+
1310
+ if !mobile_phone.nil? && mobile_phone.to_s.length > 15
1311
+ fail ArgumentError, "invalid value for 'mobile_phone', the character length must be smaller than or equal to 15."
924
1312
  end
925
1313
 
926
- if first_name.to_s.length > 30
927
- fail ArgumentError, "invalid value for 'first_name', the character length must be smaller than or equal to 30."
1314
+ @mobile_phone = mobile_phone
1315
+ end
1316
+
1317
+ # Custom attribute writer method with validation
1318
+ # @param [Object] mobile_extension Value to be assigned
1319
+ def mobile_extension=(mobile_extension)
1320
+
1321
+ if !mobile_extension.nil? && mobile_extension.to_s.length > 10
1322
+ fail ArgumentError, "invalid value for 'mobile_extension', the character length must be smaller than or equal to 10."
928
1323
  end
929
1324
 
930
- @first_name = first_name
1325
+ @mobile_extension = mobile_extension
931
1326
  end
932
1327
 
933
1328
  # Custom attribute writer method with validation
@@ -941,6 +1336,17 @@ module Connectwise
941
1336
  @home_email = home_email
942
1337
  end
943
1338
 
1339
+ # Custom attribute writer method with validation
1340
+ # @param [Object] home_phone Value to be assigned
1341
+ def home_phone=(home_phone)
1342
+
1343
+ if !home_phone.nil? && home_phone.to_s.length > 15
1344
+ fail ArgumentError, "invalid value for 'home_phone', the character length must be smaller than or equal to 15."
1345
+ end
1346
+
1347
+ @home_phone = home_phone
1348
+ end
1349
+
944
1350
  # Custom attribute writer method with validation
945
1351
  # @param [Object] home_extension Value to be assigned
946
1352
  def home_extension=(home_extension)
@@ -952,130 +1358,171 @@ module Connectwise
952
1358
  @home_extension = home_extension
953
1359
  end
954
1360
 
955
- # Custom attribute writer method with validation
956
- # @param [Object] home_phone Value to be assigned
957
- def home_phone=(home_phone)
958
-
959
- if !home_phone.nil? && home_phone.to_s.length > 15
960
- fail ArgumentError, "invalid value for 'home_phone', the character length must be smaller than or equal to 15."
1361
+ # Custom attribute writer method checking allowed values (enum).
1362
+ # @param [Object] default_email Object to be assigned
1363
+ def default_email=(default_email)
1364
+ validator = EnumAttributeValidator.new('String', ["Office", "Mobile", "Home"])
1365
+ unless validator.valid?(default_email)
1366
+ fail ArgumentError, "invalid value for 'default_email', must be one of #{validator.allowable_values}."
961
1367
  end
1368
+ @default_email = default_email
1369
+ end
962
1370
 
963
- @home_phone = home_phone
1371
+ # Custom attribute writer method checking allowed values (enum).
1372
+ # @param [Object] default_phone Object to be assigned
1373
+ def default_phone=(default_phone)
1374
+ validator = EnumAttributeValidator.new('String', ["Office", "Mobile", "Home"])
1375
+ unless validator.valid?(default_phone)
1376
+ fail ArgumentError, "invalid value for 'default_phone', must be one of #{validator.allowable_values}."
1377
+ end
1378
+ @default_phone = default_phone
964
1379
  end
965
1380
 
966
1381
  # Custom attribute writer method with validation
967
- # @param [Object] identifier Value to be assigned
968
- def identifier=(identifier)
969
- if identifier.nil?
970
- fail ArgumentError, "identifier cannot be nil"
971
- end
1382
+ # @param [Object] ldap_user_name Value to be assigned
1383
+ def ldap_user_name=(ldap_user_name)
972
1384
 
973
- if identifier.to_s.length > 15
974
- fail ArgumentError, "invalid value for 'identifier', the character length must be smaller than or equal to 15."
1385
+ if !ldap_user_name.nil? && ldap_user_name.to_s.length > 50
1386
+ fail ArgumentError, "invalid value for 'ldap_user_name', the character length must be smaller than or equal to 50."
975
1387
  end
976
1388
 
977
- @identifier = identifier
1389
+ @ldap_user_name = ldap_user_name
978
1390
  end
979
1391
 
980
- # Custom attribute writer method with validation
981
- # @param [Object] last_name Value to be assigned
982
- def last_name=(last_name)
983
- if last_name.nil?
984
- fail ArgumentError, "last_name cannot be nil"
1392
+ # Custom attribute writer method checking allowed values (enum).
1393
+ # @param [Object] company_activity_tab_format Object to be assigned
1394
+ def company_activity_tab_format=(company_activity_tab_format)
1395
+ validator = EnumAttributeValidator.new('String', ["SummaryList", "DetailList"])
1396
+ unless validator.valid?(company_activity_tab_format)
1397
+ fail ArgumentError, "invalid value for 'company_activity_tab_format', must be one of #{validator.allowable_values}."
985
1398
  end
1399
+ @company_activity_tab_format = company_activity_tab_format
1400
+ end
986
1401
 
987
- if last_name.to_s.length > 30
988
- fail ArgumentError, "invalid value for 'last_name', the character length must be smaller than or equal to 30."
1402
+ # Custom attribute writer method checking allowed values (enum).
1403
+ # @param [Object] invoice_time_tab_format Object to be assigned
1404
+ def invoice_time_tab_format=(invoice_time_tab_format)
1405
+ validator = EnumAttributeValidator.new('String', ["SummaryList", "DetailList"])
1406
+ unless validator.valid?(invoice_time_tab_format)
1407
+ fail ArgumentError, "invalid value for 'invoice_time_tab_format', must be one of #{validator.allowable_values}."
989
1408
  end
990
-
991
- @last_name = last_name
1409
+ @invoice_time_tab_format = invoice_time_tab_format
992
1410
  end
993
1411
 
994
1412
  # Custom attribute writer method checking allowed values (enum).
995
- # @param [Object] license_class Object to be assigned
996
- def license_class=(license_class)
997
- validator = EnumAttributeValidator.new('String', ["F", "A", "C", "X"])
998
- unless validator.valid?(license_class)
999
- fail ArgumentError, "invalid value for 'license_class', must be one of #{validator.allowable_values}."
1413
+ # @param [Object] invoice_screen_default_tab_format Object to be assigned
1414
+ def invoice_screen_default_tab_format=(invoice_screen_default_tab_format)
1415
+ validator = EnumAttributeValidator.new('String', ["ShowInvoicingTab", "ShowAgreementInvoicingTab"])
1416
+ unless validator.valid?(invoice_screen_default_tab_format)
1417
+ fail ArgumentError, "invalid value for 'invoice_screen_default_tab_format', must be one of #{validator.allowable_values}."
1000
1418
  end
1001
- @license_class = license_class
1419
+ @invoice_screen_default_tab_format = invoice_screen_default_tab_format
1002
1420
  end
1003
1421
 
1004
- # Custom attribute writer method with validation
1005
- # @param [Object] mobile_email Value to be assigned
1006
- def mobile_email=(mobile_email)
1007
-
1008
- if !mobile_email.nil? && mobile_email.to_s.length > 250
1009
- fail ArgumentError, "invalid value for 'mobile_email', the character length must be smaller than or equal to 250."
1422
+ # Custom attribute writer method checking allowed values (enum).
1423
+ # @param [Object] invoicing_display_options Object to be assigned
1424
+ def invoicing_display_options=(invoicing_display_options)
1425
+ validator = EnumAttributeValidator.new('String', ["RemainOnInvoicingScreen", "ShowRecentInvoices"])
1426
+ unless validator.valid?(invoicing_display_options)
1427
+ fail ArgumentError, "invalid value for 'invoicing_display_options', must be one of #{validator.allowable_values}."
1010
1428
  end
1429
+ @invoicing_display_options = invoicing_display_options
1430
+ end
1011
1431
 
1012
- @mobile_email = mobile_email
1432
+ # Custom attribute writer method checking allowed values (enum).
1433
+ # @param [Object] agreement_invoicing_display_options Object to be assigned
1434
+ def agreement_invoicing_display_options=(agreement_invoicing_display_options)
1435
+ validator = EnumAttributeValidator.new('String', ["RemainOnInvoicingScreen", "ShowRecentInvoices"])
1436
+ unless validator.valid?(agreement_invoicing_display_options)
1437
+ fail ArgumentError, "invalid value for 'agreement_invoicing_display_options', must be one of #{validator.allowable_values}."
1438
+ end
1439
+ @agreement_invoicing_display_options = agreement_invoicing_display_options
1013
1440
  end
1014
1441
 
1015
1442
  # Custom attribute writer method with validation
1016
- # @param [Object] mobile_extension Value to be assigned
1017
- def mobile_extension=(mobile_extension)
1443
+ # @param [Object] corelytics_username Value to be assigned
1444
+ def corelytics_username=(corelytics_username)
1018
1445
 
1019
- if !mobile_extension.nil? && mobile_extension.to_s.length > 10
1020
- fail ArgumentError, "invalid value for 'mobile_extension', the character length must be smaller than or equal to 10."
1446
+ if !corelytics_username.nil? && corelytics_username.to_s.length > 50
1447
+ fail ArgumentError, "invalid value for 'corelytics_username', the character length must be smaller than or equal to 50."
1021
1448
  end
1022
1449
 
1023
- @mobile_extension = mobile_extension
1450
+ @corelytics_username = corelytics_username
1024
1451
  end
1025
1452
 
1026
1453
  # Custom attribute writer method with validation
1027
- # @param [Object] mobile_phone Value to be assigned
1028
- def mobile_phone=(mobile_phone)
1454
+ # @param [Object] corelytics_password Value to be assigned
1455
+ def corelytics_password=(corelytics_password)
1029
1456
 
1030
- if !mobile_phone.nil? && mobile_phone.to_s.length > 15
1031
- fail ArgumentError, "invalid value for 'mobile_phone', the character length must be smaller than or equal to 15."
1457
+ if !corelytics_password.nil? && corelytics_password.to_s.length > 50
1458
+ fail ArgumentError, "invalid value for 'corelytics_password', the character length must be smaller than or equal to 50."
1032
1459
  end
1033
1460
 
1034
- @mobile_phone = mobile_phone
1461
+ @corelytics_password = corelytics_password
1462
+ end
1463
+
1464
+ # Custom attribute writer method checking allowed values (enum).
1465
+ # @param [Object] remote_package Object to be assigned
1466
+ def remote_package=(remote_package)
1467
+ validator = EnumAttributeValidator.new('String', ["LogMeIn", "NTR"])
1468
+ unless validator.valid?(remote_package)
1469
+ fail ArgumentError, "invalid value for 'remote_package', must be one of #{validator.allowable_values}."
1470
+ end
1471
+ @remote_package = remote_package
1035
1472
  end
1036
1473
 
1037
1474
  # Custom attribute writer method with validation
1038
- # @param [Object] office_email Value to be assigned
1039
- def office_email=(office_email)
1475
+ # @param [Object] remote_package_platform Value to be assigned
1476
+ def remote_package_platform=(remote_package_platform)
1040
1477
 
1041
- if !office_email.nil? && office_email.to_s.length > 250
1042
- fail ArgumentError, "invalid value for 'office_email', the character length must be smaller than or equal to 250."
1478
+ if !remote_package_platform.nil? && remote_package_platform.to_s.length > 250
1479
+ fail ArgumentError, "invalid value for 'remote_package_platform', the character length must be smaller than or equal to 250."
1043
1480
  end
1044
1481
 
1045
- @office_email = office_email
1482
+ @remote_package_platform = remote_package_platform
1046
1483
  end
1047
1484
 
1048
1485
  # Custom attribute writer method with validation
1049
- # @param [Object] office_extension Value to be assigned
1050
- def office_extension=(office_extension)
1486
+ # @param [Object] remote_package_user_name Value to be assigned
1487
+ def remote_package_user_name=(remote_package_user_name)
1051
1488
 
1052
- if !office_extension.nil? && office_extension.to_s.length > 10
1053
- fail ArgumentError, "invalid value for 'office_extension', the character length must be smaller than or equal to 10."
1489
+ if !remote_package_user_name.nil? && remote_package_user_name.to_s.length > 50
1490
+ fail ArgumentError, "invalid value for 'remote_package_user_name', the character length must be smaller than or equal to 50."
1054
1491
  end
1055
1492
 
1056
- @office_extension = office_extension
1493
+ @remote_package_user_name = remote_package_user_name
1057
1494
  end
1058
1495
 
1059
1496
  # Custom attribute writer method with validation
1060
- # @param [Object] office_phone Value to be assigned
1061
- def office_phone=(office_phone)
1497
+ # @param [Object] remote_package_password Value to be assigned
1498
+ def remote_package_password=(remote_package_password)
1062
1499
 
1063
- if !office_phone.nil? && office_phone.to_s.length > 15
1064
- fail ArgumentError, "invalid value for 'office_phone', the character length must be smaller than or equal to 15."
1500
+ if !remote_package_password.nil? && remote_package_password.to_s.length > 50
1501
+ fail ArgumentError, "invalid value for 'remote_package_password', the character length must be smaller than or equal to 50."
1065
1502
  end
1066
1503
 
1067
- @office_phone = office_phone
1504
+ @remote_package_password = remote_package_password
1068
1505
  end
1069
1506
 
1070
1507
  # Custom attribute writer method with validation
1071
- # @param [Object] title Value to be assigned
1072
- def title=(title)
1508
+ # @param [Object] remote_package_account Value to be assigned
1509
+ def remote_package_account=(remote_package_account)
1073
1510
 
1074
- if !title.nil? && title.to_s.length > 50
1075
- fail ArgumentError, "invalid value for 'title', the character length must be smaller than or equal to 50."
1511
+ if !remote_package_account.nil? && remote_package_account.to_s.length > 250
1512
+ fail ArgumentError, "invalid value for 'remote_package_account', the character length must be smaller than or equal to 250."
1076
1513
  end
1077
1514
 
1078
- @title = title
1515
+ @remote_package_account = remote_package_account
1516
+ end
1517
+
1518
+ # Custom attribute writer method checking allowed values (enum).
1519
+ # @param [Object] authentication_service_type Object to be assigned
1520
+ def authentication_service_type=(authentication_service_type)
1521
+ validator = EnumAttributeValidator.new('String', ["AuthAnvil", "GoogleAuthenticator"])
1522
+ unless validator.valid?(authentication_service_type)
1523
+ fail ArgumentError, "invalid value for 'authentication_service_type', must be one of #{validator.allowable_values}."
1524
+ end
1525
+ @authentication_service_type = authentication_service_type
1079
1526
  end
1080
1527
 
1081
1528
  # Checks equality by comparing each attribute.
@@ -1083,93 +1530,114 @@ module Connectwise
1083
1530
  def ==(o)
1084
1531
  return true if self.equal?(o)
1085
1532
  self.class == o.class &&
1086
- admin_flag == o.admin_flag &&
1087
- allow_expenses_entered_against_companies_flag == o.allow_expenses_entered_against_companies_flag &&
1088
- allow_in_cell_entry_on_time_sheet == o.allow_in_cell_entry_on_time_sheet &&
1089
- billable_forecast == o.billable_forecast &&
1090
- calendar == o.calendar &&
1091
- calendar_sync_integration_flag == o.calendar_sync_integration_flag &&
1092
- country == o.country &&
1093
- daily_capacity == o.daily_capacity &&
1094
- days_tolerance == o.days_tolerance &&
1095
- default_department_id == o.default_department_id &&
1096
- default_email == o.default_email &&
1097
- default_location_id == o.default_location_id &&
1098
- default_phone == o.default_phone &&
1533
+ id == o.id &&
1534
+ identifier == o.identifier &&
1535
+ password == o.password &&
1536
+ first_name == o.first_name &&
1537
+ middle_initial == o.middle_initial &&
1538
+ last_name == o.last_name &&
1539
+ title == o.title &&
1540
+ report_card == o.report_card &&
1541
+ license_class == o.license_class &&
1099
1542
  disable_online_flag == o.disable_online_flag &&
1100
- enable_ldap_authentication_flag == o.enable_ldap_authentication_flag &&
1101
1543
  enable_mobile_flag == o.enable_mobile_flag &&
1544
+ type == o.type &&
1545
+ employee_identifer == o.employee_identifer &&
1546
+ vendor_number == o.vendor_number &&
1547
+ notes == o.notes &&
1548
+ time_zone == o.time_zone &&
1549
+ country == o.country &&
1550
+ service_board_team_ids == o.service_board_team_ids &&
1102
1551
  enable_mobile_gps_flag == o.enable_mobile_gps_flag &&
1103
- enter_time_against_company_flag == o.enter_time_against_company_flag &&
1104
- expense_approver == o.expense_approver &&
1105
- first_name == o.first_name &&
1106
- hide_member_in_dispatch_portal_flag == o.hide_member_in_dispatch_portal_flag &&
1107
- hire_date == o.hire_date &&
1108
- home_email == o.home_email &&
1109
- home_extension == o.home_extension &&
1110
- home_phone == o.home_phone &&
1111
- hourly_cost == o.hourly_cost &&
1112
- hourly_rate == o.hourly_rate &&
1113
- id == o.id &&
1114
- identifier == o.identifier &&
1115
1552
  inactive_date == o.inactive_date &&
1116
1553
  inactive_flag == o.inactive_flag &&
1117
- include_in_utilization_reporting_flag == o.include_in_utilization_reporting_flag &&
1118
1554
  last_login == o.last_login &&
1119
- last_name == o.last_name &&
1120
- license_class == o.license_class &&
1121
- mapi_name == o.mapi_name &&
1122
- middle_initial == o.middle_initial &&
1123
- minimum_hours == o.minimum_hours &&
1124
- mobile_email == o.mobile_email &&
1125
- mobile_extension == o.mobile_extension &&
1126
- mobile_phone == o.mobile_phone &&
1127
- notes == o.notes &&
1555
+ photo == o.photo &&
1128
1556
  office_email == o.office_email &&
1129
- office_extension == o.office_extension &&
1130
1557
  office_phone == o.office_phone &&
1131
- project_default_board == o.project_default_board &&
1132
- project_default_department_id == o.project_default_department_id &&
1133
- project_default_location_id == o.project_default_location_id &&
1558
+ office_extension == o.office_extension &&
1559
+ mobile_email == o.mobile_email &&
1560
+ mobile_phone == o.mobile_phone &&
1561
+ mobile_extension == o.mobile_extension &&
1562
+ home_email == o.home_email &&
1563
+ home_phone == o.home_phone &&
1564
+ home_extension == o.home_extension &&
1565
+ default_email == o.default_email &&
1566
+ default_phone == o.default_phone &&
1567
+ security_role == o.security_role &&
1568
+ admin_flag == o.admin_flag &&
1569
+ structure_level == o.structure_level &&
1570
+ security_location == o.security_location &&
1571
+ default_location == o.default_location &&
1572
+ default_department == o.default_department &&
1134
1573
  reports_to == o.reports_to &&
1574
+ restrict_location_flag == o.restrict_location_flag &&
1575
+ restrict_department_flag == o.restrict_department_flag &&
1576
+ work_role == o.work_role &&
1577
+ work_type == o.work_type &&
1578
+ time_approver == o.time_approver &&
1579
+ expense_approver == o.expense_approver &&
1580
+ billable_forecast == o.billable_forecast &&
1581
+ daily_capacity == o.daily_capacity &&
1582
+ hourly_cost == o.hourly_cost &&
1583
+ hourly_rate == o.hourly_rate &&
1584
+ include_in_utilization_reporting_flag == o.include_in_utilization_reporting_flag &&
1135
1585
  require_expense_entry_flag == o.require_expense_entry_flag &&
1136
- require_start_and_end_time_on_time_entry_flag == o.require_start_and_end_time_on_time_entry_flag &&
1137
1586
  require_time_sheet_entry_flag == o.require_time_sheet_entry_flag &&
1138
- restrict_default_sales_territory_flag == o.restrict_default_sales_territory_flag &&
1139
- restrict_default_warehouse_bin_flag == o.restrict_default_warehouse_bin_flag &&
1140
- restrict_default_warehouse_flag == o.restrict_default_warehouse_flag &&
1141
- restrict_department_flag == o.restrict_department_flag &&
1142
- restrict_location_flag == o.restrict_location_flag &&
1143
- restrict_project_default_department_flag == o.restrict_project_default_department_flag &&
1144
- restrict_project_default_location_flag == o.restrict_project_default_location_flag &&
1145
- restrict_schedule_flag == o.restrict_schedule_flag &&
1146
- restrict_service_default_department_flag == o.restrict_service_default_department_flag &&
1587
+ require_start_and_end_time_on_time_entry_flag == o.require_start_and_end_time_on_time_entry_flag &&
1588
+ allow_in_cell_entry_on_time_sheet == o.allow_in_cell_entry_on_time_sheet &&
1589
+ enter_time_against_company_flag == o.enter_time_against_company_flag &&
1590
+ allow_expenses_entered_against_companies_flag == o.allow_expenses_entered_against_companies_flag &&
1591
+ time_reminder_email_flag == o.time_reminder_email_flag &&
1592
+ days_tolerance == o.days_tolerance &&
1593
+ minimum_hours == o.minimum_hours &&
1594
+ time_sheet_start_date == o.time_sheet_start_date &&
1595
+ hire_date == o.hire_date &&
1596
+ service_default_location == o.service_default_location &&
1597
+ service_default_department == o.service_default_department &&
1598
+ service_default_board == o.service_default_board &&
1147
1599
  restrict_service_default_location_flag == o.restrict_service_default_location_flag &&
1148
- sales_default_location_id == o.sales_default_location_id &&
1600
+ restrict_service_default_department_flag == o.restrict_service_default_department_flag &&
1601
+ excluded_service_board_ids == o.excluded_service_board_ids &&
1602
+ project_default_location == o.project_default_location &&
1603
+ project_default_department == o.project_default_department &&
1604
+ project_default_board == o.project_default_board &&
1605
+ restrict_project_default_location_flag == o.restrict_project_default_location_flag &&
1606
+ restrict_project_default_department_flag == o.restrict_project_default_department_flag &&
1607
+ excluded_project_board_ids == o.excluded_project_board_ids &&
1608
+ schedule_default_location == o.schedule_default_location &&
1609
+ schedule_default_department == o.schedule_default_department &&
1149
1610
  schedule_capacity == o.schedule_capacity &&
1150
- schedule_default_department_id == o.schedule_default_department_id &&
1151
- schedule_default_location_id == o.schedule_default_location_id &&
1152
- security_level == o.security_level &&
1153
- security_location_id == o.security_location_id &&
1154
- security_role == o.security_role &&
1155
- service_default_board == o.service_default_board &&
1156
- service_default_department_id == o.service_default_department_id &&
1157
- service_default_location_id == o.service_default_location_id &&
1158
1611
  service_location == o.service_location &&
1159
- service_teams == o.service_teams &&
1160
- time_approver == o.time_approver &&
1161
- time_reminder_email_flag == o.time_reminder_email_flag &&
1162
- time_sheet_start_date == o.time_sheet_start_date &&
1163
- time_zone == o.time_zone &&
1164
- title == o.title &&
1165
- type == o.type &&
1166
- vendor_number == o.vendor_number &&
1612
+ restrict_schedule_flag == o.restrict_schedule_flag &&
1613
+ hide_member_in_dispatch_portal_flag == o.hide_member_in_dispatch_portal_flag &&
1614
+ calendar == o.calendar &&
1615
+ sales_default_location == o.sales_default_location &&
1616
+ restrict_default_sales_territory_flag == o.restrict_default_sales_territory_flag &&
1167
1617
  warehouse == o.warehouse &&
1168
1618
  warehouse_bin == o.warehouse_bin &&
1169
- work_role == o.work_role &&
1170
- work_type == o.work_type &&
1171
- _info == o._info &&
1172
- system_flag == o.system_flag
1619
+ restrict_default_warehouse_flag == o.restrict_default_warehouse_flag &&
1620
+ restrict_default_warehouse_bin_flag == o.restrict_default_warehouse_bin_flag &&
1621
+ mapi_name == o.mapi_name &&
1622
+ calendar_sync_integration_flag == o.calendar_sync_integration_flag &&
1623
+ enable_ldap_authentication_flag == o.enable_ldap_authentication_flag &&
1624
+ ldap_configuration == o.ldap_configuration &&
1625
+ ldap_user_name == o.ldap_user_name &&
1626
+ company_activity_tab_format == o.company_activity_tab_format &&
1627
+ invoice_time_tab_format == o.invoice_time_tab_format &&
1628
+ invoice_screen_default_tab_format == o.invoice_screen_default_tab_format &&
1629
+ invoicing_display_options == o.invoicing_display_options &&
1630
+ agreement_invoicing_display_options == o.agreement_invoicing_display_options &&
1631
+ corelytics_username == o.corelytics_username &&
1632
+ corelytics_password == o.corelytics_password &&
1633
+ remote_package == o.remote_package &&
1634
+ remote_package_platform == o.remote_package_platform &&
1635
+ remote_package_user_name == o.remote_package_user_name &&
1636
+ remote_package_password == o.remote_package_password &&
1637
+ remote_package_account == o.remote_package_account &&
1638
+ authentication_service_type == o.authentication_service_type &&
1639
+ timebased_one_time_password_activated == o.timebased_one_time_password_activated &&
1640
+ _info == o._info
1173
1641
  end
1174
1642
 
1175
1643
  # @see the `==` method
@@ -1181,7 +1649,7 @@ module Connectwise
1181
1649
  # Calculates hash code according to all attributes.
1182
1650
  # @return [Fixnum] Hash code
1183
1651
  def hash
1184
- [admin_flag, allow_expenses_entered_against_companies_flag, allow_in_cell_entry_on_time_sheet, billable_forecast, calendar, calendar_sync_integration_flag, country, daily_capacity, days_tolerance, default_department_id, default_email, default_location_id, default_phone, disable_online_flag, enable_ldap_authentication_flag, enable_mobile_flag, enable_mobile_gps_flag, enter_time_against_company_flag, expense_approver, first_name, hide_member_in_dispatch_portal_flag, hire_date, home_email, home_extension, home_phone, hourly_cost, hourly_rate, id, identifier, inactive_date, inactive_flag, include_in_utilization_reporting_flag, last_login, last_name, license_class, mapi_name, middle_initial, minimum_hours, mobile_email, mobile_extension, mobile_phone, notes, office_email, office_extension, office_phone, project_default_board, project_default_department_id, project_default_location_id, reports_to, require_expense_entry_flag, require_start_and_end_time_on_time_entry_flag, require_time_sheet_entry_flag, restrict_default_sales_territory_flag, restrict_default_warehouse_bin_flag, restrict_default_warehouse_flag, restrict_department_flag, restrict_location_flag, restrict_project_default_department_flag, restrict_project_default_location_flag, restrict_schedule_flag, restrict_service_default_department_flag, restrict_service_default_location_flag, sales_default_location_id, schedule_capacity, schedule_default_department_id, schedule_default_location_id, security_level, security_location_id, security_role, service_default_board, service_default_department_id, service_default_location_id, service_location, service_teams, time_approver, time_reminder_email_flag, time_sheet_start_date, time_zone, title, type, vendor_number, warehouse, warehouse_bin, work_role, work_type, _info, system_flag].hash
1652
+ [id, identifier, password, first_name, middle_initial, last_name, title, report_card, license_class, disable_online_flag, enable_mobile_flag, type, employee_identifer, vendor_number, notes, time_zone, country, service_board_team_ids, enable_mobile_gps_flag, inactive_date, inactive_flag, last_login, photo, office_email, office_phone, office_extension, mobile_email, mobile_phone, mobile_extension, home_email, home_phone, home_extension, default_email, default_phone, security_role, admin_flag, structure_level, security_location, default_location, default_department, reports_to, restrict_location_flag, restrict_department_flag, work_role, work_type, time_approver, expense_approver, billable_forecast, daily_capacity, hourly_cost, hourly_rate, include_in_utilization_reporting_flag, require_expense_entry_flag, require_time_sheet_entry_flag, require_start_and_end_time_on_time_entry_flag, allow_in_cell_entry_on_time_sheet, enter_time_against_company_flag, allow_expenses_entered_against_companies_flag, time_reminder_email_flag, days_tolerance, minimum_hours, time_sheet_start_date, hire_date, service_default_location, service_default_department, service_default_board, restrict_service_default_location_flag, restrict_service_default_department_flag, excluded_service_board_ids, project_default_location, project_default_department, project_default_board, restrict_project_default_location_flag, restrict_project_default_department_flag, excluded_project_board_ids, schedule_default_location, schedule_default_department, schedule_capacity, service_location, restrict_schedule_flag, hide_member_in_dispatch_portal_flag, calendar, sales_default_location, restrict_default_sales_territory_flag, warehouse, warehouse_bin, restrict_default_warehouse_flag, restrict_default_warehouse_bin_flag, mapi_name, calendar_sync_integration_flag, enable_ldap_authentication_flag, ldap_configuration, ldap_user_name, company_activity_tab_format, invoice_time_tab_format, invoice_screen_default_tab_format, invoicing_display_options, agreement_invoicing_display_options, corelytics_username, corelytics_password, remote_package, remote_package_platform, remote_package_user_name, remote_package_password, remote_package_account, authentication_service_type, timebased_one_time_password_activated, _info].hash
1185
1653
  end
1186
1654
 
1187
1655
  # Builds the object from hash
@@ -1190,7 +1658,7 @@ module Connectwise
1190
1658
  def build_from_hash(attributes)
1191
1659
  return nil unless attributes.is_a?(Hash)
1192
1660
  self.class.swagger_types.each_pair do |key, type|
1193
- if type =~ /^Array<(.*)>/i
1661
+ if type =~ /\AArray<(.*)>/i
1194
1662
  # check to ensure the input is an array given that the the attribute
1195
1663
  # is documented as an array but the input is not
1196
1664
  if attributes[self.class.attribute_map[key]].is_a?(Array)
@@ -1221,7 +1689,7 @@ module Connectwise
1221
1689
  when :Float
1222
1690
  value.to_f
1223
1691
  when :BOOLEAN
1224
- if value.to_s =~ /^(true|t|yes|y|1)$/i
1692
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
1225
1693
  true
1226
1694
  else
1227
1695
  false
@@ -1232,7 +1700,7 @@ module Connectwise
1232
1700
  when /\AArray<(?<inner_type>.+)>\z/
1233
1701
  inner_type = Regexp.last_match[:inner_type]
1234
1702
  value.map { |v| _deserialize(inner_type, v) }
1235
- when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
1703
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
1236
1704
  k_type = Regexp.last_match[:k_type]
1237
1705
  v_type = Regexp.last_match[:v_type]
1238
1706
  {}.tap do |hash|
@@ -1241,7 +1709,7 @@ module Connectwise
1241
1709
  end
1242
1710
  end
1243
1711
  else # model
1244
- temp_model = Connectwise.const_get(type).new
1712
+ temp_model = ConnectWise.const_get(type).new
1245
1713
  temp_model.build_from_hash(value)
1246
1714
  end
1247
1715
  end