purecloudplatformclientv2 25.0.0 → 26.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActionEntityListing.md +1 -1
  4. data/docs/AgentActivityEntityListing.md +1 -1
  5. data/docs/ArchitectApi.md +633 -0
  6. data/docs/AttemptLimitsEntityListing.md +1 -1
  7. data/docs/AttributeEntityListing.md +1 -1
  8. data/docs/CalibrationEntityListing.md +1 -1
  9. data/docs/CallConversationEntityListing.md +1 -1
  10. data/docs/CallHistoryConversation.md +3 -0
  11. data/docs/CallHistoryConversationEntityListing.md +1 -1
  12. data/docs/CallableTimeSetEntityListing.md +1 -1
  13. data/docs/CallbackConversationEntityListing.md +1 -1
  14. data/docs/CampaignEntityListing.md +1 -1
  15. data/docs/CampaignRuleEntityListing.md +1 -1
  16. data/docs/CampaignSequenceEntityListing.md +1 -1
  17. data/docs/CertificateAuthorityEntityListing.md +1 -1
  18. data/docs/ChangeMyPasswordRequest.md +14 -0
  19. data/docs/ChangePasswordRequest.md +13 -0
  20. data/docs/ChatConversationEntityListing.md +1 -1
  21. data/docs/CobrowseConversationEntityListing.md +1 -1
  22. data/docs/CommandStatusEntityListing.md +1 -1
  23. data/docs/ConsumedResourcesEntityListing.md +1 -1
  24. data/docs/ConsumingResourcesEntityListing.md +1 -1
  25. data/docs/ContactListEntityListing.md +1 -1
  26. data/docs/ContactListFilterEntityListing.md +1 -1
  27. data/docs/ContactListNotification.md +2 -0
  28. data/docs/ContactListing.md +1 -1
  29. data/docs/ConversationEntityListing.md +1 -1
  30. data/docs/DIDEntityListing.md +1 -1
  31. data/docs/DIDPoolEntityListing.md +1 -1
  32. data/docs/DependencyObjectEntityListing.md +1 -1
  33. data/docs/DependencyTypeEntityListing.md +1 -1
  34. data/docs/DialerEventEntityListing.md +1 -1
  35. data/docs/DirectoryUserDevicesListing.md +1 -1
  36. data/docs/DncListEntityListing.md +1 -1
  37. data/docs/DocumentAuditEntityListing.md +1 -1
  38. data/docs/DocumentEntityListing.md +1 -1
  39. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  40. data/docs/DomainEntityListing.md +1 -1
  41. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  42. data/docs/DomainEntityListingQueryResult.md +1 -1
  43. data/docs/DomainEntityListingSurveyForm.md +1 -1
  44. data/docs/EdgeEntityListing.md +1 -1
  45. data/docs/EdgeGroupEntityListing.md +1 -1
  46. data/docs/EdgeLineEntityListing.md +1 -1
  47. data/docs/EmailConversationEntityListing.md +1 -1
  48. data/docs/EmailMessageListing.md +1 -1
  49. data/docs/EncryptionKeyEntityListing.md +1 -1
  50. data/docs/EndpointEntityListing.md +1 -1
  51. data/docs/EvaluationEntityListing.md +1 -1
  52. data/docs/EvaluationFormEntityListing.md +1 -1
  53. data/docs/EvaluatorActivityEntityListing.md +1 -1
  54. data/docs/ExtensionEntityListing.md +1 -1
  55. data/docs/ExtensionPoolEntityListing.md +1 -1
  56. data/docs/ExternalContact.md +1 -1
  57. data/docs/ExternalOrganization.md +1 -0
  58. data/docs/ExternalOrganizationListing.md +1 -1
  59. data/docs/FaxDocumentEntityListing.md +1 -1
  60. data/docs/FlowEntityListing.md +1 -1
  61. data/docs/FlowVersionEntityListing.md +1 -1
  62. data/docs/GreetingListing.md +1 -1
  63. data/docs/GroupEntityListing.md +1 -1
  64. data/docs/IVREntityListing.md +1 -1
  65. data/docs/InboundDomainEntityListing.md +1 -1
  66. data/docs/InboundRouteEntityListing.md +1 -1
  67. data/docs/InteractionStatsAlertContainer.md +1 -1
  68. data/docs/InteractionStatsRuleContainer.md +1 -1
  69. data/docs/JsonNode.md +3 -3
  70. data/docs/JsonSchemaDocument.md +1 -0
  71. data/docs/KeywordSetEntityListing.md +1 -1
  72. data/docs/LanguageEntityListing.md +1 -1
  73. data/docs/LibraryEntityListing.md +1 -1
  74. data/docs/LineBaseEntityListing.md +1 -1
  75. data/docs/LineEntityListing.md +1 -1
  76. data/docs/LocationEntityListing.md +1 -1
  77. data/docs/LogicalInterfaceEntityListing.md +1 -1
  78. data/docs/ManagementUnitListing.md +1 -1
  79. data/docs/Metabase.md +1 -0
  80. data/docs/NoteListing.md +1 -1
  81. data/docs/OAuthClientEntityListing.md +1 -1
  82. data/docs/OAuthProviderEntityListing.md +1 -1
  83. data/docs/OrganizationPresenceEntityListing.md +1 -1
  84. data/docs/OrganizationRoleEntityListing.md +1 -1
  85. data/docs/OrphanRecordingListing.md +1 -1
  86. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  87. data/docs/OutboundRouteEntityListing.md +1 -1
  88. data/docs/PermissionCollectionEntityListing.md +1 -1
  89. data/docs/PhoneBaseEntityListing.md +1 -1
  90. data/docs/PhoneEntityListing.md +1 -1
  91. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  92. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  93. data/docs/PolicyActions.md +1 -0
  94. data/docs/PolicyEntityListing.md +1 -1
  95. data/docs/PromptAssetEntityListing.md +1 -1
  96. data/docs/PromptEntityListing.md +1 -1
  97. data/docs/PublishForm.md +1 -1
  98. data/docs/QualityApi.md +4 -4
  99. data/docs/QualityAuditPage.md +1 -1
  100. data/docs/QueueEntityListing.md +1 -1
  101. data/docs/QueueMemberEntityListing.md +1 -1
  102. data/docs/RelationshipListing.md +1 -1
  103. data/docs/ReportMetaDataEntityListing.md +1 -1
  104. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  105. data/docs/ReportScheduleEntityListing.md +1 -1
  106. data/docs/ResponseEntityList.md +1 -1
  107. data/docs/ResponseEntityListing.md +1 -1
  108. data/docs/ResponseSetEntityListing.md +1 -1
  109. data/docs/RuleSetEntityListing.md +1 -1
  110. data/docs/ScheduleEntityListing.md +1 -1
  111. data/docs/ScheduleGroupEntityListing.md +1 -1
  112. data/docs/SchemaCategoryEntityListing.md +1 -1
  113. data/docs/SchemaReferenceEntityListing.md +1 -1
  114. data/docs/ScreenRecordingSessionListing.md +1 -1
  115. data/docs/ScriptEntityListing.md +1 -1
  116. data/docs/SecurityProfileEntityListing.md +1 -1
  117. data/docs/ShareEntityListing.md +1 -1
  118. data/docs/SiteEntityListing.md +1 -1
  119. data/docs/SkillEntityListing.md +1 -1
  120. data/docs/StationEntityListing.md +1 -1
  121. data/docs/SurveyAssignment.md +15 -0
  122. data/docs/SurveyFormEntityListing.md +1 -1
  123. data/docs/SurveyFormUriReference.md +16 -0
  124. data/docs/SystemPromptAssetEntityListing.md +1 -1
  125. data/docs/SystemPromptEntityListing.md +1 -1
  126. data/docs/TagValueEntityListing.md +1 -1
  127. data/docs/TimeZoneEntityListing.md +1 -1
  128. data/docs/TrunkBaseEntityListing.md +1 -1
  129. data/docs/TrunkEntityListing.md +1 -1
  130. data/docs/TrunkMetabaseEntityListing.md +1 -1
  131. data/docs/TrustEntityListing.md +1 -1
  132. data/docs/TrustUserEntityListing.md +1 -1
  133. data/docs/TrustorEntityListing.md +1 -1
  134. data/docs/UserEntityListing.md +1 -1
  135. data/docs/UserProfileEntityListing.md +1 -1
  136. data/docs/UserQueueEntityListing.md +1 -1
  137. data/docs/UserRecordingEntityListing.md +1 -1
  138. data/docs/UserSkillEntityListing.md +1 -1
  139. data/docs/UsersApi.md +121 -0
  140. data/docs/VoicemailMessageEntityListing.md +1 -1
  141. data/docs/WebChatApi.md +0 -60
  142. data/docs/WfmUpdateAgentDetailsCompleteNotification.md +1 -1
  143. data/docs/WorkspaceEntityListing.md +1 -1
  144. data/docs/WorkspaceMemberEntityListing.md +1 -1
  145. data/docs/WrapupCodeEntityListing.md +1 -1
  146. data/lib/purecloudplatformclientv2.rb +4 -0
  147. data/lib/purecloudplatformclientv2/api/architect_api.rb +838 -99
  148. data/lib/purecloudplatformclientv2/api/quality_api.rb +4 -4
  149. data/lib/purecloudplatformclientv2/api/users_api.rb +138 -0
  150. data/lib/purecloudplatformclientv2/api/web_chat_api.rb +0 -65
  151. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  152. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
  153. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
  154. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
  155. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +12 -12
  156. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
  157. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
  158. data/lib/purecloudplatformclientv2/models/call_history_conversation.rb +79 -1
  159. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
  160. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
  161. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
  162. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
  163. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
  164. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
  165. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
  166. data/lib/purecloudplatformclientv2/models/change_my_password_request.rb +238 -0
  167. data/lib/purecloudplatformclientv2/models/change_password_request.rb +207 -0
  168. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
  169. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
  170. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
  171. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
  172. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
  173. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
  174. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
  175. data/lib/purecloudplatformclientv2/models/contact_list_notification.rb +51 -1
  176. data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
  177. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
  178. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
  179. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
  180. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
  181. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
  182. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
  183. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
  184. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
  185. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
  186. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
  187. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
  188. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
  189. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
  190. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
  191. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
  192. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
  193. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
  194. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
  195. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
  196. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
  197. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
  198. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +12 -12
  199. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
  200. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
  201. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
  202. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  203. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
  204. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
  205. data/lib/purecloudplatformclientv2/models/external_contact.rb +1 -0
  206. data/lib/purecloudplatformclientv2/models/external_organization.rb +27 -1
  207. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
  208. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
  209. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
  210. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
  211. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
  212. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
  213. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
  214. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
  215. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
  216. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
  217. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
  218. data/lib/purecloudplatformclientv2/models/json_node.rb +29 -29
  219. data/lib/purecloudplatformclientv2/models/json_schema_document.rb +29 -4
  220. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
  221. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
  222. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
  223. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
  224. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
  225. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
  226. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
  227. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
  228. data/lib/purecloudplatformclientv2/models/metabase.rb +40 -1
  229. data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
  230. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
  231. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
  232. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
  233. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
  234. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
  235. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
  236. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
  237. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
  238. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
  239. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
  240. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
  241. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
  242. data/lib/purecloudplatformclientv2/models/policy_actions.rb +28 -1
  243. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
  244. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
  245. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
  246. data/lib/purecloudplatformclientv2/models/publish_form.rb +9 -9
  247. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
  248. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
  249. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
  250. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
  251. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
  252. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
  253. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
  254. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
  255. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
  256. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
  257. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
  258. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
  259. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
  260. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
  261. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
  262. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
  263. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
  264. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
  265. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
  266. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
  267. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
  268. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
  269. data/lib/purecloudplatformclientv2/models/survey_assignment.rb +254 -0
  270. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
  271. data/lib/purecloudplatformclientv2/models/survey_form_uri_reference.rb +277 -0
  272. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
  273. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
  274. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
  275. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
  276. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
  277. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
  278. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
  279. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
  280. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
  281. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
  282. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
  283. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
  284. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
  285. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
  286. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
  287. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
  288. data/lib/purecloudplatformclientv2/models/wfm_update_agent_details_complete_notification.rb +15 -15
  289. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
  290. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
  291. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
  292. data/lib/purecloudplatformclientv2/version.rb +1 -1
  293. metadata +10 -2
