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
@@ -4599,24 +4599,27 @@ module PureCloud
4599
4599
 
4600
4600
  # Create a edge.
4601
4601
  #
4602
+ # @param body Edge
4602
4603
  # @param [Hash] opts the optional parameters
4603
- # @option opts [Edge] :body Edge
4604
4604
  # @return [Edge]
4605
- def post_providers_edges(opts = {})
4606
- data, status_code, headers = post_providers_edges_with_http_info(opts)
4605
+ def post_providers_edges(body, opts = {})
4606
+ data, status_code, headers = post_providers_edges_with_http_info(body, opts)
4607
4607
  return data
4608
4608
  end
4609
4609
 
4610
4610
  # Create a edge.
4611
4611
  #
4612
+ # @param body Edge
4612
4613
  # @param [Hash] opts the optional parameters
4613
- # @option opts [Edge] :body Edge
4614
4614
  # @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
4615
- def post_providers_edges_with_http_info(opts = {})
4615
+ def post_providers_edges_with_http_info(body, opts = {})
4616
4616
  if @api_client.config.debugging
4617
4617
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges ..."
4618
4618
  end
4619
4619
 
4620
+ # verify the required parameter 'body' is set
4621
+ fail "Missing the required parameter 'body' when calling post_providers_edges" if body.nil?
4622
+
4620
4623
  # resource path
4621
4624
  local_var_path = "/api/v2/telephony/providers/edges".sub('{format}','json')
4622
4625
 
@@ -4638,7 +4641,7 @@ module PureCloud
4638
4641
  form_params = {}
4639
4642
 
4640
4643
  # http body (model)
4641
- post_body = @api_client.object_to_http_body(opts[:'body'])
4644
+ post_body = @api_client.object_to_http_body(body)
4642
4645
 
4643
4646
  auth_names = ['PureCloud Auth']
4644
4647
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -4713,24 +4716,27 @@ module PureCloud
4713
4716
 
4714
4717
  # Create a certificate authority.
4715
4718
  #
4719
+ # @param body CertificateAuthority
4716
4720
  # @param [Hash] opts the optional parameters
4717
- # @option opts [DomainCertificateAuthority] :body CertificateAuthority
4718
4721
  # @return [DomainCertificateAuthority]
4719
- def post_providers_edges_certificateauthorities(opts = {})
4720
- data, status_code, headers = post_providers_edges_certificateauthorities_with_http_info(opts)
4722
+ def post_providers_edges_certificateauthorities(body, opts = {})
4723
+ data, status_code, headers = post_providers_edges_certificateauthorities_with_http_info(body, opts)
4721
4724
  return data
4722
4725
  end
4723
4726
 
4724
4727
  # Create a certificate authority.
4725
4728
  #
4729
+ # @param body CertificateAuthority
4726
4730
  # @param [Hash] opts the optional parameters
4727
- # @option opts [DomainCertificateAuthority] :body CertificateAuthority
4728
4731
  # @return [Array<(DomainCertificateAuthority, Fixnum, Hash)>] DomainCertificateAuthority data, response status code and response headers
4729
- def post_providers_edges_certificateauthorities_with_http_info(opts = {})
4732
+ def post_providers_edges_certificateauthorities_with_http_info(body, opts = {})
4730
4733
  if @api_client.config.debugging
4731
4734
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_certificateauthorities ..."
4732
4735
  end
4733
4736
 
4737
+ # verify the required parameter 'body' is set
4738
+ fail "Missing the required parameter 'body' when calling post_providers_edges_certificateauthorities" if body.nil?
4739
+
4734
4740
  # resource path
4735
4741
  local_var_path = "/api/v2/telephony/providers/edges/certificateauthorities".sub('{format}','json')
4736
4742
 
@@ -4752,7 +4758,7 @@ module PureCloud
4752
4758
  form_params = {}
4753
4759
 
4754
4760
  # http body (model)
4755
- post_body = @api_client.object_to_http_body(opts[:'body'])
4761
+ post_body = @api_client.object_to_http_body(body)
4756
4762
 
4757
4763
  auth_names = ['PureCloud Auth']
4758
4764
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -4770,24 +4776,27 @@ module PureCloud
4770
4776
 
4771
4777
  # Create a new DID pool
4772
4778
  #
4779
+ # @param body DID pool
4773
4780
  # @param [Hash] opts the optional parameters
4774
- # @option opts [DIDPool] :body
4775
4781
  # @return [DIDPool]
4776
- def post_providers_edges_didpools(opts = {})
4777
- data, status_code, headers = post_providers_edges_didpools_with_http_info(opts)
4782
+ def post_providers_edges_didpools(body, opts = {})
4783
+ data, status_code, headers = post_providers_edges_didpools_with_http_info(body, opts)
4778
4784
  return data
4779
4785
  end
4780
4786
 
4781
4787
  # Create a new DID pool
4782
4788
  #
4789
+ # @param body DID pool
4783
4790
  # @param [Hash] opts the optional parameters
4784
- # @option opts [DIDPool] :body
4785
4791
  # @return [Array<(DIDPool, Fixnum, Hash)>] DIDPool data, response status code and response headers
4786
- def post_providers_edges_didpools_with_http_info(opts = {})
4792
+ def post_providers_edges_didpools_with_http_info(body, opts = {})
4787
4793
  if @api_client.config.debugging
4788
4794
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_didpools ..."
4789
4795
  end
4790
4796
 
4797
+ # verify the required parameter 'body' is set
4798
+ fail "Missing the required parameter 'body' when calling post_providers_edges_didpools" if body.nil?
4799
+
4791
4800
  # resource path
4792
4801
  local_var_path = "/api/v2/telephony/providers/edges/didpools".sub('{format}','json')
4793
4802
 
@@ -4809,7 +4818,7 @@ module PureCloud
4809
4818
  form_params = {}
4810
4819
 
4811
4820
  # http body (model)
4812
- post_body = @api_client.object_to_http_body(opts[:'body'])
4821
+ post_body = @api_client.object_to_http_body(body)
4813
4822
 
4814
4823
  auth_names = ['PureCloud Auth']
4815
4824
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -4828,21 +4837,21 @@ module PureCloud
4828
4837
  # Create an edge logical interface.
4829
4838
  # Create
4830
4839
  # @param edge_id Edge ID
4840
+ # @param body Logical interface
4831
4841
  # @param [Hash] opts the optional parameters
4832
- # @option opts [DomainLogicalInterface] :body
4833
4842
  # @return [DomainLogicalInterface]
4834
- def post_providers_edges_edge_id_logicalinterfaces(edge_id, opts = {})
4835
- data, status_code, headers = post_providers_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts)
4843
+ def post_providers_edges_edge_id_logicalinterfaces(edge_id, body, opts = {})
4844
+ data, status_code, headers = post_providers_edges_edge_id_logicalinterfaces_with_http_info(edge_id, body, opts)
4836
4845
  return data
4837
4846
  end
4838
4847
 
4839
4848
  # Create an edge logical interface.
4840
4849
  # Create
4841
4850
  # @param edge_id Edge ID
4851
+ # @param body Logical interface
4842
4852
  # @param [Hash] opts the optional parameters
4843
- # @option opts [DomainLogicalInterface] :body
4844
4853
  # @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
4845
- def post_providers_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts = {})
4854
+ def post_providers_edges_edge_id_logicalinterfaces_with_http_info(edge_id, body, opts = {})
4846
4855
  if @api_client.config.debugging
4847
4856
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_logicalinterfaces ..."
4848
4857
  end
@@ -4850,6 +4859,9 @@ module PureCloud
4850
4859
  # verify the required parameter 'edge_id' is set
4851
4860
  fail "Missing the required parameter 'edge_id' when calling post_providers_edges_edge_id_logicalinterfaces" if edge_id.nil?
4852
4861
 
4862
+ # verify the required parameter 'body' is set
4863
+ fail "Missing the required parameter 'body' when calling post_providers_edges_edge_id_logicalinterfaces" if body.nil?
4864
+
4853
4865
  # resource path
4854
4866
  local_var_path = "/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
4855
4867
 
@@ -4871,7 +4883,7 @@ module PureCloud
4871
4883
  form_params = {}
4872
4884
 
4873
4885
  # http body (model)
4874
- post_body = @api_client.object_to_http_body(opts[:'body'])
4886
+ post_body = @api_client.object_to_http_body(body)
4875
4887
 
4876
4888
  auth_names = ['PureCloud Auth']
4877
4889
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -4890,21 +4902,21 @@ module PureCloud
4890
4902
  # Create a job to upload a list of Edge logs.
4891
4903
  #
4892
4904
  # @param edge_id Edge ID
4905
+ # @param body EdgeLogsJobRequest
4893
4906
  # @param [Hash] opts the optional parameters
4894
- # @option opts [EdgeLogsJobRequest] :body EdgeLogsJobRequest
4895
4907
  # @return [EdgeLogsJobResponse]
4896
- def post_providers_edges_edge_id_logs_jobs(edge_id, opts = {})
4897
- data, status_code, headers = post_providers_edges_edge_id_logs_jobs_with_http_info(edge_id, opts)
4908
+ def post_providers_edges_edge_id_logs_jobs(edge_id, body, opts = {})
4909
+ data, status_code, headers = post_providers_edges_edge_id_logs_jobs_with_http_info(edge_id, body, opts)
4898
4910
  return data
