purecloudplatformclientv2 13.1.0 → 14.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (325) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AgentActivityEntityListing.md +2 -2
  4. data/docs/ArchitectApi.md +966 -33
  5. data/docs/AttemptLimitsEntityListing.md +2 -2
  6. data/docs/AttributeEntityListing.md +2 -2
  7. data/docs/AuditQueryResponse.md +12 -0
  8. data/docs/AuthorizationApi.md +2 -0
  9. data/docs/CalibrationEntityListing.md +2 -2
  10. data/docs/Call.md +1 -0
  11. data/docs/CallBasic.md +1 -0
  12. data/docs/CallConversationEntityListing.md +2 -2
  13. data/docs/CallableTimeSetEntityListing.md +2 -2
  14. data/docs/CallbackConversationEntityListing.md +2 -2
  15. data/docs/CampaignEntityListing.md +2 -2
  16. data/docs/CampaignRuleEntityListing.md +2 -2
  17. data/docs/CampaignSequenceEntityListing.md +2 -2
  18. data/docs/CertificateAuthorityEntityListing.md +2 -2
  19. data/docs/ChatConversationEntityListing.md +2 -2
  20. data/docs/CobrowseConversationEntityListing.md +2 -2
  21. data/docs/CommandStatusEntityListing.md +2 -2
  22. data/docs/ConsumedResourcesEntityListing.md +2 -2
  23. data/docs/ConsumingResourcesEntityListing.md +2 -2
  24. data/docs/ContactListEntityListing.md +2 -2
  25. data/docs/ContactListFilterEntityListing.md +2 -2
  26. data/docs/ContactListing.md +2 -2
  27. data/docs/ConversationChat.md +1 -0
  28. data/docs/ConversationEntityListing.md +2 -2
  29. data/docs/ConversationsApi.md +71 -2
  30. data/docs/CreateCallbackOnConversationCommand.md +20 -0
  31. data/docs/DIDEntityListing.md +2 -2
  32. data/docs/DIDPoolEntityListing.md +2 -2
  33. data/docs/DependencyObjectEntityListing.md +2 -2
  34. data/docs/DependencyTypeEntityListing.md +2 -2
  35. data/docs/DialerEventEntityListing.md +2 -2
  36. data/docs/DncListEntityListing.md +2 -2
  37. data/docs/DocumentAuditEntityListing.md +2 -2
  38. data/docs/DocumentEntityListing.md +2 -2
  39. data/docs/DocumentationSearchRequest.md +1 -0
  40. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
  41. data/docs/DomainEntityListing.md +2 -2
  42. data/docs/DomainEntityListingEvaluationForm.md +2 -2
  43. data/docs/DomainEntityListingQueryResult.md +2 -2
  44. data/docs/EdgeEntityListing.md +2 -2
  45. data/docs/EdgeGroupEntityListing.md +2 -2
  46. data/docs/EdgeLineEntityListing.md +2 -2
  47. data/docs/Email.md +2 -0
  48. data/docs/EmailConversationEntityListing.md +2 -2
  49. data/docs/EmailMessageListing.md +2 -2
  50. data/docs/EncryptionKeyEntityListing.md +2 -2
  51. data/docs/EndpointEntityListing.md +2 -2
  52. data/docs/EvaluationEntityListing.md +2 -2
  53. data/docs/EvaluationFormEntityListing.md +2 -2
  54. data/docs/EvaluatorActivityEntityListing.md +2 -2
  55. data/docs/ExtensionEntityListing.md +2 -2
  56. data/docs/ExtensionPoolEntityListing.md +2 -2
  57. data/docs/ExternalContactsApi.md +2 -2
  58. data/docs/ExternalOrganizationListing.md +2 -2
  59. data/docs/Facet.md +14 -0
  60. data/docs/FaxDocumentEntityListing.md +2 -2
  61. data/docs/Filter.md +16 -0
  62. data/docs/FlowEntityListing.md +2 -2
  63. data/docs/FlowVersionEntityListing.md +2 -2
  64. data/docs/GreetingListing.md +2 -2
  65. data/docs/GroupEntityListing.md +2 -2
  66. data/docs/GroupSearchRequest.md +1 -0
  67. data/docs/HistoryListing.md +10 -5
  68. data/docs/IVR.md +28 -0
  69. data/docs/IVREntityListing.md +22 -0
  70. data/docs/InboundDomainEntityListing.md +2 -2
  71. data/docs/InboundRouteEntityListing.md +2 -2
  72. data/docs/InteractionStatsAlertContainer.md +2 -2
  73. data/docs/InteractionStatsRuleContainer.md +2 -2
  74. data/docs/KeywordSetEntityListing.md +2 -2
  75. data/docs/LanguageEntityListing.md +2 -2
  76. data/docs/LibraryEntityListing.md +2 -2
  77. data/docs/LineBaseEntityListing.md +2 -2
  78. data/docs/LineEntityListing.md +2 -2
  79. data/docs/LocationEntityListing.md +2 -2
  80. data/docs/LocationSearchRequest.md +1 -0
  81. data/docs/LogicalInterfaceEntityListing.md +2 -2
  82. data/docs/NoteListing.md +2 -2
  83. data/docs/OAuthClientEntityListing.md +2 -2
  84. data/docs/OAuthProviderEntityListing.md +2 -2
  85. data/docs/OrganizationAuthorizationApi.md +1458 -0
  86. data/docs/OrganizationPresenceEntityListing.md +2 -2
  87. data/docs/OrganizationRoleEntityListing.md +2 -2
  88. data/docs/OrphanRecordingListing.md +2 -2
  89. data/docs/OutboundRouteBaseEntityListing.md +2 -2
  90. data/docs/OutboundRouteEntityListing.md +2 -2
  91. data/docs/Participant.md +1 -0
  92. data/docs/ParticipantBasic.md +1 -0
  93. data/docs/PermissionCollectionEntityListing.md +2 -2
  94. data/docs/PhoneBaseEntityListing.md +2 -2
  95. data/docs/PhoneEntityListing.md +2 -2
  96. data/docs/PhoneMetaBaseEntityListing.md +2 -2
  97. data/docs/PhysicalInterfaceEntityListing.md +2 -2
  98. data/docs/PolicyEntityListing.md +2 -2
  99. data/docs/PromptAssetEntityListing.md +2 -2
  100. data/docs/PromptEntityListing.md +2 -2
  101. data/docs/QualityAuditPage.md +2 -2
  102. data/docs/QueueEntityListing.md +2 -2
  103. data/docs/QueueMemberEntityListing.md +2 -2
  104. data/docs/RelationshipListing.md +2 -2
  105. data/docs/ReportMetaDataEntityListing.md +2 -2
  106. data/docs/ReportRunEntryEntityDomainListing.md +2 -2
  107. data/docs/ReportScheduleEntityListing.md +2 -2
  108. data/docs/ResponseEntityList.md +2 -2
  109. data/docs/ResponseEntityListing.md +2 -2
  110. data/docs/ResponseSetEntityListing.md +2 -2
  111. data/docs/RoutingApi.md +1 -1
  112. data/docs/RuleSetEntityListing.md +2 -2
  113. data/docs/Schedule.md +27 -0
  114. data/docs/ScheduleEntityListing.md +22 -0
  115. data/docs/ScheduleGroup.md +27 -0
  116. data/docs/ScheduleGroupEntityListing.md +22 -0
  117. data/docs/SchemaCategoryEntityListing.md +2 -2
  118. data/docs/SchemaReferenceEntityListing.md +2 -2
  119. data/docs/ScreenRecordingSession.md +1 -1
  120. data/docs/ScreenRecordingSessionListing.md +2 -2
  121. data/docs/ScriptEntityListing.md +2 -2
  122. data/docs/SearchRequest.md +1 -0
  123. data/docs/SearchSort.md +14 -0
  124. data/docs/SecurityProfileEntityListing.md +2 -2
  125. data/docs/SetUuiDataRequest.md +13 -0
  126. data/docs/ShareEntityListing.md +2 -2
  127. data/docs/SiteEntityListing.md +2 -2
  128. data/docs/SkillEntityListing.md +2 -2
  129. data/docs/SocialExpression.md +1 -0
  130. data/docs/StationEntityListing.md +2 -2
  131. data/docs/SystemPromptAssetEntityListing.md +2 -2
  132. data/docs/SystemPromptEntityListing.md +2 -2
  133. data/docs/TagValueEntityListing.md +2 -2
  134. data/docs/TimeZoneEntityListing.md +2 -2
  135. data/docs/TrunkBaseEntityListing.md +2 -2
  136. data/docs/TrunkEntityListing.md +2 -2
  137. data/docs/TrunkMetabaseEntityListing.md +2 -2
  138. data/docs/TrustCreate.md +15 -0
  139. data/docs/TrustEntityListing.md +22 -0
  140. data/docs/TrustRequest.md +18 -0
  141. data/docs/TrustRequestCreate.md +13 -0
  142. data/docs/TrustUser.md +36 -0
  143. data/docs/TrustUserCreate.md +14 -0
  144. data/docs/TrustUserDetails.md +14 -0
  145. data/docs/TrustUserEntityListing.md +22 -0
  146. data/docs/Trustee.md +18 -0
  147. data/docs/TrusteeAuditQueryRequest.md +19 -0
  148. data/docs/TrustorAuditQueryRequest.md +19 -0
  149. data/docs/TrustorEntityListing.md +22 -0
  150. data/docs/UserEntityListing.md +2 -2
  151. data/docs/UserMe.md +1 -0
  152. data/docs/UserQueueEntityListing.md +2 -2
  153. data/docs/UserRecordingEntityListing.md +2 -2
  154. data/docs/UserSearchRequest.md +1 -0
  155. data/docs/UserSkillEntityListing.md +2 -2
  156. data/docs/UsersApi.md +1 -1
  157. data/docs/VoicemailMessageEntityListing.md +2 -2
  158. data/docs/VoicemailSearchRequest.md +1 -0
  159. data/docs/WorkspaceEntityListing.md +2 -2
  160. data/docs/WorkspaceMemberEntityListing.md +2 -2
  161. data/docs/WrapupCodeEntityListing.md +2 -2
  162. data/lib/purecloudplatformclientv2.rb +25 -1
  163. data/lib/purecloudplatformclientv2/api/architect_api.rb +1216 -148
  164. data/lib/purecloudplatformclientv2/api/authorization_api.rb +9 -0
  165. data/lib/purecloudplatformclientv2/api/conversations_api.rb +97 -2
  166. data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +2 -2
  167. data/lib/purecloudplatformclientv2/api/organization_authorization_api.rb +1751 -0
  168. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  169. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +25 -25
  170. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +25 -25
  171. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +25 -25
  172. data/lib/purecloudplatformclientv2/models/audit_query_response.rb +176 -0
  173. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +25 -25
  174. data/lib/purecloudplatformclientv2/models/call.rb +30 -4
  175. data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
  176. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +25 -25
  177. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +25 -25
  178. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +25 -25
  179. data/lib/purecloudplatformclientv2/models/campaign.rb +15 -1
  180. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +25 -25
  181. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +25 -25
  182. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +25 -25
  183. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +25 -25
  184. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +25 -25
  185. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +25 -25
  186. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +25 -25
  187. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +25 -25
  188. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +25 -25
  189. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +25 -25
  190. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +25 -25
  191. data/lib/purecloudplatformclientv2/models/contact_listing.rb +25 -25
  192. data/lib/purecloudplatformclientv2/models/conversation_chat.rb +27 -1
  193. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +25 -25
  194. data/lib/purecloudplatformclientv2/models/create_callback_on_conversation_command.rb +393 -0
  195. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +25 -25
  196. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +25 -25
  197. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +25 -25
  198. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +25 -25
  199. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +25 -25
  200. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +25 -25
  201. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +25 -25
  202. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +25 -25
  203. data/lib/purecloudplatformclientv2/models/documentation_search_request.rb +29 -1
  204. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +25 -25
  205. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +25 -25
  206. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +25 -25
  207. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +25 -25
  208. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +25 -25
  209. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +25 -25
  210. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +25 -25
  211. data/lib/purecloudplatformclientv2/models/email.rb +56 -4
  212. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +25 -25
  213. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +25 -25
  214. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +25 -25
  215. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +25 -25
  216. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +25 -25
  217. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +25 -25
  218. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +25 -25
  219. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +25 -25
  220. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +25 -25
  221. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +25 -25
  222. data/lib/purecloudplatformclientv2/models/facet.rb +238 -0
  223. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +25 -25
  224. data/lib/purecloudplatformclientv2/models/filter.rb +302 -0
  225. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +25 -25
  226. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +25 -25
  227. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +25 -25
  228. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +25 -25
  229. data/lib/purecloudplatformclientv2/models/group_search_request.rb +29 -1
  230. data/lib/purecloudplatformclientv2/models/history_listing.rb +197 -38
  231. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +25 -25
  232. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +25 -25
  233. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +25 -25
  234. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +25 -25
  235. data/lib/purecloudplatformclientv2/models/ivr.rb +607 -0
  236. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +428 -0
  237. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +25 -25
  238. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +25 -25
  239. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +25 -25
  240. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +25 -25
  241. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +25 -25
  242. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +25 -25
  243. data/lib/purecloudplatformclientv2/models/location_search_request.rb +29 -1
  244. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +25 -25
  245. data/lib/purecloudplatformclientv2/models/note_listing.rb +25 -25
  246. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +25 -25
  247. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +25 -25
  248. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +25 -25
  249. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +25 -25
  250. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +25 -25
  251. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +25 -25
  252. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +25 -25
  253. data/lib/purecloudplatformclientv2/models/participant.rb +44 -4
  254. data/lib/purecloudplatformclientv2/models/participant_basic.rb +44 -4
  255. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +25 -25
  256. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +25 -25
  257. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +25 -25
  258. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +25 -25
  259. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +25 -25
  260. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +25 -25
  261. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +25 -25
  262. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +25 -25
  263. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +25 -25
  264. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +25 -25
  265. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +25 -25
  266. data/lib/purecloudplatformclientv2/models/reaction.rb +2 -2
  267. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +25 -25
  268. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +25 -25
  269. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +25 -25
  270. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +25 -25
  271. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +25 -25
  272. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +25 -25
  273. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +25 -25
  274. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +25 -25
  275. data/lib/purecloudplatformclientv2/models/schedule.rb +578 -0
  276. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +428 -0
  277. data/lib/purecloudplatformclientv2/models/schedule_group.rb +577 -0
  278. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +428 -0
  279. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +25 -25
  280. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +25 -25
  281. data/lib/purecloudplatformclientv2/models/screen_recording_session.rb +8 -8
  282. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +25 -25
  283. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +25 -25
  284. data/lib/purecloudplatformclientv2/models/search_request.rb +29 -1
  285. data/lib/purecloudplatformclientv2/models/search_sort.rb +242 -0
  286. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +25 -25
  287. data/lib/purecloudplatformclientv2/models/set_uui_data_request.rb +202 -0
  288. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +25 -25
  289. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +25 -25
  290. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +25 -25
  291. data/lib/purecloudplatformclientv2/models/social_expression.rb +27 -1
  292. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +25 -25
  293. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +25 -25
  294. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +25 -25
  295. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +25 -25
  296. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +25 -25
  297. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +25 -25
  298. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +25 -25
  299. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +25 -25
  300. data/lib/purecloudplatformclientv2/models/trust_create.rb +271 -0
  301. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +428 -0
  302. data/lib/purecloudplatformclientv2/models/trust_request.rb +344 -0
  303. data/lib/purecloudplatformclientv2/models/trust_request_create.rb +209 -0
  304. data/lib/purecloudplatformclientv2/models/trust_user.rb +822 -0
  305. data/lib/purecloudplatformclientv2/models/trust_user_create.rb +240 -0
  306. data/lib/purecloudplatformclientv2/models/trust_user_details.rb +228 -0
  307. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +428 -0
  308. data/lib/purecloudplatformclientv2/models/{history_entry.rb → trustee.rb} +66 -46
  309. data/lib/purecloudplatformclientv2/models/trustee_audit_query_request.rb +376 -0
  310. data/lib/purecloudplatformclientv2/models/trustor_audit_query_request.rb +374 -0
  311. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +428 -0
  312. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +25 -25
  313. data/lib/purecloudplatformclientv2/models/user_me.rb +29 -1
  314. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +25 -25
  315. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +25 -25
  316. data/lib/purecloudplatformclientv2/models/user_search_request.rb +29 -1
  317. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +25 -25
  318. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +25 -25
  319. data/lib/purecloudplatformclientv2/models/voicemail_search_request.rb +29 -1
  320. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +25 -25
  321. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +25 -25
  322. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +25 -25
  323. data/lib/purecloudplatformclientv2/version.rb +1 -1
  324. metadata +52 -4
  325. data/docs/HistoryEntry.md +0 -17
