purecloud 0.44.1 → 0.45.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (436) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/Account.html.md +12 -12
  5. data/doc_out/AddressListing.html.md +2 -2
  6. data/doc_out/AgentActivityEntityListing.html.md +2 -2
  7. data/doc_out/AlertingApi.html.md +15 -18
  8. data/doc_out/AnalyticsApi.html.md +45 -54
  9. data/doc_out/AnalyticsSession.html.md +6 -0
  10. data/doc_out/AssetEntityListing.html.md +2 -2
  11. data/doc_out/AttributeEntityListing.html.md +2 -2
  12. data/doc_out/AttributesApi.html.md +15 -18
  13. data/doc_out/AuthorizationApi.html.md +43 -51
  14. data/doc_out/AvailableAdditionalServiceListing.html.md +2 -2
  15. data/doc_out/AvailableTopicEntityListing.html.md +2 -2
  16. data/doc_out/BillingAddress.html.md +5 -5
  17. data/doc_out/BillingContactListing.html.md +2 -2
  18. data/doc_out/CalibrationEntityListing.html.md +2 -2
  19. data/doc_out/CallConversationEntityListing.html.md +2 -2
  20. data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
  21. data/doc_out/CallbackConversationEntityListing.html.md +2 -2
  22. data/doc_out/CampaignEntityListing.html.md +2 -2
  23. data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
  24. data/doc_out/CarrierEntityListing.html.md +2 -2
  25. data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
  26. data/doc_out/ChannelEntityListing.html.md +2 -2
  27. data/doc_out/ChannelTopicEntityListing.html.md +2 -2
  28. data/doc_out/ChatConversationEntityListing.html.md +2 -2
  29. data/doc_out/CommandStatusEntityListing.html.md +2 -2
  30. data/doc_out/ConfigurationApi.html.md +5 -6
  31. data/doc_out/ConsumedResourcesEntityListing.html.md +2 -2
  32. data/doc_out/ConsumingResourcesEntityListing.html.md +2 -2
  33. data/doc_out/ContactListEntityListing.html.md +2 -2
  34. data/doc_out/ContactListing.html.md +2 -2
  35. data/doc_out/ContactSales.html.md +10 -10
  36. data/doc_out/ContentManagementApi.html.md +50 -52
  37. data/doc_out/Contract.html.md +3 -3
  38. data/doc_out/ConversationEntityListing.html.md +2 -2
  39. data/doc_out/ConversationsApi.html.md +140 -168
  40. data/doc_out/CreateCallbackCommand.html.md +2 -1
  41. data/doc_out/DIDEntityListing.html.md +2 -2
  42. data/doc_out/DIDPoolEntityListing.html.md +2 -2
  43. data/doc_out/DependencyObjectEntityListing.html.md +2 -2
  44. data/doc_out/DependencyTypeEntityListing.html.md +2 -2
  45. data/doc_out/Deployment.html.md +17 -0
  46. data/doc_out/DeploymentEntityListing.html.md +22 -0
  47. data/doc_out/DncList.html.md +4 -0
  48. data/doc_out/DncListEntityListing.html.md +2 -2
  49. data/doc_out/DocumentAuditEntityListing.html.md +2 -2
  50. data/doc_out/DocumentEntityListing.html.md +2 -2
  51. data/doc_out/DomainBillingPeriodEntityListing.html.md +2 -2
  52. data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +1 -1
  53. data/doc_out/DomainEntityListing.html.md +2 -2
  54. data/doc_out/DomainEntityListingEvaluationForm.html.md +2 -2
  55. data/doc_out/DomainEntityListingQueryResult.html.md +2 -2
  56. data/doc_out/DomainInvoiceEntityListing.html.md +2 -2
  57. data/doc_out/DomainLogicalInterface.html.md +3 -3
  58. data/doc_out/DomainThirdPartyAccountEntityListing.html.md +2 -2
  59. data/doc_out/DomainThirdPartySubscriptionEntityListing.html.md +2 -2
  60. data/doc_out/DomainVoiceRateExtendedResponseItemEntityListing.html.md +2 -2
  61. data/doc_out/DomainVoiceRateInternationalResponseItemEntityListing.html.md +2 -2
  62. data/doc_out/DomainVoiceRateResponseItemEntityListing.html.md +2 -2
  63. data/doc_out/EdgeEntityListing.html.md +2 -2
  64. data/doc_out/EdgeGroup.html.md +1 -1
  65. data/doc_out/EdgeGroupEntityListing.html.md +2 -2
  66. data/doc_out/EdgeLineEntityListing.html.md +2 -2
  67. data/doc_out/EmailConversationEntityListing.html.md +2 -2
  68. data/doc_out/EmailMessageListing.html.md +2 -2
  69. data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
  70. data/doc_out/Endpoint.html.md +2 -2
  71. data/doc_out/EndpointEntityListing.html.md +2 -2
  72. data/doc_out/EvaluationEntityListing.html.md +2 -2
  73. data/doc_out/EvaluationFormEntityListing.html.md +2 -2
  74. data/doc_out/EvaluatorActivityEntityListing.html.md +2 -2
  75. data/doc_out/ExpressionResponse.html.md +1 -1
  76. data/doc_out/ExtensionEntityListing.html.md +2 -2
  77. data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
  78. data/doc_out/ExternalContact.html.md +1 -0
  79. data/doc_out/ExternalOrganization.html.md +1 -0
  80. data/doc_out/ExternalOrganizationListing.html.md +2 -2
  81. data/doc_out/FaxApi.html.md +5 -6
  82. data/doc_out/FaxDocumentEntityListing.html.md +2 -2
  83. data/doc_out/Flow.html.md +5 -2
  84. data/doc_out/FlowConfigMetaDataEntityListing.html.md +2 -2
  85. data/doc_out/FlowEntityListing.html.md +2 -2
  86. data/doc_out/FlowVersionConfigMetaDataEntityListing.html.md +2 -2
  87. data/doc_out/FlowVersionEntityListing.html.md +2 -2
  88. data/doc_out/GeolocationApi.html.md +10 -12
  89. data/doc_out/Gistener.html.md +2 -2
  90. data/doc_out/Greeting.html.md +3 -3
  91. data/doc_out/GroupEntityListing.html.md +2 -2
  92. data/doc_out/GroupTag.html.md +1 -1
  93. data/doc_out/GroupsApi.html.md +20 -22
  94. data/doc_out/HardwareRateListing.html.md +2 -2
  95. data/doc_out/IVREntityListing.html.md +2 -2
  96. data/doc_out/IdentityProviderApi.html.md +35 -42
  97. data/doc_out/InboundDomain.html.md +1 -1
  98. data/doc_out/InboundDomainEntityListing.html.md +2 -2
  99. data/doc_out/InboundRouteEntityListing.html.md +2 -2
  100. data/doc_out/IntegrationEntityListing.html.md +2 -2
  101. data/doc_out/IntegrationTypeEntityListing.html.md +2 -2
  102. data/doc_out/InteractionStatsAlertContainer.html.md +2 -2
  103. data/doc_out/InteractionStatsRuleContainer.html.md +2 -2
  104. data/doc_out/JsonNode.html.md +1 -1
  105. data/doc_out/KeywordSetEntityListing.html.md +2 -2
  106. data/doc_out/LanguageEntityListing.html.md +2 -2
  107. data/doc_out/LanguagesApi.html.md +13 -13
  108. data/doc_out/LibraryEntityListing.html.md +2 -2
  109. data/doc_out/LineBaseEntityListing.html.md +2 -2
  110. data/doc_out/LineEntityListing.html.md +2 -2
  111. data/doc_out/LinkedEntityListingFlowDetails.html.md +2 -2
  112. data/doc_out/LinkedEntityListingWorkItemSearchDetails.html.md +2 -2
  113. data/doc_out/LocationsApi.html.md +10 -10
  114. data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
  115. data/doc_out/NoteListing.html.md +2 -2
  116. data/doc_out/NotificationsApi.html.md +10 -12
  117. data/doc_out/OAuthApi.html.md +10 -12
  118. data/doc_out/OAuthClientEntityListing.html.md +2 -2
  119. data/doc_out/OAuthProviderEntityListing.html.md +2 -2
  120. data/doc_out/Operation.html.md +16 -0
  121. data/doc_out/Order.html.md +2 -2
  122. data/doc_out/OrganizationPresence.html.md +1 -0
  123. data/doc_out/OrganizationPresenceEntityListing.html.md +2 -2
  124. data/doc_out/OrganizationRoleEntityListing.html.md +2 -2
  125. data/doc_out/OrphanRecordingListing.html.md +2 -2
  126. data/doc_out/OutboundApi.html.md +125 -145
  127. data/doc_out/OutboundRoute.html.md +1 -1
  128. data/doc_out/OutboundRouteEntityListing.html.md +2 -2
  129. data/doc_out/PaymentMethod.html.md +3 -3
  130. data/doc_out/PaymentMethodListing.html.md +2 -2
  131. data/doc_out/PermissionCollectionEntityListing.html.md +2 -2
  132. data/doc_out/Phone.html.md +3 -3
  133. data/doc_out/PhoneBase.html.md +2 -2
  134. data/doc_out/PhoneBaseEntityListing.html.md +2 -2
  135. data/doc_out/PhoneEntityListing.html.md +2 -2
  136. data/doc_out/PhoneMetaBaseEntityListing.html.md +2 -2
  137. data/doc_out/PhysicalInterfaceEntityListing.html.md +2 -2
  138. data/doc_out/PolicyEntityListing.html.md +2 -2
  139. data/doc_out/PresenceApi.html.md +5 -6
  140. data/doc_out/Prompt.html.md +1 -0
  141. data/doc_out/PromptAssetEntityListing.html.md +2 -2
  142. data/doc_out/PromptEntityListing.html.md +2 -2
  143. data/doc_out/Publication.html.md +1 -1
  144. data/doc_out/QualityApi.html.md +55 -58
  145. data/doc_out/QualityAuditPage.html.md +2 -2
  146. data/doc_out/QueueEntityListing.html.md +2 -2
  147. data/doc_out/Quote.html.md +3 -3
  148. data/doc_out/QuoteListing.html.md +2 -2
  149. data/doc_out/RecordingApi.html.md +30 -36
  150. data/doc_out/RelationshipListing.html.md +2 -2
  151. data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
  152. data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
  153. data/doc_out/ReportSchedule.html.md +3 -3
  154. data/doc_out/ReportScheduleEntityListing.html.md +2 -2
  155. data/doc_out/ResourcePermissionPolicy.html.md +1 -0
  156. data/doc_out/ResponseEntityList.html.md +2 -2
  157. data/doc_out/ResponseEntityListing.html.md +2 -2
  158. data/doc_out/ResponseManagementApi.html.md +25 -30
  159. data/doc_out/ResponseSetEntityListing.html.md +2 -2
  160. data/doc_out/RoutingApi.html.md +80 -94
  161. data/doc_out/RuleSetEntityListing.html.md +2 -2
  162. data/doc_out/SceneEntityListing.html.md +2 -2
  163. data/doc_out/SceneGroupEntityListing.html.md +2 -2
  164. data/doc_out/ScheduleEntityListing.html.md +2 -2
  165. data/doc_out/ScheduleGroupEntityListing.html.md +2 -2
  166. data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
  167. data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
  168. data/doc_out/ScriptEntityListing.html.md +2 -2
  169. data/doc_out/SearchApi.html.md +50 -46
  170. data/doc_out/SecurityProfileEntityListing.html.md +2 -2
  171. data/doc_out/ServiceEntityListing.html.md +2 -2
  172. data/doc_out/Share.html.md +1 -0
  173. data/doc_out/ShareEntityListing.html.md +2 -2
  174. data/doc_out/Site.html.md +1 -1
  175. data/doc_out/SiteEntityListing.html.md +2 -2
  176. data/doc_out/SkillEntityListing.html.md +2 -2
  177. data/doc_out/SocialAccount.html.md +2 -2
  178. data/doc_out/SocialConversationEntityListing.html.md +2 -2
  179. data/doc_out/SocializeFilterRequest.html.md +1 -1
  180. data/doc_out/SpreadsheetTransformEntityListing.html.md +2 -2
  181. data/doc_out/StationEntityListing.html.md +2 -2
  182. data/doc_out/SuggestApi.html.md +20 -16
  183. data/doc_out/SupportCreditListing.html.md +2 -2
  184. data/doc_out/SystemPromptAssetEntityListing.html.md +2 -2
  185. data/doc_out/SystemPromptEntityListing.html.md +2 -2
  186. data/doc_out/TagValueEntityListing.html.md +2 -2
  187. data/doc_out/TelephonyProvidersEdgeApi.html.md +160 -192
  188. data/doc_out/TemplateEntityListing.html.md +2 -2
  189. data/doc_out/TextTableTransformEntityListing.html.md +2 -2
  190. data/doc_out/TimeOffRequest.html.md +30 -0
  191. data/doc_out/TimeOffRequestList.html.md +16 -0
  192. data/doc_out/TimeOffRequestPatch.html.md +13 -0
  193. data/doc_out/TimeZoneEntityListing.html.md +2 -2
  194. data/doc_out/TrunkEntityListing.html.md +2 -2
  195. data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
  196. data/doc_out/TwitterExpression.html.md +4 -4
  197. data/doc_out/TwitterId.html.md +17 -0
  198. data/doc_out/UserActionCategoryEntityListing.html.md +2 -2
  199. data/doc_out/UserActionMetadataEntityListing.html.md +1 -1
  200. data/doc_out/UserEntityListing.html.md +2 -2
  201. data/doc_out/UserQueueEntityListing.html.md +2 -2
  202. data/doc_out/UserRecordingEntityListing.html.md +2 -2
  203. data/doc_out/UserRecordingsApi.html.md +5 -4
  204. data/doc_out/UserSkillEntityListing.html.md +2 -2
  205. data/doc_out/UsersApi.html.md +86 -99
  206. data/doc_out/UsersEntityListing.html.md +2 -2
  207. data/doc_out/UtilitiesApi.html.md +5 -6
  208. data/doc_out/VideoConversationEntityListing.html.md +2 -2
  209. data/doc_out/VoiceRateInternationalEntityListing.html.md +2 -2
  210. data/doc_out/VoiceXmlOperation.html.md +1 -0
  211. data/doc_out/VoiceXmlOperationEntityListing.html.md +2 -2
  212. data/doc_out/VoicemailApi.html.md +10 -12
  213. data/doc_out/WaypointEntityListing.html.md +2 -2
  214. data/doc_out/WorkspaceEntityListing.html.md +2 -2
  215. data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
  216. data/doc_out/WrapupCodeEntityListing.html.md +2 -2
  217. data/doc_out/index.html.md +3 -3
  218. data/lib/purecloud.rb +7 -0
  219. data/lib/purecloud/api/alerting_api.rb +27 -18
  220. data/lib/purecloud/api/analytics_api.rb +81 -54
  221. data/lib/purecloud/api/attributes_api.rb +27 -18
  222. data/lib/purecloud/api/authorization_api.rb +74 -50
  223. data/lib/purecloud/api/configuration_api.rb +9 -6
  224. data/lib/purecloud/api/content_management_api.rb +90 -60
  225. data/lib/purecloud/api/conversations_api.rb +252 -168
  226. data/lib/purecloud/api/fax_api.rb +9 -6
  227. data/lib/purecloud/api/geolocation_api.rb +18 -12
  228. data/lib/purecloud/api/groups_api.rb +36 -24
  229. data/lib/purecloud/api/identity_provider_api.rb +63 -42
  230. data/lib/purecloud/api/languages_api.rb +21 -12
  231. data/lib/purecloud/api/locations_api.rb +18 -12
  232. data/lib/purecloud/api/notifications_api.rb +18 -12
  233. data/lib/purecloud/api/o_auth_api.rb +18 -12
  234. data/lib/purecloud/api/outbound_api.rb +220 -148
  235. data/lib/purecloud/api/presence_api.rb +9 -6
  236. data/lib/purecloud/api/quality_api.rb +99 -66
  237. data/lib/purecloud/api/recording_api.rb +54 -36
  238. data/lib/purecloud/api/response_management_api.rb +45 -30
  239. data/lib/purecloud/api/routing_api.rb +144 -96
  240. data/lib/purecloud/api/search_api.rb +90 -60
  241. data/lib/purecloud/api/suggest_api.rb +36 -24
  242. data/lib/purecloud/api/telephony_providers_edge_api.rb +288 -192
  243. data/lib/purecloud/api/user_recordings_api.rb +9 -6
  244. data/lib/purecloud/api/users_api.rb +145 -100
  245. data/lib/purecloud/api/utilities_api.rb +9 -6
  246. data/lib/purecloud/api/voicemail_api.rb +18 -12
  247. data/lib/purecloud/api_client.rb +1 -1
  248. data/lib/purecloud/models/account.rb +12 -0
  249. data/lib/purecloud/models/address_listing.rb +17 -17
  250. data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
  251. data/lib/purecloud/models/aggregate_metric_data.rb +1 -1
  252. data/lib/purecloud/models/analytics_conversation_segment.rb +1 -1
  253. data/lib/purecloud/models/analytics_query_predicate.rb +2 -2
  254. data/lib/purecloud/models/analytics_session.rb +66 -1
  255. data/lib/purecloud/models/asset_entity_listing.rb +17 -17
  256. data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
  257. data/lib/purecloud/models/available_additional_service_listing.rb +17 -17
  258. data/lib/purecloud/models/available_topic_entity_listing.rb +17 -17
  259. data/lib/purecloud/models/billing_address.rb +5 -0
  260. data/lib/purecloud/models/billing_contact_listing.rb +17 -17
  261. data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
  262. data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
  263. data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
  264. data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
  265. data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
  266. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
  267. data/lib/purecloud/models/carrier_entity_listing.rb +17 -17
  268. data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
  269. data/lib/purecloud/models/channel_entity_listing.rb +17 -17
  270. data/lib/purecloud/models/channel_topic_entity_listing.rb +17 -17
  271. data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
  272. data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
  273. data/lib/purecloud/models/consumed_resources_entity_listing.rb +17 -17
  274. data/lib/purecloud/models/consuming_resources_entity_listing.rb +17 -17
  275. data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
  276. data/lib/purecloud/models/contact_listing.rb +17 -17
  277. data/lib/purecloud/models/contact_sales.rb +10 -0
  278. data/lib/purecloud/models/contract.rb +3 -0
  279. data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
  280. data/lib/purecloud/models/create_callback_command.rb +18 -8
  281. data/lib/purecloud/models/create_share_request.rb +1 -1
  282. data/lib/purecloud/models/create_share_request_member.rb +1 -1
  283. data/lib/purecloud/models/create_share_response.rb +1 -1
  284. data/lib/purecloud/models/dependency_object_entity_listing.rb +17 -17
  285. data/lib/purecloud/models/dependency_type_entity_listing.rb +17 -17
  286. data/lib/purecloud/models/deployment.rb +209 -0
  287. data/lib/purecloud/models/deployment_entity_listing.rb +257 -0
  288. data/lib/purecloud/models/did_entity_listing.rb +17 -17
  289. data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
  290. data/lib/purecloud/models/dnc_list.rb +56 -1
  291. data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
  292. data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
  293. data/lib/purecloud/models/document_entity_listing.rb +17 -17
  294. data/lib/purecloud/models/domain_billing_period_entity_listing.rb +17 -17
  295. data/lib/purecloud/models/domain_edge_software_update_dto.rb +1 -0
  296. data/lib/purecloud/models/domain_entity_listing.rb +17 -17
  297. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
  298. data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
  299. data/lib/purecloud/models/domain_invoice_entity_listing.rb +17 -17
  300. data/lib/purecloud/models/domain_logical_interface.rb +3 -0
  301. data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +17 -17
  302. data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +17 -17
  303. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +17 -17
  304. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +17 -17
  305. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +17 -17
  306. data/lib/purecloud/models/edge_entity_listing.rb +17 -17
  307. data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
  308. data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
  309. data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
  310. data/lib/purecloud/models/email_message_listing.rb +17 -17
  311. data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
  312. data/lib/purecloud/models/endpoint.rb +2 -0
  313. data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
  314. data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
  315. data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
  316. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
  317. data/lib/purecloud/models/extension_entity_listing.rb +17 -17
  318. data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
  319. data/lib/purecloud/models/external_contact.rb +11 -1
  320. data/lib/purecloud/models/external_organization.rb +11 -1
  321. data/lib/purecloud/models/external_organization_listing.rb +17 -17
  322. data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
  323. data/lib/purecloud/models/flow.rb +49 -19
  324. data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +17 -17
  325. data/lib/purecloud/models/flow_entity_listing.rb +17 -17
  326. data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +17 -17
  327. data/lib/purecloud/models/flow_version_entity_listing.rb +17 -17
  328. data/lib/purecloud/models/greeting.rb +3 -0
  329. data/lib/purecloud/models/group_entity_listing.rb +17 -17
  330. data/lib/purecloud/models/hardware_rate_listing.rb +17 -17
  331. data/lib/purecloud/models/inbound_domain.rb +1 -0
  332. data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
  333. data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
  334. data/lib/purecloud/models/integration_entity_listing.rb +17 -17
  335. data/lib/purecloud/models/integration_type_entity_listing.rb +17 -17
  336. data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
  337. data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
  338. data/lib/purecloud/models/ivr_entity_listing.rb +17 -17
  339. data/lib/purecloud/models/json_node.rb +13 -13
  340. data/lib/purecloud/models/keyword_set_entity_listing.rb +17 -17
  341. data/lib/purecloud/models/language_entity_listing.rb +17 -17
  342. data/lib/purecloud/models/library_entity_listing.rb +17 -17
  343. data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
  344. data/lib/purecloud/models/line_entity_listing.rb +17 -17
  345. data/lib/purecloud/models/linked_entity_listing_flow_details.rb +17 -17
  346. data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +17 -17
  347. data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
  348. data/lib/purecloud/models/management_unit.rb +1 -0
  349. data/lib/purecloud/models/note_listing.rb +17 -17
  350. data/lib/purecloud/models/o_auth_client_entity_listing.rb +17 -17
  351. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
  352. data/lib/purecloud/models/operation.rb +195 -0
  353. data/lib/purecloud/models/order.rb +2 -0
  354. data/lib/purecloud/models/organization_presence.rb +13 -1
  355. data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
  356. data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
  357. data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
  358. data/lib/purecloud/models/outbound_route.rb +1 -0
  359. data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
  360. data/lib/purecloud/models/payment_method.rb +3 -0
  361. data/lib/purecloud/models/payment_method_listing.rb +17 -17
  362. data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
  363. data/lib/purecloud/models/phone.rb +3 -0
  364. data/lib/purecloud/models/phone_base.rb +2 -0
  365. data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
  366. data/lib/purecloud/models/phone_entity_listing.rb +17 -17
  367. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
  368. data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
  369. data/lib/purecloud/models/policy_entity_listing.rb +17 -17
  370. data/lib/purecloud/models/prompt.rb +11 -1
  371. data/lib/purecloud/models/prompt_asset_entity_listing.rb +17 -17
  372. data/lib/purecloud/models/prompt_entity_listing.rb +17 -17
  373. data/lib/purecloud/models/quality_audit_page.rb +17 -17
  374. data/lib/purecloud/models/queue_entity_listing.rb +17 -17
  375. data/lib/purecloud/models/quote.rb +3 -0
  376. data/lib/purecloud/models/quote_listing.rb +17 -17
  377. data/lib/purecloud/models/relationship_listing.rb +17 -17
  378. data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
  379. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
  380. data/lib/purecloud/models/report_schedule.rb +3 -1
  381. data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
  382. data/lib/purecloud/models/resource_permission_policy.rb +13 -1
  383. data/lib/purecloud/models/response_entity_list.rb +17 -17
  384. data/lib/purecloud/models/response_entity_listing.rb +17 -17
  385. data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
  386. data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
  387. data/lib/purecloud/models/scene_entity_listing.rb +17 -17
  388. data/lib/purecloud/models/scene_group_entity_listing.rb +17 -17
  389. data/lib/purecloud/models/schedule_entity_listing.rb +17 -17
  390. data/lib/purecloud/models/schedule_group_entity_listing.rb +17 -17
  391. data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
  392. data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
  393. data/lib/purecloud/models/script_entity_listing.rb +17 -17
  394. data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
  395. data/lib/purecloud/models/service_entity_listing.rb +17 -17
  396. data/lib/purecloud/models/share.rb +12 -2
  397. data/lib/purecloud/models/share_entity_listing.rb +17 -17
  398. data/lib/purecloud/models/site.rb +1 -0
  399. data/lib/purecloud/models/site_entity_listing.rb +17 -17
  400. data/lib/purecloud/models/skill_entity_listing.rb +17 -17
  401. data/lib/purecloud/models/social_conversation_entity_listing.rb +17 -17
  402. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +17 -17
  403. data/lib/purecloud/models/station_entity_listing.rb +17 -17
  404. data/lib/purecloud/models/support_credit_listing.rb +17 -17
  405. data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +17 -17
  406. data/lib/purecloud/models/system_prompt_entity_listing.rb +17 -17
  407. data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
  408. data/lib/purecloud/models/template_entity_listing.rb +17 -17
  409. data/lib/purecloud/models/text_table_transform_entity_listing.rb +17 -17
  410. data/lib/purecloud/models/time_off_request.rb +356 -0
  411. data/lib/purecloud/models/time_off_request_list.rb +199 -0
  412. data/lib/purecloud/models/time_off_request_patch.rb +167 -0
  413. data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
  414. data/lib/purecloud/models/trunk_entity_listing.rb +17 -17
  415. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
  416. data/lib/purecloud/models/twitter_id.rb +213 -0
  417. data/lib/purecloud/models/user_action_category_entity_listing.rb +17 -17
  418. data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
  419. data/lib/purecloud/models/user_entity_listing.rb +17 -17
  420. data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
  421. data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
  422. data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
  423. data/lib/purecloud/models/users_entity_listing.rb +17 -17
  424. data/lib/purecloud/models/video_conversation_entity_listing.rb +17 -17
  425. data/lib/purecloud/models/voice_rate_international_entity_listing.rb +17 -17
  426. data/lib/purecloud/models/voice_xml_operation.rb +11 -1
  427. data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +17 -17
  428. data/lib/purecloud/models/waypoint_entity_listing.rb +17 -17
  429. data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
  430. data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
  431. data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
  432. data/lib/purecloud/version.rb +1 -1
  433. data/newVersion.md +1 -1
  434. data/swagger.json +1 -1
  435. data/version.json +1 -1
  436. metadata +16 -2