4899
4911
  end
4900
4912
 
4901
4913
  # Create a job to upload a list of Edge logs.
4902
4914
  #
4903
4915
  # @param edge_id Edge ID
4916
+ # @param body EdgeLogsJobRequest
4904
4917
  # @param [Hash] opts the optional parameters
4905
- # @option opts [EdgeLogsJobRequest] :body EdgeLogsJobRequest
4906
4918
  # @return [Array<(EdgeLogsJobResponse, Fixnum, Hash)>] EdgeLogsJobResponse data, response status code and response headers
4907
- def post_providers_edges_edge_id_logs_jobs_with_http_info(edge_id, opts = {})
4919
+ def post_providers_edges_edge_id_logs_jobs_with_http_info(edge_id, body, opts = {})
4908
4920
  if @api_client.config.debugging
4909
4921
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_logs_jobs ..."
4910
4922
  end
@@ -4912,6 +4924,9 @@ module PureCloud
4912
4924
  # verify the required parameter 'edge_id' is set
4913
4925
  fail "Missing the required parameter 'edge_id' when calling post_providers_edges_edge_id_logs_jobs" if edge_id.nil?
4914
4926
 
4927
+ # verify the required parameter 'body' is set
4928
+ fail "Missing the required parameter 'body' when calling post_providers_edges_edge_id_logs_jobs" if body.nil?
4929
+
4915
4930
  # resource path
4916
4931
  local_var_path = "/api/v2/telephony/providers/edges/{edgeId}/logs/jobs".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
4917
4932
 
@@ -4933,7 +4948,7 @@ module PureCloud
4933
4948
  form_params = {}
4934
4949
 
4935
4950
  # http body (model)
4936
- post_body = @api_client.object_to_http_body(opts[:'body'])
4951
+ post_body = @api_client.object_to_http_body(body)
4937
4952
 
4938
4953
  auth_names = ['PureCloud Auth']
4939
4954
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -4953,11 +4968,11 @@ module PureCloud
4953
4968
  #
4954
4969
  # @param edge_id Edge ID
4955
4970
  # @param job_id Job ID
4971
+ # @param body Log upload request
4956
4972
  # @param [Hash] opts the optional parameters
4957
- # @option opts [EdgeLogsJobUploadRequest] :body
4958
4973
  # @return [nil]
4959
- def post_providers_edges_edge_id_logs_jobs_job_id_upload(edge_id, job_id, opts = {})
4960
- post_providers_edges_edge_id_logs_jobs_job_id_upload_with_http_info(edge_id, job_id, opts)
4974
+ def post_providers_edges_edge_id_logs_jobs_job_id_upload(edge_id, job_id, body, opts = {})
4975
+ post_providers_edges_edge_id_logs_jobs_job_id_upload_with_http_info(edge_id, job_id, body, opts)
4961
4976
  return nil
4962
4977
  end
4963
4978
 
@@ -4965,10 +4980,10 @@ module PureCloud
4965
4980
  #
4966
4981
  # @param edge_id Edge ID
4967
4982
  # @param job_id Job ID
4983
+ # @param body Log upload request
4968
4984
  # @param [Hash] opts the optional parameters
4969
- # @option opts [EdgeLogsJobUploadRequest] :body
4970
4985
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
4971
- def post_providers_edges_edge_id_logs_jobs_job_id_upload_with_http_info(edge_id, job_id, opts = {})
4986
+ def post_providers_edges_edge_id_logs_jobs_job_id_upload_with_http_info(edge_id, job_id, body, opts = {})
4972
4987
  if @api_client.config.debugging
4973
4988
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_logs_jobs_job_id_upload ..."
4974
4989
  end
@@ -4979,6 +4994,9 @@ module PureCloud
4979
4994
  # verify the required parameter 'job_id' is set
4980
4995
  fail "Missing the required parameter 'job_id' when calling post_providers_edges_edge_id_logs_jobs_job_id_upload" if job_id.nil?
4981
4996
 
4997
+ # verify the required parameter 'body' is set
4998
+ fail "Missing the required parameter 'body' when calling post_providers_edges_edge_id_logs_jobs_job_id_upload" if body.nil?
4999
+
4982
5000
  # resource path
4983
5001
  local_var_path = "/api/v2/telephony/providers/edges/{edgeId}/logs/jobs/{jobId}/upload".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'jobId' + '}', job_id.to_s)
4984
5002
 
@@ -5000,7 +5018,7 @@ module PureCloud
5000
5018
  form_params = {}
5001
5019
 
5002
5020
  # http body (model)
5003
- post_body = @api_client.object_to_http_body(opts[:'body'])
5021
+ post_body = @api_client.object_to_http_body(body)
5004
5022
 
5005
5023
  auth_names = ['PureCloud Auth']
5006
5024
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -5078,21 +5096,21 @@ module PureCloud
5078
5096
  # Starts a software update for this edge.
5079
5097
  #
5080
5098
  # @param edge_id Edge ID
5099
+ # @param body Software update request
5081
5100
  # @param [Hash] opts the optional parameters
5082
- # @option opts [DomainEdgeSoftwareUpdateDto] :body
5083
5101
  # @return [DomainEdgeSoftwareUpdateDto]
5084
- def post_providers_edges_edge_id_softwareupdate(edge_id, opts = {})
5085
- data, status_code, headers = post_providers_edges_edge_id_softwareupdate_with_http_info(edge_id, opts)
5102
+ def post_providers_edges_edge_id_softwareupdate(edge_id, body, opts = {})
5103
+ data, status_code, headers = post_providers_edges_edge_id_softwareupdate_with_http_info(edge_id, body, opts)
5086
5104
  return data
5087
5105
  end
5088
5106
 
5089
5107
  # Starts a software update for this edge.
5090
5108
  #
5091
5109
  # @param edge_id Edge ID
5110
+ # @param body Software update request
5092
5111
  # @param [Hash] opts the optional parameters
5093
- # @option opts [DomainEdgeSoftwareUpdateDto] :body
5094
5112
  # @return [Array<(DomainEdgeSoftwareUpdateDto, Fixnum, Hash)>] DomainEdgeSoftwareUpdateDto data, response status code and response headers
5095
- def post_providers_edges_edge_id_softwareupdate_with_http_info(edge_id, opts = {})
5113
+ def post_providers_edges_edge_id_softwareupdate_with_http_info(edge_id, body, opts = {})
5096
5114
  if @api_client.config.debugging
5097
5115
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_softwareupdate ..."
5098
5116
  end
@@ -5100,6 +5118,9 @@ module PureCloud
5100
5118
  # verify the required parameter 'edge_id' is set
5101
5119
  fail "Missing the required parameter 'edge_id' when calling post_providers_edges_edge_id_softwareupdate" if edge_id.nil?
5102
5120
 
5121
+ # verify the required parameter 'body' is set
5122
+ fail "Missing the required parameter 'body' when calling post_providers_edges_edge_id_softwareupdate" if body.nil?
5123
+
5103
5124
  # resource path
5104
5125
  local_var_path = "/api/v2/telephony/providers/edges/{edgeId}/softwareupdate".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
5105
5126
 
@@ -5121,7 +5142,7 @@ module PureCloud
5121
5142
  form_params = {}
5122
5143
 
5123
5144
  # http body (model)
5124
- post_body = @api_client.object_to_http_body(opts[:'body'])
5145
+ post_body = @api_client.object_to_http_body(body)
5125
5146
 
5126
5147
  auth_names = ['PureCloud Auth']
5127
5148
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -5199,24 +5220,27 @@ module PureCloud
5199
5220
 
5200
5221
  # Create an edge group.
5201
5222
  #
5223
+ # @param body EdgeGroup
5202
5224
  # @param [Hash] opts the optional parameters
5203
- # @option opts [EdgeGroup] :body EdgeGroup
5204
5225
  # @return [EdgeGroup]
5205
- def post_providers_edges_edgegroups(opts = {})
5206
- data, status_code, headers = post_providers_edges_edgegroups_with_http_info(opts)
5226
+ def post_providers_edges_edgegroups(body, opts = {})
5227
+ data, status_code, headers = post_providers_edges_edgegroups_with_http_info(body, opts)
5207
5228
  return data
5208
5229
  end
5209
5230
 
5210
5231
  # Create an edge group.
5211
5232
  #
5233
+ # @param body EdgeGroup
5212
5234
  # @param [Hash] opts the optional parameters
5213
- # @option opts [EdgeGroup] :body EdgeGroup
5214
5235
  # @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
5215
- def post_providers_edges_edgegroups_with_http_info(opts = {})
5236
+ def post_providers_edges_edgegroups_with_http_info(body, opts = {})
5216
5237
  if @api_client.config.debugging
5217
5238
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edgegroups ..."
5218
5239
  end
5219
5240
 
5241
+ # verify the required parameter 'body' is set
5242
+ fail "Missing the required parameter 'body' when calling post_providers_edges_edgegroups" if body.nil?
5243
+
5220
5244
  # resource path
5221
5245
  local_var_path = "/api/v2/telephony/providers/edges/edgegroups".sub('{format}','json')
5222
5246
 
@@ -5238,7 +5262,7 @@ module PureCloud
5238
5262
  form_params = {}
5239
5263
 
5240
5264
  # http body (model)