@@ -0,0 +1,14 @@
1
+ ---
2
+ title: TrustUserDetails
3
+ ---
4
+ ## PureCloud::TrustUserDetails
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **date_created** | **DateTime** | Date Trust User was added. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
11
+ | **created_by** | [**OrgUser**](OrgUser.html) | User that added trusted user. | [optional] |
12
+ {: class="table table-striped"}
13
+
14
+
@@ -0,0 +1,22 @@
1
+ ---
2
+ title: TrustUserEntityListing
3
+ ---
4
+ ## PureCloud::TrustUserEntityListing
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **entities** | [**Array<TrustUser>**](TrustUser.html) | | [optional] |
11
+ | **page_size** | **Integer** | | [optional] |
12
+ | **page_number** | **Integer** | | [optional] |
13
+ | **total** | **Integer** | | [optional] |
14
+ | **self_uri** | **String** | | [optional] |
15
+ | **first_uri** | **String** | | [optional] |
16
+ | **previous_uri** | **String** | | [optional] |
17
+ | **next_uri** | **String** | | [optional] |
18
+ | **last_uri** | **String** | | [optional] |
19
+ | **page_count** | **Integer** | | [optional] |
20
+ {: class="table table-striped"}
21
+
22
+
data/docs/Trustee.md ADDED
@@ -0,0 +1,18 @@
1
+ ---
2
+ title: Trustee
3
+ ---
4
+ ## PureCloud::Trustee
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **id** | **String** | Organization Id for this trust. | [optional] |
11
+ | **enabled** | **BOOLEAN** | If disabled no trustee user will have access, even if they were previously added. | |
12
+ | **date_created** | **DateTime** | Date Trust was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
13
+ | **created_by** | [**OrgUser**](OrgUser.html) | User that created trust. | [optional] |
14
+ | **organization** | [**Organization**](Organization.html) | Organization associated with this trust. | [optional] |
15
+ | **self_uri** | **String** | The URI for this object | [optional] |
16
+ {: class="table table-striped"}
17
+
18
+
@@ -0,0 +1,19 @@
1
+ ---
2
+ title: TrusteeAuditQueryRequest
3
+ ---
4
+ ## PureCloud::TrusteeAuditQueryRequest
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **trustee_organization_ids** | **Array<String>** | Limit returned audits to these trustee organizationIds. | |
11
+ | **trustee_user_ids** | **Array<String>** | Limit returned audits to these trustee userIds. | |
12
+ | **start_date** | **DateTime** | Starting date/time for the audit search. ISO-8601 formatted date-time, UTC. | [optional] |
13
+ | **end_date** | **DateTime** | Ending date/time for the audit search. ISO-8601 formatted date-time, UTC. | [optional] |
14
+ | **query_phrase** | **String** | Word or phrase to look for in audit bodies. | [optional] |
15
+ | **facets** | [**Array<Facet>**](Facet.html) | Facet information to be returned with the query results. | [optional] |
16
+ | **filters** | [**Array<Filter>**](Filter.html) | Additional custom filters to be applied to the query. | [optional] |
17
+ {: class="table table-striped"}
18
+
19
+
@@ -0,0 +1,19 @@
1
+ ---
2
+ title: TrustorAuditQueryRequest
3
+ ---
4
+ ## PureCloud::TrustorAuditQueryRequest
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **trustor_organization_id** | **String** | Limit returned audits to this trustor organizationId. | |
11
+ | **trustee_user_ids** | **Array<String>** | Limit returned audits to these trustee userIds. | |
12
+ | **start_date** | **DateTime** | Starting date/time for the audit search. ISO-8601 formatted date-time, UTC. | [optional] |
13
+ | **end_date** | **DateTime** | Ending date/time for the audit search. ISO-8601 formatted date-time, UTC. | [optional] |
14
+ | **query_phrase** | **String** | Word or phrase to look for in audit bodies. | [optional] |
15
+ | **facets** | [**Array<Facet>**](Facet.html) | Facet information to be returned with the query results. | [optional] |
16
+ | **filters** | [**Array<Filter>**](Filter.html) | Additional custom filters to be applied to the query. | [optional] |
17
+ {: class="table table-striped"}
18
+
19
+
@@ -0,0 +1,22 @@
1
+ ---
2
+ title: TrustorEntityListing
3
+ ---
4
+ ## PureCloud::TrustorEntityListing
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **entities** | [**Array<Trustor>**](Trustor.html) | | [optional] |
11
+ | **page_size** | **Integer** | | [optional] |
12
+ | **page_number** | **Integer** | | [optional] |
13
+ | **total** | **Integer** | | [optional] |
14
+ | **self_uri** | **String** | | [optional] |
15
+ | **first_uri** | **String** | | [optional] |
16
+ | **previous_uri** | **String** | | [optional] |
17
+ | **next_uri** | **String** | | [optional] |
18
+ | **last_uri** | **String** | | [optional] |
19
+ | **page_count** | **Integer** | | [optional] |
20
+ {: class="table table-striped"}
21
+
22
+
@@ -11,11 +11,11 @@ title: UserEntityListing
11
11
  | **page_size** | **Integer** | | [optional] |
12
12
  | **page_number** | **Integer** | | [optional] |
13
13
  | **total** | **Integer** | | [optional] |
14
+ | **self_uri** | **String** | | [optional] |
15
+ | **first_uri** | **String** | | [optional] |
14
16
  | **previous_uri** | **String** | | [optional] |
15
17
  | **next_uri** | **String** | | [optional] |
16
18
  | **last_uri** | **String** | | [optional] |
17
- | **self_uri** | **String** | | [optional] |
18
- | **first_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
data/docs/UserMe.md CHANGED
@@ -43,6 +43,7 @@ title: UserMe
43
43
  | **routing_skills** | [**Array<RoutingSkill>**](RoutingSkill.html) | The first 50 routing skills for user's organizations | [optional] |
44
44
  | **field_configs** | [**FieldConfigs**](FieldConfigs.html) | The field config for all entities types of user's organization | [optional] |
45
45
  | **token** | [**TokenInfo**](TokenInfo.html) | Information about the current token | [optional] |
46
+ | **trustors** | [**Array<Trustor>**](Trustor.html) | Organizations having this user as a trustee | [optional] |
46
47
  | **self_uri** | **String** | The URI for this object | [optional] |
47
48
  {: class="table table-striped"}
48
49
 
@@ -11,11 +11,11 @@ title: UserQueueEntityListing
11
11
  | **page_size** | **Integer** | | [optional] |
12
12
  | **page_number** | **Integer** | | [optional] |
13
13
  | **total** | **Integer** | | [optional] |
14
+ | **self_uri** | **String** | | [optional] |
15
+ | **first_uri** | **String** | | [optional] |
14
16
  | **previous_uri** | **String** | | [optional] |
15
17
  | **next_uri** | **String** | | [optional] |
16
18
  | **last_uri** | **String** | | [optional] |
17
- | **self_uri** | **String** | | [optional] |
18
- | **first_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -11,11 +11,11 @@ title: UserRecordingEntityListing
11
11
  | **page_size** | **Integer** | | [optional] |
12
12
  | **page_number** | **Integer** | | [optional] |
13
13
  | **total** | **Integer** | | [optional] |
14
+ | **self_uri** | **String** | | [optional] |
15
+ | **first_uri** | **String** | | [optional] |
14
16
  | **previous_uri** | **String** | | [optional] |
15
17
  | **next_uri** | **String** | | [optional] |
16
18
  | **last_uri** | **String** | | [optional] |
17
- | **self_uri** | **String** | | [optional] |
18
- | **first_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -11,6 +11,7 @@ title: UserSearchRequest
11
11
  | **sort_by** | **String** | The field in the resource that you want to sort the results by | [optional] |
12
12
  | **page_size** | **Integer** | The number of results per page | [optional] |
13
13
  | **page_number** | **Integer** | The page of resources you want to retrieve | [optional] |