@@ -13,8 +13,8 @@ title: TagValueEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: TimeZoneEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: TrunkBaseEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: TrunkEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: TrunkMetabaseEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: TrustEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: TrustUserEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: TrustorEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: UserEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: UserProfileEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: UserQueueEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: UserRecordingEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: UserSkillEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -42,8 +42,10 @@ Method | Description
42
42
  [**post_analytics_users_details_query**](UsersApi.html#post_analytics_users_details_query) | Query for user details
43
43
  [**post_analytics_users_observations_query**](UsersApi.html#post_analytics_users_observations_query) | Query for user observations
44
44
  [**post_user_invite**](UsersApi.html#post_user_invite) | Send an activation email to the user
45
+ [**post_user_password**](UsersApi.html#post_user_password) | Change a users password
45
46
  [**post_user_routingskills**](UsersApi.html#post_user_routingskills) | Add routing skill to user
46
47
  [**post_users**](UsersApi.html#post_users) | Create user
48
+ [**post_users_me_password**](UsersApi.html#post_users_me_password) | Change your password
47
49
  [**post_users_search**](UsersApi.html#post_users_search) | Search users
48
50
  [**put_user_callforwarding**](UsersApi.html#put_user_callforwarding) | Update a user's CallForwarding
49
51
  [**put_user_outofoffice**](UsersApi.html#put_user_outofoffice) | Update an OutOfOffice
@@ -2164,6 +2166,67 @@ nil (empty response body)
2164
2166
 
2165
2167
 
2166
2168
 
2169
+ <a name="post_user_password"></a>
2170
+
2171
+ ## - post_user_password(user_id, body)
2172
+
2173
+ Change a users password
2174
+
2175
+
2176
+
2177
+ Wraps POST /api/v2/users/{userId}/password
2178
+
2179
+
2180
+ ### Example
2181
+ ~~~ruby
2182
+ # load the gem
2183
+ require 'purecloudplatformclientv2'
2184
+ # setup authorization
2185
+ @secret = ENV['PURECLOUD_SECRET']
2186
+ @id = ENV['PURECLOUD_CLIENT_ID']
2187
+ environment = "mypurecloud.com"
2188
+
2189
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
2190
+
2191
+ PureCloud.configure do |config|
2192
+ config.access_token = @authToken
2193
+ end
2194
+
2195
+ api_instance = PureCloud::UsersApi.new
2196
+
2197
+ user_id = "user_id_example" # String | User ID
2198
+
2199
+ body = PureCloud::ChangePasswordRequest.new # ChangePasswordRequest | Password
2200
+
2201
+
2202
+ begin
2203
+ #Change a users password
2204
+ api_instance.post_user_password(user_id, body)
2205
+ rescue PureCloud::ApiError => e
2206
+ puts "Exception when calling UsersApi->post_user_password: #{e}"
2207
+ end
2208
+ ~~~
2209
+
2210
+ ### Parameters
2211
+
2212
+ Name | Type | Description | Notes
2213
+ ------------- | ------------- | ------------- | -------------
2214
+ **user_id** | **String**| User ID | |
2215
+ **body** | [**ChangePasswordRequest**](ChangePasswordRequest.html)| Password | |
2216
+ {: class="table table-striped"}
2217
+
2218
+
2219
+ ### Return type
2220
+
2221
+ nil (empty response body)
2222
+
2223
+ ### HTTP request headers
2224
+
2225
+ - **Content-Type**: application/json
2226
+ - **Accept**: application/json
2227
+
2228
+
2229
+
2167
2230
  <a name="post_user_routingskills"></a>
2168
2231
 
2169
2232
  ## -[**UserRoutingSkill**](UserRoutingSkill.html) post_user_routingskills(user_id, body)
@@ -2285,6 +2348,64 @@ Name | Type | Description | Notes
2285
2348
 
2286
2349
 
2287
2350
 
2351
+ <a name="post_users_me_password"></a>
2352
+
2353
+ ## - post_users_me_password(body)
2354
+
2355
+ Change your password
2356
+
2357
+
2358
+
2359
+ Wraps POST /api/v2/users/me/password
2360
+
2361
+
2362
+ ### Example
2363
+ ~~~ruby
2364
+ # load the gem
2365
+ require 'purecloudplatformclientv2'
2366
+ # setup authorization
2367
+ @secret = ENV['PURECLOUD_SECRET']
2368
+ @id = ENV['PURECLOUD_CLIENT_ID']
2369
+ environment = "mypurecloud.com"
2370
+
2371
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
2372
+
2373
+ PureCloud.configure do |config|
2374
+ config.access_token = @authToken
2375
+ end
2376
+
2377
+ api_instance = PureCloud::UsersApi.new
2378
+
2379
+ body = PureCloud::ChangeMyPasswordRequest.new # ChangeMyPasswordRequest | Password
2380
+
2381
+
2382
+ begin
2383
+ #Change your password
2384
+ api_instance.post_users_me_password(body)
2385
+ rescue PureCloud::ApiError => e
2386
+ puts "Exception when calling UsersApi->post_users_me_password: #{e}"
2387
+ end
2388
+ ~~~
2389
+
2390
+ ### Parameters
2391
+
2392
+ Name | Type | Description | Notes
2393
+ ------------- | ------------- | ------------- | -------------
2394
+ **body** | [**ChangeMyPasswordRequest**](ChangeMyPasswordRequest.html)| Password | |
2395
+ {: class="table table-striped"}
2396
+
2397
+
2398
+ ### Return type
2399
+
2400
+ nil (empty response body)
2401
+
2402
+ ### HTTP request headers
2403
+
2404
+ - **Content-Type**: application/json
2405
+ - **Accept**: application/json
2406
+
2407
+
2408
+
2288
2409
  <a name="post_users_search"></a>
2289
2410
 
2290
2411
  ## -[**UsersSearchResponse**](UsersSearchResponse.html) post_users_search(body)
@@ -13,8 +13,8 @@ title: VoicemailMessageEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -14,7 +14,6 @@ Method | Description
14
14
  [**get_webchat_deployments**](WebChatApi.html#get_webchat_deployments) | List WebChat deployments
15
15
  [**get_webchat_settings**](WebChatApi.html#get_webchat_settings) | Get WebChat deployment settings
16
16
  [**post_webchat_deployments**](WebChatApi.html#post_webchat_deployments) | Create WebChat deployment
17
- [**post_webchat_settings**](WebChatApi.html#post_webchat_settings) | Create WebChat deployment settings
18
17
  [**put_webchat_deployment**](WebChatApi.html#put_webchat_deployment) | Update a WebChat deployment
19
18
  [**put_webchat_settings**](WebChatApi.html#put_webchat_settings) | Update WebChat deployment settings
20
19
  {: class="table table-striped"}
@@ -353,65 +352,6 @@ Name | Type | Description | Notes
353
352
 
354
353
 
355
354
 
356
- <a name="post_webchat_settings"></a>
357
-
358
- ## -[**WebChatSettings**](WebChatSettings.html) post_webchat_settings(body)
359
-
360
- Create WebChat deployment settings
361
-
362
-
363
-
364
- Wraps POST /api/v2/webchat/settings
365
-
366
-
367
- ### Example
368
- ~~~ruby
369
- # load the gem
370
- require 'purecloudplatformclientv2'
371
- # setup authorization
372
- @secret = ENV['PURECLOUD_SECRET']
373
- @id = ENV['PURECLOUD_CLIENT_ID']
374
- environment = "mypurecloud.com"
375
-
376
- @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
377
-
378
- PureCloud.configure do |config|
379
- config.access_token = @authToken
380
- end
381
-
382
- api_instance = PureCloud::WebChatApi.new
383
-
384
- body = PureCloud::WebChatSettings.new # WebChatSettings | webChatSettings
385
-
386
-
387
- begin
388
- #Create WebChat deployment settings
389
- result = api_instance.post_webchat_settings(body)
390
- p result
391
- rescue PureCloud::ApiError => e
392
- puts "Exception when calling WebChatApi->post_webchat_settings: #{e}"
393
- end
394
- ~~~
395
-
396
- ### Parameters
397
-
398
- Name | Type | Description | Notes
399
- ------------- | ------------- | ------------- | -------------
400
- **body** | [**WebChatSettings**](WebChatSettings.html)| webChatSettings | |
401
- {: class="table table-striped"}
402
-
403
-
404
- ### Return type
405
-
406
- [**WebChatSettings**](WebChatSettings.html)
407
-
408
- ### HTTP request headers
409
-
410
- - **Content-Type**: application/json
411
- - **Accept**: application/json
412
-
413
-
414
-
415
355
  <a name="put_webchat_deployment"></a>
416
356
 
417
357
  ## -[**WebChatDeployment**](WebChatDeployment.html) put_webchat_deployment(deployment_id, body)
@@ -7,7 +7,7 @@ title: WfmUpdateAgentDetailsCompleteNotification
7
7
 
8
8
  |Name | Type | Description | Notes|
9
9
  |------------ | ------------- | ------------- | -------------|
10
- | **result** | **String** | | [optional] |
10
+ | **status** | **String** | | [optional] |
11
11
  {: class="table table-striped"}
12
12
 
13
13
 
@@ -13,8 +13,8 @@ title: WorkspaceEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: WorkspaceMemberEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -13,8 +13,8 @@ title: WrapupCodeEntityListing
13
13
  | **total** | **Integer** | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
15
  | **first_uri** | **String** | | [optional] |
16
- | **previous_uri** | **String** | | [optional] |
17
16
  | **next_uri** | **String** | | [optional] |
17
+ | **previous_uri** | **String** | | [optional] |
18
18
  | **last_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
@@ -219,6 +219,8 @@ require 'purecloudplatformclientv2/models/certificate'
219
219
  require 'purecloudplatformclientv2/models/certificate_authority_entity_listing'
220
220
  require 'purecloudplatformclientv2/models/certificate_details'
221
221
  require 'purecloudplatformclientv2/models/change'
222
+ require 'purecloudplatformclientv2/models/change_my_password_request'
223
+ require 'purecloudplatformclientv2/models/change_password_request'
222
224
  require 'purecloudplatformclientv2/models/channel'
223
225
  require 'purecloudplatformclientv2/models/channel_entity_listing'
224
226
  require 'purecloudplatformclientv2/models/channel_topic'
@@ -946,8 +948,10 @@ require 'purecloudplatformclientv2/models/street_address'
946
948
  require 'purecloudplatformclientv2/models/subscriber_response'
947
949
  require 'purecloudplatformclientv2/models/suggest_search_criteria'
948
950
  require 'purecloudplatformclientv2/models/suggest_search_request'
951
+ require 'purecloudplatformclientv2/models/survey_assignment'
949
952
  require 'purecloudplatformclientv2/models/survey_form'
950
953
  require 'purecloudplatformclientv2/models/survey_form_entity_listing'
954
+ require 'purecloudplatformclientv2/models/survey_form_uri_reference'
951
955
  require 'purecloudplatformclientv2/models/system_presence'
952
956
  require 'purecloudplatformclientv2/models/system_prompt'
953
957
  require 'purecloudplatformclientv2/models/system_prompt_asset'
@@ -633,6 +633,144 @@ module PureCloud
633
633
  return data, status_code, headers
634
634
  end
635
635
 
636
+ # deletes a specific datatable by id
637
+ # deletes an entire datatable (including schema and data) with a given datatableId)
638
+ # @param datatable_id id of datatable
639
+ # @param [Hash] opts the optional parameters
640
+ # @return [nil]
641
+ def delete_flows_datatable(datatable_id, opts = {})
642
+ delete_flows_datatable_with_http_info(datatable_id, opts)
643
+ return nil
644
+ end
645
+
646
+ # deletes a specific datatable by id
647
+ # deletes an entire datatable (including schema and data) with a given datatableId)
648
+ # @param datatable_id id of datatable
649
+ # @param [Hash] opts the optional parameters
650
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
651
+ def delete_flows_datatable_with_http_info(datatable_id, opts = {})
652
+ if @api_client.config.debugging
653
+ @api_client.config.logger.debug "Calling API: ArchitectApi.delete_flows_datatable ..."
654
+ end
655
+
656
+
657
+ # verify the required parameter 'datatable_id' is set
658
+ fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.delete_flows_datatable" if datatable_id.nil?
659
+
660
+
661
+
662
+
663
+
664
+ # resource path
665
+ local_var_path = "/api/v2/flows/datatables/{datatableId}".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s)
666
+
667
+ # query parameters
668
+ query_params = {}
669
+
670
+ # header parameters
671
+ header_params = {}
672
+
673
+ # HTTP header 'Accept' (if needed)
674
+ local_header_accept = ['application/json']
675
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
676
+
677
+ # HTTP header 'Content-Type'
678
+ local_header_content_type = ['application/json']
679
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
680
+
681
+ # form parameters
682
+ form_params = {}
683
+
684
+ # http body (model)
685
+ post_body = nil
686
+
687
+ auth_names = ['PureCloud Auth']
688
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
689
+ :header_params => header_params,
690
+ :query_params => query_params,
691
+ :form_params => form_params,
692
+ :body => post_body,
693
+ :auth_names => auth_names)
694
+ if @api_client.config.debugging
695
+ @api_client.config.logger.debug "API called: ArchitectApi#delete_flows_datatable\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
696
+ end
697
+ return data, status_code, headers
698
+ end
699
+
700
+ # Delete a row entry
701
+ # Deletes a row with a given rowId.
702
+ # @param datatable_id id of datatable
703
+ # @param row_id the key for the row
704
+ # @param [Hash] opts the optional parameters
705
+ # @return [nil]
706
+ def delete_flows_datatable_row(datatable_id, row_id, opts = {})
707
+ delete_flows_datatable_row_with_http_info(datatable_id, row_id, opts)
708
+ return nil
709
+ end
710
+
711
+ # Delete a row entry
712
+ # Deletes a row with a given rowId.
713
+ # @param datatable_id id of datatable
714
+ # @param row_id the key for the row
715
+ # @param [Hash] opts the optional parameters
716
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
717
+ def delete_flows_datatable_row_with_http_info(datatable_id, row_id, opts = {})
718
+ if @api_client.config.debugging
719
+ @api_client.config.logger.debug "Calling API: ArchitectApi.delete_flows_datatable_row ..."
720
+ end
721
+
722
+
723
+ # verify the required parameter 'datatable_id' is set
724
+ fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.delete_flows_datatable_row" if datatable_id.nil?
725
+
726
+
727
+
728
+
729
+
730
+
731
+ # verify the required parameter 'row_id' is set
732
+ fail ArgumentError, "Missing the required parameter 'row_id' when calling ArchitectApi.delete_flows_datatable_row" if row_id.nil?
733
+
734
+
735
+
736
+
737
+
738
+ # resource path
739
+ local_var_path = "/api/v2/flows/datatables/{datatableId}/rows/{rowId}".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s).sub('{' + 'rowId' + '}', row_id.to_s)
740
+
741
+ # query parameters
742
+ query_params = {}
743
+
744
+ # header parameters
745
+ header_params = {}
746
+
747
+ # HTTP header 'Accept' (if needed)
748
+ local_header_accept = ['application/json']
749
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
750
+
751
+ # HTTP header 'Content-Type'
752
+ local_header_content_type = ['application/json']
753
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
754
+
755
+ # form parameters
756
+ form_params = {}
757
+
758
+ # http body (model)
759
+ post_body = nil
760
+
761
+ auth_names = ['PureCloud Auth']
762
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
763
+ :header_params => header_params,
764
+ :query_params => query_params,
765
+ :form_params => form_params,
766
+ :body => post_body,
767
+ :auth_names => auth_names)
768
+ if @api_client.config.debugging
769
+ @api_client.config.logger.debug "API called: ArchitectApi#delete_flows_datatable_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
770
+ end
771
+ return data, status_code, headers
772
+ end
773
+
636
774
  # Get Dependency Tracking objects that have a given display name
637
775
  #
638
776
  # @param name Object name to search for
@@ -3697,29 +3835,48 @@ module PureCloud
3697
3835
  return data, status_code, headers
3698
3836
  end
3699
3837
 
3700
- # Rebuild Dependency Tracking data for an organization
3701
- # Asynchronous. Notification topic: v2.architect.dependencytracking.build
3838
+ # Returns a specific datatable by datatableId
3839
+ # Given a datableid returns the schema associated with it.
3840
+ # @param datatable_id id of datatable
3702
3841
  # @param [Hash] opts the optional parameters
3703
- # @return [nil]
3704
- def post_architect_dependencytracking_build(opts = {})
3705
- post_architect_dependencytracking_build_with_http_info(opts)
3706
- return nil
3842
+ # @option opts [BOOLEAN] :showbrief If true returns a shortened version of the schema including the name, id and description] (default to true)
3843
+ # @return [JsonSchemaDocument]
3844
+ def get_flows_datatable(datatable_id, opts = {})
3845
+ data, _status_code, _headers = get_flows_datatable_with_http_info(datatable_id, opts)
3846
+ return data
3707
3847
  end
3708
3848
 
3709
- # Rebuild Dependency Tracking data for an organization
3710
- # Asynchronous. Notification topic: v2.architect.dependencytracking.build
3849
+ # Returns a specific datatable by datatableId
3850
+ # Given a datableid returns the schema associated with it.
3851
+ # @param datatable_id id of datatable
3711
3852
  # @param [Hash] opts the optional parameters
3712
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3713
- def post_architect_dependencytracking_build_with_http_info(opts = {})
3853
+ # @option opts [BOOLEAN] :showbrief If true returns a shortened version of the schema including the name, id and description]
3854
+ # @return [Array<(JsonSchemaDocument, Fixnum, Hash)>] JsonSchemaDocument data, response status code and response headers
3855
+ def get_flows_datatable_with_http_info(datatable_id, opts = {})
3714
3856
  if @api_client.config.debugging
3715
- @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_dependencytracking_build ..."
3857
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_flows_datatable ..."
3716
3858
  end
3717
3859
 
3860
+
3861
+ # verify the required parameter 'datatable_id' is set
3862
+ fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.get_flows_datatable" if datatable_id.nil?
3863
+
3864
+
3865
+
3866
+
3867
+
3868
+
3869
+
3870
+
3871
+
3872
+
3873
+
3718
3874
  # resource path
3719
- local_var_path = "/api/v2/architect/dependencytracking/build".sub('{format}','json')
3875
+ local_var_path = "/api/v2/flows/datatables/{datatableId}".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s)
3720
3876
 
3721
3877
  # query parameters
3722
3878
  query_params = {}
3879
+ query_params[:'showbrief'] = opts[:'showbrief'] if opts[:'showbrief']
3723
3880
 
3724
3881
  # header parameters
3725
3882
  header_params = {}
@@ -3739,49 +3896,71 @@ module PureCloud
3739
3896
  post_body = nil
3740
3897
 
3741
3898
  auth_names = ['PureCloud Auth']
3742
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3899
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3743
3900
  :header_params => header_params,
3744
3901
  :query_params => query_params,
3745
3902
  :form_params => form_params,
3746
3903
  :body => post_body,
3747
- :auth_names => auth_names)
3904
+ :auth_names => auth_names,
3905
+ :return_type => 'JsonSchemaDocument')
3748
3906
  if @api_client.config.debugging
3749
- @api_client.config.logger.debug "API called: ArchitectApi#post_architect_dependencytracking_build\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3907
+ @api_client.config.logger.debug "API called: ArchitectApi#get_flows_datatable\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3750
3908
  end
3751
3909
  return data, status_code, headers
3752
3910
  end
3753
3911
 
3754
- # Create IVR config.
3755
- #
3912
+ # Returns a specific row for the datatable
3913
+ # Given a datatable id and a rowId (key) will return the full row contents for that rowId.
3914
+ # @param datatable_id id of datatable
3915
+ # @param row_id The key for the row
3756
3916
  # @param [Hash] opts the optional parameters
3757
- # @option opts [IVR] :body
3758
- # @return [IVR]
3759
- def post_architect_ivrs(opts = {})
3760
- data, _status_code, _headers = post_architect_ivrs_with_http_info(opts)
3917
+ # @option opts [BOOLEAN] :showbrief if true returns just the key field for the row (default to true)
3918
+ # @return [Hash<String, Object>]
3919
+ def get_flows_datatable_row(datatable_id, row_id, opts = {})
3920
+ data, _status_code, _headers = get_flows_datatable_row_with_http_info(datatable_id, row_id, opts)
3761
3921
  return data
3762
3922
  end
3763
3923
 
3764
- # Create IVR config.
3765
- #
3924
+ # Returns a specific row for the datatable
3925
+ # Given a datatable id and a rowId (key) will return the full row contents for that rowId.
3926
+ # @param datatable_id id of datatable
3927
+ # @param row_id The key for the row
3766
3928
  # @param [Hash] opts the optional parameters
3767
- # @option opts [IVR] :body
3768
- # @return [Array<(IVR, Fixnum, Hash)>] IVR data, response status code and response headers
3769
- def post_architect_ivrs_with_http_info(opts = {})
3929
+ # @option opts [BOOLEAN] :showbrief if true returns just the key field for the row
3930
+ # @return [Array<(Hash<String, Object>, Fixnum, Hash)>] Hash<String, Object> data, response status code and response headers
3931
+ def get_flows_datatable_row_with_http_info(datatable_id, row_id, opts = {})
3770
3932
  if @api_client.config.debugging
3771
- @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_ivrs ..."
3933
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_flows_datatable_row ..."
3772
3934
  end
3773
3935
 
3774
3936
 
3937
+ # verify the required parameter 'datatable_id' is set
3938
+ fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.get_flows_datatable_row" if datatable_id.nil?
3939
+
3940
+
3941
+
3942
+
3943
+
3944
+
3945
+ # verify the required parameter 'row_id' is set
3946
+ fail ArgumentError, "Missing the required parameter 'row_id' when calling ArchitectApi.get_flows_datatable_row" if row_id.nil?
3947
+
3948
+
3949
+
3950
+
3951
+
3952
+
3775
3953
 
3776
3954
 
3777
3955
 
3778
3956
 
3779
3957
 
3780
3958
  # resource path
3781
- local_var_path = "/api/v2/architect/ivrs".sub('{format}','json')
3959
+ local_var_path = "/api/v2/flows/datatables/{datatableId}/rows/{rowId}".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s).sub('{' + 'rowId' + '}', row_id.to_s)
3782
3960
 
3783
3961
  # query parameters
3784
3962
  query_params = {}
3963
+ query_params[:'showbrief'] = opts[:'showbrief'] if opts[:'showbrief']
3785
3964
 
3786
3965
  # header parameters
3787
3966
  header_params = {}
@@ -3798,55 +3977,64 @@ module PureCloud
3798
3977
  form_params = {}
3799
3978
 
3800
3979
  # http body (model)
3801
- post_body = @api_client.object_to_http_body(opts[:'body'])
3980
+ post_body = nil
3802
3981
 
3803
3982
  auth_names = ['PureCloud Auth']
3804
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3983
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3805
3984
  :header_params => header_params,
3806
3985
  :query_params => query_params,
3807
3986
  :form_params => form_params,
3808
3987
  :body => post_body,
3809
3988
  :auth_names => auth_names,
3810
- :return_type => 'IVR')
3989
+ :return_type => 'Hash<String, Object>')
3811
3990
  if @api_client.config.debugging
3812
- @api_client.config.logger.debug "API called: ArchitectApi#post_architect_ivrs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3991
+ @api_client.config.logger.debug "API called: ArchitectApi#get_flows_datatable_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3813
3992
  end
3814
3993
  return data, status_code, headers
3815
3994
  end
3816
3995
 
3817
- # Generate prompt history
3818
- # Asynchronous. Notification topic: v2.architect.prompts.{promptId}
3819
- # @param prompt_id Prompt ID
3996
+ # Returns the rows for the datatable
3997
+ # Returns all of the rows for the datatable with the given id. By default this will just be a shortened list returning the key for each row. Set expand to all to return all of the row contents.
3998
+ # @param datatable_id id of datatable
3820
3999
  # @param [Hash] opts the optional parameters
3821
- # @return [Operation]
3822
- def post_architect_prompt_history(prompt_id, opts = {})
3823
- data, _status_code, _headers = post_architect_prompt_history_with_http_info(prompt_id, opts)
4000
+ # @option opts [BOOLEAN] :showbrief If true returns just the key value of the row (default to true)
4001
+ # @return [Array<Hash<String, Object>>]
4002
+ def get_flows_datatable_rows(datatable_id, opts = {})
4003
+ data, _status_code, _headers = get_flows_datatable_rows_with_http_info(datatable_id, opts)
3824
4004
  return data
3825
4005
  end
3826
4006
 
3827
- # Generate prompt history
3828
- # Asynchronous. Notification topic: v2.architect.prompts.{promptId}
3829
- # @param prompt_id Prompt ID
4007
+ # Returns the rows for the datatable
4008
+ # Returns all of the rows for the datatable with the given id. By default this will just be a shortened list returning the key for each row. Set expand to all to return all of the row contents.
4009
+ # @param datatable_id id of datatable
3830
4010
  # @param [Hash] opts the optional parameters
3831
- # @return [Array<(Operation, Fixnum, Hash)>] Operation data, response status code and response headers
3832
- def post_architect_prompt_history_with_http_info(prompt_id, opts = {})
4011
+ # @option opts [BOOLEAN] :showbrief If true returns just the key value of the row
4012
+ # @return [Array<(Array<Hash<String, Object>>, Fixnum, Hash)>] Array<Hash<String, Object>> data, response status code and response headers
4013
+ def get_flows_datatable_rows_with_http_info(datatable_id, opts = {})
3833
4014
  if @api_client.config.debugging
3834
- @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompt_history ..."
4015
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_flows_datatable_rows ..."
3835
4016
  end
3836
4017
 
3837
4018
 
3838
- # verify the required parameter 'prompt_id' is set
3839
- fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.post_architect_prompt_history" if prompt_id.nil?
4019
+ # verify the required parameter 'datatable_id' is set
4020
+ fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.get_flows_datatable_rows" if datatable_id.nil?
4021
+
4022
+
4023
+
4024
+
4025
+
4026
+
3840
4027
 
3841
4028
 
3842
4029
 
3843
4030
 
3844
4031
 
3845
4032
  # resource path
3846
- local_var_path = "/api/v2/architect/prompts/{promptId}/history".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
4033
+ local_var_path = "/api/v2/flows/datatables/{datatableId}/rows".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s)
3847
4034
 
3848
4035
  # query parameters
3849
4036
  query_params = {}
4037
+ query_params[:'showbrief'] = opts[:'showbrief'] if opts[:'showbrief']
3850
4038
 
3851
4039
  # header parameters
3852
4040
  header_params = {}
@@ -3866,60 +4054,51 @@ module PureCloud
3866
4054
  post_body = nil
3867
4055
 
3868
4056
  auth_names = ['PureCloud Auth']
3869
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4057
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3870
4058
  :header_params => header_params,
3871
4059
  :query_params => query_params,
3872
4060
  :form_params => form_params,
3873
4061
  :body => post_body,
3874
4062
  :auth_names => auth_names,
3875
- :return_type => 'Operation')
4063
+ :return_type => 'Array<Hash<String, Object>>')
3876
4064
  if @api_client.config.debugging
3877
- @api_client.config.logger.debug "API called: ArchitectApi#post_architect_prompt_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4065
+ @api_client.config.logger.debug "API called: ArchitectApi#get_flows_datatable_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3878
4066
  end
3879
4067
  return data, status_code, headers
3880
4068
  end
3881
4069
 
3882
- # Create a new user prompt resource
3883
- #
3884
- # @param prompt_id Prompt ID
4070
+ # Retrieve a list of datatables for the org
4071
+ # Returns a metadata list of the datatables associated with this org, including ID, name and description.
3885
4072
  # @param [Hash] opts the optional parameters
3886
- # @option opts [PromptAssetCreate] :body
3887
- # @return [PromptAsset]
3888
- def post_architect_prompt_resources(prompt_id, opts = {})
3889
- data, _status_code, _headers = post_architect_prompt_resources_with_http_info(prompt_id, opts)
4073
+ # @option opts [BOOLEAN] :showbrief If true, returns a shortened version of the schema including the name, id and description (default to true)
4074
+ # @return [Array<JsonSchemaDocument>]
4075
+ def get_flows_datatables(opts = {})
4076
+ data, _status_code, _headers = get_flows_datatables_with_http_info(opts)
3890
4077
  return data
3891
4078
  end
3892
4079
 
3893
- # Create a new user prompt resource
3894
- #
3895
- # @param prompt_id Prompt ID
4080
+ # Retrieve a list of datatables for the org
4081
+ # Returns a metadata list of the datatables associated with this org, including ID, name and description.
3896
4082
  # @param [Hash] opts the optional parameters
3897
- # @option opts [PromptAssetCreate] :body
3898
- # @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers
3899
- def post_architect_prompt_resources_with_http_info(prompt_id, opts = {})
4083
+ # @option opts [BOOLEAN] :showbrief If true, returns a shortened version of the schema including the name, id and description
4084
+ # @return [Array<(Array<JsonSchemaDocument>, Fixnum, Hash)>] Array<JsonSchemaDocument> data, response status code and response headers
4085
+ def get_flows_datatables_with_http_info(opts = {})
3900
4086
  if @api_client.config.debugging
3901
- @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompt_resources ..."
4087
+ @api_client.config.logger.debug "Calling API: ArchitectApi.get_flows_datatables ..."
3902
4088
  end
3903
4089
 
3904
4090
 
3905
- # verify the required parameter 'prompt_id' is set
3906
- fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.post_architect_prompt_resources" if prompt_id.nil?
3907
-
3908
-
3909
-
3910
-
3911
-
3912
-
3913
4091
 
3914
4092
 
3915
4093
 
3916
4094
 
3917
4095
 
3918
4096
  # resource path
3919
- local_var_path = "/api/v2/architect/prompts/{promptId}/resources".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
4097
+ local_var_path = "/api/v2/flows/datatables".sub('{format}','json')
3920
4098
 
3921
4099
  # query parameters
3922
4100
  query_params = {}
4101
+ query_params[:'showbrief'] = opts[:'showbrief'] if opts[:'showbrief']
3923
4102
 
3924
4103
  # header parameters
3925
4104
  header_params = {}
@@ -3936,50 +4115,42 @@ module PureCloud
3936
4115
  form_params = {}
3937
4116
 
3938
4117
  # http body (model)
3939
- post_body = @api_client.object_to_http_body(opts[:'body'])
4118
+ post_body = nil
3940
4119
 
3941
4120
  auth_names = ['PureCloud Auth']
3942
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4121
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3943
4122
  :header_params => header_params,
3944
4123
  :query_params => query_params,
3945
4124
  :form_params => form_params,
3946
4125
  :body => post_body,
3947
4126
  :auth_names => auth_names,
3948
- :return_type => 'PromptAsset')
4127
+ :return_type => 'Array<JsonSchemaDocument>')
3949
4128
  if @api_client.config.debugging
3950
- @api_client.config.logger.debug "API called: ArchitectApi#post_architect_prompt_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4129
+ @api_client.config.logger.debug "API called: ArchitectApi#get_flows_datatables\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3951
4130
  end
3952
4131
  return data, status_code, headers
3953
4132
  end
3954
4133
 
3955
- # Create a new user prompt
3956
- #
4134
+ # Rebuild Dependency Tracking data for an organization
4135
+ # Asynchronous. Notification topic: v2.architect.dependencytracking.build
3957
4136
  # @param [Hash] opts the optional parameters
3958
- # @option opts [Prompt] :body
3959
- # @return [Prompt]
3960
- def post_architect_prompts(opts = {})
3961
- data, _status_code, _headers = post_architect_prompts_with_http_info(opts)
3962
- return data
4137
+ # @return [nil]
4138
+ def post_architect_dependencytracking_build(opts = {})
4139
+ post_architect_dependencytracking_build_with_http_info(opts)
4140
+ return nil
3963
4141
  end
3964
4142
 
3965
- # Create a new user prompt
3966
- #
4143
+ # Rebuild Dependency Tracking data for an organization
4144
+ # Asynchronous. Notification topic: v2.architect.dependencytracking.build
3967
4145
  # @param [Hash] opts the optional parameters
3968
- # @option opts [Prompt] :body
3969
- # @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers
3970
- def post_architect_prompts_with_http_info(opts = {})
4146
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
4147
+ def post_architect_dependencytracking_build_with_http_info(opts = {})
3971
4148
  if @api_client.config.debugging
3972
- @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompts ..."
4149
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_dependencytracking_build ..."
3973
4150
  end
3974
4151
 
3975
-
3976
-
3977
-
3978
-
3979
-
3980
-
3981
4152
  # resource path
3982
- local_var_path = "/api/v2/architect/prompts".sub('{format}','json')
4153
+ local_var_path = "/api/v2/architect/dependencytracking/build".sub('{format}','json')
3983
4154
 
3984
4155
  # query parameters
3985
4156
  query_params = {}
@@ -3999,7 +4170,7 @@ module PureCloud
3999
4170
  form_params = {}
4000
4171
 
4001
4172
  # http body (model)
4002
- post_body = @api_client.object_to_http_body(opts[:'body'])
4173
+ post_body = nil
4003
4174
 
4004
4175
  auth_names = ['PureCloud Auth']
4005
4176
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -4007,7 +4178,270 @@ module PureCloud
4007
4178
  :query_params => query_params,
4008
4179
  :form_params => form_params,
4009
4180
  :body => post_body,
4010
- :auth_names => auth_names,
4181
+ :auth_names => auth_names)
4182
+ if @api_client.config.debugging
4183
+ @api_client.config.logger.debug "API called: ArchitectApi#post_architect_dependencytracking_build\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4184
+ end
4185
+ return data, status_code, headers
4186
+ end
4187
+
4188
+ # Create IVR config.
4189
+ #
4190
+ # @param [Hash] opts the optional parameters
4191
+ # @option opts [IVR] :body
4192
+ # @return [IVR]
4193
+ def post_architect_ivrs(opts = {})
4194
+ data, _status_code, _headers = post_architect_ivrs_with_http_info(opts)
4195
+ return data
4196
+ end
4197
+
4198
+ # Create IVR config.
4199
+ #
4200
+ # @param [Hash] opts the optional parameters
4201
+ # @option opts [IVR] :body
4202
+ # @return [Array<(IVR, Fixnum, Hash)>] IVR data, response status code and response headers
4203
+ def post_architect_ivrs_with_http_info(opts = {})
4204
+ if @api_client.config.debugging
4205
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_ivrs ..."
4206
+ end
4207
+
4208
+
4209
+
4210
+
4211
+
4212
+
4213
+
4214
+ # resource path
4215
+ local_var_path = "/api/v2/architect/ivrs".sub('{format}','json')
4216
+
4217
+ # query parameters
4218
+ query_params = {}
4219
+
4220
+ # header parameters
4221
+ header_params = {}
4222
+
4223
+ # HTTP header 'Accept' (if needed)
4224
+ local_header_accept = ['application/json']
4225
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
4226
+
4227
+ # HTTP header 'Content-Type'
4228
+ local_header_content_type = ['application/json']
4229
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
4230
+
4231
+ # form parameters
4232
+ form_params = {}
4233
+
4234
+ # http body (model)
4235
+ post_body = @api_client.object_to_http_body(opts[:'body'])
4236
+
4237
+ auth_names = ['PureCloud Auth']
4238
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4239
+ :header_params => header_params,
4240
+ :query_params => query_params,
4241
+ :form_params => form_params,
4242
+ :body => post_body,
4243
+ :auth_names => auth_names,
4244
+ :return_type => 'IVR')
4245
+ if @api_client.config.debugging
4246
+ @api_client.config.logger.debug "API called: ArchitectApi#post_architect_ivrs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4247
+ end
4248
+ return data, status_code, headers
4249
+ end
4250
+
4251
+ # Generate prompt history
4252
+ # Asynchronous. Notification topic: v2.architect.prompts.{promptId}
4253
+ # @param prompt_id Prompt ID
4254
+ # @param [Hash] opts the optional parameters
4255
+ # @return [Operation]
4256
+ def post_architect_prompt_history(prompt_id, opts = {})
4257
+ data, _status_code, _headers = post_architect_prompt_history_with_http_info(prompt_id, opts)
4258
+ return data
4259
+ end
4260
+
4261
+ # Generate prompt history
4262
+ # Asynchronous. Notification topic: v2.architect.prompts.{promptId}
4263
+ # @param prompt_id Prompt ID
4264
+ # @param [Hash] opts the optional parameters
4265
+ # @return [Array<(Operation, Fixnum, Hash)>] Operation data, response status code and response headers
4266
+ def post_architect_prompt_history_with_http_info(prompt_id, opts = {})
4267
+ if @api_client.config.debugging
4268
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompt_history ..."
4269
+ end
4270
+
4271
+
4272
+ # verify the required parameter 'prompt_id' is set
4273
+ fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.post_architect_prompt_history" if prompt_id.nil?
4274
+
4275
+
4276
+
4277
+
4278
+
4279
+ # resource path
4280
+ local_var_path = "/api/v2/architect/prompts/{promptId}/history".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
4281
+
4282
+ # query parameters
4283
+ query_params = {}
4284
+
4285
+ # header parameters
4286
+ header_params = {}
4287
+
4288
+ # HTTP header 'Accept' (if needed)
4289
+ local_header_accept = ['application/json']
4290
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
4291
+
4292
+ # HTTP header 'Content-Type'
4293
+ local_header_content_type = ['application/json']
4294
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
4295
+
4296
+ # form parameters
4297
+ form_params = {}
4298
+
4299
+ # http body (model)
4300
+ post_body = nil
4301
+
4302
+ auth_names = ['PureCloud Auth']
4303
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4304
+ :header_params => header_params,
4305
+ :query_params => query_params,
4306
+ :form_params => form_params,
4307
+ :body => post_body,
4308
+ :auth_names => auth_names,
4309
+ :return_type => 'Operation')
4310
+ if @api_client.config.debugging
4311
+ @api_client.config.logger.debug "API called: ArchitectApi#post_architect_prompt_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4312
+ end
4313
+ return data, status_code, headers
4314
+ end
4315
+
4316
+ # Create a new user prompt resource
4317
+ #
4318
+ # @param prompt_id Prompt ID
4319
+ # @param [Hash] opts the optional parameters
4320
+ # @option opts [PromptAssetCreate] :body
4321
+ # @return [PromptAsset]
4322
+ def post_architect_prompt_resources(prompt_id, opts = {})
4323
+ data, _status_code, _headers = post_architect_prompt_resources_with_http_info(prompt_id, opts)
4324
+ return data
4325
+ end
4326
+
4327
+ # Create a new user prompt resource
4328
+ #
4329
+ # @param prompt_id Prompt ID
4330
+ # @param [Hash] opts the optional parameters
4331
+ # @option opts [PromptAssetCreate] :body
4332
+ # @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers
4333
+ def post_architect_prompt_resources_with_http_info(prompt_id, opts = {})
4334
+ if @api_client.config.debugging
4335
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompt_resources ..."
4336
+ end
4337
+
4338
+
4339
+ # verify the required parameter 'prompt_id' is set
4340
+ fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.post_architect_prompt_resources" if prompt_id.nil?
4341
+
4342
+
4343
+
4344
+
4345
+
4346
+
4347
+
4348
+
4349
+
4350
+
4351
+
4352
+ # resource path
4353
+ local_var_path = "/api/v2/architect/prompts/{promptId}/resources".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
4354
+
4355
+ # query parameters
4356
+ query_params = {}
4357
+
4358
+ # header parameters
4359
+ header_params = {}
4360
+
4361
+ # HTTP header 'Accept' (if needed)
4362
+ local_header_accept = ['application/json']
4363
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
4364
+
4365
+ # HTTP header 'Content-Type'
4366
+ local_header_content_type = ['application/json']
4367
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
4368
+
4369
+ # form parameters
4370
+ form_params = {}
4371
+
4372
+ # http body (model)
4373
+ post_body = @api_client.object_to_http_body(opts[:'body'])
4374
+
4375
+ auth_names = ['PureCloud Auth']
4376
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4377
+ :header_params => header_params,
4378
+ :query_params => query_params,
4379
+ :form_params => form_params,
4380
+ :body => post_body,
4381
+ :auth_names => auth_names,
4382
+ :return_type => 'PromptAsset')
4383
+ if @api_client.config.debugging
4384
+ @api_client.config.logger.debug "API called: ArchitectApi#post_architect_prompt_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4385
+ end
4386
+ return data, status_code, headers
4387
+ end
4388
+
4389
+ # Create a new user prompt
4390
+ #
4391
+ # @param [Hash] opts the optional parameters
4392
+ # @option opts [Prompt] :body
4393
+ # @return [Prompt]
4394
+ def post_architect_prompts(opts = {})
4395
+ data, _status_code, _headers = post_architect_prompts_with_http_info(opts)
4396
+ return data
4397
+ end
4398
+
4399
+ # Create a new user prompt
4400
+ #
4401
+ # @param [Hash] opts the optional parameters
4402
+ # @option opts [Prompt] :body
4403
+ # @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers
4404
+ def post_architect_prompts_with_http_info(opts = {})
4405
+ if @api_client.config.debugging
4406
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompts ..."
4407
+ end
4408
+
4409
+
4410
+
4411
+
4412
+
4413
+
4414
+
4415
+ # resource path
4416
+ local_var_path = "/api/v2/architect/prompts".sub('{format}','json')
4417
+
4418
+ # query parameters
4419
+ query_params = {}
4420
+
4421
+ # header parameters
4422
+ header_params = {}
4423
+
4424
+ # HTTP header 'Accept' (if needed)
4425
+ local_header_accept = ['application/json']
4426
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
4427
+
4428
+ # HTTP header 'Content-Type'
4429
+ local_header_content_type = ['application/json']
4430
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
4431
+
4432
+ # form parameters
4433
+ form_params = {}
4434
+
4435
+ # http body (model)
4436
+ post_body = @api_client.object_to_http_body(opts[:'body'])
4437
+
4438
+ auth_names = ['PureCloud Auth']
4439
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4440
+ :header_params => header_params,
4441
+ :query_params => query_params,
4442
+ :form_params => form_params,
4443
+ :body => post_body,
4444
+ :auth_names => auth_names,
4011
4445
  :return_type => 'Prompt')
