connectwise-ruby-sdk 1.0.1

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