14
+ | **sort** | [**Array<SearchSort>**](SearchSort.html) | Multi-value sort order, list of multiple sort values | [optional] |
14
15
  | **expand** | **Array<String>** | Provides more details about a specified resource | [optional] |
15
16
  | **query** | [**Array<UserSearchCriteria>**](UserSearchCriteria.html) | | [optional] |
16
17
  {: class="table table-striped"}
@@ -11,11 +11,11 @@ title: UserSkillEntityListing
11
11
  | **page_size** | **Integer** | | [optional] |
12
12
  | **page_number** | **Integer** | | [optional] |
13
13
  | **total** | **Integer** | | [optional] |
14
+ | **self_uri** | **String** | | [optional] |
15
+ | **first_uri** | **String** | | [optional] |
14
16
  | **previous_uri** | **String** | | [optional] |
15
17
  | **next_uri** | **String** | | [optional] |
16
18
  | **last_uri** | **String** | | [optional] |
17
- | **self_uri** | **String** | | [optional] |
18
- | **first_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
data/docs/UsersApi.md CHANGED
@@ -1394,7 +1394,7 @@ end
1394
1394
 
1395
1395
  Name | Type | Description | Notes
1396
1396
  ------------- | ------------- | ------------- | -------------
1397
- **expand** | [**Array&lt;String&gt;**](String.html)| Which fields, if any, to expand. | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, profileSkills, locations, groups, date, geolocationsettings, organization, presencedefinitions, locationdefinitions, orgauthorization, favorites, superiors, directreports, adjacents, routingskills, routinglanguages, fieldconfigs, token |
1397
+ **expand** | [**Array&lt;String&gt;**](String.html)| Which fields, if any, to expand. | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, profileSkills, locations, groups, date, geolocationsettings, organization, presencedefinitions, locationdefinitions, orgauthorization, favorites, superiors, directreports, adjacents, routingskills, routinglanguages, fieldconfigs, token, trustors |
1398
1398
  {: class="table table-striped"}
1399
1399
 
1400
1400
 
@@ -11,11 +11,11 @@ title: VoicemailMessageEntityListing
11
11
  | **page_size** | **Integer** | | [optional] |
12
12
  | **page_number** | **Integer** | | [optional] |
13
13
  | **total** | **Integer** | | [optional] |
14
+ | **self_uri** | **String** | | [optional] |
15
+ | **first_uri** | **String** | | [optional] |
14
16
  | **previous_uri** | **String** | | [optional] |
15
17
  | **next_uri** | **String** | | [optional] |
16
18
  | **last_uri** | **String** | | [optional] |
17
- | **self_uri** | **String** | | [optional] |
18
- | **first_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -11,6 +11,7 @@ title: VoicemailSearchRequest
11
11
  | **sort_by** | **String** | The field in the resource that you want to sort the results by | [optional] |
12
12
  | **page_size** | **Integer** | The number of results per page | [optional] |
13
13
  | **page_number** | **Integer** | The page of resources you want to retrieve | [optional] |
14
+ | **sort** | [**Array&lt;SearchSort&gt;**](SearchSort.html) | Multi-value sort order, list of multiple sort values | [optional] |
14
15
  | **expand** | **Array&lt;String&gt;** | Provides more details about a specified resource | [optional] |
15
16
  | **query** | [**Array&lt;VoicemailSearchCriteria&gt;**](VoicemailSearchCriteria.html) | | [optional] |
16
17
  {: class="table table-striped"}
@@ -11,11 +11,11 @@ title: WorkspaceEntityListing
11
11
  | **page_size** | **Integer** | | [optional] |
12
12
  | **page_number** | **Integer** | | [optional] |
13
13
  | **total** | **Integer** | | [optional] |
14
+ | **self_uri** | **String** | | [optional] |
15
+ | **first_uri** | **String** | | [optional] |
14
16
  | **previous_uri** | **String** | | [optional] |
15
17
  | **next_uri** | **String** | | [optional] |
16
18
  | **last_uri** | **String** | | [optional] |
17
- | **self_uri** | **String** | | [optional] |
18
- | **first_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -11,11 +11,11 @@ title: WorkspaceMemberEntityListing
11
11
  | **page_size** | **Integer** | | [optional] |
12
12
  | **page_number** | **Integer** | | [optional] |
13
13
  | **total** | **Integer** | | [optional] |
14
+ | **self_uri** | **String** | | [optional] |
15
+ | **first_uri** | **String** | | [optional] |
14
16
  | **previous_uri** | **String** | | [optional] |
15
17
  | **next_uri** | **String** | | [optional] |
16
18
  | **last_uri** | **String** | | [optional] |
17
- | **self_uri** | **String** | | [optional] |
18
- | **first_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -11,11 +11,11 @@ title: WrapupCodeEntityListing
11
11
  | **page_size** | **Integer** | | [optional] |
12
12
  | **page_number** | **Integer** | | [optional] |
13
13
  | **total** | **Integer** | | [optional] |
14
+ | **self_uri** | **String** | | [optional] |
15
+ | **first_uri** | **String** | | [optional] |
14
16
  | **previous_uri** | **String** | | [optional] |
15
17
  | **next_uri** | **String** | | [optional] |
16
18
  | **last_uri** | **String** | | [optional] |
17
- | **self_uri** | **String** | | [optional] |
18
- | **first_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -77,6 +77,7 @@ require 'purecloudplatformclientv2/models/audit_entity_reference'
77
77
  require 'purecloudplatformclientv2/models/audit_facet'
78
78
  require 'purecloudplatformclientv2/models/audit_filter'
79
79
  require 'purecloudplatformclientv2/models/audit_message'
80
+ require 'purecloudplatformclientv2/models/audit_query_response'
80
81
  require 'purecloudplatformclientv2/models/audit_search_result'
81
82
  require 'purecloudplatformclientv2/models/audit_user'
82
83
  require 'purecloudplatformclientv2/models/available_language_list'
@@ -291,6 +292,7 @@ require 'purecloudplatformclientv2/models/cover_sheet'
291
292
  require 'purecloudplatformclientv2/models/create_call_request'
292
293
  require 'purecloudplatformclientv2/models/create_call_response'
293
294
  require 'purecloudplatformclientv2/models/create_callback_command'
295
+ require 'purecloudplatformclientv2/models/create_callback_on_conversation_command'
294
296
  require 'purecloudplatformclientv2/models/create_callback_response'
295
297
  require 'purecloudplatformclientv2/models/create_email_request'
296
298
  require 'purecloudplatformclientv2/models/create_queue_request'
@@ -449,6 +451,7 @@ require 'purecloudplatformclientv2/models/external_contact'
449
451
  require 'purecloudplatformclientv2/models/external_data_source'
450
452
  require 'purecloudplatformclientv2/models/external_organization'
451
453
  require 'purecloudplatformclientv2/models/external_organization_listing'
454
+ require 'purecloudplatformclientv2/models/facet'
452
455
  require 'purecloudplatformclientv2/models/facet_entry'
453
456
  require 'purecloudplatformclientv2/models/facet_info'
454
457
  require 'purecloudplatformclientv2/models/facet_key_attribute'
@@ -470,6 +473,7 @@ require 'purecloudplatformclientv2/models/feature_state'
470
473
  require 'purecloudplatformclientv2/models/field_config'
471
474
  require 'purecloudplatformclientv2/models/field_configs'
472
475
  require 'purecloudplatformclientv2/models/field_list'
476
+ require 'purecloudplatformclientv2/models/filter'
473
477
  require 'purecloudplatformclientv2/models/filter_preview_response'
474
478
  require 'purecloudplatformclientv2/models/flow'
475
479
  require 'purecloudplatformclientv2/models/flow_entity_listing'
@@ -507,8 +511,9 @@ require 'purecloudplatformclientv2/models/heart_beat_alert_notification_notifica
507
511
  require 'purecloudplatformclientv2/models/heart_beat_alert_notification_notification_users'
508
512
  require 'purecloudplatformclientv2/models/heart_beat_rule_notification'
509
513
  require 'purecloudplatformclientv2/models/heart_beat_rule_notification_notification_user'
510
- require 'purecloudplatformclientv2/models/history_entry'
511
514
  require 'purecloudplatformclientv2/models/history_listing'
515
+ require 'purecloudplatformclientv2/models/ivr'
516
+ require 'purecloudplatformclientv2/models/ivr_entity_listing'
512
517
  require 'purecloudplatformclientv2/models/identity_now'
513
518
  require 'purecloudplatformclientv2/models/import_status'
514
519
  require 'purecloudplatformclientv2/models/import_status_notification'
@@ -764,6 +769,10 @@ require 'purecloudplatformclientv2/models/rule_set_notification_rules'
764
769
  require 'purecloudplatformclientv2/models/rule_set_notification_uri_reference'
765
770
  require 'purecloudplatformclientv2/models/run_now_response'
766
771
  require 'purecloudplatformclientv2/models/salesforce'
772
+ require 'purecloudplatformclientv2/models/schedule'
773
+ require 'purecloudplatformclientv2/models/schedule_entity_listing'
774
+ require 'purecloudplatformclientv2/models/schedule_group'
775
+ require 'purecloudplatformclientv2/models/schedule_group_entity_listing'
767
776
  require 'purecloudplatformclientv2/models/schedule_interval'
768
777
  require 'purecloudplatformclientv2/models/schema_category'
769
778
  require 'purecloudplatformclientv2/models/schema_category_entity_listing'
@@ -785,6 +794,7 @@ require 'purecloudplatformclientv2/models/script_entity_listing'
785
794
  require 'purecloudplatformclientv2/models/search_aggregation'
786
795
  require 'purecloudplatformclientv2/models/search_criteria'
787
796
  require 'purecloudplatformclientv2/models/search_request'
797
+ require 'purecloudplatformclientv2/models/search_sort'
788
798
  require 'purecloudplatformclientv2/models/section'
789
799
  require 'purecloudplatformclientv2/models/security_profile'
790
800
  require 'purecloudplatformclientv2/models/security_profile_entity_listing'
@@ -796,6 +806,7 @@ require 'purecloudplatformclientv2/models/sequence_schedule_notification_uri_ref
796
806
  require 'purecloudplatformclientv2/models/server_date'
797
807
  require 'purecloudplatformclientv2/models/service_context'
798
808
  require 'purecloudplatformclientv2/models/service_level'
809
+ require 'purecloudplatformclientv2/models/set_uui_data_request'
799
810
  require 'purecloudplatformclientv2/models/share'
800
811
  require 'purecloudplatformclientv2/models/share_entity_listing'
801
812
  require 'purecloudplatformclientv2/models/shared_entity'
@@ -863,7 +874,19 @@ require 'purecloudplatformclientv2/models/trunk_metrics_network_type_ip'
863
874
  require 'purecloudplatformclientv2/models/trunk_metrics_options'
864
875
  require 'purecloudplatformclientv2/models/trunk_metrics_registers'
865
876
  require 'purecloudplatformclientv2/models/trunk_recording_enabled_count'
877
+ require 'purecloudplatformclientv2/models/trust_create'
878
+ require 'purecloudplatformclientv2/models/trust_entity_listing'
879
+ require 'purecloudplatformclientv2/models/trust_request'
880
+ require 'purecloudplatformclientv2/models/trust_request_create'
881
+ require 'purecloudplatformclientv2/models/trust_user'
882
+ require 'purecloudplatformclientv2/models/trust_user_create'
883
+ require 'purecloudplatformclientv2/models/trust_user_details'
884
+ require 'purecloudplatformclientv2/models/trust_user_entity_listing'
885
+ require 'purecloudplatformclientv2/models/trustee'
886
+ require 'purecloudplatformclientv2/models/trustee_audit_query_request'
866
887
  require 'purecloudplatformclientv2/models/trustor'
888
+ require 'purecloudplatformclientv2/models/trustor_audit_query_request'
889
+ require 'purecloudplatformclientv2/models/trustor_entity_listing'
867
890
  require 'purecloudplatformclientv2/models/twitter_id'
868
891
  require 'purecloudplatformclientv2/models/unread_metric'
869
892
  require 'purecloudplatformclientv2/models/unread_status'
@@ -978,6 +1001,7 @@ require 'purecloudplatformclientv2/api/locations_api'
978
1001
  require 'purecloudplatformclientv2/api/notifications_api'
979
1002
  require 'purecloudplatformclientv2/api/o_auth_api'