@@ -149,6 +149,7 @@ module PureCloud
149
149
  # @option opts [Integer] :page_size Page size (default to 25)
150
150
  # @option opts [Integer] :page_number Page number (default to 1)
151
151
  # @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
152
+ # @option opts [String] :name Name
152
153
  # @return [LanguageEntityListing]
153
154
  def get_languages(opts = {})
154
155
  data, status_code, headers = get_languages_with_http_info(opts)
@@ -161,6 +162,7 @@ module PureCloud
161
162
  # @option opts [Integer] :page_size Page size
162
163
  # @option opts [Integer] :page_number Page number
163
164
  # @option opts [String] :sort_order Ascending or descending sort order
165
+ # @option opts [String] :name Name
164
166
  # @return [Array<(LanguageEntityListing, Fixnum, Hash)>] LanguageEntityListing data, response status code and response headers
165
167
  def get_languages_with_http_info(opts = {})
166
168
  if @api_client.config.debugging
@@ -179,6 +181,7 @@ module PureCloud
179
181
  query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
180
182
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
181
183
  query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
184
+ query_params[:'name'] = opts[:'name'] if opts[:'name']
182
185
 
183
186
  # header parameters
184
187
  header_params = {}
@@ -213,24 +216,27 @@ module PureCloud
213
216
 