5241
- post_body = @api_client.object_to_http_body(opts[:'body'])
5265
+ post_body = @api_client.object_to_http_body(body)
5242
5266
 
5243
5267
  auth_names = ['PureCloud Auth']
5244
5268
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -5256,24 +5280,27 @@ module PureCloud
5256
5280
 
5257
5281
  # Create endpoint
5258
5282
  #
5283
+ # @param body EndpointTemplate
5259
5284
  # @param [Hash] opts the optional parameters
5260
- # @option opts [Endpoint] :body EndpointTemplate
5261
5285
  # @return [Endpoint]
5262
- def post_providers_edges_endpoints(opts = {})
5263
- data, status_code, headers = post_providers_edges_endpoints_with_http_info(opts)
5286
+ def post_providers_edges_endpoints(body, opts = {})
5287
+ data, status_code, headers = post_providers_edges_endpoints_with_http_info(body, opts)
5264
5288
  return data
5265
5289
  end
5266
5290
 
5267
5291
  # Create endpoint
5268
5292
  #
5293
+ # @param body EndpointTemplate
5269
5294
  # @param [Hash] opts the optional parameters
5270
- # @option opts [Endpoint] :body EndpointTemplate
5271
5295
  # @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
5272
- def post_providers_edges_endpoints_with_http_info(opts = {})
5296
+ def post_providers_edges_endpoints_with_http_info(body, opts = {})
5273
5297
  if @api_client.config.debugging
5274
5298
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_endpoints ..."
5275
5299
  end
5276
5300
 
5301
+ # verify the required parameter 'body' is set
5302
+ fail "Missing the required parameter 'body' when calling post_providers_edges_endpoints" if body.nil?
5303
+
5277
5304
  # resource path
5278
5305
  local_var_path = "/api/v2/telephony/providers/edges/endpoints".sub('{format}','json')
5279
5306
 
@@ -5295,7 +5322,7 @@ module PureCloud
5295
5322
  form_params = {}
5296
5323
 
5297
5324
  # http body (model)
5298
- post_body = @api_client.object_to_http_body(opts[:'body'])
5325
+ post_body = @api_client.object_to_http_body(body)
5299
5326
 
5300
5327
  auth_names = ['PureCloud Auth']
5301
5328
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -5313,24 +5340,27 @@ module PureCloud
5313
5340
 
5314
5341
  # Create a new extension pool
5315
5342
  #
5343
+ # @param body ExtensionPool
5316
5344
  # @param [Hash] opts the optional parameters
5317
- # @option opts [ExtensionPool] :body ExtensionPool
5318
5345
  # @return [Extension]
5319
- def post_providers_edges_extensionpools(opts = {})
5320
- data, status_code, headers = post_providers_edges_extensionpools_with_http_info(opts)
5346
+ def post_providers_edges_extensionpools(body, opts = {})
5347
+ data, status_code, headers = post_providers_edges_extensionpools_with_http_info(body, opts)
5321
5348
  return data
5322
5349
  end
5323
5350
 
5324
5351
  # Create a new extension pool
5325
5352
  #
5353
+ # @param body ExtensionPool
5326
5354
  # @param [Hash] opts the optional parameters
5327
- # @option opts [ExtensionPool] :body ExtensionPool
5328
5355
  # @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
5329
- def post_providers_edges_extensionpools_with_http_info(opts = {})
5356
+ def post_providers_edges_extensionpools_with_http_info(body, opts = {})
5330
5357
  if @api_client.config.debugging
5331
5358
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_extensionpools ..."
5332
5359
  end
5333
5360
 
5361
+ # verify the required parameter 'body' is set
5362
+ fail "Missing the required parameter 'body' when calling post_providers_edges_extensionpools" if body.nil?
5363
+
5334
5364
  # resource path
5335
5365
  local_var_path = "/api/v2/telephony/providers/edges/extensionpools".sub('{format}','json')
5336
5366
 
@@ -5352,7 +5382,7 @@ module PureCloud
5352
5382
  form_params = {}
5353
5383
 
5354
5384
  # http body (model)
5355
- post_body = @api_client.object_to_http_body(opts[:'body'])
5385
+ post_body = @api_client.object_to_http_body(body)
5356
5386
 
5357
5387
  auth_names = ['PureCloud Auth']
5358
5388
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -5370,24 +5400,27 @@ module PureCloud
5370
5400
 
5371
5401
  # Create outbound rule
5372
5402
  #
5403
+ # @param body OutboundRoute
5373
5404
  # @param [Hash] opts the optional parameters
5374
- # @option opts [OutboundRoute] :body OutboundRoute
5375
5405
  # @return [OutboundRoute]
5376
- def post_providers_edges_outboundroutes(opts = {})
5377
- data, status_code, headers = post_providers_edges_outboundroutes_with_http_info(opts)
5406
+ def post_providers_edges_outboundroutes(body, opts = {})
5407
+ data, status_code, headers = post_providers_edges_outboundroutes_with_http_info(body, opts)
5378
5408
  return data
5379
5409
  end
5380
5410
 
5381
5411
  # Create outbound rule
5382
5412
  #
5413
+ # @param body OutboundRoute
5383
5414
  # @param [Hash] opts the optional parameters
5384
- # @option opts [OutboundRoute] :body OutboundRoute
5385
5415
  # @return [Array<(OutboundRoute, Fixnum, Hash)>] OutboundRoute data, response status code and response headers
5386
- def post_providers_edges_outboundroutes_with_http_info(opts = {})
5416
+ def post_providers_edges_outboundroutes_with_http_info(body, opts = {})
5387
5417
  if @api_client.config.debugging
5388
5418
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_outboundroutes ..."
5389
5419
  end
5390
5420
 
5421
+ # verify the required parameter 'body' is set
5422
+ fail "Missing the required parameter 'body' when calling post_providers_edges_outboundroutes" if body.nil?
5423
+
5391
5424
  # resource path
5392
5425
  local_var_path = "/api/v2/telephony/providers/edges/outboundroutes".sub('{format}','json')
5393
5426
 
@@ -5409,7 +5442,7 @@ module PureCloud
5409
5442
  form_params = {}
5410
5443
 
5411
5444
  # http body (model)
5412
- post_body = @api_client.object_to_http_body(opts[:'body'])
5445
+ post_body = @api_client.object_to_http_body(body)
5413
5446
 
5414
5447
  auth_names = ['PureCloud Auth']
5415
5448
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -5427,24 +5460,27 @@ module PureCloud
5427
5460
 
5428
5461
  # Create a new Phone Base Settings object
5429
5462
  #
5463
+ # @param body Phone base settings
5430
5464
  # @param [Hash] opts the optional parameters
5431
- # @option opts [PhoneBase] :body
5432
5465
  # @return [PhoneBase]
5433
- def post_providers_edges_phonebasesettings(opts = {})
5434
- data, status_code, headers = post_providers_edges_phonebasesettings_with_http_info(opts)
5466
+ def post_providers_edges_phonebasesettings(body, opts = {})
5467
+ data, status_code, headers = post_providers_edges_phonebasesettings_with_http_info(body, opts)
5435
5468
  return data
5436
5469
  end
5437
5470
 
5438
5471
  # Create a new Phone Base Settings object
5439
5472
  #
5473
+ # @param body Phone base settings
5440
5474
  # @param [Hash] opts the optional parameters
5441
- # @option opts [PhoneBase] :body
5442
5475
  # @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
5443
- def post_providers_edges_phonebasesettings_with_http_info(opts = {})
5476
+ def post_providers_edges_phonebasesettings_with_http_info(body, opts = {})
5444
5477
  if @api_client.config.debugging
5445
5478
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_phonebasesettings ..."
5446
5479
  end
5447
5480
 
5481
+ # verify the required parameter 'body' is set
5482
+ fail "Missing the required parameter 'body' when calling post_providers_edges_phonebasesettings" if body.nil?
5483
+
5448
5484
  # resource path
5449
5485
  local_var_path = "/api/v2/telephony/providers/edges/phonebasesettings".sub('{format}','json')
5450
5486
 
@@ -5466,7 +5502,7 @@ module PureCloud
5466
5502
  form_params = {}
5467
5503
 
5468
5504
  # http body (model)
5469
- post_body = @api_client.object_to_http_body(opts[:'body'])
5505
+ post_body = @api_client.object_to_http_body(body)
5470
5506
 
5471
5507
  auth_names = ['PureCloud Auth']
5472
5508
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -5484,24 +5520,27 @@ module PureCloud
5484
5520
 
5485
5521
  # Create a new Phone
5486
5522
  #
5523
+ # @param body Phone
5487
5524
  # @param [Hash] opts the optional parameters
5488
- # @option opts [Phone] :body
5489
5525
  # @return [Phone]
5490
- def post_providers_edges_phones(opts = {})
5491
- data, status_code, headers = post_providers_edges_phones_with_http_info(opts)
5526
+ def post_providers_edges_phones(body, opts = {})
5527
+ data, status_code, headers = post_providers_edges_phones_with_http_info(body, opts)
5492
5528
  return data
5493
5529
  end
5494
5530
 
5495
5531
  # Create a new Phone
5496
5532
  #
5533
+ # @param body Phone
5497
5534
  # @param [Hash] opts the optional parameters
5498
- # @option opts [Phone] :body
5499
5535
  # @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