980
1003
  require 'purecloudplatformclientv2/api/organization_api'
1004
+ require 'purecloudplatformclientv2/api/organization_authorization_api'
981
1005
  require 'purecloudplatformclientv2/api/outbound_api'
982
1006
  require 'purecloudplatformclientv2/api/presence_api'
983
1007
  require 'purecloudplatformclientv2/api/quality_api'
@@ -24,6 +24,70 @@ module PureCloud
24
24
  @api_client = api_client
25
25
  end
26
26
 
27
+ # Delete an IVR Config.
28
+ #
29
+ # @param ivr_id IVR id
30
+ # @param [Hash] opts the optional parameters
31
+ # @return [nil]
32
+ def delete_architect_ivr(ivr_id, opts = {})
33
+ delete_architect_ivr_with_http_info(ivr_id, opts)
34
+ return nil
35
+ end
36
+
37
+ # Delete an IVR Config.
38
+ #
39
+ # @param ivr_id IVR id
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
42
+ def delete_architect_ivr_with_http_info(ivr_id, opts = {})
43
+ if @api_client.config.debugging
44
+ @api_client.config.logger.debug "Calling API: ArchitectApi.delete_architect_ivr ..."
45
+ end
46
+
47
+
48
+ # verify the required parameter 'ivr_id' is set
49
+ fail ArgumentError, "Missing the required parameter 'ivr_id' when calling ArchitectApi.delete_architect_ivr" if ivr_id.nil?
50
+
51
+
52
+
53
+
54
+
55
+ # resource path
56
+ local_var_path = "/api/v2/architect/ivrs/{ivrId}".sub('{format}','json').sub('{' + 'ivrId' + '}', ivr_id.to_s)
57
+
58
+ # query parameters
59
+ query_params = {}
60
+
61
+ # header parameters
62
+ header_params = {}
63
+
64
+ # HTTP header 'Accept' (if needed)
65
+ local_header_accept = ['application/json']
66
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
67
+
68
+ # HTTP header 'Content-Type'
69
+ local_header_content_type = ['application/json']
70
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
71
+
72
+ # form parameters
73
+ form_params = {}
74
+
75
+ # http body (model)
76
+ post_body = nil
77
+
78
+ auth_names = ['PureCloud Auth']
79
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
80
+ :header_params => header_params,
81
+ :query_params => query_params,
82
+ :form_params => form_params,
83
+ :body => post_body,
84
+ :auth_names => auth_names)
85
+ if @api_client.config.debugging
86
+ @api_client.config.logger.debug "API called: ArchitectApi#delete_architect_ivr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ end
88
+ return data, status_code, headers
89
+ end
90
+
27
91
  # Delete specified user prompt
28
92
  #
29
93
  # @param prompt_id Prompt ID
@@ -237,6 +301,134 @@ module PureCloud
237
301
  return data, status_code, headers
238
302
  end
239
303
 
304
+ # Delete a schedule by id
305
+ #
306
+ # @param schedule_id Schedule ID
307
+ # @param [Hash] opts the optional parameters
308
+ # @return [nil]
309
+ def delete_architect_schedule(schedule_id, opts = {})
310
+ delete_architect_schedule_with_http_info(schedule_id, opts)
311
+ return nil
312
+ end
313
+
314
+ # Delete a schedule by id
315
+ #
316
+ # @param schedule_id Schedule ID
317
+ # @param [Hash] opts the optional parameters
318
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
319
+ def delete_architect_schedule_with_http_info(schedule_id, opts = {})
320
+ if @api_client.config.debugging
321
+ @api_client.config.logger.debug "Calling API: ArchitectApi.delete_architect_schedule ..."
322
+ end
323
+
324
+
325
+ # verify the required parameter 'schedule_id' is set
326
+ fail ArgumentError, "Missing the required parameter 'schedule_id' when calling ArchitectApi.delete_architect_schedule" if schedule_id.nil?
327
+
328
+
329
+
330
+
331
+
332
+ # resource path
333
+ local_var_path = "/api/v2/architect/schedules/{scheduleId}".sub('{format}','json').sub('{' + 'scheduleId' + '}', schedule_id.to_s)
334
+
335
+ # query parameters
336
+ query_params = {}
337
+
338
+ # header parameters
339
+ header_params = {}
340
+
341
+ # HTTP header 'Accept' (if needed)
342
+ local_header_accept = ['application/json']
343
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
344
+
345
+ # HTTP header 'Content-Type'
346
+ local_header_content_type = ['application/json']
347
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
348
+
349
+ # form parameters
350
+ form_params = {}
351
+
352
+ # http body (model)
353
+ post_body = nil
354
+
355
+ auth_names = ['PureCloud Auth']
356
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
357
+ :header_params => header_params,
358
+ :query_params => query_params,
359
+ :form_params => form_params,
360
+ :body => post_body,
361
+ :auth_names => auth_names)
362
+ if @api_client.config.debugging
363
+ @api_client.config.logger.debug "API called: ArchitectApi#delete_architect_schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
364
+ end
365
+ return data, status_code, headers
366
+ end
367
+
368
+ # Deletes a schedule group by ID
369
+ #
370
+ # @param schedule_group_id Schedule group ID
371
+ # @param [Hash] opts the optional parameters
372
+ # @return [nil]
373
+ def delete_architect_schedulegroup(schedule_group_id, opts = {})
374
+ delete_architect_schedulegroup_with_http_info(schedule_group_id, opts)
375
+ return nil
376
+ end
377
+
378
+ # Deletes a schedule group by ID
379
+ #
380
+ # @param schedule_group_id Schedule group ID
381
+ # @param [Hash] opts the optional parameters
382
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
383
+ def delete_architect_schedulegroup_with_http_info(schedule_group_id, opts = {})
384
+ if @api_client.config.debugging
385
+ @api_client.config.logger.debug "Calling API: ArchitectApi.delete_architect_schedulegroup ..."
386
+ end
387
+
388
+
389
+ # verify the required parameter 'schedule_group_id' is set
390
+ fail ArgumentError, "Missing the required parameter 'schedule_group_id' when calling ArchitectApi.delete_architect_schedulegroup" if schedule_group_id.nil?
391
+
392
+
393
+
394
+
395
+
396
+ # resource path
397
+ local_var_path = "/api/v2/architect/schedulegroups/{scheduleGroupId}".sub('{format}','json').sub('{' + 'scheduleGroupId' + '}', schedule_group_id.to_s)
398
+
399
+ # query parameters
400
+ query_params = {}
401
+
402
+ # header parameters
403
+ header_params = {}
404
+
405
+ # HTTP header 'Accept' (if needed)
406
+ local_header_accept = ['application/json']
407
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
408
+
409
+ # HTTP header 'Content-Type'
410
+ local_header_content_type = ['application/json']
411
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
412
+
413
+ # form parameters
414
+ form_params = {}
415
+
416
+ # http body (model)
417
+ post_body = nil
418
+
419
+ auth_names = ['PureCloud Auth']
420
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
421
+ :header_params => header_params,
422
+ :query_params => query_params,
423
+ :form_params => form_params,
424
+ :body => post_body,
425
+ :auth_names => auth_names)
426
+ if @api_client.config.debugging
427
+ @api_client.config.logger.debug "API called: ArchitectApi#delete_architect_schedulegroup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
428
+ end
429
+ return data, status_code, headers
430
+ end
431
+
240
432
  # Delete a system prompt resource override.
241
433
  #
242
434
  # @param prompt_id Prompt ID
@@ -1311,36 +1503,36 @@ module PureCloud
1311
1503
  return data, status_code, headers
1312
1504
  end
1313
1505
 
1314
- # Get specified user prompt
1506
+ # Get an IVR config.
1315
1507
  #
1316
- # @param prompt_id Prompt ID
1508
+ # @param ivr_id IVR id
1317
1509
  # @param [Hash] opts the optional parameters
1318
- # @return [Prompt]
1319
- def get_architect_prompt(prompt_id, opts = {})
1320
- data, _status_code, _headers = get_architect_prompt_with_http_info(prompt_id, opts)
1510
+ # @return [IVR]
1511
+ def get_architect_ivr(ivr_id, opts = {})
1512
+ data, _status_code, _headers = get_architect_ivr_with_http_info(ivr_id, opts)
1321
1513
  return data
1322
1514
  end
1323
1515
 
1324
- # Get specified user prompt
1516
+ # Get an IVR config.
1325
1517
  #
1326
- # @param prompt_id Prompt ID
1518
+ # @param ivr_id IVR id
1327
1519
  # @param [Hash] opts the optional parameters
1328
- # @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers
1329
- def get_architect_prompt_with_http_info(prompt_id, opts = {})
1520
+ # @return [Array<(IVR, Fixnum, Hash)>] IVR data, response status code and response headers
1521
+ def get_architect_ivr_with_http_info(ivr_id, opts = {})
1330
1522
  if @api_client.config.debugging
1331
- @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompt ..."
1523
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_ivr ..."
1332
1524
  end
1333
1525
 
1334
1526
 
1335
- # verify the required parameter 'prompt_id' is set
1336
- fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_prompt" if prompt_id.nil?
1527
+ # verify the required parameter 'ivr_id' is set
1528
+ fail ArgumentError, "Missing the required parameter 'ivr_id' when calling ArchitectApi.get_architect_ivr" if ivr_id.nil?
1337
1529
 
1338
1530
 
1339
1531
 
1340
1532
 
1341
1533
 
1342
1534
  # resource path
1343
- local_var_path = "/api/v2/architect/prompts/{promptId}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
1535
+ local_var_path = "/api/v2/architect/ivrs/{ivrId}".sub('{format}','json').sub('{' + 'ivrId' + '}', ivr_id.to_s)
1344
1536
 
1345
1537
  # query parameters
1346
1538
  query_params = {}
@@ -1369,56 +1561,72 @@ module PureCloud
1369
1561
  :form_params => form_params,
1370
1562
  :body => post_body,
1371
1563
  :auth_names => auth_names,
1372
- :return_type => 'Prompt')
1564
+ :return_type => 'IVR')
1373
1565
  if @api_client.config.debugging
1374
- @api_client.config.logger.debug "API called: ArchitectApi#get_architect_prompt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1566
+ @api_client.config.logger.debug "API called: ArchitectApi#get_architect_ivr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1375
1567
  end
1376
1568
  return data, status_code, headers
1377
1569
  end
1378
1570
 
1379
- # Get specified user prompt resource
1571
+ # Get IVR configs.
1380
1572
  #
1381
- # @param prompt_id Prompt ID
1382
- # @param language_code Language
1383
1573
  # @param [Hash] opts the optional parameters
1384
- # @return [PromptAsset]
1385
- def get_architect_prompt_resource(prompt_id, language_code, opts = {})
1386
- data, _status_code, _headers = get_architect_prompt_resource_with_http_info(prompt_id, language_code, opts)
1574
+ # @option opts [Integer] :page_number Page number (default to 1)
1575
+ # @option opts [Integer] :page_size Page size (default to 25)
1576
+ # @option opts [String] :sort_by Sort by (default to name)
1577
+ # @option opts [String] :sort_order Sort order (default to ASC)
1578
+ # @return [IVREntityListing]
1579
+ def get_architect_ivrs(opts = {})
1580
+ data, _status_code, _headers = get_architect_ivrs_with_http_info(opts)
1387
1581
  return data
1388
1582
  end
1389
1583
 
1390
- # Get specified user prompt resource
1584
+ # Get IVR configs.
1391
1585
  #
1392
- # @param prompt_id Prompt ID
1393
- # @param language_code Language
1394
1586
  # @param [Hash] opts the optional parameters
1395
- # @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers
1396
- def get_architect_prompt_resource_with_http_info(prompt_id, language_code, opts = {})
1587
+ # @option opts [Integer] :page_number Page number
1588
+ # @option opts [Integer] :page_size Page size
1589
+ # @option opts [String] :sort_by Sort by
1590
+ # @option opts [String] :sort_order Sort order
1591
+ # @return [Array<(IVREntityListing, Fixnum, Hash)>] IVREntityListing data, response status code and response headers
1592
+ def get_architect_ivrs_with_http_info(opts = {})
1397
1593
  if @api_client.config.debugging
1398
- @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompt_resource ..."
1594
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_ivrs ..."
1399
1595
  end
1400
1596
 
1401
1597
 