214
217
  # Create Language
215
218
  #
219
+ # @param body Language
216
220
  # @param [Hash] opts the optional parameters
217
- # @option opts [Language] :body Language
218
221
  # @return [Language]
219
- def post_languages(opts = {})
220
- data, status_code, headers = post_languages_with_http_info(opts)
222
+ def post_languages(body, opts = {})
223
+ data, status_code, headers = post_languages_with_http_info(body, opts)
221
224
  return data
222
225
  end
223
226
 
224
227
  # Create Language
225
228
  #
229
+ # @param body Language
226
230
  # @param [Hash] opts the optional parameters
227
- # @option opts [Language] :body Language
228
231
  # @return [Array<(Language, Fixnum, Hash)>] Language data, response status code and response headers
229
- def post_languages_with_http_info(opts = {})
232
+ def post_languages_with_http_info(body, opts = {})
230
233
  if @api_client.config.debugging
231
234
  @api_client.config.logger.debug "Calling API: LanguagesApi#post_languages ..."
232
235
  end
233
236
 
237
+ # verify the required parameter 'body' is set
238
+ fail "Missing the required parameter 'body' when calling post_languages" if body.nil?
239
+
234
240
  # resource path
235
241
  local_var_path = "/api/v2/languages".sub('{format}','json')
236
242
 
@@ -252,7 +258,7 @@ module PureCloud
252
258
  form_params = {}
253
259
 
254
260
  # http body (model)
255
- post_body = @api_client.object_to_http_body(opts[:'body'])
261
+ post_body = @api_client.object_to_http_body(body)
256
262
 
257
263
  auth_names = ['PureCloud Auth']
258
264
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -271,21 +277,21 @@ module PureCloud
271
277
  # Update Language
272
278
  #
273
279
  # @param language_id Language ID
280
+ # @param body Language
274
281
  # @param [Hash] opts the optional parameters
275
- # @option opts [Language] :body Language
276
282
  # @return [Language]
277
- def put_language_id(language_id, opts = {})
278
- data, status_code, headers = put_language_id_with_http_info(language_id, opts)
283
+ def put_language_id(language_id, body, opts = {})
284
+ data, status_code, headers = put_language_id_with_http_info(language_id, body, opts)
279
285
  return data
280
286
  end
281
287
 
282
288
  # Update Language
283
289
  #
284
290
  # @param language_id Language ID
291
+ # @param body Language
285
292
  # @param [Hash] opts the optional parameters
286
- # @option opts [Language] :body Language
287
293
  # @return [Array<(Language, Fixnum, Hash)>] Language data, response status code and response headers
288
- def put_language_id_with_http_info(language_id, opts = {})
294
+ def put_language_id_with_http_info(language_id, body, opts = {})
289
295
  if @api_client.config.debugging
290
296
  @api_client.config.logger.debug "Calling API: LanguagesApi#put_language_id ..."
291
297
  end
@@ -293,6 +299,9 @@ module PureCloud
293
299
  # verify the required parameter 'language_id' is set
294
300
  fail "Missing the required parameter 'language_id' when calling put_language_id" if language_id.nil?
295
301
 
302
+ # verify the required parameter 'body' is set
303
+ fail "Missing the required parameter 'body' when calling put_language_id" if body.nil?
304
+
296
305
  # resource path
297
306
  local_var_path = "/api/v2/languages/{languageId}".sub('{format}','json').sub('{' + 'languageId' + '}', language_id.to_s)
298
307
 
@@ -314,7 +323,7 @@ module PureCloud
314
323
  form_params = {}
315
324
 
316
325
  # http body (model)
317
- post_body = @api_client.object_to_http_body(opts[:'body'])
326
+ post_body = @api_client.object_to_http_body(body)
318
327
 
319
328
  auth_names = ['PureCloud Auth']
320
329
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -154,32 +154,35 @@ module PureCloud
154
154
 
155
155
  # Search using q64
156
156
  #
157
+ # @param q64
157
158
  # @param [Hash] opts the optional parameters
158
- # @option opts [String] :q64
159
159
  # @option opts [Array<String>] :expand
160
160
  # @return [LocationsSearchResponse]
161
- def get_search(opts = {})
162
- data, status_code, headers = get_search_with_http_info(opts)
161
+ def get_search(q64, opts = {})
162
+ data, status_code, headers = get_search_with_http_info(q64, opts)
163
163
  return data
164
164
  end
165
165
 
166
166
  # Search using q64
167
167
  #
168
+ # @param q64
168
169
  # @param [Hash] opts the optional parameters
169
- # @option opts [String] :q64
170
170
  # @option opts [Array<String>] :expand
171
171
  # @return [Array<(LocationsSearchResponse, Fixnum, Hash)>] LocationsSearchResponse data, response status code and response headers
172
- def get_search_with_http_info(opts = {})
172
+ def get_search_with_http_info(q64, opts = {})
173
173
  if @api_client.config.debugging
174
174
  @api_client.config.logger.debug "Calling API: LocationsApi#get_search ..."
175
175
  end
176
176
 
177
+ # verify the required parameter 'q64' is set
178
+ fail "Missing the required parameter 'q64' when calling get_search" if q64.nil?
179
+
177
180
  # resource path
178
181
  local_var_path = "/api/v2/locations/search".sub('{format}','json')
179
182
 
180
183
  # query parameters
181
184
  query_params = {}
182
- query_params[:'q64'] = opts[:'q64'] if opts[:'q64']
185
+ query_params[:'q64'] = q64
183
186
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
184
187
 
185
188
  # header parameters
@@ -215,24 +218,27 @@ module PureCloud
215
218
 
216
219
  # Search
217
220
  #
221
+ # @param body Search request options
218
222
  # @param [Hash] opts the optional parameters
219
- # @option opts [LocationSearchRequest] :body Search request options
220
223
  # @return [LocationsSearchResponse]
221
- def post_search(opts = {})
222
- data, status_code, headers = post_search_with_http_info(opts)
224
+ def post_search(body, opts = {})
225
+ data, status_code, headers = post_search_with_http_info(body, opts)
223
226
  return data
224
227
  end
225
228
 
226
229
  # Search
227
230
  #
231
+ # @param body Search request options
228
232
  # @param [Hash] opts the optional parameters
229
- # @option opts [LocationSearchRequest] :body Search request options
230
233
  # @return [Array<(LocationsSearchResponse, Fixnum, Hash)>] LocationsSearchResponse data, response status code and response headers
231
- def post_search_with_http_info(opts = {})
234
+ def post_search_with_http_info(body, opts = {})
232
235
  if @api_client.config.debugging
233
236
  @api_client.config.logger.debug "Calling API: LocationsApi#post_search ..."
234
237
  end
235
238
 
239
+ # verify the required parameter 'body' is set
240
+ fail "Missing the required parameter 'body' when calling post_search" if body.nil?
241
+
236
242
  # resource path
237
243
  local_var_path = "/api/v2/locations/search".sub('{format}','json')
238
244
 
@@ -254,7 +260,7 @@ module PureCloud
254
260
  form_params = {}
255
261
 
256
262
  # http body (model)
257
- post_body = @api_client.object_to_http_body(opts[:'body'])
263
+ post_body = @api_client.object_to_http_body(body)
258
264
 
259
265
  auth_names = ['PureCloud Auth']
260
266
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -315,21 +315,21 @@ module PureCloud
315
315
  # Add a list of subscriptions to the existing list of subscriptions
316
316
  #
317
317
  # @param channel_id Channel ID
318
+ # @param body Topic
318
319
  # @param [Hash] opts the optional parameters
319
- # @option opts [Array<ChannelTopic>] :body Topic
320
320
  # @return [ChannelTopicEntityListing]
321
- def post_channels_channel_id_subscriptions(channel_id, opts = {})
322
- data, status_code, headers = post_channels_channel_id_subscriptions_with_http_info(channel_id, opts)
321
+ def post_channels_channel_id_subscriptions(channel_id, body, opts = {})
322
+ data, status_code, headers = post_channels_channel_id_subscriptions_with_http_info(channel_id, body, opts)
323
323
  return data
324
324
  end
325
325
 
326
326
  # Add a list of subscriptions to the existing list of subscriptions
327
327
  #
328
328
  # @param channel_id Channel ID
329
+ # @param body Topic
329
330
  # @param [Hash] opts the optional parameters
330
- # @option opts [Array<ChannelTopic>] :body Topic
331
331
  # @return [Array<(ChannelTopicEntityListing, Fixnum, Hash)>] ChannelTopicEntityListing data, response status code and response headers
332
- def post_channels_channel_id_subscriptions_with_http_info(channel_id, opts = {})
332
+ def post_channels_channel_id_subscriptions_with_http_info(channel_id, body, opts = {})
333
333
  if @api_client.config.debugging
334
334
  @api_client.config.logger.debug "Calling API: NotificationsApi#post_channels_channel_id_subscriptions ..."
335
335
  end
@@ -337,6 +337,9 @@ module PureCloud
337
337
  # verify the required parameter 'channel_id' is set
338
338
  fail "Missing the required parameter 'channel_id' when calling post_channels_channel_id_subscriptions" if channel_id.nil?
339
339
 
340
+ # verify the required parameter 'body' is set
341
+ fail "Missing the required parameter 'body' when calling post_channels_channel_id_subscriptions" if body.nil?
342
+
340
343
  # resource path
341
344
  local_var_path = "/api/v2/notifications/channels/{channelId}/subscriptions".sub('{format}','json').sub('{' + 'channelId' + '}', channel_id.to_s)
342
345
 
@@ -358,7 +361,7 @@ module PureCloud
358
361
  form_params = {}
359
362
 
360
363
  # http body (model)
361
- post_body = @api_client.object_to_http_body(opts[:'body'])
364
+ post_body = @api_client.object_to_http_body(body)
362
365
 
363
366
  auth_names = ['PureCloud Auth']
364
367
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -377,21 +380,21 @@ module PureCloud
377
380
  # Replace the current list of subscriptions with a new list.
378
381
  #
379
382
  # @param channel_id Channel ID
383
+ # @param body Topic
380
384
  # @param [Hash] opts the optional parameters
381
- # @option opts [Array<ChannelTopic>] :body Topic
382
385
  # @return [ChannelTopicEntityListing]
383
- def put_channels_channel_id_subscriptions(channel_id, opts = {})
384
- data, status_code, headers = put_channels_channel_id_subscriptions_with_http_info(channel_id, opts)
386
+ def put_channels_channel_id_subscriptions(channel_id, body, opts = {})
387
+ data, status_code, headers = put_channels_channel_id_subscriptions_with_http_info(channel_id, body, opts)
385
388
  return data
386
389
  end
387
390
 
388
391
  # Replace the current list of subscriptions with a new list.
389
392
  #
390
393
  # @param channel_id Channel ID
394
+ # @param body Topic
391
395
  # @param [Hash] opts the optional parameters
392
- # @option opts [Array<ChannelTopic>] :body Topic
393
396
  # @return [Array<(ChannelTopicEntityListing, Fixnum, Hash)>] ChannelTopicEntityListing data, response status code and response headers
394
- def put_channels_channel_id_subscriptions_with_http_info(channel_id, opts = {})
397
+ def put_channels_channel_id_subscriptions_with_http_info(channel_id, body, opts = {})
395
398
  if @api_client.config.debugging
396
399
  @api_client.config.logger.debug "Calling API: NotificationsApi#put_channels_channel_id_subscriptions ..."
397
400
  end
@@ -399,6 +402,9 @@ module PureCloud
399
402
  # verify the required parameter 'channel_id' is set
400
403
  fail "Missing the required parameter 'channel_id' when calling put_channels_channel_id_subscriptions" if channel_id.nil?