5500
- def post_providers_edges_phones_with_http_info(opts = {})
5536
+ def post_providers_edges_phones_with_http_info(body, opts = {})
5501
5537
  if @api_client.config.debugging
5502
5538
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_phones ..."
5503
5539
  end
5504
5540
 
5541
+ # verify the required parameter 'body' is set
5542
+ fail "Missing the required parameter 'body' when calling post_providers_edges_phones" if body.nil?
5543
+
5505
5544
  # resource path
5506
5545
  local_var_path = "/api/v2/telephony/providers/edges/phones".sub('{format}','json')
5507
5546
 
@@ -5523,7 +5562,7 @@ module PureCloud
5523
5562
  form_params = {}
5524
5563
 
5525
5564
  # http body (model)
5526
- post_body = @api_client.object_to_http_body(opts[:'body'])
5565
+ post_body = @api_client.object_to_http_body(body)
5527
5566
 
5528
5567
  auth_names = ['PureCloud Auth']
5529
5568
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -5600,24 +5639,27 @@ module PureCloud
5600
5639
 
5601
5640
  # Reboot Multiple Phones
5602
5641
  #
5642
+ # @param body Phones
5603
5643
  # @param [Hash] opts the optional parameters
5604
- # @option opts [PhonesReboot] :body body
5605
5644
  # @return [nil]
5606
- def post_providers_edges_phones_reboot(opts = {})
5607
- post_providers_edges_phones_reboot_with_http_info(opts)
5645
+ def post_providers_edges_phones_reboot(body, opts = {})
5646
+ post_providers_edges_phones_reboot_with_http_info(body, opts)
5608
5647
  return nil
5609
5648
  end
5610
5649
 
5611
5650
  # Reboot Multiple Phones
5612
5651
  #
5652
+ # @param body Phones
5613
5653
  # @param [Hash] opts the optional parameters
5614
- # @option opts [PhonesReboot] :body body
5615
5654
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
5616
- def post_providers_edges_phones_reboot_with_http_info(opts = {})
5655
+ def post_providers_edges_phones_reboot_with_http_info(body, opts = {})
5617
5656
  if @api_client.config.debugging
5618
5657
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_phones_reboot ..."
5619
5658
  end
5620
5659
 
5660
+ # verify the required parameter 'body' is set
5661
+ fail "Missing the required parameter 'body' when calling post_providers_edges_phones_reboot" if body.nil?
5662
+
5621
5663
  # resource path
5622
5664
  local_var_path = "/api/v2/telephony/providers/edges/phones/reboot".sub('{format}','json')
5623
5665
 
@@ -5639,7 +5681,7 @@ module PureCloud
5639
5681
  form_params = {}
5640
5682
 
5641
5683
  # http body (model)
5642
- post_body = @api_client.object_to_http_body(opts[:'body'])
5684
+ post_body = @api_client.object_to_http_body(body)
5643
5685
 
5644
5686
  auth_names = ['PureCloud Auth']
5645
5687
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -5656,24 +5698,27 @@ module PureCloud
5656
5698
 
5657
5699
  # Create a Site.
5658
5700
  #
5701
+ # @param body Site
5659
5702
  # @param [Hash] opts the optional parameters
5660
- # @option opts [Site] :body Site
5661
5703
  # @return [Site]
5662
- def post_providers_edges_sites(opts = {})
5663
- data, status_code, headers = post_providers_edges_sites_with_http_info(opts)
5704
+ def post_providers_edges_sites(body, opts = {})
5705
+ data, status_code, headers = post_providers_edges_sites_with_http_info(body, opts)
5664
5706
  return data
5665
5707
  end
5666
5708
 
5667
5709
  # Create a Site.
5668
5710
  #
5711
+ # @param body Site
5669
5712
  # @param [Hash] opts the optional parameters
5670
- # @option opts [Site] :body Site
5671
5713
  # @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
5672
- def post_providers_edges_sites_with_http_info(opts = {})
5714
+ def post_providers_edges_sites_with_http_info(body, opts = {})
5673
5715
  if @api_client.config.debugging
5674
5716
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_sites ..."
5675
5717
  end
5676
5718
 
5719
+ # verify the required parameter 'body' is set
5720
+ fail "Missing the required parameter 'body' when calling post_providers_edges_sites" if body.nil?
5721
+
5677
5722
  # resource path
5678
5723
  local_var_path = "/api/v2/telephony/providers/edges/sites".sub('{format}','json')
5679
5724
 
@@ -5695,7 +5740,7 @@ module PureCloud
5695
5740
  form_params = {}
5696
5741
 
5697
5742
  # http body (model)
5698
- post_body = @api_client.object_to_http_body(opts[:'body'])
5743
+ post_body = @api_client.object_to_http_body(body)
5699
5744
 
5700
5745
  auth_names = ['PureCloud Auth']
5701
5746
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -5772,24 +5817,27 @@ module PureCloud
5772
5817
 
5773
5818
  # Create a Trunk Base Settings object
5774
5819
  #
5820
+ # @param body Trunk base settings
5775
5821
  # @param [Hash] opts the optional parameters
5776
- # @option opts [TrunkBase] :body
5777
5822
  # @return [TrunkBase]
5778
- def post_providers_edges_trunkbasesettings(opts = {})
5779
- data, status_code, headers = post_providers_edges_trunkbasesettings_with_http_info(opts)
5823
+ def post_providers_edges_trunkbasesettings(body, opts = {})
5824
+ data, status_code, headers = post_providers_edges_trunkbasesettings_with_http_info(body, opts)
5780
5825
  return data
5781
5826
  end
5782
5827
 
5783
5828
  # Create a Trunk Base Settings object
5784
5829
  #
5830
+ # @param body Trunk base settings
5785
5831
  # @param [Hash] opts the optional parameters
5786
- # @option opts [TrunkBase] :body
5787
5832
  # @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
5788
- def post_providers_edges_trunkbasesettings_with_http_info(opts = {})
5833
+ def post_providers_edges_trunkbasesettings_with_http_info(body, opts = {})
5789
5834
  if @api_client.config.debugging
5790
5835
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_trunkbasesettings ..."
5791
5836
  end
5792
5837
 
5838
+ # verify the required parameter 'body' is set
5839
+ fail "Missing the required parameter 'body' when calling post_providers_edges_trunkbasesettings" if body.nil?
5840
+
5793
5841
  # resource path
5794
5842
  local_var_path = "/api/v2/telephony/providers/edges/trunkbasesettings".sub('{format}','json')
5795
5843
 
@@ -5811,7 +5859,7 @@ module PureCloud
5811
5859
  form_params = {}
5812
5860
 
5813
5861
  # http body (model)
5814
- post_body = @api_client.object_to_http_body(opts[:'body'])
5862
+ post_body = @api_client.object_to_http_body(body)
5815
5863
 
5816
5864
  auth_names = ['PureCloud Auth']
5817
5865
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -5830,21 +5878,21 @@ module PureCloud
5830
5878
  # Update a certificate authority.
5831
5879
  #
5832
5880
  # @param certificate_id Certificate ID
5881
+ # @param body Certificate authority
5833
5882
  # @param [Hash] opts the optional parameters
5834
- # @option opts [DomainCertificateAuthority] :body
5835
5883
  # @return [DomainCertificateAuthority]
5836
- def put_providers_edges_certificateauthorities_certificate_id(certificate_id, opts = {})
5837
- data, status_code, headers = put_providers_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts)
5884
+ def put_providers_edges_certificateauthorities_certificate_id(certificate_id, body, opts = {})
5885
+ data, status_code, headers = put_providers_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, body, opts)
5838
5886
  return data
5839
5887
  end
5840
5888
 
5841
5889
  # Update a certificate authority.
5842
5890
  #
5843
5891
  # @param certificate_id Certificate ID
5892
+ # @param body Certificate authority
5844
5893
  # @param [Hash] opts the optional parameters
5845
- # @option opts [DomainCertificateAuthority] :body
5846
5894
  # @return [Array<(DomainCertificateAuthority, Fixnum, Hash)>] DomainCertificateAuthority data, response status code and response headers
5847
- def put_providers_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts = {})
5895
+ def put_providers_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, body, opts = {})
5848
5896
  if @api_client.config.debugging
5849
5897
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_certificateauthorities_certificate_id ..."
5850
5898
  end
@@ -5852,6 +5900,9 @@ module PureCloud
5852
5900
  # verify the required parameter 'certificate_id' is set
5853
5901
  fail "Missing the required parameter 'certificate_id' when calling put_providers_edges_certificateauthorities_certificate_id" if certificate_id.nil?
5854
5902
 
5903
+ # verify the required parameter 'body' is set
5904
+ fail "Missing the required parameter 'body' when calling put_providers_edges_certificateauthorities_certificate_id" if body.nil?
5905
+
5855
5906
  # resource path
5856
5907
  local_var_path = "/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}".sub('{format}','json').sub('{' + 'certificateId' + '}', certificate_id.to_s)
5857
5908
 
@@ -5873,7 +5924,7 @@ module PureCloud
5873
5924
  form_params = {}
5874
5925
 
5875
5926
  # http body (model)
5876
- post_body = @api_client.object_to_http_body(opts[:'body'])
5927
+ post_body = @api_client.object_to_http_body(body)
5877
5928
 
5878
5929
  auth_names = ['PureCloud Auth']