1402
- # verify the required parameter 'prompt_id' is set
1403
- fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_prompt_resource" if prompt_id.nil?
1404
1598
 
1405
1599
 
1406
1600
 
1407
1601
 
1408
1602
 
1409
1603
 
1410
- # verify the required parameter 'language_code' is set
1411
- fail ArgumentError, "Missing the required parameter 'language_code' when calling ArchitectApi.get_architect_prompt_resource" if language_code.nil?
1604
+
1605
+
1606
+
1607
+
1608
+
1609
+
1610
+
1611
+
1612
+
1613
+
1614
+
1615
+
1412
1616
 
1413
1617
 
1414
1618
 
1415
1619
 
1416
1620
 
1417
1621
  # resource path
1418
- local_var_path = "/api/v2/architect/prompts/{promptId}/resources/{languageCode}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
1622
+ local_var_path = "/api/v2/architect/ivrs".sub('{format}','json')
1419
1623
 
1420
1624
  # query parameters
1421
1625
  query_params = {}
1626
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1627
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1628
+ query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
1629
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
1422
1630
 
1423
1631
  # header parameters
1424
1632
  header_params = {}
@@ -1444,64 +1652,46 @@ module PureCloud
1444
1652
  :form_params => form_params,
1445
1653
  :body => post_body,
1446
1654
  :auth_names => auth_names,
1447
- :return_type => 'PromptAsset')
1655
+ :return_type => 'IVREntityListing')
1448
1656
  if @api_client.config.debugging
1449
- @api_client.config.logger.debug "API called: ArchitectApi#get_architect_prompt_resource\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1657
+ @api_client.config.logger.debug "API called: ArchitectApi#get_architect_ivrs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1450
1658
  end
1451
1659
  return data, status_code, headers
1452
1660
  end
1453
1661
 
1454
- # Get a pageable list of user prompt resources
1455
- # The returned list is pageable, and query parameters can be used for filtering.
1662
+ # Get specified user prompt
1663
+ #
1456
1664
  # @param prompt_id Prompt ID
1457
1665
  # @param [Hash] opts the optional parameters
1458
- # @option opts [Integer] :page_number Page number (default to 1)
1459
- # @option opts [Integer] :page_size Page size (default to 25)
1460
- # @return [PromptAssetEntityListing]
1461
- def get_architect_prompt_resources(prompt_id, opts = {})
1462
- data, _status_code, _headers = get_architect_prompt_resources_with_http_info(prompt_id, opts)
1666
+ # @return [Prompt]
1667
+ def get_architect_prompt(prompt_id, opts = {})
1668
+ data, _status_code, _headers = get_architect_prompt_with_http_info(prompt_id, opts)
1463
1669
  return data
1464
1670
  end
1465
1671
 
1466
- # Get a pageable list of user prompt resources
1467
- # The returned list is pageable, and query parameters can be used for filtering.
1672
+ # Get specified user prompt
1673
+ #
1468
1674
  # @param prompt_id Prompt ID
1469
1675
  # @param [Hash] opts the optional parameters
1470
- # @option opts [Integer] :page_number Page number
1471
- # @option opts [Integer] :page_size Page size
1472
- # @return [Array<(PromptAssetEntityListing, Fixnum, Hash)>] PromptAssetEntityListing data, response status code and response headers
1473
- def get_architect_prompt_resources_with_http_info(prompt_id, opts = {})
1676
+ # @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers
1677
+ def get_architect_prompt_with_http_info(prompt_id, opts = {})
1474
1678
  if @api_client.config.debugging
1475
- @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompt_resources ..."
1679
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompt ..."
1476
1680
  end
1477
1681
 
1478
1682
 
1479
1683
  # verify the required parameter 'prompt_id' is set
1480
- fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_prompt_resources" if prompt_id.nil?
1481
-
1482
-
1483
-
1484
-
1485
-
1486
-
1487
-
1488
-
1489
-
1490
-
1491
-
1492
-
1684
+ fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_prompt" if prompt_id.nil?
1493
1685
 
1494
1686
 
1495
1687
 
1496
1688
 
1497
1689
 
1498
1690
  # resource path
1499
- local_var_path = "/api/v2/architect/prompts/{promptId}/resources".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
1691
+ local_var_path = "/api/v2/architect/prompts/{promptId}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
1500
1692
 
1501
1693
  # query parameters
1502
1694
  query_params = {}
1503
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1504
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1505
1695
 
1506
1696
  # header parameters
1507
1697
  header_params = {}
@@ -1527,39 +1717,516 @@ module PureCloud
1527
1717
  :form_params => form_params,
1528
1718
  :body => post_body,
1529
1719
  :auth_names => auth_names,
1530
- :return_type => 'PromptAssetEntityListing')
1720
+ :return_type => 'Prompt')
1721
+ if @api_client.config.debugging
1722
+ @api_client.config.logger.debug "API called: ArchitectApi#get_architect_prompt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1723
+ end
1724
+ return data, status_code, headers
1725
+ end
1726
+
1727
+ # Get specified user prompt resource
1728
+ #
1729
+ # @param prompt_id Prompt ID
1730
+ # @param language_code Language
1731
+ # @param [Hash] opts the optional parameters
1732
+ # @return [PromptAsset]
1733
+ def get_architect_prompt_resource(prompt_id, language_code, opts = {})
1734
+ data, _status_code, _headers = get_architect_prompt_resource_with_http_info(prompt_id, language_code, opts)
1735
+ return data
1736
+ end
1737
+
1738
+ # Get specified user prompt resource
1739
+ #
1740
+ # @param prompt_id Prompt ID
1741
+ # @param language_code Language
1742
+ # @param [Hash] opts the optional parameters
1743
+ # @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers
1744
+ def get_architect_prompt_resource_with_http_info(prompt_id, language_code, opts = {})
1745
+ if @api_client.config.debugging
1746
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompt_resource ..."
1747
+ end
1748
+
1749
+
1750
+ # verify the required parameter 'prompt_id' is set
1751
+ fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_prompt_resource" if prompt_id.nil?
1752
+
1753
+
1754
+
1755
+
1756
+
1757
+
1758
+ # verify the required parameter 'language_code' is set
1759
+ fail ArgumentError, "Missing the required parameter 'language_code' when calling ArchitectApi.get_architect_prompt_resource" if language_code.nil?
1760
+
1761
+
1762
+
1763
+
1764
+
1765
+ # resource path
1766
+ local_var_path = "/api/v2/architect/prompts/{promptId}/resources/{languageCode}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
1767
+
1768
+ # query parameters
1769
+ query_params = {}
1770
+
1771
+ # header parameters
1772
+ header_params = {}
1773
+
1774
+ # HTTP header 'Accept' (if needed)
1775
+ local_header_accept = ['application/json']
1776
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1777
+
1778
+ # HTTP header 'Content-Type'
1779
+ local_header_content_type = ['application/json']
1780
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1781
+
1782
+ # form parameters
1783
+ form_params = {}
1784
+
1785
+ # http body (model)
1786
+ post_body = nil
1787
+
1788
+ auth_names = ['PureCloud Auth']
1789
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1790
+ :header_params => header_params,
1791
+ :query_params => query_params,
1792
+ :form_params => form_params,
1793
+ :body => post_body,
1794
+ :auth_names => auth_names,
1795
+ :return_type => 'PromptAsset')
1796
+ if @api_client.config.debugging
1797
+ @api_client.config.logger.debug "API called: ArchitectApi#get_architect_prompt_resource\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1798
+ end
1799
+ return data, status_code, headers
1800
+ end
1801
+
1802
+ # Get a pageable list of user prompt resources
1803
+ # The returned list is pageable, and query parameters can be used for filtering.
1804
+ # @param prompt_id Prompt ID
1805
+ # @param [Hash] opts the optional parameters
1806
+ # @option opts [Integer] :page_number Page number (default to 1)
1807
+ # @option opts [Integer] :page_size Page size (default to 25)
1808
+ # @return [PromptAssetEntityListing]
1809
+ def get_architect_prompt_resources(prompt_id, opts = {})
1810
+ data, _status_code, _headers = get_architect_prompt_resources_with_http_info(prompt_id, opts)
1811
+ return data
1812
+ end
1813
+
1814
+ # Get a pageable list of user prompt resources
1815
+ # The returned list is pageable, and query parameters can be used for filtering.
1816
+ # @param prompt_id Prompt ID
1817
+ # @param [Hash] opts the optional parameters
1818
+ # @option opts [Integer] :page_number Page number
1819
+ # @option opts [Integer] :page_size Page size
1820
+ # @return [Array<(PromptAssetEntityListing, Fixnum, Hash)>] PromptAssetEntityListing data, response status code and response headers
1821
+ def get_architect_prompt_resources_with_http_info(prompt_id, opts = {})
1822
+ if @api_client.config.debugging
1823
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompt_resources ..."
1824
+ end
1825
+
1826
+
1827
+ # verify the required parameter 'prompt_id' is set
1828
+ fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_prompt_resources" if prompt_id.nil?
1829
+
1830
+
1831
+
1832
+
1833
+
1834
+
1835
+
1836
+
1837
+
1838
+
1839
+
1840
+
1841
+
1842
+
1843
+
1844
+
1845
+
1846
+ # resource path
1847
+ local_var_path = "/api/v2/architect/prompts/{promptId}/resources".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
1848
+
1849
+ # query parameters
1850
+ query_params = {}
1851
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1852
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1853
+
1854
+ # header parameters
1855
+ header_params = {}
1856
+
1857
+ # HTTP header 'Accept' (if needed)
1858
+ local_header_accept = ['application/json']
1859
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1860
+
1861
+ # HTTP header 'Content-Type'
1862
+ local_header_content_type = ['application/json']
1863
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1864
+
1865
+ # form parameters
1866
+ form_params = {}
1867
+
1868
+ # http body (model)
1869
+ post_body = nil
1870
+
1871
+ auth_names = ['PureCloud Auth']
1872
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1873
+ :header_params => header_params,
1874
+ :query_params => query_params,
1875
+ :form_params => form_params,
1876
+ :body => post_body,
1877
+ :auth_names => auth_names,
1878
+ :return_type => 'PromptAssetEntityListing')
1531
1879
  if @api_client.config.debugging
1532
1880
  @api_client.config.logger.debug "API called: ArchitectApi#get_architect_prompt_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1533
1881
  end
1534
1882
  return data, status_code, headers
1535
1883
  end
1536
1884
 