4012
4446
  if @api_client.config.debugging
4013
4447
  @api_client.config.logger.debug "API called: ArchitectApi#post_architect_prompts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
@@ -4820,6 +5254,146 @@ module PureCloud
4820
5254
  return data, status_code, headers
4821
5255
  end
4822
5256
 
5257
+ # Create a new row entry
5258
+ # Will add the passed in row entry to the datatable with the given id after verifying it against the schema.
5259
+ # @param datatable_id id of datatable
5260
+ # @param data_table_row
5261
+ # @param [Hash] opts the optional parameters
5262
+ # @return [Hash<String, Object>]
5263
+ def post_flows_datatable_rows(datatable_id, data_table_row, opts = {})
5264
+ data, _status_code, _headers = post_flows_datatable_rows_with_http_info(datatable_id, data_table_row, opts)
5265
+ return data
5266
+ end
5267
+
5268
+ # Create a new row entry
5269
+ # Will add the passed in row entry to the datatable with the given id after verifying it against the schema.
5270
+ # @param datatable_id id of datatable
5271
+ # @param data_table_row
5272
+ # @param [Hash] opts the optional parameters
5273
+ # @return [Array<(Hash<String, Object>, Fixnum, Hash)>] Hash<String, Object> data, response status code and response headers
5274
+ def post_flows_datatable_rows_with_http_info(datatable_id, data_table_row, opts = {})
5275
+ if @api_client.config.debugging
5276
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_flows_datatable_rows ..."
5277
+ end
5278
+
5279
+
5280
+ # verify the required parameter 'datatable_id' is set
5281
+ fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.post_flows_datatable_rows" if datatable_id.nil?
5282
+
5283
+
5284
+
5285
+
5286
+
5287
+
5288
+ # verify the required parameter 'data_table_row' is set
5289
+ fail ArgumentError, "Missing the required parameter 'data_table_row' when calling ArchitectApi.post_flows_datatable_rows" if data_table_row.nil?
5290
+
5291
+
5292
+
5293
+
5294
+
5295
+ # resource path
5296
+ local_var_path = "/api/v2/flows/datatables/{datatableId}/rows".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s)
5297
+
5298
+ # query parameters
5299
+ query_params = {}
5300
+
5301
+ # header parameters
5302
+ header_params = {}
5303
+
5304
+ # HTTP header 'Accept' (if needed)
5305
+ local_header_accept = ['application/json']
5306
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
5307
+
5308
+ # HTTP header 'Content-Type'
5309
+ local_header_content_type = ['application/json']
5310
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
5311
+
5312
+ # form parameters
5313
+ form_params = {}
5314
+
5315
+ # http body (model)
5316
+ post_body = @api_client.object_to_http_body(data_table_row)
5317
+
5318
+ auth_names = ['PureCloud Auth']
5319
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5320
+ :header_params => header_params,
5321
+ :query_params => query_params,
5322
+ :form_params => form_params,
5323
+ :body => post_body,
5324
+ :auth_names => auth_names,
5325
+ :return_type => 'Hash<String, Object>')
5326
+ if @api_client.config.debugging
5327
+ @api_client.config.logger.debug "API called: ArchitectApi#post_flows_datatable_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5328
+ end
5329
+ return data, status_code, headers
5330
+ end
5331
+
5332
+ # Create a new datatable with the specified json-schema definition
5333
+ # This will create a new datatable with fields that match the property definitions in the JSON schema. The name of the table from the title field of the json-schema. See also http://json-schema.org/
5334
+ # @param body datatable json-schema
5335
+ # @param [Hash] opts the optional parameters
5336
+ # @return [JsonSchemaDocument]
5337
+ def post_flows_datatables(body, opts = {})
5338
+ data, _status_code, _headers = post_flows_datatables_with_http_info(body, opts)
5339
+ return data
5340
+ end
5341
+
5342
+ # Create a new datatable with the specified json-schema definition
5343
+ # This will create a new datatable with fields that match the property definitions in the JSON schema. The name of the table from the title field of the json-schema. See also http://json-schema.org/
5344
+ # @param body datatable json-schema
5345
+ # @param [Hash] opts the optional parameters
5346
+ # @return [Array<(JsonSchemaDocument, Fixnum, Hash)>] JsonSchemaDocument data, response status code and response headers
5347
+ def post_flows_datatables_with_http_info(body, opts = {})
5348
+ if @api_client.config.debugging
5349
+ @api_client.config.logger.debug "Calling API: ArchitectApi.post_flows_datatables ..."
5350
+ end
5351
+
5352
+
5353
+ # verify the required parameter 'body' is set
5354
+ fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_flows_datatables" if body.nil?
5355
+
5356
+
5357
+
5358
+
5359
+
5360
+ # resource path
5361
+ local_var_path = "/api/v2/flows/datatables".sub('{format}','json')
5362
+
5363
+ # query parameters
5364
+ query_params = {}
5365
+
5366
+ # header parameters
5367
+ header_params = {}
5368
+
5369
+ # HTTP header 'Accept' (if needed)
5370
+ local_header_accept = ['application/json']
5371
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
5372
+
5373
+ # HTTP header 'Content-Type'
5374
+ local_header_content_type = ['application/json']
5375
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
5376
+
5377
+ # form parameters
5378
+ form_params = {}
5379
+
5380
+ # http body (model)
5381
+ post_body = @api_client.object_to_http_body(body)
5382
+
5383
+ auth_names = ['PureCloud Auth']
5384
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5385
+ :header_params => header_params,
5386
+ :query_params => query_params,
5387
+ :form_params => form_params,
5388
+ :body => post_body,
5389
+ :auth_names => auth_names,
5390
+ :return_type => 'JsonSchemaDocument')
5391
+ if @api_client.config.debugging
5392
+ @api_client.config.logger.debug "API called: ArchitectApi#post_flows_datatables\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5393
+ end
5394
+ return data, status_code, headers
5395
+ end
5396
+
4823
5397
  # Update an IVR Config.