5879
5930
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -5892,21 +5943,21 @@ module PureCloud
5892
5943
  # Update a DID Pool by ID.
5893
5944
  #
5894
5945
  # @param did_pool_id DID pool ID
5946
+ # @param body DID pool
5895
5947
  # @param [Hash] opts the optional parameters
5896
- # @option opts [DIDPool] :body
5897
5948
  # @return [DIDPool]
5898
- def put_providers_edges_didpools_didpool_id(did_pool_id, opts = {})
5899
- data, status_code, headers = put_providers_edges_didpools_didpool_id_with_http_info(did_pool_id, opts)
5949
+ def put_providers_edges_didpools_didpool_id(did_pool_id, body, opts = {})
5950
+ data, status_code, headers = put_providers_edges_didpools_didpool_id_with_http_info(did_pool_id, body, opts)
5900
5951
  return data
5901
5952
  end
5902
5953
 
5903
5954
  # Update a DID Pool by ID.
5904
5955
  #
5905
5956
  # @param did_pool_id DID pool ID
5957
+ # @param body DID pool
5906
5958
  # @param [Hash] opts the optional parameters
5907
- # @option opts [DIDPool] :body
5908
5959
  # @return [Array<(DIDPool, Fixnum, Hash)>] DIDPool data, response status code and response headers
5909
- def put_providers_edges_didpools_didpool_id_with_http_info(did_pool_id, opts = {})
5960
+ def put_providers_edges_didpools_didpool_id_with_http_info(did_pool_id, body, opts = {})
5910
5961
  if @api_client.config.debugging
5911
5962
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_didpools_didpool_id ..."
5912
5963
  end
@@ -5914,6 +5965,9 @@ module PureCloud
5914
5965
  # verify the required parameter 'did_pool_id' is set
5915
5966
  fail "Missing the required parameter 'did_pool_id' when calling put_providers_edges_didpools_didpool_id" if did_pool_id.nil?
5916
5967
 
5968
+ # verify the required parameter 'body' is set
5969
+ fail "Missing the required parameter 'body' when calling put_providers_edges_didpools_didpool_id" if body.nil?
5970
+
5917
5971
  # resource path
5918
5972
  local_var_path = "/api/v2/telephony/providers/edges/didpools/{didPoolId}".sub('{format}','json').sub('{' + 'didPoolId' + '}', did_pool_id.to_s)
5919
5973
 
@@ -5935,7 +5989,7 @@ module PureCloud
5935
5989
  form_params = {}
5936
5990
 
5937
5991
  # http body (model)
5938
- post_body = @api_client.object_to_http_body(opts[:'body'])
5992
+ post_body = @api_client.object_to_http_body(body)
5939
5993
 
5940
5994
  auth_names = ['PureCloud Auth']
5941
5995
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -5954,21 +6008,21 @@ module PureCloud
5954
6008
  # Update a DID by ID.
5955
6009
  #
5956
6010
  # @param did_id DID ID
6011
+ # @param body DID
5957
6012
  # @param [Hash] opts the optional parameters
5958
- # @option opts [DID] :body
5959
6013
  # @return [DID]
5960
- def put_providers_edges_dids_did_id(did_id, opts = {})
5961
- data, status_code, headers = put_providers_edges_dids_did_id_with_http_info(did_id, opts)
6014
+ def put_providers_edges_dids_did_id(did_id, body, opts = {})
6015
+ data, status_code, headers = put_providers_edges_dids_did_id_with_http_info(did_id, body, opts)
5962
6016
  return data
5963
6017
  end
5964
6018
 
5965
6019
  # Update a DID by ID.
5966
6020
  #
5967
6021
  # @param did_id DID ID
6022
+ # @param body DID
5968
6023
  # @param [Hash] opts the optional parameters
5969
- # @option opts [DID] :body
5970
6024
  # @return [Array<(DID, Fixnum, Hash)>] DID data, response status code and response headers
5971
- def put_providers_edges_dids_did_id_with_http_info(did_id, opts = {})
6025
+ def put_providers_edges_dids_did_id_with_http_info(did_id, body, opts = {})
5972
6026
  if @api_client.config.debugging
5973
6027
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_dids_did_id ..."
5974
6028
  end
@@ -5976,6 +6030,9 @@ module PureCloud
5976
6030
  # verify the required parameter 'did_id' is set
5977
6031
  fail "Missing the required parameter 'did_id' when calling put_providers_edges_dids_did_id" if did_id.nil?
5978
6032
 
6033
+ # verify the required parameter 'body' is set
6034
+ fail "Missing the required parameter 'body' when calling put_providers_edges_dids_did_id" if body.nil?
6035
+
5979
6036
  # resource path
5980
6037
  local_var_path = "/api/v2/telephony/providers/edges/dids/{didId}".sub('{format}','json').sub('{' + 'didId' + '}', did_id.to_s)
5981
6038
 
@@ -5997,7 +6054,7 @@ module PureCloud
5997
6054
  form_params = {}
5998
6055
 
5999
6056
  # http body (model)
6000
- post_body = @api_client.object_to_http_body(opts[:'body'])
6057
+ post_body = @api_client.object_to_http_body(body)
6001
6058
 
6002
6059
  auth_names = ['PureCloud Auth']
6003
6060
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6016,21 +6073,21 @@ module PureCloud
6016
6073
  # Update a edge.
6017
6074
  #
6018
6075
  # @param edge_id Edge ID
6076
+ # @param body Edge
6019
6077
  # @param [Hash] opts the optional parameters
6020
- # @option opts [Edge] :body Edge
6021
6078
  # @return [Edge]
6022
- def put_providers_edges_edge_id(edge_id, opts = {})
6023
- data, status_code, headers = put_providers_edges_edge_id_with_http_info(edge_id, opts)
6079
+ def put_providers_edges_edge_id(edge_id, body, opts = {})
6080
+ data, status_code, headers = put_providers_edges_edge_id_with_http_info(edge_id, body, opts)
6024
6081
  return data
6025
6082
  end
6026
6083
 
6027
6084
  # Update a edge.
6028
6085
  #
6029
6086
  # @param edge_id Edge ID
6087
+ # @param body Edge
6030
6088
  # @param [Hash] opts the optional parameters
6031
- # @option opts [Edge] :body Edge
6032
6089
  # @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
6033
- def put_providers_edges_edge_id_with_http_info(edge_id, opts = {})
6090
+ def put_providers_edges_edge_id_with_http_info(edge_id, body, opts = {})
6034
6091
  if @api_client.config.debugging
6035
6092
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_edge_id ..."
6036
6093
  end
@@ -6038,6 +6095,9 @@ module PureCloud
6038
6095
  # verify the required parameter 'edge_id' is set
6039
6096
  fail "Missing the required parameter 'edge_id' when calling put_providers_edges_edge_id" if edge_id.nil?
6040
6097
 
6098
+ # verify the required parameter 'body' is set
6099
+ fail "Missing the required parameter 'body' when calling put_providers_edges_edge_id" if body.nil?
6100
+
6041
6101
  # resource path
6042
6102
  local_var_path = "/api/v2/telephony/providers/edges/{edgeId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
6043
6103
 
@@ -6059,7 +6119,7 @@ module PureCloud
6059
6119
  form_params = {}
6060
6120
 
6061
6121
  # http body (model)
6062
- post_body = @api_client.object_to_http_body(opts[:'body'])
6122
+ post_body = @api_client.object_to_http_body(body)
6063
6123
 
6064
6124
  auth_names = ['PureCloud Auth']
6065
6125
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6079,11 +6139,11 @@ module PureCloud
6079
6139
  #
6080
6140
  # @param edge_id Edge ID
6081
6141
  # @param line_id Line ID
6142
+ # @param body Line
6082
6143
  # @param [Hash] opts the optional parameters
6083
- # @option opts [EdgeLine] :body Line
6084
6144
  # @return [EdgeLine]
6085
- def put_providers_edges_edge_id_lines_line_id(edge_id, line_id, opts = {})
6086
- data, status_code, headers = put_providers_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts)
6145
+ def put_providers_edges_edge_id_lines_line_id(edge_id, line_id, body, opts = {})
6146
+ data, status_code, headers = put_providers_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, body, opts)
6087
6147
  return data
6088
6148
  end
6089
6149
 
@@ -6091,10 +6151,10 @@ module PureCloud
6091
6151
  #
6092
6152
  # @param edge_id Edge ID
6093
6153
  # @param line_id Line ID
6154
+ # @param body Line
6094
6155
  # @param [Hash] opts the optional parameters
6095
- # @option opts [EdgeLine] :body Line
6096
6156
  # @return [Array<(EdgeLine, Fixnum, Hash)>] EdgeLine data, response status code and response headers
6097
- def put_providers_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts = {})
6157
+ def put_providers_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, body, opts = {})
6098
6158
  if @api_client.config.debugging
6099
6159
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_edge_id_lines_line_id ..."
6100
6160
  end
@@ -6105,6 +6165,9 @@ module PureCloud
6105
6165
  # verify the required parameter 'line_id' is set
6106
6166
  fail "Missing the required parameter 'line_id' when calling put_providers_edges_edge_id_lines_line_id" if line_id.nil?
6107
6167
 
6168
+ # verify the required parameter 'body' is set
6169
+ fail "Missing the required parameter 'body' when calling put_providers_edges_edge_id_lines_line_id" if body.nil?
6170
+
6108
6171
  # resource path