1537
- # Get a pageable list of user prompts
1538
- # The returned list is pageable, and query parameters can be used for filtering. Multiple names can be specified, in which case all matching prompts will be returned, and no other filters will be evaluated.
1885
+ # Get a pageable list of user prompts
1886
+ # The returned list is pageable, and query parameters can be used for filtering. Multiple names can be specified, in which case all matching prompts will be returned, and no other filters will be evaluated.
1887
+ # @param [Hash] opts the optional parameters
1888
+ # @option opts [Integer] :page_number Page number (default to 1)
1889
+ # @option opts [Integer] :page_size Page size (default to 25)
1890
+ # @option opts [String] :name Name
1891
+ # @option opts [String] :description Description
1892
+ # @option opts [String] :name_or_description Name or description
1893
+ # @return [PromptEntityListing]
1894
+ def get_architect_prompts(opts = {})
1895
+ data, _status_code, _headers = get_architect_prompts_with_http_info(opts)
1896
+ return data
1897
+ end
1898
+
1899
+ # Get a pageable list of user prompts
1900
+ # The returned list is pageable, and query parameters can be used for filtering. Multiple names can be specified, in which case all matching prompts will be returned, and no other filters will be evaluated.
1901
+ # @param [Hash] opts the optional parameters
1902
+ # @option opts [Integer] :page_number Page number
1903
+ # @option opts [Integer] :page_size Page size
1904
+ # @option opts [String] :name Name
1905
+ # @option opts [String] :description Description
1906
+ # @option opts [String] :name_or_description Name or description
1907
+ # @return [Array<(PromptEntityListing, Fixnum, Hash)>] PromptEntityListing data, response status code and response headers
1908
+ def get_architect_prompts_with_http_info(opts = {})
1909
+ if @api_client.config.debugging
1910
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompts ..."
1911
+ end
1912
+
1913
+
1914
+
1915
+
1916
+
1917
+
1918
+
1919
+
1920
+
1921
+
1922
+
1923
+
1924
+
1925
+
1926
+
1927
+
1928
+
1929
+
1930
+
1931
+
1932
+
1933
+
1934
+
1935
+
1936
+
1937
+
1938
+
1939
+
1940
+
1941
+
1942
+
1943
+ # resource path
1944
+ local_var_path = "/api/v2/architect/prompts".sub('{format}','json')
1945
+
1946
+ # query parameters
1947
+ query_params = {}
1948
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1949
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1950
+ query_params[:'name'] = opts[:'name'] if opts[:'name']
1951
+ query_params[:'description'] = opts[:'description'] if opts[:'description']
1952
+ query_params[:'nameOrDescription'] = opts[:'name_or_description'] if opts[:'name_or_description']
1953
+
1954
+ # header parameters
1955
+ header_params = {}
1956
+
1957
+ # HTTP header 'Accept' (if needed)
1958
+ local_header_accept = ['application/json']
1959
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1960
+
1961
+ # HTTP header 'Content-Type'
1962
+ local_header_content_type = ['application/json']
1963
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1964
+
1965
+ # form parameters
1966
+ form_params = {}
1967
+
1968
+ # http body (model)
1969
+ post_body = nil
1970
+
1971
+ auth_names = ['PureCloud Auth']
1972
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1973
+ :header_params => header_params,
1974
+ :query_params => query_params,
1975
+ :form_params => form_params,
1976
+ :body => post_body,
1977
+ :auth_names => auth_names,
1978
+ :return_type => 'PromptEntityListing')
1979
+ if @api_client.config.debugging
1980
+ @api_client.config.logger.debug "API called: ArchitectApi#get_architect_prompts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1981
+ end
1982
+ return data, status_code, headers
1983
+ end
1984
+
1985
+ # Get a schedule by ID
1986
+ #
1987
+ # @param schedule_id Schedule ID
1988
+ # @param [Hash] opts the optional parameters
1989
+ # @return [Schedule]
1990
+ def get_architect_schedule(schedule_id, opts = {})
1991
+ data, _status_code, _headers = get_architect_schedule_with_http_info(schedule_id, opts)
1992
+ return data
1993
+ end
1994
+
1995
+ # Get a schedule by ID
1996
+ #
1997
+ # @param schedule_id Schedule ID
1998
+ # @param [Hash] opts the optional parameters
1999
+ # @return [Array<(Schedule, Fixnum, Hash)>] Schedule data, response status code and response headers
2000
+ def get_architect_schedule_with_http_info(schedule_id, opts = {})
2001
+ if @api_client.config.debugging
2002
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_schedule ..."
2003
+ end
2004
+
2005
+
2006
+ # verify the required parameter 'schedule_id' is set
2007
+ fail ArgumentError, "Missing the required parameter 'schedule_id' when calling ArchitectApi.get_architect_schedule" if schedule_id.nil?
2008
+
2009
+
2010
+
2011
+
2012
+
2013
+ # resource path
2014
+ local_var_path = "/api/v2/architect/schedules/{scheduleId}".sub('{format}','json').sub('{' + 'scheduleId' + '}', schedule_id.to_s)
2015
+
2016
+ # query parameters
2017
+ query_params = {}
2018
+
2019
+ # header parameters
2020
+ header_params = {}
2021
+
2022
+ # HTTP header 'Accept' (if needed)
2023
+ local_header_accept = ['application/json']
2024
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2025
+
2026
+ # HTTP header 'Content-Type'
2027
+ local_header_content_type = ['application/json']
2028
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2029
+
2030
+ # form parameters
2031
+ form_params = {}
2032
+
2033
+ # http body (model)
2034
+ post_body = nil
2035
+
2036
+ auth_names = ['PureCloud Auth']
2037
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2038
+ :header_params => header_params,
2039
+ :query_params => query_params,
2040
+ :form_params => form_params,
2041
+ :body => post_body,
2042
+ :auth_names => auth_names,
2043
+ :return_type => 'Schedule')
2044
+ if @api_client.config.debugging
2045
+ @api_client.config.logger.debug "API called: ArchitectApi#get_architect_schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2046
+ end
2047
+ return data, status_code, headers
2048
+ end
2049
+
2050
+ # Gets a schedule group by ID
2051
+ #
2052
+ # @param schedule_group_id Schedule group ID
2053
+ # @param [Hash] opts the optional parameters
2054
+ # @return [ScheduleGroup]
2055
+ def get_architect_schedulegroup(schedule_group_id, opts = {})
2056
+ data, _status_code, _headers = get_architect_schedulegroup_with_http_info(schedule_group_id, opts)
2057
+ return data
2058
+ end
2059
+
2060
+ # Gets a schedule group by ID
2061
+ #
2062
+ # @param schedule_group_id Schedule group ID
2063
+ # @param [Hash] opts the optional parameters
2064
+ # @return [Array<(ScheduleGroup, Fixnum, Hash)>] ScheduleGroup data, response status code and response headers
2065
+ def get_architect_schedulegroup_with_http_info(schedule_group_id, opts = {})
2066
+ if @api_client.config.debugging
2067
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_schedulegroup ..."
2068
+ end
2069
+
2070
+
2071
+ # verify the required parameter 'schedule_group_id' is set
2072
+ fail ArgumentError, "Missing the required parameter 'schedule_group_id' when calling ArchitectApi.get_architect_schedulegroup" if schedule_group_id.nil?
2073
+
2074
+
2075
+
2076
+
2077
+
2078
+ # resource path
2079
+ local_var_path = "/api/v2/architect/schedulegroups/{scheduleGroupId}".sub('{format}','json').sub('{' + 'scheduleGroupId' + '}', schedule_group_id.to_s)
2080
+
2081
+ # query parameters
2082
+ query_params = {}
2083
+
2084
+ # header parameters
2085
+ header_params = {}
2086
+
2087
+ # HTTP header 'Accept' (if needed)
2088
+ local_header_accept = ['application/json']
2089
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2090
+
2091
+ # HTTP header 'Content-Type'
2092
+ local_header_content_type = ['application/json']
2093
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2094
+
2095
+ # form parameters
2096
+ form_params = {}
2097
+
2098
+ # http body (model)
2099
+ post_body = nil
2100
+
2101
+ auth_names = ['PureCloud Auth']
2102
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2103
+ :header_params => header_params,
2104
+ :query_params => query_params,
2105
+ :form_params => form_params,
2106
+ :body => post_body,
2107
+ :auth_names => auth_names,
2108
+ :return_type => 'ScheduleGroup')
2109
+ if @api_client.config.debugging
2110
+ @api_client.config.logger.debug "API called: ArchitectApi#get_architect_schedulegroup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2111
+ end
2112
+ return data, status_code, headers
2113
+ end
2114
+
2115
+ # Get a list of schedule groups.
2116
+ #
2117
+ # @param [Hash] opts the optional parameters
2118
+ # @option opts [Integer] :page_number Page number (default to 1)
2119
+ # @option opts [Integer] :page_size Page size (default to 25)
2120
+ # @option opts [String] :sort_by Sort by (default to name)
2121
+ # @option opts [String] :sort_order Sort order (default to ASC)
2122
+ # @return [ScheduleGroupEntityListing]
2123
+ def get_architect_schedulegroups(opts = {})
2124
+ data, _status_code, _headers = get_architect_schedulegroups_with_http_info(opts)
2125
+ return data
2126
+ end
2127
+
2128
+ # Get a list of schedule groups.
2129
+ #
2130
+ # @param [Hash] opts the optional parameters
2131
+ # @option opts [Integer] :page_number Page number
2132
+ # @option opts [Integer] :page_size Page size
2133
+ # @option opts [String] :sort_by Sort by
2134
+ # @option opts [String] :sort_order Sort order
2135
+ # @return [Array<(ScheduleGroupEntityListing, Fixnum, Hash)>] ScheduleGroupEntityListing data, response status code and response headers
2136
+ def get_architect_schedulegroups_with_http_info(opts = {})
2137
+ if @api_client.config.debugging
2138
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_schedulegroups ..."
2139
+ end
2140
+
2141
+
2142
+
2143
+
2144
+
2145
+
2146
+
2147
+
2148
+
2149
+
2150
+
2151
+
2152
+
2153
+
2154
+
2155
+
2156
+
2157
+
2158
+
2159
+
2160
+
2161
+
2162
+
2163
+
2164
+
2165
+ # resource path
2166
+ local_var_path = "/api/v2/architect/schedulegroups".sub('{format}','json')
2167
+
2168
+ # query parameters
2169
+ query_params = {}
2170
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
2171
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
2172
+ query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
2173
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
2174
+
2175
+ # header parameters
2176
+ header_params = {}
2177
+
2178
+ # HTTP header 'Accept' (if needed)
2179
+ local_header_accept = ['application/json']
2180
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2181
+
2182
+ # HTTP header 'Content-Type'
2183
+ local_header_content_type = ['application/json']
2184
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2185
+
2186
+ # form parameters
2187
+ form_params = {}
2188
+
2189
+ # http body (model)
2190
+ post_body = nil
2191
+
2192
+ auth_names = ['PureCloud Auth']
2193
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2194
+ :header_params => header_params,
2195
+ :query_params => query_params,
2196
+ :form_params => form_params,
2197
+ :body => post_body,
2198
+ :auth_names => auth_names,
2199
+ :return_type => 'ScheduleGroupEntityListing')
2200
+ if @api_client.config.debugging
2201
+ @api_client.config.logger.debug "API called: ArchitectApi#get_architect_schedulegroups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2202
+ end
2203
+ return data, status_code, headers
2204
+ end
2205
+
2206
+ # Get a list of schedules.
2207
+ #
1539
2208
  # @param [Hash] opts the optional parameters
1540
2209
  # @option opts [Integer] :page_number Page number (default to 1)
1541
2210
  # @option opts [Integer] :page_size Page size (default to 25)
1542
- # @option opts [String] :name Name
1543
- # @option opts [String] :description Description
1544
- # @option opts [String] :name_or_description Name or description
1545
- # @return [PromptEntityListing]
1546
- def get_architect_prompts(opts = {})
1547
- data, _status_code, _headers = get_architect_prompts_with_http_info(opts)
2211
+ # @option opts [String] :sort_by Sort by (default to name)
2212
+ # @option opts [String] :sort_order Sort order (default to ASC)
2213
+ # @return [ScheduleEntityListing]
2214
+ def get_architect_schedules(opts = {})
2215
+ data, _status_code, _headers = get_architect_schedules_with_http_info(opts)
1548
2216
  return data
1549
2217
  end
1550
2218
 
1551
- # Get a pageable list of user prompts
1552
- # The returned list is pageable, and query parameters can be used for filtering. Multiple names can be specified, in which case all matching prompts will be returned, and no other filters will be evaluated.
2219
+ # Get a list of schedules.
2220
+ #
1553
2221
  # @param [Hash] opts the optional parameters
1554
2222
  # @option opts [Integer] :page_number Page number
1555
2223
  # @option opts [Integer] :page_size Page size
1556
- # @option opts [String] :name Name
1557
- # @option opts [String] :description Description
1558
- # @option opts [String] :name_or_description Name or description
1559
- # @return [Array<(PromptEntityListing, Fixnum, Hash)>] PromptEntityListing data, response status code and response headers
1560
- def get_architect_prompts_with_http_info(opts = {})
2224
+ # @option opts [String] :sort_by Sort by
2225
+ # @option opts [String] :sort_order Sort order
2226
+ # @return [Array<(ScheduleEntityListing, Fixnum, Hash)>] ScheduleEntityListing data, response status code and response headers
2227
+ def get_architect_schedules_with_http_info(opts = {})
1561
2228
  if @api_client.config.debugging
1562
- @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompts ..."
2229
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_schedules ..."
1563
2230
  end
1564
2231
 
1565
2232
 
@@ -1579,12 +2246,6 @@ module PureCloud
1579
2246
 
1580
2247
 
1581
2248
 
1582
-
1583
-
1584
-
1585
-
1586
-
1587
-
1588
2249
 
1589
2250
 
1590
2251
 
@@ -1593,15 +2254,14 @@ module PureCloud
1593
2254
 
1594
2255
 
1595
2256
  # resource path
1596
- local_var_path = "/api/v2/architect/prompts".sub('{format}','json')
2257
+ local_var_path = "/api/v2/architect/schedules".sub('{format}','json')
1597
2258
 
1598
2259
  # query parameters
1599
2260
  query_params = {}
1600
2261
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1601
2262
  query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1602