4824
5398
  #
4825
5399
  # @param ivr_id IVR id
@@ -5350,5 +5924,170 @@ module PureCloud
5350
5924
  end
5351
5925
  return data, status_code, headers
5352
5926
  end
5927
+
5928
+ # Updates a specific datatable by datatableId
5929
+ # Updates a schema for a datatable with the given datatableId - updates are additive only, no changes or removals of existing fields.
5930
+ # @param datatable_id id of datatable
5931
+ # @param [Hash] opts the optional parameters
5932
+ # @option opts [BOOLEAN] :showbrief If true returns a shortened version of the schema including the name, id and description (default to true)
5933
+ # @option opts [JsonSchemaDocument] :body datatable json-schema
5934
+ # @return [JsonSchemaDocument]
5935
+ def put_flows_datatable(datatable_id, opts = {})
5936
+ data, _status_code, _headers = put_flows_datatable_with_http_info(datatable_id, opts)
5937
+ return data
5938
+ end
5939
+
5940
+ # Updates a specific datatable by datatableId
5941
+ # Updates a schema for a datatable with the given datatableId - updates are additive only, no changes or removals of existing fields.
5942
+ # @param datatable_id id of datatable
5943
+ # @param [Hash] opts the optional parameters
5944
+ # @option opts [BOOLEAN] :showbrief If true returns a shortened version of the schema including the name, id and description
5945
+ # @option opts [JsonSchemaDocument] :body datatable json-schema
5946
+ # @return [Array<(JsonSchemaDocument, Fixnum, Hash)>] JsonSchemaDocument data, response status code and response headers
5947
+ def put_flows_datatable_with_http_info(datatable_id, opts = {})
5948
+ if @api_client.config.debugging
5949
+ @api_client.config.logger.debug "Calling API: ArchitectApi.put_flows_datatable ..."
5950
+ end
5951
+
5952
+
5953
+ # verify the required parameter 'datatable_id' is set
5954
+ fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.put_flows_datatable" if datatable_id.nil?
5955
+
5956
+
5957
+
5958
+
5959
+
5960
+
5961
+
5962
+
5963
+
5964
+
5965
+
5966
+
5967
+
5968
+
5969
+
5970
+
5971
+
5972
+ # resource path
5973
+ local_var_path = "/api/v2/flows/datatables/{datatableId}".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s)
5974
+
5975
+ # query parameters
5976
+ query_params = {}
5977
+ query_params[:'showbrief'] = opts[:'showbrief'] if opts[:'showbrief']
5978
+
5979
+ # header parameters
5980
+ header_params = {}
5981
+
5982
+ # HTTP header 'Accept' (if needed)
5983
+ local_header_accept = ['application/json']
5984
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
5985
+
5986
+ # HTTP header 'Content-Type'
5987
+ local_header_content_type = ['application/json']
5988
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
5989
+
5990
+ # form parameters
5991
+ form_params = {}
5992
+
5993
+ # http body (model)
5994
+ post_body = @api_client.object_to_http_body(opts[:'body'])
5995
+
5996
+ auth_names = ['PureCloud Auth']
5997
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
5998
+ :header_params => header_params,
5999
+ :query_params => query_params,
6000
+ :form_params => form_params,
6001
+ :body => post_body,
6002
+ :auth_names => auth_names,
6003
+ :return_type => 'JsonSchemaDocument')
6004
+ if @api_client.config.debugging
6005
+ @api_client.config.logger.debug "API called: ArchitectApi#put_flows_datatable\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6006
+ end
6007
+ return data, status_code, headers
6008
+ end
6009
+
6010
+ # Update a row entry
6011
+ # Updates a row with the given to the new values.
6012
+ # @param datatable_id id of datatable
6013
+ # @param row_id the key for the row
6014
+ # @param [Hash] opts the optional parameters
6015
+ # @option opts [Object] :body datatable row
6016
+ # @return [Hash<String, Object>]
6017
+ def put_flows_datatable_row(datatable_id, row_id, opts = {})
6018
+ data, _status_code, _headers = put_flows_datatable_row_with_http_info(datatable_id, row_id, opts)
6019
+ return data
6020
+ end
6021
+
6022
+ # Update a row entry
6023
+ # Updates a row with the given to the new values.
6024
+ # @param datatable_id id of datatable
6025
+ # @param row_id the key for the row
6026
+ # @param [Hash] opts the optional parameters
6027
+ # @option opts [Object] :body datatable row
6028
+ # @return [Array<(Hash<String, Object>, Fixnum, Hash)>] Hash<String, Object> data, response status code and response headers
6029
+ def put_flows_datatable_row_with_http_info(datatable_id, row_id, opts = {})
6030
+ if @api_client.config.debugging
6031
+ @api_client.config.logger.debug "Calling API: ArchitectApi.put_flows_datatable_row ..."
6032
+ end
6033
+
6034
+
6035
+ # verify the required parameter 'datatable_id' is set
6036
+ fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.put_flows_datatable_row" if datatable_id.nil?
6037
+
6038
+
6039
+
6040
+
6041
+
6042
+
6043
+ # verify the required parameter 'row_id' is set
6044
+ fail ArgumentError, "Missing the required parameter 'row_id' when calling ArchitectApi.put_flows_datatable_row" if row_id.nil?
6045
+
6046
+
6047
+
6048
+
6049
+
6050
+
6051
+
6052
+
6053
+
6054
+
6055
+
6056
+ # resource path
6057
+ local_var_path = "/api/v2/flows/datatables/{datatableId}/rows/{rowId}".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s).sub('{' + 'rowId' + '}', row_id.to_s)
6058
+
6059
+ # query parameters
6060
+ query_params = {}
6061
+
6062
+ # header parameters
6063
+ header_params = {}
6064
+
6065
+ # HTTP header 'Accept' (if needed)
6066
+ local_header_accept = ['application/json']
6067
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
6068
+
6069
+ # HTTP header 'Content-Type'
6070
+ local_header_content_type = ['application/json']
6071
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
6072
+
6073
+ # form parameters
6074
+ form_params = {}
6075
+
6076
+ # http body (model)
6077
+ post_body = @api_client.object_to_http_body(opts[:'body'])
6078
+
6079
+ auth_names = ['PureCloud Auth']
6080
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
6081
+ :header_params => header_params,
6082
+ :query_params => query_params,
6083
+ :form_params => form_params,
6084
+ :body => post_body,
6085
+ :auth_names => auth_names,
6086
+ :return_type => 'Hash<String, Object>')
6087
+ if @api_client.config.debugging
6088
+ @api_client.config.logger.debug "API called: ArchitectApi#put_flows_datatable_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6089
+ end
6090
+ return data, status_code, headers
6091
+ end
5353
6092
  end
5354
6093
  end