6109
6172
  local_var_path = "/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'lineId' + '}', line_id.to_s)
6110
6173
 
@@ -6126,7 +6189,7 @@ module PureCloud
6126
6189
  form_params = {}
6127
6190
 
6128
6191
  # http body (model)
6129
- post_body = @api_client.object_to_http_body(opts[:'body'])
6192
+ post_body = @api_client.object_to_http_body(body)
6130
6193
 
6131
6194
  auth_names = ['PureCloud Auth']
6132
6195
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6146,11 +6209,11 @@ module PureCloud
6146
6209
  #
6147
6210
  # @param edge_id Edge ID
6148
6211
  # @param interface_id Interface ID
6212
+ # @param body Logical interface
6149
6213
  # @param [Hash] opts the optional parameters
6150
- # @option opts [DomainLogicalInterface] :body
6151
6214
  # @return [DomainLogicalInterface]
6152
- def put_providers_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, opts = {})
6153
- data, status_code, headers = put_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
6215
+ def put_providers_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, body, opts = {})
6216
+ data, status_code, headers = put_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, body, opts)
6154
6217
  return data
6155
6218
  end
6156
6219
 
@@ -6158,10 +6221,10 @@ module PureCloud
6158
6221
  #
6159
6222
  # @param edge_id Edge ID
6160
6223
  # @param interface_id Interface ID
6224
+ # @param body Logical interface
6161
6225
  # @param [Hash] opts the optional parameters
6162
- # @option opts [DomainLogicalInterface] :body
6163
6226
  # @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
6164
- def put_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
6227
+ def put_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, body, opts = {})
6165
6228
  if @api_client.config.debugging
6166
6229
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_edge_id_logicalinterfaces_interface_id ..."
6167
6230
  end
@@ -6172,6 +6235,9 @@ module PureCloud
6172
6235
  # verify the required parameter 'interface_id' is set
6173
6236
  fail "Missing the required parameter 'interface_id' when calling put_providers_edges_edge_id_logicalinterfaces_interface_id" if interface_id.nil?
6174
6237
 
6238
+ # verify the required parameter 'body' is set
6239
+ fail "Missing the required parameter 'body' when calling put_providers_edges_edge_id_logicalinterfaces_interface_id" if body.nil?
6240
+
6175
6241
  # resource path
6176
6242
  local_var_path = "/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
6177
6243
 
@@ -6193,7 +6259,7 @@ module PureCloud
6193
6259
  form_params = {}
6194
6260
 
6195
6261
  # http body (model)
6196
- post_body = @api_client.object_to_http_body(opts[:'body'])
6262
+ post_body = @api_client.object_to_http_body(body)
6197
6263
 
6198
6264
  auth_names = ['PureCloud Auth']
6199
6265
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6212,21 +6278,21 @@ module PureCloud
6212
6278
  # Update an edge group.
6213
6279
  #
6214
6280
  # @param edge_group_id Edge group ID
6281
+ # @param body EdgeGroup
6215
6282
  # @param [Hash] opts the optional parameters
6216
- # @option opts [EdgeGroup] :body EdgeGroup
6217
6283
  # @return [EdgeGroup]
6218
- def put_providers_edges_edgegroups_edgegroup_id(edge_group_id, opts = {})
6219
- data, status_code, headers = put_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts)
6284
+ def put_providers_edges_edgegroups_edgegroup_id(edge_group_id, body, opts = {})
6285
+ data, status_code, headers = put_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, body, opts)
6220
6286
  return data
6221
6287
  end
6222
6288
 
6223
6289
  # Update an edge group.
6224
6290
  #
6225
6291
  # @param edge_group_id Edge group ID
6292
+ # @param body EdgeGroup
6226
6293
  # @param [Hash] opts the optional parameters
6227
- # @option opts [EdgeGroup] :body EdgeGroup
6228
6294
  # @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
6229
- def put_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts = {})
6295
+ def put_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, body, opts = {})
6230
6296
  if @api_client.config.debugging
6231
6297
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_edgegroups_edgegroup_id ..."
6232
6298
  end
@@ -6234,6 +6300,9 @@ module PureCloud
6234
6300
  # verify the required parameter 'edge_group_id' is set
6235
6301
  fail "Missing the required parameter 'edge_group_id' when calling put_providers_edges_edgegroups_edgegroup_id" if edge_group_id.nil?
6236
6302
 
6303
+ # verify the required parameter 'body' is set
6304
+ fail "Missing the required parameter 'body' when calling put_providers_edges_edgegroups_edgegroup_id" if body.nil?
6305
+
6237
6306
  # resource path
6238
6307
  local_var_path = "/api/v2/telephony/providers/edges/edgegroups/{edgeGroupId}".sub('{format}','json').sub('{' + 'edgeGroupId' + '}', edge_group_id.to_s)
6239
6308
 
@@ -6255,7 +6324,7 @@ module PureCloud
6255
6324
  form_params = {}
6256
6325
 
6257
6326
  # http body (model)
6258
- post_body = @api_client.object_to_http_body(opts[:'body'])
6327
+ post_body = @api_client.object_to_http_body(body)
6259
6328
 
6260
6329
  auth_names = ['PureCloud Auth']
6261
6330
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6274,21 +6343,21 @@ module PureCloud
6274
6343
  # Update endpoint
6275
6344
  #
6276
6345
  # @param endpoint_id Endpoint ID
6346
+ # @param body EndpointTemplate
6277
6347
  # @param [Hash] opts the optional parameters
6278
- # @option opts [Endpoint] :body EndpointTemplate
6279
6348
  # @return [Endpoint]
6280
- def put_providers_edges_endpoints_endpoint_id(endpoint_id, opts = {})
6281
- data, status_code, headers = put_providers_edges_endpoints_endpoint_id_with_http_info(endpoint_id, opts)
6349
+ def put_providers_edges_endpoints_endpoint_id(endpoint_id, body, opts = {})
6350
+ data, status_code, headers = put_providers_edges_endpoints_endpoint_id_with_http_info(endpoint_id, body, opts)
6282
6351
  return data
6283
6352
  end
6284
6353
 
6285
6354
  # Update endpoint
6286
6355
  #
6287
6356
  # @param endpoint_id Endpoint ID
6357
+ # @param body EndpointTemplate
6288
6358
  # @param [Hash] opts the optional parameters
6289
- # @option opts [Endpoint] :body EndpointTemplate
6290
6359
  # @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
6291
- def put_providers_edges_endpoints_endpoint_id_with_http_info(endpoint_id, opts = {})
6360
+ def put_providers_edges_endpoints_endpoint_id_with_http_info(endpoint_id, body, opts = {})
6292
6361
  if @api_client.config.debugging
6293
6362
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_endpoints_endpoint_id ..."
6294
6363
  end
@@ -6296,6 +6365,9 @@ module PureCloud
6296
6365
  # verify the required parameter 'endpoint_id' is set
6297
6366
  fail "Missing the required parameter 'endpoint_id' when calling put_providers_edges_endpoints_endpoint_id" if endpoint_id.nil?
6298
6367
 
6368
+ # verify the required parameter 'body' is set
6369
+ fail "Missing the required parameter 'body' when calling put_providers_edges_endpoints_endpoint_id" if body.nil?
6370
+
6299
6371
  # resource path
6300
6372
  local_var_path = "/api/v2/telephony/providers/edges/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
6301
6373
 
@@ -6317,7 +6389,7 @@ module PureCloud
6317
6389
  form_params = {}
6318
6390
 
6319
6391
  # http body (model)
6320
- post_body = @api_client.object_to_http_body(opts[:'body'])
6392
+ post_body = @api_client.object_to_http_body(body)
6321
6393
 
6322
6394
  auth_names = ['PureCloud Auth']
6323
6395
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6336,21 +6408,21 @@ module PureCloud
6336
6408
  # Update an extension pool by ID
6337
6409
  #
6338
6410
  # @param extension_pool_id Extension pool ID
6411
+ # @param body ExtensionPool
6339
6412
  # @param [Hash] opts the optional parameters
6340
- # @option opts [ExtensionPool] :body ExtensionPool
6341
6413
  # @return [ExtensionPool]
6342
- def put_providers_edges_extensionpools_extensionpool_id(extension_pool_id, opts = {})
6343
- data, status_code, headers = put_providers_edges_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts)
6414
+ def put_providers_edges_extensionpools_extensionpool_id(extension_pool_id, body, opts = {})
6415
+ data, status_code, headers = put_providers_edges_extensionpools_extensionpool_id_with_http_info(extension_pool_id, body, opts)
6344
6416
  return data
6345
6417
  end
6346
6418
 
6347
6419
  # Update an extension pool by ID
6348
6420
  #
6349
6421
  # @param extension_pool_id Extension pool ID
6422
+ # @param body ExtensionPool
6350
6423
  # @param [Hash] opts the optional parameters
6351
- # @option opts [ExtensionPool] :body ExtensionPool
6352
6424
  # @return [Array<(ExtensionPool, Fixnum, Hash)>] ExtensionPool data, response status code and response headers
6353
- def put_providers_edges_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts = {})
6425
+ def put_providers_edges_extensionpools_extensionpool_id_with_http_info(extension_pool_id, body, opts = {})
6354
6426
  if @api_client.config.debugging