- query_params[:'name'] = opts[:'name'] if opts[:'name']
1603
- query_params[:'description'] = opts[:'description'] if opts[:'description']
1604
- query_params[:'nameOrDescription'] = opts[:'name_or_description'] if opts[:'name_or_description']
2263
+ query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
2264
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
1605
2265
 
1606
2266
  # header parameters
1607
2267
  header_params = {}
@@ -1627,9 +2287,9 @@ module PureCloud
1627
2287
  :form_params => form_params,
1628
2288
  :body => post_body,
1629
2289
  :auth_names => auth_names,
1630
- :return_type => 'PromptEntityListing')
2290
+ :return_type => 'ScheduleEntityListing')
1631
2291
  if @api_client.config.debugging
1632
- @api_client.config.logger.debug "API called: ArchitectApi#get_architect_prompts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2292
+ @api_client.config.logger.debug "API called: ArchitectApi#get_architect_schedules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1633
2293
  end
1634
2294
  return data, status_code, headers
1635
2295
  end
@@ -2705,42 +3365,240 @@ module PureCloud
2705
3365
  form_params = {}
2706
3366
 
2707
3367
  # http body (model)
2708
- post_body = nil
3368
+ post_body = nil
3369
+
3370
+ auth_names = ['PureCloud Auth']
3371
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3372
+ :header_params => header_params,
3373
+ :query_params => query_params,
3374
+ :form_params => form_params,
3375
+ :body => post_body,
3376
+ :auth_names => auth_names,
3377
+ :return_type => 'FlowEntityListing')
3378
+ if @api_client.config.debugging
3379
+ @api_client.config.logger.debug "API called: ArchitectApi#get_flows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3380
+ end
3381
+ return data, status_code, headers
3382
+ end
3383
+
3384
+ # Rebuild Dependency Tracking data for an organization
3385
+ # Asynchronous. Notification topic: v2.architect.dependencytracking.build
3386
+ # @param [Hash] opts the optional parameters
3387
+ # @return [nil]
3388
+ def post_architect_dependencytracking_build(opts = {})
3389
+ post_architect_dependencytracking_build_with_http_info(opts)
3390
+ return nil
3391
+ end
3392
+
3393
+ # Rebuild Dependency Tracking data for an organization
3394
+ # Asynchronous. Notification topic: v2.architect.dependencytracking.build
3395
+ # @param [Hash] opts the optional parameters
3396
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3397
+ def post_architect_dependencytracking_build_with_http_info(opts = {})
3398
+ if @api_client.config.debugging
3399
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_dependencytracking_build ..."
3400
+ end
3401
+
3402
+ # resource path
3403
+ local_var_path = "/api/v2/architect/dependencytracking/build".sub('{format}','json')
3404
+
3405
+ # query parameters
3406
+ query_params = {}
3407
+
3408
+ # header parameters
3409
+ header_params = {}
3410
+
3411
+ # HTTP header 'Accept' (if needed)
3412
+ local_header_accept = ['application/json']
3413
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3414
+
3415
+ # HTTP header 'Content-Type'
3416
+ local_header_content_type = ['application/json']
3417
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3418
+
3419
+ # form parameters
3420
+ form_params = {}
3421
+
3422
+ # http body (model)
3423
+ post_body = nil
3424
+
3425
+ auth_names = ['PureCloud Auth']
3426
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3427
+ :header_params => header_params,
3428
+ :query_params => query_params,
3429
+ :form_params => form_params,
3430
+ :body => post_body,
3431
+ :auth_names => auth_names)
3432
+ if @api_client.config.debugging
3433
+ @api_client.config.logger.debug "API called: ArchitectApi#post_architect_dependencytracking_build\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3434
+ end
3435
+ return data, status_code, headers
3436
+ end
3437
+
3438
+ # Create IVR config.
3439
+ #
3440
+ # @param [Hash] opts the optional parameters
3441
+ # @option opts [IVR] :body
3442
+ # @return [IVR]
3443
+ def post_architect_ivrs(opts = {})
3444
+ data, _status_code, _headers = post_architect_ivrs_with_http_info(opts)
3445
+ return data
3446
+ end
3447
+
3448
+ # Create IVR config.
3449
+ #
3450
+ # @param [Hash] opts the optional parameters
3451
+ # @option opts [IVR] :body
3452
+ # @return [Array<(IVR, Fixnum, Hash)>] IVR data, response status code and response headers
3453
+ def post_architect_ivrs_with_http_info(opts = {})
3454
+ if @api_client.config.debugging
3455
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_ivrs ..."
3456
+ end
3457
+
3458
+
3459
+
3460
+
3461
+
3462
+
3463
+
3464
+ # resource path
3465
+ local_var_path = "/api/v2/architect/ivrs".sub('{format}','json')
3466
+
3467
+ # query parameters
3468
+ query_params = {}
3469
+
3470
+ # header parameters
3471
+ header_params = {}
3472
+
3473
+ # HTTP header 'Accept' (if needed)
3474
+ local_header_accept = ['application/json']
3475
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3476
+
3477
+ # HTTP header 'Content-Type'
3478
+ local_header_content_type = ['application/json']
3479
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3480
+
3481
+ # form parameters
3482
+ form_params = {}
3483
+
3484
+ # http body (model)
3485
+ post_body = @api_client.object_to_http_body(opts[:'body'])
3486
+
3487
+ auth_names = ['PureCloud Auth']
3488
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3489
+ :header_params => header_params,
3490
+ :query_params => query_params,
3491
+ :form_params => form_params,
3492
+ :body => post_body,
3493
+ :auth_names => auth_names,
3494
+ :return_type => 'IVR')
3495
+ if @api_client.config.debugging
3496
+ @api_client.config.logger.debug "API called: ArchitectApi#post_architect_ivrs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3497
+ end
3498
+ return data, status_code, headers
3499
+ end
3500
+
3501
+ # Create a new user prompt resource
3502
+ #
3503
+ # @param prompt_id Prompt ID
3504
+ # @param [Hash] opts the optional parameters
3505
+ # @option opts [PromptAssetCreate] :body
3506
+ # @return [PromptAsset]
3507
+ def post_architect_prompt_resources(prompt_id, opts = {})
3508
+ data, _status_code, _headers = post_architect_prompt_resources_with_http_info(prompt_id, opts)
3509
+ return data
3510
+ end
3511
+
3512
+ # Create a new user prompt resource
3513
+ #
3514
+ # @param prompt_id Prompt ID
3515
+ # @param [Hash] opts the optional parameters
3516
+ # @option opts [PromptAssetCreate] :body
3517
+ # @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers
3518
+ def post_architect_prompt_resources_with_http_info(prompt_id, opts = {})
3519
+ if @api_client.config.debugging
3520
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompt_resources ..."
3521
+ end
3522
+
3523
+
3524
+ # verify the required parameter 'prompt_id' is set
3525
+ fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.post_architect_prompt_resources" if prompt_id.nil?
3526
+
3527
+
3528
+
3529
+
3530
+
3531
+
3532
+
3533
+
3534
+
3535
+
3536
+
3537
+ # resource path
3538
+ local_var_path = "/api/v2/architect/prompts/{promptId}/resources".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
3539
+
3540
+ # query parameters
3541
+ query_params = {}
3542
+
3543
+ # header parameters
3544
+ header_params = {}
3545
+
3546
+ # HTTP header 'Accept' (if needed)
3547
+ local_header_accept = ['application/json']
3548
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3549
+
3550
+ # HTTP header 'Content-Type'
3551
+ local_header_content_type = ['application/json']
3552
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3553
+
3554
+ # form parameters
3555
+ form_params = {}
3556
+
3557
+ # http body (model)
3558
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2709
3559
 
2710
3560
  auth_names = ['PureCloud Auth']
2711
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3561
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2712
3562
  :header_params => header_params,
2713
3563
  :query_params => query_params,
2714
3564
  :form_params => form_params,
2715
3565
  :body => post_body,
2716
3566
  :auth_names => auth_names,
2717
- :return_type => 'FlowEntityListing')
3567
+ :return_type => 'PromptAsset')
2718
3568
  if @api_client.config.debugging
2719
- @api_client.config.logger.debug "API called: ArchitectApi#get_flows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3569
+ @api_client.config.logger.debug "API called: ArchitectApi#post_architect_prompt_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2720
3570
  end
2721
3571
  return data, status_code, headers
2722
3572
  end
2723
3573
 
2724
- # Rebuild Dependency Tracking data for an organization
2725
- # Asynchronous. Notification topic: v2.architect.dependencytracking.build
3574
+ # Create a new user prompt
3575
+ #
2726
3576
  # @param [Hash] opts the optional parameters
2727
- # @return [nil]
2728
- def post_architect_dependencytracking_build(opts = {})
2729
- post_architect_dependencytracking_build_with_http_info(opts)
2730
- return nil
3577
+ # @option opts [Prompt] :body
3578
+ # @return [Prompt]
3579
+ def post_architect_prompts(opts = {})
3580
+ data, _status_code, _headers = post_architect_prompts_with_http_info(opts)
3581
+ return data
2731
3582
  end
2732
3583
 
2733
- # Rebuild Dependency Tracking data for an organization
2734
- # Asynchronous. Notification topic: v2.architect.dependencytracking.build
3584
+ # Create a new user prompt
3585
+ #
2735
3586
  # @param [Hash] opts the optional parameters
2736
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2737
- def post_architect_dependencytracking_build_with_http_info(opts = {})
3587
+ # @option opts [Prompt] :body
3588
+ # @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers
3589
+ def post_architect_prompts_with_http_info(opts = {})
2738
3590
  if @api_client.config.debugging
2739
- @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_dependencytracking_build ..."
3591
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompts ..."
2740
3592
  end
2741
3593
 
3594
+
3595
+
3596
+
3597
+
3598
+
3599
+
2742
3600
  # resource path
2743
- local_var_path = "/api/v2/architect/dependencytracking/build".sub('{format}','json')
3601
+ local_var_path = "/api/v2/architect/prompts".sub('{format}','json')
2744
3602
 
2745
3603
  # query parameters
2746
3604
  query_params = {}
@@ -2760,7 +3618,7 @@ module PureCloud
2760
3618
  form_params = {}
2761
3619
 
2762
3620
  # http body (model)
2763
- post_body = nil
3621
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2764
3622
 
2765
3623
  auth_names = ['PureCloud Auth']
2766
3624
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -2768,51 +3626,42 @@ module PureCloud
2768
3626
  :query_params => query_params,
2769
3627
  :form_params => form_params,
2770
3628
  :body => post_body,
2771
- :auth_names => auth_names)
3629
+ :auth_names => auth_names,
3630
+ :return_type => 'Prompt')
2772
3631
  if @api_client.config.debugging
2773
- @api_client.config.logger.debug "API called: ArchitectApi#post_architect_dependencytracking_build\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3632
+ @api_client.config.logger.debug "API called: ArchitectApi#post_architect_prompts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2774
3633
  end
2775
3634
  return data, status_code, headers
2776
3635
  end
2777
3636
 
2778
- # Create a new user prompt resource
3637
+ # Creates a new schedule group
2779
3638
  #
2780
- # @param prompt_id Prompt ID
2781
3639
  # @param [Hash] opts the optional parameters
2782
- # @option opts [PromptAssetCreate] :body
2783
- # @return [PromptAsset]
2784
- def post_architect_prompt_resources(prompt_id, opts = {})
2785
- data, _status_code, _headers = post_architect_prompt_resources_with_http_info(prompt_id, opts)
3640
+ # @option opts [ScheduleGroup] :body
3641
+ # @return [ScheduleGroup]
3642
+ def post_architect_schedulegroups(opts = {})
3643
+ data, _status_code, _headers = post_architect_schedulegroups_with_http_info(opts)
2786
3644
  return data
2787
3645
  end
2788
3646
 
2789
- # Create a new user prompt resource
3647
+ # Creates a new schedule group
2790
3648
  #
2791
- # @param prompt_id Prompt ID
2792
3649
  # @param [Hash] opts the optional parameters
2793
- # @option opts [PromptAssetCreate] :body
2794
- # @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers
2795
- def post_architect_prompt_resources_with_http_info(prompt_id, opts = {})
3650
+ # @option opts [ScheduleGroup] :body
3651
+ # @return [Array<(ScheduleGroup, Fixnum, Hash)>] ScheduleGroup data, response status code and response headers
3652
+ def post_architect_schedulegroups_with_http_info(opts = {})
2796
3653
  if @api_client.config.debugging