401
404
 
405
+ # verify the required parameter 'body' is set
406
+ fail "Missing the required parameter 'body' when calling put_channels_channel_id_subscriptions" if body.nil?
407
+
402
408
  # resource path
403
409
  local_var_path = "/api/v2/notifications/channels/{channelId}/subscriptions".sub('{format}','json').sub('{' + 'channelId' + '}', channel_id.to_s)
404
410
 
@@ -420,7 +426,7 @@ module PureCloud
420
426
  form_params = {}
421
427
 
422
428
  # http body (model)
423
- post_body = @api_client.object_to_http_body(opts[:'body'])
429
+ post_body = @api_client.object_to_http_body(body)
424
430
 
425
431
  auth_names = ['PureCloud Auth']
426
432
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -200,24 +200,27 @@ module PureCloud
200
200
 
201
201
  # Create OAuth client
202
202
  # The OAuth Grant/Client is required in order to create an authentication token and gain access to PureCloud. \nThe preferred authorizedGrantTypes is 'CODE' which requires applications to send a client ID and client secret. This is typically a web server. \nIf the client is unable to secure the client secret then the 'TOKEN' grant type aka IMPLICIT should be used. This is would be for browser or mobile apps. \nIf a client is to be used outside of the context of a user then the 'CLIENT-CREDENTIALS' grant may be used. In this case the client must be granted roles \nvia the 'roleIds' field.
203
+ # @param body Client
203
204
  # @param [Hash] opts the optional parameters
204
- # @option opts [OAuthClient] :body Client
205
205
  # @return [OAuthClient]
206
- def post_clients(opts = {})
207
- data, status_code, headers = post_clients_with_http_info(opts)
206
+ def post_clients(body, opts = {})
207
+ data, status_code, headers = post_clients_with_http_info(body, opts)
208
208
  return data
209
209
  end
210
210
 
211
211
  # Create OAuth client
212
212
  # The OAuth Grant/Client is required in order to create an authentication token and gain access to PureCloud. \nThe preferred authorizedGrantTypes is &#39;CODE&#39; which requires applications to send a client ID and client secret. This is typically a web server. \nIf the client is unable to secure the client secret then the &#39;TOKEN&#39; grant type aka IMPLICIT should be used. This is would be for browser or mobile apps. \nIf a client is to be used outside of the context of a user then the &#39;CLIENT-CREDENTIALS&#39; grant may be used. In this case the client must be granted roles \nvia the &#39;roleIds&#39; field.
213
+ # @param body Client
213
214
  # @param [Hash] opts the optional parameters
214
- # @option opts [OAuthClient] :body Client
215
215
  # @return [Array<(OAuthClient, Fixnum, Hash)>] OAuthClient data, response status code and response headers
216
- def post_clients_with_http_info(opts = {})
216
+ def post_clients_with_http_info(body, opts = {})
217
217
  if @api_client.config.debugging
218
218
  @api_client.config.logger.debug "Calling API: OAuthApi#post_clients ..."
219
219
  end
220
220
 
221
+ # verify the required parameter 'body' is set
222
+ fail "Missing the required parameter 'body' when calling post_clients" if body.nil?
223
+
221
224
  # resource path
222
225
  local_var_path = "/api/v2/oauth/clients".sub('{format}','json')
223
226
 
@@ -239,7 +242,7 @@ module PureCloud
239
242
  form_params = {}
240
243
 
241
244
  # http body (model)
242
- post_body = @api_client.object_to_http_body(opts[:'body'])
245
+ post_body = @api_client.object_to_http_body(body)
243
246
 
244
247
  auth_names = ['PureCloud Auth']
245
248
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -317,21 +320,21 @@ module PureCloud
317
320
  # Update OAuth Client
318
321
  #
319
322
  # @param client_id Client ID
323
+ # @param body Client
320
324
  # @param [Hash] opts the optional parameters
321
- # @option opts [OAuthClient] :body Client
322
325
  # @return [OAuthClient]
323
- def put_clients_client_id(client_id, opts = {})
324
- data, status_code, headers = put_clients_client_id_with_http_info(client_id, opts)
326
+ def put_clients_client_id(client_id, body, opts = {})
327
+ data, status_code, headers = put_clients_client_id_with_http_info(client_id, body, opts)
325
328
  return data
326
329
  end
327
330
 
328
331
  # Update OAuth Client
329
332
  #
330
333
  # @param client_id Client ID
334
+ # @param body Client
331
335
  # @param [Hash] opts the optional parameters
332
- # @option opts [OAuthClient] :body Client
333
336
  # @return [Array<(OAuthClient, Fixnum, Hash)>] OAuthClient data, response status code and response headers
334
- def put_clients_client_id_with_http_info(client_id, opts = {})
337
+ def put_clients_client_id_with_http_info(client_id, body, opts = {})
335
338
  if @api_client.config.debugging
336
339
  @api_client.config.logger.debug "Calling API: OAuthApi#put_clients_client_id ..."
337
340
  end
@@ -339,6 +342,9 @@ module PureCloud
339
342
  # verify the required parameter 'client_id' is set
340
343
  fail "Missing the required parameter 'client_id' when calling put_clients_client_id" if client_id.nil?
341
344
 
345
+ # verify the required parameter 'body' is set
346
+ fail "Missing the required parameter 'body' when calling put_clients_client_id" if body.nil?
347
+
342
348
  # resource path
343
349
  local_var_path = "/api/v2/oauth/clients/{clientId}".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s)
344
350
 
@@ -360,7 +366,7 @@ module PureCloud
360
366
  form_params = {}
361
367
 
362
368
  # http body (model)
363
- post_body = @api_client.object_to_http_body(opts[:'body'])
369
+ post_body = @api_client.object_to_http_body(body)
364
370
 
365
371
  auth_names = ['PureCloud Auth']
366
372
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -1460,7 +1460,7 @@ module PureCloud
1460
1460
  return data, status_code, headers
1461
1461
  end
1462
1462
 
1463
- # Get dialer contactList.
1463
+ # Get a contact.
1464
1464
  #
1465
1465
  # @param contact_list_id Contact List ID
1466
1466
  # @param contact_id Contact ID
@@ -1471,7 +1471,7 @@ module PureCloud
1471
1471
  return data
1472
1472
  end
1473
1473
 
1474
- # Get dialer contactList.
1474
+ # Get a contact.
1475
1475
  #
1476
1476
  # @param contact_list_id Contact List ID
1477
1477
  # @param contact_id Contact ID
@@ -2493,34 +2493,37 @@ module PureCloud
2493
2493
 
2494
2494
  # Retrieves audits for dialer.
2495
2495
  #
2496
+ # @param body AuditSearch
2496
2497
  # @param [Hash] opts the optional parameters
2497
- # @option opts [DialerAuditRequest] :body AuditSearch
2498
2498
  # @option opts [Integer] :page_size Page size (default to 25)
2499
2499
  # @option opts [Integer] :page_number Page number (default to 1)
2500
2500
  # @option opts [String] :sort_by Sort by (default to entity.name)
2501
2501
  # @option opts [String] :sort_order Sort order (default to ascending)
2502
2502
  # @option opts [BOOLEAN] :facets_only Facets only (default to false)
2503
2503
  # @return [AuditSearchResult]
2504
- def post_audits(opts = {})
2505
- data, status_code, headers = post_audits_with_http_info(opts)
2504
+ def post_audits(body, opts = {})
2505
+ data, status_code, headers = post_audits_with_http_info(body, opts)
2506
2506
  return data
2507
2507
  end
2508
2508
 
2509
2509
  # Retrieves audits for dialer.
2510
2510
  #
2511
+ # @param body AuditSearch
2511
2512
  # @param [Hash] opts the optional parameters
2512
- # @option opts [DialerAuditRequest] :body AuditSearch
2513
2513
  # @option opts [Integer] :page_size Page size
2514
2514
  # @option opts [Integer] :page_number Page number
2515
2515
  # @option opts [String] :sort_by Sort by
2516
2516
  # @option opts [String] :sort_order Sort order
2517
2517
  # @option opts [BOOLEAN] :facets_only Facets only
2518
2518
  # @return [Array<(AuditSearchResult, Fixnum, Hash)>] AuditSearchResult data, response status code and response headers
2519
- def post_audits_with_http_info(opts = {})
2519
+ def post_audits_with_http_info(body, opts = {})
2520
2520
  if @api_client.config.debugging
2521
2521
  @api_client.config.logger.debug "Calling API: OutboundApi#post_audits ..."
2522
2522
  end
2523
2523
 
2524
+ # verify the required parameter 'body' is set
2525
+ fail "Missing the required parameter 'body' when calling post_audits" if body.nil?
2526
+
2524
2527
  # resource path
2525
2528
  local_var_path = "/api/v2/outbound/audits".sub('{format}','json')
2526
2529
 
@@ -2547,7 +2550,7 @@ module PureCloud
2547
2550
  form_params = {}
2548
2551
 
2549
2552
  # http body (model)
2550
- post_body = @api_client.object_to_http_body(opts[:'body'])
2553
+ post_body = @api_client.object_to_http_body(body)
2551
2554
 
2552
2555
  auth_names = ['PureCloud Auth']
2553
2556
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -2565,24 +2568,27 @@ module PureCloud
2565
2568
 
2566
2569
  # Create callable time set
2567
2570
  #
2571
+ # @param body DialerCallableTimeSet
2568
2572
  # @param [Hash] opts the optional parameters
2569
- # @option opts [CallableTimeSet] :body DialerCallableTimeSet
2570
2573
  # @return [CallableTimeSet]
2571
- def post_callabletimesets(opts = {})
2572
- data, status_code, headers = post_callabletimesets_with_http_info(opts)
2574
+ def post_callabletimesets(body, opts = {})
2575
+ data, status_code, headers = post_callabletimesets_with_http_info(body, opts)
2573
2576
  return data
2574
2577
  end
2575
2578
 
2576
2579
  # Create callable time set
2577
2580
  #
2581
+ # @param body DialerCallableTimeSet
2578
2582
  # @param [Hash] opts the optional parameters
2579
- # @option opts [CallableTimeSet] :body DialerCallableTimeSet
2580
2583
  # @return [Array<(CallableTimeSet, Fixnum, Hash)>] CallableTimeSet data, response status code and response headers
2581
- def post_callabletimesets_with_http_info(opts = {})
2584
+ def post_callabletimesets_with_http_info(body, opts = {})
2582
2585
  if @api_client.config.debugging
2583
2586
  @api_client.config.logger.debug "Calling API: OutboundApi#post_callabletimesets ..."
2584
2587
  end
2585
2588
 
2589
+ # verify the required parameter 'body' is set
2590
+ fail "Missing the required parameter 'body' when calling post_callabletimesets" if body.nil?
2591
+
2586
2592
  # resource path
2587
2593
  local_var_path = "/api/v2/outbound/callabletimesets".sub('{format}','json')
2588
2594
 
@@ -2604,7 +2610,7 @@ module PureCloud
2604
2610
  form_params = {}
2605
2611
 
2606
2612
  # http body (model)
2607
- post_body = @api_client.object_to_http_body(opts[:'body'])
2613
+ post_body = @api_client.object_to_http_body(body)
2608
2614
 
2609
2615
  auth_names = ['PureCloud Auth']
2610
2616
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -2622,24 +2628,27 @@ module PureCloud
2622
2628
 
2623
2629
  # Create a dialer call analysis response set.
2624
2630
  #
2631
+ # @param body ResponseSet
2625
2632
  # @param [Hash] opts the optional parameters
2626
- # @option opts [ResponseSet] :body ResponseSet
2627
2633
  # @return [ResponseSet]
2628
- def post_callanalysisresponsesets(opts = {})
2629
- data, status_code, headers = post_callanalysisresponsesets_with_http_info(opts)
2634
+ def post_callanalysisresponsesets(body, opts = {})
2635
+ data, status_code, headers = post_callanalysisresponsesets_with_http_info(body, opts)
2630
2636
  return data
2631
2637
  end
2632
2638
 
2633
2639
  # Create a dialer call analysis response set.
2634
2640
  #
2641
+ # @param body ResponseSet
2635
2642
  # @param [Hash] opts the optional parameters
2636
- # @option opts [ResponseSet] :body ResponseSet
2637
2643
  # @return [Array<(ResponseSet, Fixnum, Hash)>] ResponseSet data, response status code and response headers
2638
- def post_callanalysisresponsesets_with_http_info(opts = {})
2644
+ def post_callanalysisresponsesets_with_http_info(body, opts = {})
2639
2645
  if @api_client.config.debugging
2640
2646
  @api_client.config.logger.debug "Calling API: OutboundApi#post_callanalysisresponsesets ..."
2641
2647
  end
2642
2648
 
2649
+ # verify the required parameter 'body' is set
2650
+ fail "Missing the required parameter 'body' when calling post_callanalysisresponsesets" if body.nil?
2651
+
2643
2652
  # resource path
2644
2653
  local_var_path = "/api/v2/outbound/callanalysisresponsesets".sub('{format}','json')
2645
2654
 
@@ -2661,7 +2670,7 @@ module PureCloud
2661
2670
  form_params = {}
2662
2671
 
2663
2672
  # http body (model)