6355
6427
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_extensionpools_extensionpool_id ..."
6356
6428
  end
@@ -6358,6 +6430,9 @@ module PureCloud
6358
6430
  # verify the required parameter 'extension_pool_id' is set
6359
6431
  fail "Missing the required parameter 'extension_pool_id' when calling put_providers_edges_extensionpools_extensionpool_id" if extension_pool_id.nil?
6360
6432
 
6433
+ # verify the required parameter 'body' is set
6434
+ fail "Missing the required parameter 'body' when calling put_providers_edges_extensionpools_extensionpool_id" if body.nil?
6435
+
6361
6436
  # resource path
6362
6437
  local_var_path = "/api/v2/telephony/providers/edges/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
6363
6438
 
@@ -6379,7 +6454,7 @@ module PureCloud
6379
6454
  form_params = {}
6380
6455
 
6381
6456
  # http body (model)
6382
- post_body = @api_client.object_to_http_body(opts[:'body'])
6457
+ post_body = @api_client.object_to_http_body(body)
6383
6458
 
6384
6459
  auth_names = ['PureCloud Auth']
6385
6460
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6398,21 +6473,21 @@ module PureCloud
6398
6473
  # Update an extension by ID.
6399
6474
  #
6400
6475
  # @param extension_id Extension ID
6476
+ # @param body Extension
6401
6477
  # @param [Hash] opts the optional parameters
6402
- # @option opts [Extension] :body
6403
6478
  # @return [Extension]
6404
- def put_providers_edges_extensions_extension_id(extension_id, opts = {})
6405
- data, status_code, headers = put_providers_edges_extensions_extension_id_with_http_info(extension_id, opts)
6479
+ def put_providers_edges_extensions_extension_id(extension_id, body, opts = {})
6480
+ data, status_code, headers = put_providers_edges_extensions_extension_id_with_http_info(extension_id, body, opts)
6406
6481
  return data
6407
6482
  end
6408
6483
 
6409
6484
  # Update an extension by ID.
6410
6485
  #
6411
6486
  # @param extension_id Extension ID
6487
+ # @param body Extension
6412
6488
  # @param [Hash] opts the optional parameters
6413
- # @option opts [Extension] :body
6414
6489
  # @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
6415
- def put_providers_edges_extensions_extension_id_with_http_info(extension_id, opts = {})
6490
+ def put_providers_edges_extensions_extension_id_with_http_info(extension_id, body, opts = {})
6416
6491
  if @api_client.config.debugging
6417
6492
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_extensions_extension_id ..."
6418
6493
  end
@@ -6420,6 +6495,9 @@ module PureCloud
6420
6495
  # verify the required parameter 'extension_id' is set
6421
6496
  fail "Missing the required parameter 'extension_id' when calling put_providers_edges_extensions_extension_id" if extension_id.nil?
6422
6497
 
6498
+ # verify the required parameter 'body' is set
6499
+ fail "Missing the required parameter 'body' when calling put_providers_edges_extensions_extension_id" if body.nil?
6500
+
6423
6501
  # resource path
6424
6502
  local_var_path = "/api/v2/telephony/providers/edges/extensions/{extensionId}".sub('{format}','json').sub('{' + 'extensionId' + '}', extension_id.to_s)
6425
6503
 
@@ -6441,7 +6519,7 @@ module PureCloud
6441
6519
  form_params = {}
6442
6520
 
6443
6521
  # http body (model)
6444
- post_body = @api_client.object_to_http_body(opts[:'body'])
6522
+ post_body = @api_client.object_to_http_body(body)
6445
6523
 
6446
6524
  auth_names = ['PureCloud Auth']
6447
6525
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6460,21 +6538,21 @@ module PureCloud
6460
6538
  # Update outbound route
6461
6539
  #
6462
6540
  # @param outbound_route_id Outbound route ID
6541
+ # @param body OutboundRoute
6463
6542
  # @param [Hash] opts the optional parameters
6464
- # @option opts [OutboundRoute] :body OutboundRoute
6465
6543
  # @return [OutboundRoute]
6466
- def put_providers_edges_outboundroutes_outboundroute_id(outbound_route_id, opts = {})
6467
- data, status_code, headers = put_providers_edges_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts)
6544
+ def put_providers_edges_outboundroutes_outboundroute_id(outbound_route_id, body, opts = {})
6545
+ data, status_code, headers = put_providers_edges_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, body, opts)
6468
6546
  return data
6469
6547
  end
6470
6548
 
6471
6549
  # Update outbound route
6472
6550
  #
6473
6551
  # @param outbound_route_id Outbound route ID
6552
+ # @param body OutboundRoute
6474
6553
  # @param [Hash] opts the optional parameters
6475
- # @option opts [OutboundRoute] :body OutboundRoute
6476
6554
  # @return [Array<(OutboundRoute, Fixnum, Hash)>] OutboundRoute data, response status code and response headers
6477
- def put_providers_edges_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts = {})
6555
+ def put_providers_edges_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, body, opts = {})
6478
6556
  if @api_client.config.debugging
6479
6557
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_outboundroutes_outboundroute_id ..."
6480
6558
  end
@@ -6482,6 +6560,9 @@ module PureCloud
6482
6560
  # verify the required parameter 'outbound_route_id' is set
6483
6561
  fail "Missing the required parameter 'outbound_route_id' when calling put_providers_edges_outboundroutes_outboundroute_id" if outbound_route_id.nil?
6484
6562
 
6563
+ # verify the required parameter 'body' is set
6564
+ fail "Missing the required parameter 'body' when calling put_providers_edges_outboundroutes_outboundroute_id" if body.nil?
6565
+
6485
6566
  # resource path
6486
6567
  local_var_path = "/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
6487
6568
 
@@ -6503,7 +6584,7 @@ module PureCloud
6503
6584
  form_params = {}
6504
6585
 
6505
6586
  # http body (model)
6506
- post_body = @api_client.object_to_http_body(opts[:'body'])
6587
+ post_body = @api_client.object_to_http_body(body)
6507
6588
 
6508
6589
  auth_names = ['PureCloud Auth']
6509
6590
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6522,21 +6603,21 @@ module PureCloud
6522
6603
  # Update a Phone Base Settings by ID
6523
6604
  #
6524
6605
  # @param phone_base_id Phone base ID
6606
+ # @param body Phone base settings
6525
6607
  # @param [Hash] opts the optional parameters
6526
- # @option opts [PhoneBase] :body
6527
6608
  # @return [PhoneBase]
6528
- def put_providers_edges_phonebasesettings_phonebase_id(phone_base_id, opts = {})
6529
- data, status_code, headers = put_providers_edges_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts)
6609
+ def put_providers_edges_phonebasesettings_phonebase_id(phone_base_id, body, opts = {})
6610
+ data, status_code, headers = put_providers_edges_phonebasesettings_phonebase_id_with_http_info(phone_base_id, body, opts)
6530
6611
  return data
6531
6612
  end
6532
6613
 
6533
6614
  # Update a Phone Base Settings by ID
6534
6615
  #
6535
6616
  # @param phone_base_id Phone base ID
6617
+ # @param body Phone base settings
6536
6618
  # @param [Hash] opts the optional parameters
6537
- # @option opts [PhoneBase] :body
6538
6619
  # @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
6539
- def put_providers_edges_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts = {})
6620
+ def put_providers_edges_phonebasesettings_phonebase_id_with_http_info(phone_base_id, body, opts = {})
6540
6621
  if @api_client.config.debugging
6541
6622
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_phonebasesettings_phonebase_id ..."
6542
6623
  end
@@ -6544,6 +6625,9 @@ module PureCloud
6544
6625
  # verify the required parameter 'phone_base_id' is set
6545
6626
  fail "Missing the required parameter 'phone_base_id' when calling put_providers_edges_phonebasesettings_phonebase_id" if phone_base_id.nil?
6546
6627
 
6628
+ # verify the required parameter 'body' is set
6629
+ fail "Missing the required parameter 'body' when calling put_providers_edges_phonebasesettings_phonebase_id" if body.nil?
6630
+
6547
6631
  # resource path
6548
6632
  local_var_path = "/api/v2/telephony/providers/edges/phonebasesettings/{phoneBaseId}".sub('{format}','json').sub('{' + 'phoneBaseId' + '}', phone_base_id.to_s)
6549
6633
 
@@ -6565,7 +6649,7 @@ module PureCloud
6565
6649
  form_params = {}
6566
6650
 
6567
6651
  # http body (model)
6568
- post_body = @api_client.object_to_http_body(opts[:'body'])
6652
+ post_body = @api_client.object_to_http_body(body)
6569
6653
 
6570
6654
  auth_names = ['PureCloud Auth']
6571
6655
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6584,21 +6668,21 @@ module PureCloud
6584
6668
  # Update a Phone by ID
6585
6669
  #
6586
6670
  # @param phone_id Phone ID
6671
+ # @param body Phone
6587
6672
  # @param [Hash] opts the optional parameters
6588
- # @option opts [Phone] :body
6589
6673
  # @return [Phone]
6590
- def put_providers_edges_phones_phone_id(phone_id, opts = {})
6591
- data, status_code, headers = put_providers_edges_phones_phone_id_with_http_info(phone_id, opts)
6674
+ def put_providers_edges_phones_phone_id(phone_id, body, opts = {})
6675
+ data, status_code, headers = put_providers_edges_phones_phone_id_with_http_info(phone_id, body, opts)
6592
6676
  return data