2797
- @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompt_resources ..."
3654
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_schedulegroups ..."
2798
3655
  end
2799
3656
 
2800
3657
 
2801
- # verify the required parameter 'prompt_id' is set
2802
- fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.post_architect_prompt_resources" if prompt_id.nil?
2803
-
2804
-
2805
-
2806
-
2807
-
2808
-
2809
3658
 
2810
3659
 
2811
3660
 
2812
3661
 
2813
3662
 
2814
3663
  # resource path
2815
- local_var_path = "/api/v2/architect/prompts/{promptId}/resources".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
3664
+ local_var_path = "/api/v2/architect/schedulegroups".sub('{format}','json')
2816
3665
 
2817
3666
  # query parameters
2818
3667
  query_params = {}
@@ -2841,31 +3690,31 @@ module PureCloud
2841
3690
  :form_params => form_params,
2842
3691
  :body => post_body,
2843
3692
  :auth_names => auth_names,
2844
- :return_type => 'PromptAsset')
3693
+ :return_type => 'ScheduleGroup')
2845
3694
  if @api_client.config.debugging
2846
- @api_client.config.logger.debug "API called: ArchitectApi#post_architect_prompt_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3695
+ @api_client.config.logger.debug "API called: ArchitectApi#post_architect_schedulegroups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2847
3696
  end
2848
3697
  return data, status_code, headers
2849
3698
  end
2850
3699
 
2851
- # Create a new user prompt
3700
+ # Create a new schedule.
2852
3701
  #
2853
3702
  # @param [Hash] opts the optional parameters
2854
- # @option opts [Prompt] :body
2855
- # @return [Prompt]
2856
- def post_architect_prompts(opts = {})
2857
- data, _status_code, _headers = post_architect_prompts_with_http_info(opts)
3703
+ # @option opts [Schedule] :body
3704
+ # @return [Schedule]
3705
+ def post_architect_schedules(opts = {})
3706
+ data, _status_code, _headers = post_architect_schedules_with_http_info(opts)
2858
3707
  return data
2859
3708
  end
2860
3709
 
2861
- # Create a new user prompt
3710
+ # Create a new schedule.
2862
3711
  #
2863
3712
  # @param [Hash] opts the optional parameters
2864
- # @option opts [Prompt] :body
2865
- # @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers
2866
- def post_architect_prompts_with_http_info(opts = {})
3713
+ # @option opts [Schedule] :body
3714
+ # @return [Array<(Schedule, Fixnum, Hash)>] Schedule data, response status code and response headers
3715
+ def post_architect_schedules_with_http_info(opts = {})
2867
3716
  if @api_client.config.debugging
2868
- @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompts ..."
3717
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_schedules ..."
2869
3718
  end
2870
3719
 
2871
3720
 
@@ -2875,7 +3724,7 @@ module PureCloud
2875
3724
 
2876
3725
 
2877
3726
  # resource path
2878
- local_var_path = "/api/v2/architect/prompts".sub('{format}','json')
3727
+ local_var_path = "/api/v2/architect/schedules".sub('{format}','json')
2879
3728
 
2880
3729
  # query parameters
2881
3730
  query_params = {}
@@ -2904,9 +3753,9 @@ module PureCloud
2904
3753
  :form_params => form_params,
2905
3754
  :body => post_body,
2906
3755
  :auth_names => auth_names,
2907
- :return_type => 'Prompt')
3756
+ :return_type => 'Schedule')
2908
3757
  if @api_client.config.debugging
2909
- @api_client.config.logger.debug "API called: ArchitectApi#post_architect_prompts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3758
+ @api_client.config.logger.debug "API called: ArchitectApi#post_architect_schedules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2910
3759
  end
2911
3760
  return data, status_code, headers
2912
3761
  end
@@ -3525,6 +4374,79 @@ module PureCloud
3525
4374
  return data, status_code, headers
3526
4375
  end
3527
4376
 
4377
+ # Update an IVR Config.
4378
+ #
4379
+ # @param ivr_id IVR id
4380
+ # @param [Hash] opts the optional parameters
4381
+ # @option opts [IVR] :body
4382
+ # @return [IVR]
4383
+ def put_architect_ivr(ivr_id, opts = {})
4384
+ data, _status_code, _headers = put_architect_ivr_with_http_info(ivr_id, opts)
4385
+ return data
4386
+ end
4387
+
4388
+ # Update an IVR Config.
4389
+ #
4390
+ # @param ivr_id IVR id
4391
+ # @param [Hash] opts the optional parameters
4392
+ # @option opts [IVR] :body
4393
+ # @return [Array<(IVR, Fixnum, Hash)>] IVR data, response status code and response headers
4394
+ def put_architect_ivr_with_http_info(ivr_id, opts = {})
4395
+ if @api_client.config.debugging
4396
+ @api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_ivr ..."
4397
+ end
4398
+
4399
+
4400
+ # verify the required parameter 'ivr_id' is set
4401
+ fail ArgumentError, "Missing the required parameter 'ivr_id' when calling ArchitectApi.put_architect_ivr" if ivr_id.nil?
4402
+
4403
+
4404
+
4405
+
4406
+
4407
+
4408
+
4409
+
4410
+
4411
+
4412
+
4413
+ # resource path
4414
+ local_var_path = "/api/v2/architect/ivrs/{ivrId}".sub('{format}','json').sub('{' + 'ivrId' + '}', ivr_id.to_s)
4415
+
4416
+ # query parameters
4417
+ query_params = {}
4418
+
4419
+ # header parameters
4420
+ header_params = {}
4421
+
4422
+ # HTTP header 'Accept' (if needed)
4423
+ local_header_accept = ['application/json']
4424
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
4425
+
4426
+ # HTTP header 'Content-Type'
4427
+ local_header_content_type = ['application/json']
4428
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
4429
+
4430
+ # form parameters
4431
+ form_params = {}
4432
+
4433
+ # http body (model)
4434
+ post_body = @api_client.object_to_http_body(opts[:'body'])
4435
+
4436
+ auth_names = ['PureCloud Auth']
4437
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
4438
+ :header_params => header_params,
4439
+ :query_params => query_params,
4440
+ :form_params => form_params,
4441
+ :body => post_body,
4442
+ :auth_names => auth_names,
4443
+ :return_type => 'IVR')
4444
+ if @api_client.config.debugging
4445
+ @api_client.config.logger.debug "API called: ArchitectApi#put_architect_ivr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4446
+ end
4447
+ return data, status_code, headers
4448
+ end
4449
+
3528
4450
  # Update specified user prompt
3529
4451
  #
3530
4452
  # @param prompt_id Prompt ID
@@ -3681,6 +4603,152 @@ module PureCloud
3681
4603
  return data, status_code, headers
3682
4604
  end
3683
4605
 
4606
+ # Update schedule by ID
4607
+ #
4608
+ # @param schedule_id Schedule ID
4609
+ # @param [Hash] opts the optional parameters
4610
+ # @option opts [Schedule] :body
4611
+ # @return [Schedule]
4612
+ def put_architect_schedule(schedule_id, opts = {})
4613
+ data, _status_code, _headers = put_architect_schedule_with_http_info(schedule_id, opts)
4614
+ return data
4615
+ end
4616
+
4617
+ # Update schedule by ID
4618
+ #
4619
+ # @param schedule_id Schedule ID
4620
+ # @param [Hash] opts the optional parameters
4621
+ # @option opts [Schedule] :body
4622
+ # @return [Array<(Schedule, Fixnum, Hash)>] Schedule data, response status code and response headers
4623
+ def put_architect_schedule_with_http_info(schedule_id, opts = {})
4624
+ if @api_client.config.debugging
4625
+ @api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_schedule ..."
4626
+ end
4627
+
4628
+
4629
+ # verify the required parameter 'schedule_id' is set
4630
+ fail ArgumentError, "Missing the required parameter 'schedule_id' when calling ArchitectApi.put_architect_schedule" if schedule_id.nil?
4631
+
4632
+
4633
+
4634
+
4635
+
4636
+
4637
+
4638
+
4639
+
4640
+
4641
+
4642
+ # resource path
4643
+ local_var_path = "/api/v2/architect/schedules/{scheduleId}".sub('{format}','json').sub('{' + 'scheduleId' + '}', schedule_id.to_s)
4644
+
4645
+ # query parameters
4646
+ query_params = {}
4647
+
4648
+ # header parameters
4649
+ header_params = {}
4650
+
4651
+ # HTTP header 'Accept' (if needed)
4652
+ local_header_accept = ['application/json']
4653
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
4654
+
4655
+ # HTTP header 'Content-Type'
4656
+ local_header_content_type = ['application/json']
4657
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
4658
+
4659
+ # form parameters
4660
+ form_params = {}
4661
+
4662
+ # http body (model)
4663
+ post_body = @api_client.object_to_http_body(opts[:'body'])
4664
+
4665
+ auth_names = ['PureCloud Auth']
4666
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
4667
+ :header_params => header_params,
4668
+ :query_params => query_params,
4669
+ :form_params => form_params,
4670
+ :body => post_body,
4671
+ :auth_names => auth_names,
4672
+ :return_type => 'Schedule')
4673
+ if @api_client.config.debugging
4674
+ @api_client.config.logger.debug "API called: ArchitectApi#put_architect_schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4675
+ end
4676
+ return data, status_code, headers
4677
+ end
4678
+
4679
+ # Updates a schedule group by ID
4680
+ #
4681
+ # @param schedule_group_id Schedule group ID
4682
+ # @param [Hash] opts the optional parameters
4683
+ # @option opts [ScheduleGroup] :body
4684
+ # @return [ScheduleGroup]
4685
+ def put_architect_schedulegroup(schedule_group_id, opts = {})
4686
+ data, _status_code, _headers = put_architect_schedulegroup_with_http_info(schedule_group_id, opts)
4687
+ return data
4688
+ end
4689
+
4690
+ # Updates a schedule group by ID
4691
+ #
4692
+ # @param schedule_group_id Schedule group ID
4693
+ # @param [Hash] opts the optional parameters
4694
+ # @option opts [ScheduleGroup] :body
4695
+ # @return [Array<(ScheduleGroup, Fixnum, Hash)>] ScheduleGroup data, response status code and response headers
4696
+ def put_architect_schedulegroup_with_http_info(schedule_group_id, opts = {})
4697
+ if @api_client.config.debugging
4698
+ @api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_schedulegroup ..."
4699
+ end
4700
+
4701
+
4702
+ # verify the required parameter 'schedule_group_id' is set
4703
+ fail ArgumentError, "Missing the required parameter 'schedule_group_id' when calling ArchitectApi.put_architect_schedulegroup" if schedule_group_id.nil?
4704
+
4705
+
4706
+
4707
+
4708
+
4709
+
4710
+
4711
+
4712
+
4713
+
4714
+
4715
+ # resource path
4716
+ local_var_path = "/api/v2/architect/schedulegroups/{scheduleGroupId}".sub('{format}','json').sub('{' + 'scheduleGroupId' + '}', schedule_group_id.to_s)
4717
+
4718
+ # query parameters
4719
+ query_params = {}
4720
+
4721
+ # header parameters
4722
+ header_params = {}
4723
+
4724
+ # HTTP header 'Accept' (if needed)
4725
+ local_header_accept = ['application/json']
4726
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
4727
+
4728
+ # HTTP header 'Content-Type'
4729
+ local_header_content_type = ['application/json']
4730
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
4731
+
4732
+ # form parameters
4733
+ form_params = {}
4734
+
4735
+ # http body (model)
4736
+ post_body = @api_client.object_to_http_body(opts[:'body'])
4737
+
4738
+ auth_names = ['PureCloud Auth']
4739
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
4740
+ :header_params => header_params,
4741
+ :query_params => query_params,
4742
+ :form_params => form_params,
4743
+ :body => post_body,
4744
+ :auth_names => auth_names,
4745
+ :return_type => 'ScheduleGroup')
4746
+ if @api_client.config.debugging
4747
+ @api_client.config.logger.debug "API called: ArchitectApi#put_architect_schedulegroup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4748
+ end
4749
+ return data, status_code, headers
4750
+ end
4751
+
3684
4752
  # Updates a system prompt resource override.
3685
4753
  #
3686
4754
  # @param prompt_id Prompt ID