2664
- post_body = @api_client.object_to_http_body(opts[:'body'])
2673
+ post_body = @api_client.object_to_http_body(body)
2665
2674
 
2666
2675
  auth_names = ['PureCloud Auth']
2667
2676
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -2679,24 +2688,27 @@ module PureCloud
2679
2688
 
2680
2689
  # Create a campaign.
2681
2690
  #
2691
+ # @param body Campaign
2682
2692
  # @param [Hash] opts the optional parameters
2683
- # @option opts [Campaign] :body Campaign
2684
2693
  # @return [Campaign]
2685
- def post_campaigns(opts = {})
2686
- data, status_code, headers = post_campaigns_with_http_info(opts)
2694
+ def post_campaigns(body, opts = {})
2695
+ data, status_code, headers = post_campaigns_with_http_info(body, opts)
2687
2696
  return data
2688
2697
  end
2689
2698
 
2690
2699
  # Create a campaign.
2691
2700
  #
2701
+ # @param body Campaign
2692
2702
  # @param [Hash] opts the optional parameters
2693
- # @option opts [Campaign] :body Campaign
2694
2703
  # @return [Array<(Campaign, Fixnum, Hash)>] Campaign data, response status code and response headers
2695
- def post_campaigns_with_http_info(opts = {})
2704
+ def post_campaigns_with_http_info(body, opts = {})
2696
2705
  if @api_client.config.debugging
2697
2706
  @api_client.config.logger.debug "Calling API: OutboundApi#post_campaigns ..."
2698
2707
  end
2699
2708
 
2709
+ # verify the required parameter 'body' is set
2710
+ fail "Missing the required parameter 'body' when calling post_campaigns" if body.nil?
2711
+
2700
2712
  # resource path
2701
2713
  local_var_path = "/api/v2/outbound/campaigns".sub('{format}','json')
2702
2714
 
@@ -2718,7 +2730,7 @@ module PureCloud
2718
2730
  form_params = {}
2719
2731
 
2720
2732
  # http body (model)
2721
- post_body = @api_client.object_to_http_body(opts[:'body'])
2733
+ post_body = @api_client.object_to_http_body(body)
2722
2734
 
2723
2735
  auth_names = ['PureCloud Auth']
2724
2736
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -2737,21 +2749,21 @@ module PureCloud
2737
2749
  # Schedule a Callback for a Dialer Campaign
2738
2750
  #
2739
2751
  # @param campaign_id Campaign ID
2752
+ # @param body ContactCallbackRequest
2740
2753
  # @param [Hash] opts the optional parameters
2741
- # @option opts [ContactCallbackRequest] :body ContactCallbackRequest
2742
2754
  # @return [ContactCallbackRequest]
2743
- def post_campaigns_campaign_id_callback_schedule(campaign_id, opts = {})
2744
- data, status_code, headers = post_campaigns_campaign_id_callback_schedule_with_http_info(campaign_id, opts)
2755
+ def post_campaigns_campaign_id_callback_schedule(campaign_id, body, opts = {})
2756
+ data, status_code, headers = post_campaigns_campaign_id_callback_schedule_with_http_info(campaign_id, body, opts)
2745
2757
  return data
2746
2758
  end
2747
2759
 
2748
2760
  # Schedule a Callback for a Dialer Campaign
2749
2761
  #
2750
2762
  # @param campaign_id Campaign ID
2763
+ # @param body ContactCallbackRequest
2751
2764
  # @param [Hash] opts the optional parameters
2752
- # @option opts [ContactCallbackRequest] :body ContactCallbackRequest
2753
2765
  # @return [Array<(ContactCallbackRequest, Fixnum, Hash)>] ContactCallbackRequest data, response status code and response headers
2754
- def post_campaigns_campaign_id_callback_schedule_with_http_info(campaign_id, opts = {})
2766
+ def post_campaigns_campaign_id_callback_schedule_with_http_info(campaign_id, body, opts = {})
2755
2767
  if @api_client.config.debugging
2756
2768
  @api_client.config.logger.debug "Calling API: OutboundApi#post_campaigns_campaign_id_callback_schedule ..."
2757
2769
  end
@@ -2759,6 +2771,9 @@ module PureCloud
2759
2771
  # verify the required parameter 'campaign_id' is set
2760
2772
  fail "Missing the required parameter 'campaign_id' when calling post_campaigns_campaign_id_callback_schedule" if campaign_id.nil?
2761
2773
 
2774
+ # verify the required parameter 'body' is set
2775
+ fail "Missing the required parameter 'body' when calling post_campaigns_campaign_id_callback_schedule" if body.nil?
2776
+
2762
2777
  # resource path
2763
2778
  local_var_path = "/api/v2/outbound/campaigns/{campaignId}/callback/schedule".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
2764
2779
 
@@ -2780,7 +2795,7 @@ module PureCloud
2780
2795
  form_params = {}
2781
2796
 
2782
2797
  # http body (model)
2783
- post_body = @api_client.object_to_http_body(opts[:'body'])
2798
+ post_body = @api_client.object_to_http_body(body)
2784
2799
 
2785
2800
  auth_names = ['PureCloud Auth']
2786
2801
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -2798,24 +2813,27 @@ module PureCloud
2798
2813
 
2799
2814
  # Get progress for a list of campaigns
2800
2815
  #
2816
+ # @param body Campaign IDs
2801
2817
  # @param [Hash] opts the optional parameters
2802
- # @option opts [Array<String>] :body Campaign IDs
2803
2818
  # @return [Array<CampaignProgress>]
2804
- def post_campaigns_progress(opts = {})
2805
- data, status_code, headers = post_campaigns_progress_with_http_info(opts)
2819
+ def post_campaigns_progress(body, opts = {})
2820
+ data, status_code, headers = post_campaigns_progress_with_http_info(body, opts)
2806
2821
  return data
2807
2822
  end
2808
2823
 
2809
2824
  # Get progress for a list of campaigns
2810
2825
  #
2826
+ # @param body Campaign IDs
2811
2827
  # @param [Hash] opts the optional parameters
2812
- # @option opts [Array<String>] :body Campaign IDs
2813
2828
  # @return [Array<(Array<CampaignProgress>, Fixnum, Hash)>] Array<CampaignProgress> data, response status code and response headers
2814
- def post_campaigns_progress_with_http_info(opts = {})
2829
+ def post_campaigns_progress_with_http_info(body, opts = {})
2815
2830
  if @api_client.config.debugging
2816
2831
  @api_client.config.logger.debug "Calling API: OutboundApi#post_campaigns_progress ..."
2817
2832
  end
2818
2833
 
2834
+ # verify the required parameter 'body' is set
2835
+ fail "Missing the required parameter 'body' when calling post_campaigns_progress" if body.nil?
2836
+
2819
2837
  # resource path
2820
2838
  local_var_path = "/api/v2/outbound/campaigns/progress".sub('{format}','json')
2821
2839
 
@@ -2837,7 +2855,7 @@ module PureCloud
2837
2855
  form_params = {}
2838
2856
 
2839
2857
  # http body (model)
2840
- post_body = @api_client.object_to_http_body(opts[:'body'])
2858
+ post_body = @api_client.object_to_http_body(body)
2841
2859
 
2842
2860
  auth_names = ['PureCloud Auth']
2843
2861
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -2855,24 +2873,27 @@ module PureCloud
2855
2873
 
2856
2874
  # Create a contact List.
2857
2875
  #
2876
+ # @param body ContactList
2858
2877
  # @param [Hash] opts the optional parameters
2859
- # @option opts [ContactList] :body ContactList
2860
2878
  # @return [ContactList]
2861
- def post_contactlists(opts = {})
2862
- data, status_code, headers = post_contactlists_with_http_info(opts)
2879
+ def post_contactlists(body, opts = {})
2880
+ data, status_code, headers = post_contactlists_with_http_info(body, opts)
2863
2881
  return data
2864
2882
  end
2865
2883
 
2866
2884
  # Create a contact List.
2867
2885
  #
2886
+ # @param body ContactList
2868
2887
  # @param [Hash] opts the optional parameters
2869
- # @option opts [ContactList] :body ContactList
2870
2888
  # @return [Array<(ContactList, Fixnum, Hash)>] ContactList data, response status code and response headers
2871
- def post_contactlists_with_http_info(opts = {})
2889
+ def post_contactlists_with_http_info(body, opts = {})
2872
2890
  if @api_client.config.debugging
2873
2891
  @api_client.config.logger.debug "Calling API: OutboundApi#post_contactlists ..."
2874
2892
  end
2875
2893
 
2894
+ # verify the required parameter 'body' is set
2895
+ fail "Missing the required parameter 'body' when calling post_contactlists" if body.nil?
2896
+
2876
2897
  # resource path
2877
2898
  local_var_path = "/api/v2/outbound/contactlists".sub('{format}','json')
2878
2899
 
@@ -2894,7 +2915,7 @@ module PureCloud
2894
2915
  form_params = {}
2895
2916
 
2896
2917
  # http body (model)
2897
- post_body = @api_client.object_to_http_body(opts[:'body'])
2918
+ post_body = @api_client.object_to_http_body(body)
2898
2919
 
2899
2920
  auth_names = ['PureCloud Auth']
2900
2921
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -2913,23 +2934,23 @@ module PureCloud
2913
2934
  # Add contacts to a contact list.
2914
2935
  #
2915
2936
  # @param contact_list_id Contact List ID
2937
+ # @param body Contact
2916
2938
  # @param [Hash] opts the optional parameters
2917
- # @option opts [Array<DialerContact>] :body Contact
2918
- # @option opts [BOOLEAN] :priority
2939
+ # @option opts [BOOLEAN] :priority Contact priority. True means the contact(s) will go to the beginning of the list, false means at the end.
2919
2940
  # @return [DialerContact]
2920
- def post_contactlists_contactlist_id_contacts(contact_list_id, opts = {})
2921
- data, status_code, headers = post_contactlists_contactlist_id_contacts_with_http_info(contact_list_id, opts)
2941
+ def post_contactlists_contactlist_id_contacts(contact_list_id, body, opts = {})
2942
+ data, status_code, headers = post_contactlists_contactlist_id_contacts_with_http_info(contact_list_id, body, opts)
2922
2943
  return data
2923
2944
  end
2924
2945
 
2925
2946
  # Add contacts to a contact list.
2926
2947
  #
2927
2948
  # @param contact_list_id Contact List ID
2949
+ # @param body Contact
2928
2950
  # @param [Hash] opts the optional parameters
2929
- # @option opts [Array<DialerContact>] :body Contact
2930
- # @option opts [BOOLEAN] :priority
2951
+ # @option opts [BOOLEAN] :priority Contact priority. True means the contact(s) will go to the beginning of the list, false means at the end.
2931
2952
  # @return [Array<(DialerContact, Fixnum, Hash)>] DialerContact data, response status code and response headers
2932
- def post_contactlists_contactlist_id_contacts_with_http_info(contact_list_id, opts = {})
2953
+ def post_contactlists_contactlist_id_contacts_with_http_info(contact_list_id, body, opts = {})
2933
2954
  if @api_client.config.debugging
2934
2955
  @api_client.config.logger.debug "Calling API: OutboundApi#post_contactlists_contactlist_id_contacts ..."
2935
2956
  end
@@ -2937,6 +2958,9 @@ module PureCloud
2937
2958
  # verify the required parameter 'contact_list_id' is set
2938
2959
  fail "Missing the required parameter 'contact_list_id' when calling post_contactlists_contactlist_id_contacts" if contact_list_id.nil?
2939
2960
 
2961
+ # verify the required parameter 'body' is set
2962
+ fail "Missing the required parameter 'body' when calling post_contactlists_contactlist_id_contacts" if body.nil?
2963
+
2940
2964
  # resource path
2941
2965
  local_var_path = "/api/v2/outbound/contactlists/{contactListId}/contacts".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
2942
2966
 
@@ -2959,7 +2983,7 @@ module PureCloud
2959
2983
  form_params = {}
2960
2984
 
2961
2985
  # http body (model)
2962
- post_body = @api_client.object_to_http_body(opts[:'body'])
2986
+ post_body = @api_client.object_to_http_body(body)
2963
2987
 
2964
2988
  auth_names = ['PureCloud Auth']
2965
2989
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -3096,24 +3120,27 @@ module PureCloud
3096
3120
 
3097
3121
  # Create dialer DNC list
3098
3122
  #
3123
+ # @param body DncList
3099
3124
  # @param [Hash] opts the optional parameters
3100
- # @option opts [DncList] :body DncList
3101
3125
  # @return [DncList]
3102
- def post_dnclists(opts = {})
3103
- data, status_code, headers = post_dnclists_with_http_info(opts)
3126
+ def post_dnclists(body, opts = {})
3127
+ data, status_code, headers = post_dnclists_with_http_info(body, opts)
3104
3128
  return data
3105
3129
  end
3106
3130
 
3107
3131
  # Create dialer DNC list
3108
3132
  #
3133
+ # @param body DncList
3109
3134
  # @param [Hash] opts the optional parameters
3110
- # @option opts [DncList] :body DncList
3111
3135
  # @return [Array<(DncList, Fixnum, Hash)>] DncList data, response status code and response headers