6593
6677
  end
6594
6678
 
6595
6679
  # Update a Phone by ID
6596
6680
  #
6597
6681
  # @param phone_id Phone ID
6682
+ # @param body Phone
6598
6683
  # @param [Hash] opts the optional parameters
6599
- # @option opts [Phone] :body
6600
6684
  # @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
6601
- def put_providers_edges_phones_phone_id_with_http_info(phone_id, opts = {})
6685
+ def put_providers_edges_phones_phone_id_with_http_info(phone_id, body, opts = {})
6602
6686
  if @api_client.config.debugging
6603
6687
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_phones_phone_id ..."
6604
6688
  end
@@ -6606,6 +6690,9 @@ module PureCloud
6606
6690
  # verify the required parameter 'phone_id' is set
6607
6691
  fail "Missing the required parameter 'phone_id' when calling put_providers_edges_phones_phone_id" if phone_id.nil?
6608
6692
 
6693
+ # verify the required parameter 'body' is set
6694
+ fail "Missing the required parameter 'body' when calling put_providers_edges_phones_phone_id" if body.nil?
6695
+
6609
6696
  # resource path
6610
6697
  local_var_path = "/api/v2/telephony/providers/edges/phones/{phoneId}".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
6611
6698
 
@@ -6627,7 +6714,7 @@ module PureCloud
6627
6714
  form_params = {}
6628
6715
 
6629
6716
  # http body (model)
6630
- post_body = @api_client.object_to_http_body(opts[:'body'])
6717
+ post_body = @api_client.object_to_http_body(body)
6631
6718
 
6632
6719
  auth_names = ['PureCloud Auth']
6633
6720
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6646,21 +6733,21 @@ module PureCloud
6646
6733
  # Update a Site by ID.
6647
6734
  #
6648
6735
  # @param site_id Site ID
6736
+ # @param body Site
6649
6737
  # @param [Hash] opts the optional parameters
6650
- # @option opts [Site] :body Site
6651
6738
  # @return [Site]
6652
- def put_providers_edges_sites_site_id(site_id, opts = {})
6653
- data, status_code, headers = put_providers_edges_sites_site_id_with_http_info(site_id, opts)
6739
+ def put_providers_edges_sites_site_id(site_id, body, opts = {})
6740
+ data, status_code, headers = put_providers_edges_sites_site_id_with_http_info(site_id, body, opts)
6654
6741
  return data
6655
6742
  end
6656
6743
 
6657
6744
  # Update a Site by ID.
6658
6745
  #
6659
6746
  # @param site_id Site ID
6747
+ # @param body Site
6660
6748
  # @param [Hash] opts the optional parameters
6661
- # @option opts [Site] :body Site
6662
6749
  # @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
6663
- def put_providers_edges_sites_site_id_with_http_info(site_id, opts = {})
6750
+ def put_providers_edges_sites_site_id_with_http_info(site_id, body, opts = {})
6664
6751
  if @api_client.config.debugging
6665
6752
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_sites_site_id ..."
6666
6753
  end
@@ -6668,6 +6755,9 @@ module PureCloud
6668
6755
  # verify the required parameter 'site_id' is set
6669
6756
  fail "Missing the required parameter 'site_id' when calling put_providers_edges_sites_site_id" if site_id.nil?
6670
6757
 
6758
+ # verify the required parameter 'body' is set
6759
+ fail "Missing the required parameter 'body' when calling put_providers_edges_sites_site_id" if body.nil?
6760
+
6671
6761
  # resource path
6672
6762
  local_var_path = "/api/v2/telephony/providers/edges/sites/{siteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
6673
6763
 
@@ -6689,7 +6779,7 @@ module PureCloud
6689
6779
  form_params = {}
6690
6780
 
6691
6781
  # http body (model)
6692
- post_body = @api_client.object_to_http_body(opts[:'body'])
6782
+ post_body = @api_client.object_to_http_body(body)
6693
6783
 
6694
6784
  auth_names = ['PureCloud Auth']
6695
6785
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6708,21 +6798,21 @@ module PureCloud
6708
6798
  # Update the list of Number Plans.
6709
6799
  #
6710
6800
  # @param site_id Site ID
6801
+ # @param body List of number plans
6711
6802
  # @param [Hash] opts the optional parameters
6712
- # @option opts [Array<NumberPlan>] :body
6713
6803
  # @return [Array<NumberPlan>]
6714
- def put_providers_edges_sites_site_id_numberplans(site_id, opts = {})
6715
- data, status_code, headers = put_providers_edges_sites_site_id_numberplans_with_http_info(site_id, opts)
6804
+ def put_providers_edges_sites_site_id_numberplans(site_id, body, opts = {})
6805
+ data, status_code, headers = put_providers_edges_sites_site_id_numberplans_with_http_info(site_id, body, opts)
6716
6806
  return data
6717
6807
  end
6718
6808
 
6719
6809
  # Update the list of Number Plans.
6720
6810
  #
6721
6811
  # @param site_id Site ID
6812
+ # @param body List of number plans
6722
6813
  # @param [Hash] opts the optional parameters
6723
- # @option opts [Array<NumberPlan>] :body
6724
6814
  # @return [Array<(Array<NumberPlan>, Fixnum, Hash)>] Array<NumberPlan> data, response status code and response headers
6725
- def put_providers_edges_sites_site_id_numberplans_with_http_info(site_id, opts = {})
6815
+ def put_providers_edges_sites_site_id_numberplans_with_http_info(site_id, body, opts = {})
6726
6816
  if @api_client.config.debugging
6727
6817
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_sites_site_id_numberplans ..."
6728
6818
  end
@@ -6730,6 +6820,9 @@ module PureCloud
6730
6820
  # verify the required parameter 'site_id' is set
6731
6821
  fail "Missing the required parameter 'site_id' when calling put_providers_edges_sites_site_id_numberplans" if site_id.nil?
6732
6822
 
6823
+ # verify the required parameter 'body' is set
6824
+ fail "Missing the required parameter 'body' when calling put_providers_edges_sites_site_id_numberplans" if body.nil?
6825
+
6733
6826
  # resource path
6734
6827
  local_var_path = "/api/v2/telephony/providers/edges/sites/{siteId}/numberplans".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
6735
6828
 
@@ -6751,7 +6844,7 @@ module PureCloud
6751
6844
  form_params = {}
6752
6845
 
6753
6846
  # http body (model)
6754
- post_body = @api_client.object_to_http_body(opts[:'body'])
6847
+ post_body = @api_client.object_to_http_body(body)
6755
6848
 
6756
6849
  auth_names = ['PureCloud Auth']
6757
6850
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -6770,21 +6863,21 @@ module PureCloud
6770
6863
  # Update a Trunk Base Settings object by ID
6771
6864
  #
6772
6865
  # @param trunk_base_settings_id Trunk Base ID
6866
+ # @param body Trunk base settings
6773
6867
  # @param [Hash] opts the optional parameters
6774
- # @option opts [TrunkBase] :body
6775
6868
  # @return [TrunkBase]
6776
- def put_providers_edges_trunkbasesettings_trunkbasesettings_id(trunk_base_settings_id, opts = {})
6777
- data, status_code, headers = put_providers_edges_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts)
6869
+ def put_providers_edges_trunkbasesettings_trunkbasesettings_id(trunk_base_settings_id, body, opts = {})
6870
+ data, status_code, headers = put_providers_edges_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, body, opts)
6778
6871
  return data
6779
6872
  end
6780
6873
 
6781
6874
  # Update a Trunk Base Settings object by ID
6782
6875
  #
6783
6876
  # @param trunk_base_settings_id Trunk Base ID
6877
+ # @param body Trunk base settings
6784
6878
  # @param [Hash] opts the optional parameters
6785
- # @option opts [TrunkBase] :body
6786
6879
  # @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
6787
- def put_providers_edges_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts = {})
6880
+ def put_providers_edges_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, body, opts = {})
6788
6881
  if @api_client.config.debugging
6789
6882
  @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_trunkbasesettings_trunkbasesettings_id ..."
6790
6883
  end
@@ -6792,6 +6885,9 @@ module PureCloud
6792
6885
  # verify the required parameter 'trunk_base_settings_id' is set
6793
6886
  fail "Missing the required parameter 'trunk_base_settings_id' when calling put_providers_edges_trunkbasesettings_trunkbasesettings_id" if trunk_base_settings_id.nil?
6794
6887
 
6888
+ # verify the required parameter 'body' is set
6889
+ fail "Missing the required parameter 'body' when calling put_providers_edges_trunkbasesettings_trunkbasesettings_id" if body.nil?
6890
+
6795
6891
  # resource path
6796
6892
  local_var_path = "/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}".sub('{format}','json').sub('{' + 'trunkBaseSettingsId' + '}', trunk_base_settings_id.to_s)
6797
6893
 
@@ -6813,7 +6909,7 @@ module PureCloud
6813
6909
  form_params = {}
6814
6910
 
6815
6911
  # http body (model)
6816
- post_body = @api_client.object_to_http_body(opts[:'body'])
6912
+ post_body = @api_client.object_to_http_body(body)
6817
6913
 
6818
6914
  auth_names = ['PureCloud Auth']
6819
6915
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,