3112
- def post_dnclists_with_http_info(opts = {})
3136
+ def post_dnclists_with_http_info(body, opts = {})
3113
3137
  if @api_client.config.debugging
3114
3138
  @api_client.config.logger.debug "Calling API: OutboundApi#post_dnclists ..."
3115
3139
  end
3116
3140
 
3141
+ # verify the required parameter 'body' is set
3142
+ fail "Missing the required parameter 'body' when calling post_dnclists" if body.nil?
3143
+
3117
3144
  # resource path
3118
3145
  local_var_path = "/api/v2/outbound/dnclists".sub('{format}','json')
3119
3146
 
@@ -3135,7 +3162,7 @@ module PureCloud
3135
3162
  form_params = {}
3136
3163
 
3137
3164
  # http body (model)
3138
- post_body = @api_client.object_to_http_body(opts[:'body'])
3165
+ post_body = @api_client.object_to_http_body(body)
3139
3166
 
3140
3167
  auth_names = ['PureCloud Auth']
3141
3168
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -3214,21 +3241,21 @@ module PureCloud
3214
3241
  # Add phone numbers to a Dialer DNC list.
3215
3242
  #
3216
3243
  # @param dnc_list_id DncList ID
3244
+ # @param body DNC Phone Numbers
3217
3245
  # @param [Hash] opts the optional parameters
3218
- # @option opts [Array<String>] :body DNC Phone Numbers
3219
3246
  # @return [nil]
3220
- def post_dnclists_dnclist_id_phonenumbers(dnc_list_id, opts = {})
3221
- post_dnclists_dnclist_id_phonenumbers_with_http_info(dnc_list_id, opts)
3247
+ def post_dnclists_dnclist_id_phonenumbers(dnc_list_id, body, opts = {})
3248
+ post_dnclists_dnclist_id_phonenumbers_with_http_info(dnc_list_id, body, opts)
3222
3249
  return nil
3223
3250
  end
3224
3251
 
3225
3252
  # Add phone numbers to a Dialer DNC list.
3226
3253
  #
3227
3254
  # @param dnc_list_id DncList ID
3255
+ # @param body DNC Phone Numbers
3228
3256
  # @param [Hash] opts the optional parameters
3229
- # @option opts [Array<String>] :body DNC Phone Numbers
3230
3257
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3231
- def post_dnclists_dnclist_id_phonenumbers_with_http_info(dnc_list_id, opts = {})
3258
+ def post_dnclists_dnclist_id_phonenumbers_with_http_info(dnc_list_id, body, opts = {})
3232
3259
  if @api_client.config.debugging
3233
3260
  @api_client.config.logger.debug "Calling API: OutboundApi#post_dnclists_dnclist_id_phonenumbers ..."
3234
3261
  end
@@ -3236,6 +3263,9 @@ module PureCloud
3236
3263
  # verify the required parameter 'dnc_list_id' is set
3237
3264
  fail "Missing the required parameter 'dnc_list_id' when calling post_dnclists_dnclist_id_phonenumbers" if dnc_list_id.nil?
3238
3265
 
3266
+ # verify the required parameter 'body' is set
3267
+ fail "Missing the required parameter 'body' when calling post_dnclists_dnclist_id_phonenumbers" if body.nil?
3268
+
3239
3269
  # resource path
3240
3270
  local_var_path = "/api/v2/outbound/dnclists/{dncListId}/phonenumbers".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
3241
3271
 
@@ -3257,7 +3287,7 @@ module PureCloud
3257
3287
  form_params = {}
3258
3288
 
3259
3289
  # http body (model)
3260
- post_body = @api_client.object_to_http_body(opts[:'body'])
3290
+ post_body = @api_client.object_to_http_body(body)
3261
3291
 
3262
3292
  auth_names = ['PureCloud Auth']
3263
3293
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -3274,24 +3304,27 @@ module PureCloud
3274
3304
 
3275
3305
  # Create a Dialer Call Analysis Response Set.
3276
3306
  #
3307
+ # @param body RuleSet
3277
3308
  # @param [Hash] opts the optional parameters
3278
- # @option opts [RuleSet] :body RuleSet
3279
3309
  # @return [RuleSet]
3280
- def post_rulesets(opts = {})
3281
- data, status_code, headers = post_rulesets_with_http_info(opts)
3310
+ def post_rulesets(body, opts = {})
3311
+ data, status_code, headers = post_rulesets_with_http_info(body, opts)
3282
3312
  return data
3283
3313
  end
3284
3314
 
3285
3315
  # Create a Dialer Call Analysis Response Set.
3286
3316
  #
3317
+ # @param body RuleSet
3287
3318
  # @param [Hash] opts the optional parameters
3288
- # @option opts [RuleSet] :body RuleSet
3289
3319
  # @return [Array<(RuleSet, Fixnum, Hash)>] RuleSet data, response status code and response headers
3290
- def post_rulesets_with_http_info(opts = {})
3320
+ def post_rulesets_with_http_info(body, opts = {})
3291
3321
  if @api_client.config.debugging
3292
3322
  @api_client.config.logger.debug "Calling API: OutboundApi#post_rulesets ..."
3293
3323
  end
3294
3324
 
3325
+ # verify the required parameter 'body' is set
3326
+ fail "Missing the required parameter 'body' when calling post_rulesets" if body.nil?
3327
+
3295
3328
  # resource path
3296
3329
  local_var_path = "/api/v2/outbound/rulesets".sub('{format}','json')
3297
3330
 
@@ -3313,7 +3346,7 @@ module PureCloud
3313
3346
  form_params = {}
3314
3347
 
3315
3348
  # http body (model)
3316
- post_body = @api_client.object_to_http_body(opts[:'body'])
3349
+ post_body = @api_client.object_to_http_body(body)
3317
3350
 
3318
3351
  auth_names = ['PureCloud Auth']
3319
3352
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -3331,24 +3364,27 @@ module PureCloud
3331
3364
 
3332
3365
  # Create a new campaign sequence.
3333
3366
  #
3367
+ # @param body Organization
3334
3368
  # @param [Hash] opts the optional parameters
3335
- # @option opts [CampaignSequence] :body Organization
3336
3369
  # @return [CampaignSequence]
3337
- def post_sequences(opts = {})
3338
- data, status_code, headers = post_sequences_with_http_info(opts)
3370
+ def post_sequences(body, opts = {})
3371
+ data, status_code, headers = post_sequences_with_http_info(body, opts)
3339
3372
  return data
3340
3373
  end
3341
3374
 
3342
3375
  # Create a new campaign sequence.
3343
3376
  #
3377
+ # @param body Organization
3344
3378
  # @param [Hash] opts the optional parameters
3345
- # @option opts [CampaignSequence] :body Organization
3346
3379
  # @return [Array<(CampaignSequence, Fixnum, Hash)>] CampaignSequence data, response status code and response headers
3347
- def post_sequences_with_http_info(opts = {})
3380
+ def post_sequences_with_http_info(body, opts = {})
3348
3381
  if @api_client.config.debugging
3349
3382
  @api_client.config.logger.debug "Calling API: OutboundApi#post_sequences ..."
3350
3383
  end
3351
3384
 
3385
+ # verify the required parameter 'body' is set
3386
+ fail "Missing the required parameter 'body' when calling post_sequences" if body.nil?
3387
+
3352
3388
  # resource path
3353
3389
  local_var_path = "/api/v2/outbound/sequences".sub('{format}','json')
3354
3390
 
@@ -3370,7 +3406,7 @@ module PureCloud
3370
3406
  form_params = {}
3371
3407
 
3372
3408
  # http body (model)
3373
- post_body = @api_client.object_to_http_body(opts[:'body'])
3409
+ post_body = @api_client.object_to_http_body(body)
3374
3410
 
3375
3411
  auth_names = ['PureCloud Auth']
3376
3412
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -3389,21 +3425,21 @@ module PureCloud
3389
3425
  # Update callable time set
3390
3426
  #
3391
3427
  # @param callable_time_set_id Callable Time Set ID
3428
+ # @param body DialerCallableTimeSet
3392
3429
  # @param [Hash] opts the optional parameters
3393
- # @option opts [CallableTimeSet] :body DialerCallableTimeSet
3394
3430
  # @return [CallableTimeSet]
3395
- def put_callabletimesets_callabletimeset_id(callable_time_set_id, opts = {})
3396
- data, status_code, headers = put_callabletimesets_callabletimeset_id_with_http_info(callable_time_set_id, opts)
3431
+ def put_callabletimesets_callabletimeset_id(callable_time_set_id, body, opts = {})
3432
+ data, status_code, headers = put_callabletimesets_callabletimeset_id_with_http_info(callable_time_set_id, body, opts)
3397
3433
  return data
3398
3434
  end
3399
3435
 
3400
3436
  # Update callable time set
3401
3437
  #
3402
3438
  # @param callable_time_set_id Callable Time Set ID
3439
+ # @param body DialerCallableTimeSet
3403
3440
  # @param [Hash] opts the optional parameters
3404
- # @option opts [CallableTimeSet] :body DialerCallableTimeSet
3405
3441
  # @return [Array<(CallableTimeSet, Fixnum, Hash)>] CallableTimeSet data, response status code and response headers
3406
- def put_callabletimesets_callabletimeset_id_with_http_info(callable_time_set_id, opts = {})
3442
+ def put_callabletimesets_callabletimeset_id_with_http_info(callable_time_set_id, body, opts = {})
3407
3443
  if @api_client.config.debugging
3408
3444
  @api_client.config.logger.debug "Calling API: OutboundApi#put_callabletimesets_callabletimeset_id ..."
3409
3445
  end
@@ -3411,6 +3447,9 @@ module PureCloud
3411
3447
  # verify the required parameter 'callable_time_set_id' is set
3412
3448
  fail "Missing the required parameter 'callable_time_set_id' when calling put_callabletimesets_callabletimeset_id" if callable_time_set_id.nil?
3413
3449
 
3450
+ # verify the required parameter 'body' is set
3451
+ fail "Missing the required parameter 'body' when calling put_callabletimesets_callabletimeset_id" if body.nil?
3452
+
3414
3453
  # resource path
3415
3454
  local_var_path = "/api/v2/outbound/callabletimesets/{callableTimeSetId}".sub('{format}','json').sub('{' + 'callableTimeSetId' + '}', callable_time_set_id.to_s)
3416
3455
 
@@ -3432,7 +3471,7 @@ module PureCloud
3432
3471
  form_params = {}
3433
3472
 
3434
3473
  # http body (model)
3435
- post_body = @api_client.object_to_http_body(opts[:'body'])
3474
+ post_body = @api_client.object_to_http_body(body)
3436
3475
 
3437
3476
  auth_names = ['PureCloud Auth']
3438
3477
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -3451,21 +3490,21 @@ module PureCloud
3451
3490
  # Update a dialer call analysis response set.
3452
3491
  #
3453
3492
  # @param call_analysis_set_id Call Analysis Response Set ID
3493
+ # @param body ResponseSet
3454
3494
  # @param [Hash] opts the optional parameters
3455
- # @option opts [ResponseSet] :body ResponseSet
3456
3495
  # @return [ResponseSet]
3457
- def put_callanalysisresponsesets_callanalysisset_id(call_analysis_set_id, opts = {})
3458
- data, status_code, headers = put_callanalysisresponsesets_callanalysisset_id_with_http_info(call_analysis_set_id, opts)
3496
+ def put_callanalysisresponsesets_callanalysisset_id(call_analysis_set_id, body, opts = {})
3497
+ data, status_code, headers = put_callanalysisresponsesets_callanalysisset_id_with_http_info(call_analysis_set_id, body, opts)
3459
3498
  return data
3460
3499
  end
3461
3500
 
3462
3501
  # Update a dialer call analysis response set.
3463
3502
  #
3464
3503
  # @param call_analysis_set_id Call Analysis Response Set ID
3504
+ # @param body ResponseSet
3465
3505
  # @param [Hash] opts the optional parameters
3466
- # @option opts [ResponseSet] :body ResponseSet
3467
3506
  # @return [Array<(ResponseSet, Fixnum, Hash)>] ResponseSet data, response status code and response headers
3468
- def put_callanalysisresponsesets_callanalysisset_id_with_http_info(call_analysis_set_id, opts = {})
3507
+ def put_callanalysisresponsesets_callanalysisset_id_with_http_info(call_analysis_set_id, body, opts = {})
3469
3508
  if @api_client.config.debugging
3470
3509
  @api_client.config.logger.debug "Calling API: OutboundApi#put_callanalysisresponsesets_callanalysisset_id ..."
3471
3510
  end
@@ -3473,6 +3512,9 @@ module PureCloud
3473
3512
  # verify the required parameter 'call_analysis_set_id' is set
3474
3513
  fail "Missing the required parameter 'call_analysis_set_id' when calling put_callanalysisresponsesets_callanalysisset_id" if call_analysis_set_id.nil?
3475
3514
 
3515
+ # verify the required parameter 'body' is set
3516
+ fail "Missing the required parameter 'body' when calling put_callanalysisresponsesets_callanalysisset_id" if body.nil?
3517
+
3476
3518
  # resource path
3477
3519
  local_var_path = "/api/v2/outbound/callanalysisresponsesets/{callAnalysisSetId}".sub('{format}','json').sub('{' + 'callAnalysisSetId' + '}', call_analysis_set_id.to_s)
3478
3520
 
@@ -3494,7 +3536,7 @@ module PureCloud
3494
3536
  form_params = {}
3495
3537
 
3496
3538
  # http body (model)
3497
- post_body = @api_client.object_to_http_body(opts[:'body'])
3539
+ post_body = @api_client.object_to_http_body(body)
3498
3540
 
3499
3541
  auth_names = ['PureCloud Auth']
3500
3542
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -3513,21 +3555,21 @@ module PureCloud
3513
3555
  # Update a campaign.
3514
3556
  #
3515
3557
  # @param campaign_id Campaign ID
3558
+ # @param body Campaign
3516
3559
  # @param [Hash] opts the optional parameters
3517
- # @option opts [Campaign] :body Campaign
3518
3560
  # @return [Campaign]
3519
- def put_campaigns_campaign_id(campaign_id, opts = {})
3520
- data, status_code, headers = put_campaigns_campaign_id_with_http_info(campaign_id, opts)
3561
+ def put_campaigns_campaign_id(campaign_id, body, opts = {})
3562
+ data, status_code, headers = put_campaigns_campaign_id_with_http_info(campaign_id, body, opts)
3521
3563
  return data
3522
3564
  end
3523
3565
 
3524
3566
  # Update a campaign.
3525
3567
  #
3526
3568
  # @param campaign_id Campaign ID
3569
+ # @param body Campaign
3527
3570
  # @param [Hash] opts the optional parameters
3528
- # @option opts [Campaign] :body Campaign
3529
3571
  # @return [Array<(Campaign, Fixnum, Hash)>] Campaign data, response status code and response headers
3530
- def put_campaigns_campaign_id_with_http_info(campaign_id, opts = {})
3572
+ def put_campaigns_campaign_id_with_http_info(campaign_id, body, opts = {})
3531
3573
  if @api_client.config.debugging
3532
3574
  @api_client.config.logger.debug "Calling API: OutboundApi#put_campaigns_campaign_id ..."
3533
3575
  end
@@ -3535,6 +3577,9 @@ module PureCloud
3535
3577
  # verify the required parameter 'campaign_id' is set
3536
3578
  fail "Missing the required parameter 'campaign_id' when calling put_campaigns_campaign_id" if campaign_id.nil?
3537
3579
 
3580
+ # verify the required parameter 'body' is set
3581
+ fail "Missing the required parameter 'body' when calling put_campaigns_campaign_id" if body.nil?
3582
+
3538
3583
  # resource path
3539
3584
  local_var_path = "/api/v2/outbound/campaigns/{campaignId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
3540
3585
 
@@ -3556,7 +3601,7 @@ module PureCloud
3556
3601
  form_params = {}
3557
3602
 
3558
3603
  # http body (model)
3559
- post_body = @api_client.object_to_http_body(opts[:'body'])
3604
+ post_body = @api_client.object_to_http_body(body)
3560
3605
 
3561
3606
  auth_names = ['PureCloud Auth']
3562
3607
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -3576,11 +3621,11 @@ module PureCloud
3576
3621
  # New agent state.
3577
3622
  # @param campaign_id Campaign ID
3578
3623
  # @param user_id Agent&#39;s user ID
3624
+ # @param body agent
3579
3625
  # @param [Hash] opts the optional parameters
3580
- # @option opts [Agent] :body agent
3581
3626
  # @return [String]
3582
- def put_campaigns_campaign_id_agents_user_id(campaign_id, user_id, opts = {})
3583
- data, status_code, headers = put_campaigns_campaign_id_agents_user_id_with_http_info(campaign_id, user_id, opts)
3627
+ def put_campaigns_campaign_id_agents_user_id(campaign_id, user_id, body, opts = {})
3628
+ data, status_code, headers = put_campaigns_campaign_id_agents_user_id_with_http_info(campaign_id, user_id, body, opts)
3584
3629
  return data
3585
3630
  end
3586
3631
 
@@ -3588,10 +3633,10 @@ module PureCloud
3588
3633
  # New agent state.
3589
3634
  # @param campaign_id Campaign ID
3590
3635
  # @param user_id Agent&#39;s user ID
3636
+ # @param body agent
3591
3637
  # @param [Hash] opts the optional parameters
3592
- # @option opts [Agent] :body agent
3593
3638
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
3594
- def put_campaigns_campaign_id_agents_user_id_with_http_info(campaign_id, user_id, opts = {})
3639
+ def put_campaigns_campaign_id_agents_user_id_with_http_info(campaign_id, user_id, body, opts = {})
3595
3640
  if @api_client.config.debugging
3596
3641
  @api_client.config.logger.debug "Calling API: OutboundApi#put_campaigns_campaign_id_agents_user_id ..."
3597
3642
  end
@@ -3602,6 +3647,9 @@ module PureCloud
3602
3647
  # verify the required parameter 'user_id' is set
3603
3648
  fail "Missing the required parameter 'user_id' when calling put_campaigns_campaign_id_agents_user_id" if user_id.nil?
3604
3649
 
3650
+ # verify the required parameter 'body' is set
3651
+ fail "Missing the required parameter 'body' when calling put_campaigns_campaign_id_agents_user_id" if body.nil?
3652
+
3605
3653
  # resource path
3606
3654
  local_var_path = "/api/v2/outbound/campaigns/{campaignId}/agents/{userId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
3607
3655
 
@@ -3623,7 +3671,7 @@ module PureCloud
3623
3671
  form_params = {}
3624
3672
 
3625
3673
  # http body (model)
3626
- post_body = @api_client.object_to_http_body(opts[:'body'])
3674
+ post_body = @api_client.object_to_http_body(body)
3627
3675
 
3628
3676
  auth_names = ['PureCloud Auth']
3629
3677
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -3642,21 +3690,21 @@ module PureCloud
3642
3690
  # Update a contact list.
3643
3691
  #
3644
3692
  # @param contact_list_id ContactList ID
3693
+ # @param body ContactList
3645
3694
  # @param [Hash] opts the optional parameters
3646
- # @option opts [ContactList] :body ContactList
3647
3695
  # @return [ContactList]
3648
- def put_contactlists_contactlist_id(contact_list_id, opts = {})
3649
- data, status_code, headers = put_contactlists_contactlist_id_with_http_info(contact_list_id, opts)
3696
+ def put_contactlists_contactlist_id(contact_list_id, body, opts = {})
3697
+ data, status_code, headers = put_contactlists_contactlist_id_with_http_info(contact_list_id, body, opts)
3650
3698
  return data
3651
3699
  end
3652
3700
 
3653
3701
  # Update a contact list.
3654
3702
  #
3655
3703
  # @param contact_list_id ContactList ID
3704
+ # @param body ContactList
3656
3705
  # @param [Hash] opts the optional parameters
3657
- # @option opts [ContactList] :body ContactList
3658
3706
  # @return [Array<(ContactList, Fixnum, Hash)>] ContactList data, response status code and response headers
3659
- def put_contactlists_contactlist_id_with_http_info(contact_list_id, opts = {})
3707
+ def put_contactlists_contactlist_id_with_http_info(contact_list_id, body, opts = {})
3660
3708
  if @api_client.config.debugging
3661
3709
  @api_client.config.logger.debug "Calling API: OutboundApi#put_contactlists_contactlist_id ..."
3662
3710
  end
@@ -3664,6 +3712,9 @@ module PureCloud
3664
3712
  # verify the required parameter 'contact_list_id' is set
3665
3713
  fail "Missing the required parameter 'contact_list_id' when calling put_contactlists_contactlist_id" if contact_list_id.nil?
3666
3714
 
3715
+ # verify the required parameter 'body' is set
3716
+ fail "Missing the required parameter 'body' when calling put_contactlists_contactlist_id" if body.nil?
3717
+
3667
3718
  # resource path
3668
3719
  local_var_path = "/api/v2/outbound/contactlists/{contactListId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
3669
3720
 
@@ -3685,7 +3736,7 @@ module PureCloud
3685
3736
  form_params = {}
3686
3737
 
3687
3738
  # http body (model)
3688
- post_body = @api_client.object_to_http_body(opts[:'body'])
3739
+ post_body = @api_client.object_to_http_body(body)
3689
3740
 
3690
3741
  auth_names = ['PureCloud Auth']
3691
3742
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -3705,11 +3756,11 @@ module PureCloud
3705
3756
  #
3706
3757
  # @param contact_list_id Contact List ID
3707
3758
  # @param contact_id Contact ID
3759
+ # @param body Contact
3708
3760
  # @param [Hash] opts the optional parameters
3709
- # @option opts [DialerContact] :body Contact
3710
3761
  # @return [DialerContact]
3711
- def put_contactlists_contactlist_id_contacts_contact_id(contact_list_id, contact_id, opts = {})
3712
- data, status_code, headers = put_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts)
3762
+ def put_contactlists_contactlist_id_contacts_contact_id(contact_list_id, contact_id, body, opts = {})
3763
+ data, status_code, headers = put_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, body, opts)
3713
3764
  return data
3714
3765
  end
3715
3766
 
@@ -3717,10 +3768,10 @@ module PureCloud
3717
3768
  #
3718
3769
  # @param contact_list_id Contact List ID
3719
3770
  # @param contact_id Contact ID
3771
+ # @param body Contact
3720
3772
  # @param [Hash] opts the optional parameters
3721
- # @option opts [DialerContact] :body Contact
3722
3773
  # @return [Array<(DialerContact, Fixnum, Hash)>] DialerContact data, response status code and response headers
3723
- def put_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts = {})
3774
+ def put_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, body, opts = {})
3724
3775
  if @api_client.config.debugging
3725
3776
  @api_client.config.logger.debug "Calling API: OutboundApi#put_contactlists_contactlist_id_contacts_contact_id ..."
3726
3777
  end
@@ -3731,6 +3782,9 @@ module PureCloud
3731
3782
  # verify the required parameter 'contact_id' is set
3732
3783
  fail "Missing the required parameter 'contact_id' when calling put_contactlists_contactlist_id_contacts_contact_id" if contact_id.nil?
3733
3784
 
3785
+ # verify the required parameter 'body' is set
3786
+ fail "Missing the required parameter 'body' when calling put_contactlists_contactlist_id_contacts_contact_id" if body.nil?
3787
+
3734
3788
  # resource path
3735
3789
  local_var_path = "/api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s).sub('{' + 'contactId' + '}', contact_id.to_s)
3736
3790
 
@@ -3752,7 +3806,7 @@ module PureCloud
3752
3806
  form_params = {}
3753
3807
 
3754
3808
  # http body (model)
3755
- post_body = @api_client.object_to_http_body(opts[:'body'])
3809
+ post_body = @api_client.object_to_http_body(body)
3756
3810
 
3757
3811
  auth_names = ['PureCloud Auth']
3758
3812
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -3771,21 +3825,21 @@ module PureCloud
3771
3825
  # Update dialer DNC list
3772
3826
  #
3773
3827
  # @param dnc_list_id DncList ID
3828
+ # @param body DncList
3774
3829
  # @param [Hash] opts the optional parameters
3775
- # @option opts [DncList] :body DncList
3776
3830
  # @return [DncList]
3777
- def put_dnclists_dnclist_id(dnc_list_id, opts = {})
3778
- data, status_code, headers = put_dnclists_dnclist_id_with_http_info(dnc_list_id, opts)
3831
+ def put_dnclists_dnclist_id(dnc_list_id, body, opts = {})
3832
+ data, status_code, headers = put_dnclists_dnclist_id_with_http_info(dnc_list_id, body, opts)
3779
3833
  return data
3780
3834
  end
3781
3835
 
3782
3836
  # Update dialer DNC list
3783
3837
  #
3784
3838
  # @param dnc_list_id DncList ID
3839
+ # @param body DncList
3785
3840
  # @param [Hash] opts the optional parameters
3786
- # @option opts [DncList] :body DncList
3787
3841
  # @return [Array<(DncList, Fixnum, Hash)>] DncList data, response status code and response headers
3788
- def put_dnclists_dnclist_id_with_http_info(dnc_list_id, opts = {})
3842
+ def put_dnclists_dnclist_id_with_http_info(dnc_list_id, body, opts = {})
3789
3843
  if @api_client.config.debugging
3790
3844
  @api_client.config.logger.debug "Calling API: OutboundApi#put_dnclists_dnclist_id ..."
3791
3845
  end
@@ -3793,6 +3847,9 @@ module PureCloud
3793
3847
  # verify the required parameter 'dnc_list_id' is set
3794
3848
  fail "Missing the required parameter 'dnc_list_id' when calling put_dnclists_dnclist_id" if dnc_list_id.nil?
3795
3849
 
3850
+ # verify the required parameter 'body' is set
3851
+ fail "Missing the required parameter 'body' when calling put_dnclists_dnclist_id" if body.nil?
3852
+
3796
3853
  # resource path
3797
3854
  local_var_path = "/api/v2/outbound/dnclists/{dncListId}".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
3798
3855
 
@@ -3814,7 +3871,7 @@ module PureCloud
3814
3871
  form_params = {}
3815
3872
 
3816
3873
  # http body (model)
3817
- post_body = @api_client.object_to_http_body(opts[:'body'])
3874
+ post_body = @api_client.object_to_http_body(body)
3818
3875
 
3819
3876
  auth_names = ['PureCloud Auth']
3820
3877
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -3833,21 +3890,21 @@ module PureCloud
3833
3890
  # Update a RuleSet.
3834
3891
  #
3835
3892
  # @param rule_set_id Rule Set ID
3893
+ # @param body RuleSet
3836
3894
  # @param [Hash] opts the optional parameters
3837
- # @option opts [RuleSet] :body RuleSet
3838
3895
  # @return [RuleSet]
3839
- def put_rulesets_ruleset_id(rule_set_id, opts = {})
3840
- data, status_code, headers = put_rulesets_ruleset_id_with_http_info(rule_set_id, opts)
3896
+ def put_rulesets_ruleset_id(rule_set_id, body, opts = {})
3897
+ data, status_code, headers = put_rulesets_ruleset_id_with_http_info(rule_set_id, body, opts)
3841
3898
  return data
3842
3899
  end
3843
3900
 
3844
3901
  # Update a RuleSet.
3845
3902
  #
3846
3903
  # @param rule_set_id Rule Set ID
3904
+ # @param body RuleSet
3847
3905
  # @param [Hash] opts the optional parameters
3848
- # @option opts [RuleSet] :body RuleSet
3849
3906
  # @return [Array<(RuleSet, Fixnum, Hash)>] RuleSet data, response status code and response headers
3850
- def put_rulesets_ruleset_id_with_http_info(rule_set_id, opts = {})
3907
+ def put_rulesets_ruleset_id_with_http_info(rule_set_id, body, opts = {})
3851
3908
  if @api_client.config.debugging
3852
3909
  @api_client.config.logger.debug "Calling API: OutboundApi#put_rulesets_ruleset_id ..."
3853
3910
  end
@@ -3855,6 +3912,9 @@ module PureCloud
3855
3912
  # verify the required parameter 'rule_set_id' is set
3856
3913
  fail "Missing the required parameter 'rule_set_id' when calling put_rulesets_ruleset_id" if rule_set_id.nil?
3857
3914
 
3915
+ # verify the required parameter 'body' is set
3916
+ fail "Missing the required parameter 'body' when calling put_rulesets_ruleset_id" if body.nil?
3917
+
3858
3918
  # resource path
3859
3919
  local_var_path = "/api/v2/outbound/rulesets/{ruleSetId}".sub('{format}','json').sub('{' + 'ruleSetId' + '}', rule_set_id.to_s)
3860
3920
 
@@ -3876,7 +3936,7 @@ module PureCloud
3876
3936
  form_params = {}
3877
3937
 
3878
3938
  # http body (model)
3879
- post_body = @api_client.object_to_http_body(opts[:'body'])
3939
+ post_body = @api_client.object_to_http_body(body)
3880
3940
 
3881
3941
  auth_names = ['PureCloud Auth']
3882
3942
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -3895,21 +3955,21 @@ module PureCloud
3895
3955
  # Update a new campaign schedule.
3896
3956
  #
3897
3957
  # @param campaign_id Campaign ID
3958
+ # @param body CampaignSchedule
3898
3959
  # @param [Hash] opts the optional parameters
3899
- # @option opts [CampaignSchedule] :body CampaignSchedule
3900
3960
  # @return [CampaignSchedule]
3901
- def put_schedules_campaigns_campaign_id(campaign_id, opts = {})
3902
- data, status_code, headers = put_schedules_campaigns_campaign_id_with_http_info(campaign_id, opts)
3961
+ def put_schedules_campaigns_campaign_id(campaign_id, body, opts = {})
3962
+ data, status_code, headers = put_schedules_campaigns_campaign_id_with_http_info(campaign_id, body, opts)
3903
3963
  return data
3904
3964
  end
3905
3965
 
3906
3966
  # Update a new campaign schedule.
3907
3967
  #
3908
3968
  # @param campaign_id Campaign ID
3969
+ # @param body CampaignSchedule
3909
3970
  # @param [Hash] opts the optional parameters
3910
- # @option opts [CampaignSchedule] :body CampaignSchedule
3911
3971
  # @return [Array<(CampaignSchedule, Fixnum, Hash)>] CampaignSchedule data, response status code and response headers
3912
- def put_schedules_campaigns_campaign_id_with_http_info(campaign_id, opts = {})
3972
+ def put_schedules_campaigns_campaign_id_with_http_info(campaign_id, body, opts = {})
3913
3973
  if @api_client.config.debugging
3914
3974
  @api_client.config.logger.debug "Calling API: OutboundApi#put_schedules_campaigns_campaign_id ..."
3915
3975
  end
@@ -3917,6 +3977,9 @@ module PureCloud
3917
3977
  # verify the required parameter 'campaign_id' is set
3918
3978
  fail "Missing the required parameter 'campaign_id' when calling put_schedules_campaigns_campaign_id" if campaign_id.nil?
3919
3979
 
3980
+ # verify the required parameter 'body' is set
3981
+ fail "Missing the required parameter 'body' when calling put_schedules_campaigns_campaign_id" if body.nil?
3982
+
3920
3983
  # resource path
3921
3984
  local_var_path = "/api/v2/outbound/schedules/campaigns/{campaignId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
3922
3985
 
@@ -3938,7 +4001,7 @@ module PureCloud
3938
4001
  form_params = {}
3939
4002
 
3940
4003
  # http body (model)
3941
- post_body = @api_client.object_to_http_body(opts[:'body'])
4004
+ post_body = @api_client.object_to_http_body(body)
3942
4005
 
3943
4006
  auth_names = ['PureCloud Auth']
3944
4007
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -3957,21 +4020,21 @@ module PureCloud
3957
4020
  # Update a new sequence schedule.
3958
4021
  #
3959
4022
  # @param sequence_id Sequence ID
4023
+ # @param body SequenceSchedule
3960
4024
  # @param [Hash] opts the optional parameters
3961
- # @option opts [SequenceSchedule] :body SequenceSchedule
3962
4025
  # @return [SequenceSchedule]
3963
- def put_schedules_sequences_sequence_id(sequence_id, opts = {})
3964
- data, status_code, headers = put_schedules_sequences_sequence_id_with_http_info(sequence_id, opts)
4026
+ def put_schedules_sequences_sequence_id(sequence_id, body, opts = {})
4027
+ data, status_code, headers = put_schedules_sequences_sequence_id_with_http_info(sequence_id, body, opts)
3965
4028
  return data
3966
4029
  end
3967
4030
 
3968
4031
  # Update a new sequence schedule.
3969
4032
  #
3970
4033
  # @param sequence_id Sequence ID
4034
+ # @param body SequenceSchedule
3971
4035
  # @param [Hash] opts the optional parameters
3972
- # @option opts [SequenceSchedule] :body SequenceSchedule
3973
4036
  # @return [Array<(SequenceSchedule, Fixnum, Hash)>] SequenceSchedule data, response status code and response headers
3974
- def put_schedules_sequences_sequence_id_with_http_info(sequence_id, opts = {})
4037
+ def put_schedules_sequences_sequence_id_with_http_info(sequence_id, body, opts = {})
3975
4038
  if @api_client.config.debugging
3976
4039
  @api_client.config.logger.debug "Calling API: OutboundApi#put_schedules_sequences_sequence_id ..."
3977
4040
  end
@@ -3979,6 +4042,9 @@ module PureCloud
3979
4042
  # verify the required parameter 'sequence_id' is set
3980
4043
  fail "Missing the required parameter 'sequence_id' when calling put_schedules_sequences_sequence_id" if sequence_id.nil?
3981
4044
 
4045
+ # verify the required parameter 'body' is set
4046
+ fail "Missing the required parameter 'body' when calling put_schedules_sequences_sequence_id" if body.nil?
4047
+
3982
4048
  # resource path
3983
4049
  local_var_path = "/api/v2/outbound/schedules/sequences/{sequenceId}".sub('{format}','json').sub('{' + 'sequenceId' + '}', sequence_id.to_s)
3984
4050
 
@@ -4000,7 +4066,7 @@ module PureCloud
4000
4066
  form_params = {}
4001
4067
 
4002
4068
  # http body (model)
4003
- post_body = @api_client.object_to_http_body(opts[:'body'])
4069
+ post_body = @api_client.object_to_http_body(body)
4004
4070
 
4005
4071
  auth_names = ['PureCloud Auth']
4006
4072
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -4019,21 +4085,21 @@ module PureCloud
4019
4085
  # Update a new campaign sequence.
4020
4086
  #
4021
4087
  # @param sequence_id Campaign Sequence ID
4088
+ # @param body Organization
4022
4089
  # @param [Hash] opts the optional parameters
4023
- # @option opts [CampaignSequence] :body Organization
4024
4090
  # @return [CampaignSequence]
4025
- def put_sequences_sequence_id(sequence_id, opts = {})
4026
- data, status_code, headers = put_sequences_sequence_id_with_http_info(sequence_id, opts)
4091
+ def put_sequences_sequence_id(sequence_id, body, opts = {})
4092
+ data, status_code, headers = put_sequences_sequence_id_with_http_info(sequence_id, body, opts)
4027
4093
  return data
4028
4094
  end
4029
4095
 
4030
4096
  # Update a new campaign sequence.
4031
4097
  #
4032
4098
  # @param sequence_id Campaign Sequence ID
4099
+ # @param body Organization
4033
4100
  # @param [Hash] opts the optional parameters
4034
- # @option opts [CampaignSequence] :body Organization
4035
4101
  # @return [Array<(CampaignSequence, Fixnum, Hash)>] CampaignSequence data, response status code and response headers
4036
- def put_sequences_sequence_id_with_http_info(sequence_id, opts = {})
4102
+ def put_sequences_sequence_id_with_http_info(sequence_id, body, opts = {})
4037
4103
  if @api_client.config.debugging
4038
4104
  @api_client.config.logger.debug "Calling API: OutboundApi#put_sequences_sequence_id ..."
4039
4105
  end
@@ -4041,6 +4107,9 @@ module PureCloud
4041
4107
  # verify the required parameter 'sequence_id' is set
4042
4108
  fail "Missing the required parameter 'sequence_id' when calling put_sequences_sequence_id" if sequence_id.nil?
4043
4109
 
4110
+ # verify the required parameter 'body' is set
4111
+ fail "Missing the required parameter 'body' when calling put_sequences_sequence_id" if body.nil?
4112
+
4044
4113
  # resource path
4045
4114
  local_var_path = "/api/v2/outbound/sequences/{sequenceId}".sub('{format}','json').sub('{' + 'sequenceId' + '}', sequence_id.to_s)
4046
4115
 
@@ -4062,7 +4131,7 @@ module PureCloud
4062
4131
  form_params = {}
4063
4132
 
4064
4133
  # http body (model)
4065
- post_body = @api_client.object_to_http_body(opts[:'body'])
4134
+ post_body = @api_client.object_to_http_body(body)
4066
4135
 
4067
4136
  auth_names = ['PureCloud Auth']
4068
4137
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -4080,24 +4149,27 @@ module PureCloud
4080
4149
 
4081
4150
  # Update the Dialer wrap up code mapping.
4082
4151
  #
4152
+ # @param body wrapUpCodeMapping
4083
4153
  # @param [Hash] opts the optional parameters
4084
- # @option opts [WrapUpCodeMapping] :body wrapUpCodeMapping
4085
4154
  # @return [WrapUpCodeMapping]
4086
- def put_wrapupcodemappings(opts = {})
4087
- data, status_code, headers = put_wrapupcodemappings_with_http_info(opts)
4155
+ def put_wrapupcodemappings(body, opts = {})
4156
+ data, status_code, headers = put_wrapupcodemappings_with_http_info(body, opts)
4088
4157
  return data
4089
4158
  end
4090
4159
 
4091
4160
  # Update the Dialer wrap up code mapping.
4092
4161
  #
4162
+ # @param body wrapUpCodeMapping
4093
4163
  # @param [Hash] opts the optional parameters
4094
- # @option opts [WrapUpCodeMapping] :body wrapUpCodeMapping
4095
4164
  # @return [Array<(WrapUpCodeMapping, Fixnum, Hash)>] WrapUpCodeMapping data, response status code and response headers
4096
- def put_wrapupcodemappings_with_http_info(opts = {})
4165
+ def put_wrapupcodemappings_with_http_info(body, opts = {})
4097
4166
  if @api_client.config.debugging
4098
4167
  @api_client.config.logger.debug "Calling API: OutboundApi#put_wrapupcodemappings ..."
4099
4168
  end
4100
4169
 
4170
+ # verify the required parameter 'body' is set
4171
+ fail "Missing the required parameter 'body' when calling put_wrapupcodemappings" if body.nil?
4172
+
4101
4173
  # resource path
4102
4174
  local_var_path = "/api/v2/outbound/wrapupcodemappings".sub('{format}','json')
4103
4175
 
@@ -4119,7 +4191,7 @@ module PureCloud
4119
4191
  form_params = {}
4120
4192
 
4121
4193
  # http body (model)
4122
- post_body = @api_client.object_to_http_body(opts[:'body'])
4194
+ post_body = @api_client.object_to_http_body(body)
4123
4195
 
4124
4196
  auth_names = ['PureCloud Auth']
4125
4197
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,