purecloudplatformclientv2 48.2.0 → 49.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 (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AnalyticsFlow.md +2 -0
  4. data/docs/AnalyticsSession.md +7 -0
  5. data/docs/AuthorizationApi.md +1 -2
  6. data/docs/ExternalContact.md +1 -0
  7. data/docs/LocationDefinition.md +1 -1
  8. data/docs/LocationUpdateDefinition.md +19 -0
  9. data/docs/LocationsApi.md +202 -0
  10. data/docs/OAuthClient.md +1 -0
  11. data/docs/OAuthClientListing.md +1 -0
  12. data/docs/ObjectsApi.md +1 -2
  13. data/docs/OrgOAuthClient.md +1 -0
  14. data/docs/RoleDivision.md +14 -0
  15. data/docs/ViewFilter.md +9 -0
  16. data/docs/WebChatDeployment.md +1 -0
  17. data/docs/WhatsAppId.md +14 -0
  18. data/lib/purecloudplatformclientv2.rb +3 -3
  19. data/lib/purecloudplatformclientv2/api/locations_api.rb +213 -0
  20. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  21. data/lib/purecloudplatformclientv2/models/analytics_flow.rb +67 -1
  22. data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +2 -2
  23. data/lib/purecloudplatformclientv2/models/analytics_session.rb +186 -4
  24. data/lib/purecloudplatformclientv2/models/external_contact.rb +26 -1
  25. data/lib/purecloudplatformclientv2/models/location_definition.rb +6 -0
  26. data/lib/purecloudplatformclientv2/models/{attribute_entity_listing.rb → location_update_definition.rb} +62 -121
  27. data/lib/purecloudplatformclientv2/models/o_auth_client.rb +29 -1
  28. data/lib/purecloudplatformclientv2/models/o_auth_client_listing.rb +29 -1
  29. data/lib/purecloudplatformclientv2/models/org_o_auth_client.rb +29 -1
  30. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +2 -2
  31. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +2 -2
  32. data/lib/purecloudplatformclientv2/models/{attribute_query_request.rb → role_division.rb} +24 -41
  33. data/lib/purecloudplatformclientv2/models/subject_division_grants.rb +2 -2
  34. data/lib/purecloudplatformclientv2/models/view_filter.rb +256 -4
  35. data/lib/purecloudplatformclientv2/models/web_chat_deployment.rb +28 -1
  36. data/lib/purecloudplatformclientv2/models/whats_app_id.rb +229 -0
  37. data/lib/purecloudplatformclientv2/version.rb +1 -1
  38. metadata +8 -8
  39. data/docs/AttributeEntityListing.md +0 -22
  40. data/docs/AttributeQueryRequest.md +0 -15
  41. data/docs/AttributesApi.md +0 -407
  42. data/lib/purecloudplatformclientv2/api/attributes_api.rb +0 -434
@@ -24,6 +24,70 @@ module PureCloud
24
24
  @api_client = api_client
25
25
  end
26
26
 
27
+ # Delete a location
28
+ #
29
+ # @param location_id Location ID
30
+ # @param [Hash] opts the optional parameters
31
+ # @return [nil]
32
+ def delete_location(location_id, opts = {})
33
+ delete_location_with_http_info(location_id, opts)
34
+ return nil
35
+ end
36
+
37
+ # Delete a location
38
+ #
39
+ # @param location_id Location ID
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
42
+ def delete_location_with_http_info(location_id, opts = {})
43
+ if @api_client.config.debugging
44
+ @api_client.config.logger.debug "Calling API: LocationsApi.delete_location ..."
45
+ end
46
+
47
+
48
+ # verify the required parameter 'location_id' is set
49
+ fail ArgumentError, "Missing the required parameter 'location_id' when calling LocationsApi.delete_location" if location_id.nil?
50
+
51
+
52
+
53
+
54
+
55
+ # resource path
56
+ local_var_path = "/api/v2/locations/{locationId}".sub('{format}','json').sub('{' + 'locationId' + '}', location_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 OAuth']
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: LocationsApi#delete_location\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ end
88
+ return data, status_code, headers
89
+ end
90
+
27
91
  # Get Location by ID.
28
92
  #
29
93
  # @param location_id Location ID
@@ -94,6 +158,7 @@ module PureCloud
94
158
  # @param [Hash] opts the optional parameters
95
159
  # @option opts [Integer] :page_size Page size (default to 25)
96
160
  # @option opts [Integer] :page_number Page number (default to 1)
161
+ # @option opts [Array<String>] :id id
97
162
  # @option opts [String] :sort_order Sort order
98
163
  # @return [LocationEntityListing]
99
164
  def get_locations(opts = {})
@@ -106,6 +171,7 @@ module PureCloud
106
171
  # @param [Hash] opts the optional parameters
107
172
  # @option opts [Integer] :page_size Page size
108
173
  # @option opts [Integer] :page_number Page number
174
+ # @option opts [Array<String>] :id id
109
175
  # @option opts [String] :sort_order Sort order
110
176
  # @return [Array<(LocationEntityListing, Fixnum, Hash)>] LocationEntityListing data, response status code and response headers
111
177
  def get_locations_with_http_info(opts = {})
@@ -126,6 +192,12 @@ module PureCloud
126
192
 
127
193
 
128
194
 
195
+
196
+
197
+
198
+
199
+
200
+
129
201
 
130
202
 
131
203
  if opts[:'sort_order'] && !['asc', 'desc'].include?(opts[:'sort_order'])
@@ -142,6 +214,7 @@ module PureCloud
142
214
  query_params = {}
143
215
  query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
144
216
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
217
+ query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
145
218
  query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
146
219
 
147
220
  # header parameters
@@ -250,6 +323,146 @@ module PureCloud
250
323
  return data, status_code, headers
251
324
  end
252
325
 
326
+ # Update a location
327
+ #
328
+ # @param location_id Location ID
329
+ # @param body Location
330
+ # @param [Hash] opts the optional parameters
331
+ # @return [LocationDefinition]
332
+ def patch_location(location_id, body, opts = {})
333
+ data, _status_code, _headers = patch_location_with_http_info(location_id, body, opts)
334
+ return data
335
+ end
336
+
337
+ # Update a location
338
+ #
339
+ # @param location_id Location ID
340
+ # @param body Location
341
+ # @param [Hash] opts the optional parameters
342
+ # @return [Array<(LocationDefinition, Fixnum, Hash)>] LocationDefinition data, response status code and response headers
343
+ def patch_location_with_http_info(location_id, body, opts = {})
344
+ if @api_client.config.debugging
345
+ @api_client.config.logger.debug "Calling API: LocationsApi.patch_location ..."
346
+ end
347
+
348
+
349
+ # verify the required parameter 'location_id' is set
350
+ fail ArgumentError, "Missing the required parameter 'location_id' when calling LocationsApi.patch_location" if location_id.nil?
351
+
352
+
353
+
354
+
355
+
356
+
357
+ # verify the required parameter 'body' is set
358
+ fail ArgumentError, "Missing the required parameter 'body' when calling LocationsApi.patch_location" if body.nil?
359
+
360
+
361
+
362
+
363
+
364
+ # resource path
365
+ local_var_path = "/api/v2/locations/{locationId}".sub('{format}','json').sub('{' + 'locationId' + '}', location_id.to_s)
366
+
367
+ # query parameters
368
+ query_params = {}
369
+
370
+ # header parameters
371
+ header_params = {}
372
+
373
+ # HTTP header 'Accept' (if needed)
374
+ local_header_accept = ['application/json']
375
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
376
+
377
+ # HTTP header 'Content-Type'
378
+ local_header_content_type = ['application/json']
379
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
380
+
381
+ # form parameters
382
+ form_params = {}
383
+
384
+ # http body (model)
385
+ post_body = @api_client.object_to_http_body(body)
386
+
387
+ auth_names = ['PureCloud OAuth']
388
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
389
+ :header_params => header_params,
390
+ :query_params => query_params,
391
+ :form_params => form_params,
392
+ :body => post_body,
393
+ :auth_names => auth_names,
394
+ :return_type => 'LocationDefinition')
395
+ if @api_client.config.debugging
396
+ @api_client.config.logger.debug "API called: LocationsApi#patch_location\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
397
+ end
398
+ return data, status_code, headers
399
+ end
400
+
401
+ # Create a location
402
+ #
403
+ # @param body Location
404
+ # @param [Hash] opts the optional parameters
405
+ # @return [LocationDefinition]
406
+ def post_locations(body, opts = {})
407
+ data, _status_code, _headers = post_locations_with_http_info(body, opts)
408
+ return data
409
+ end
410
+
411
+ # Create a location
412
+ #
413
+ # @param body Location
414
+ # @param [Hash] opts the optional parameters
415
+ # @return [Array<(LocationDefinition, Fixnum, Hash)>] LocationDefinition data, response status code and response headers
416
+ def post_locations_with_http_info(body, opts = {})
417
+ if @api_client.config.debugging
418
+ @api_client.config.logger.debug "Calling API: LocationsApi.post_locations ..."
419
+ end
420
+
421
+
422
+ # verify the required parameter 'body' is set
423
+ fail ArgumentError, "Missing the required parameter 'body' when calling LocationsApi.post_locations" if body.nil?
424
+
425
+
426
+
427
+
428
+
429
+ # resource path
430
+ local_var_path = "/api/v2/locations".sub('{format}','json')
431
+
432
+ # query parameters
433
+ query_params = {}
434
+
435
+ # header parameters
436
+ header_params = {}
437
+
438
+ # HTTP header 'Accept' (if needed)
439
+ local_header_accept = ['application/json']
440
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
441
+
442
+ # HTTP header 'Content-Type'
443
+ local_header_content_type = ['application/json']
444
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
445
+
446
+ # form parameters
447
+ form_params = {}
448
+
449
+ # http body (model)
450
+ post_body = @api_client.object_to_http_body(body)
451
+
452
+ auth_names = ['PureCloud OAuth']
453
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
454
+ :header_params => header_params,
455
+ :query_params => query_params,
456
+ :form_params => form_params,
457
+ :body => post_body,
458
+ :auth_names => auth_names,
459
+ :return_type => 'LocationDefinition')
460
+ if @api_client.config.debugging
461
+ @api_client.config.logger.debug "API called: LocationsApi#post_locations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
462
+ end
463
+ return data, status_code, headers
464
+ end
465
+
253
466
  # Search locations
254
467
  #
255
468
  # @param body Search request options
@@ -76,7 +76,7 @@ module PureCloud
76
76
  http_method = http_method.to_sym.downcase
77
77
 
78
78
  header_params = @default_headers.merge(opts[:header_params] || {})
79
- header_params['purecloud-sdk'] = '48.2.0'
79
+ header_params['purecloud-sdk'] = '49.0.0'
80
80
  query_params = opts[:query_params] || {}
81
81
  form_params = opts[:form_params] || {}
82
82
 
@@ -33,6 +33,12 @@ module PureCloud
33
33
  # The exit reason for this flow, e.g. DISCONNECT
34
34
  attr_accessor :exit_reason
35
35
 
36
+ # The particular entry reason for this flow, e.g. an address, userId, or flowId
37
+ attr_accessor :entry_reason
38
+
39
+ # The entry type for this flow
40
+ attr_accessor :entry_type
41
+
36
42
  # The type of transfer for flows that ended with a transfer
37
43
  attr_accessor :transfer_type
38
44
 
@@ -68,6 +74,10 @@ module PureCloud
68
74
 
69
75
  :'exit_reason' => :'exitReason',
70
76
 
77
+ :'entry_reason' => :'entryReason',
78
+
79
+ :'entry_type' => :'entryType',
80
+
71
81
  :'transfer_type' => :'transferType',
72
82
 
73
83
  :'transfer_target_name' => :'transferTargetName',
@@ -99,6 +109,10 @@ module PureCloud
99
109
 
100
110
  :'exit_reason' => :'String',
101
111
 
112
+ :'entry_reason' => :'String',
113
+
114
+ :'entry_type' => :'String',
115
+
102
116
  :'transfer_type' => :'String',
103
117
 
104
118
  :'transfer_target_name' => :'String',
@@ -170,6 +184,24 @@ module PureCloud
170
184
  end
171
185
 
172
186
 
187
+ if attributes.has_key?(:'entryReason')
188
+
189
+
190
+ self.entry_reason = attributes[:'entryReason']
191
+
192
+
193
+ end
194
+
195
+
196
+ if attributes.has_key?(:'entryType')
197
+
198
+
199
+ self.entry_type = attributes[:'entryType']
200
+
201
+
202
+ end
203
+
204
+
173
205
  if attributes.has_key?(:'transferType')
174
206
 
175
207
 
@@ -281,6 +313,19 @@ module PureCloud
281
313
 
282
314
 
283
315
 
316
+ allowed_values = ["dnis", "direct", "flow", "agent", "outbound"]
317
+ if @entry_type && !allowed_values.include?(@entry_type)
318
+ return false
319
+ end
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
284
329
 
285
330
 
286
331
 
@@ -346,6 +391,25 @@ module PureCloud
346
391
 
347
392
 
348
393
 
394
+ # Custom attribute writer method checking allowed values (enum).
395
+ # @param [Object] entry_type Object to be assigned
396
+ def entry_type=(entry_type)
397
+ allowed_values = ["dnis", "direct", "flow", "agent", "outbound"]
398
+ if entry_type && !allowed_values.include?(entry_type)
399
+ fail ArgumentError, "invalid value for 'entry_type', must be one of #{allowed_values}."
400
+ end
401
+ @entry_type = entry_type
402
+ end
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
349
413
 
350
414
 
351
415
 
@@ -385,6 +449,8 @@ module PureCloud
385
449
  flow_version == o.flow_version &&
386
450
  flow_type == o.flow_type &&
387
451
  exit_reason == o.exit_reason &&
452
+ entry_reason == o.entry_reason &&
453
+ entry_type == o.entry_type &&
388
454
  transfer_type == o.transfer_type &&
389
455
  transfer_target_name == o.transfer_target_name &&
390
456
  transfer_target_address == o.transfer_target_address &&
@@ -403,7 +469,7 @@ module PureCloud
403
469
  # Calculates hash code according to all attributes.
404
470
  # @return [Fixnum] Hash code
405
471
  def hash
406
- [flow_id, flow_name, flow_version, flow_type, exit_reason, transfer_type, transfer_target_name, transfer_target_address, issued_callback, starting_language, ending_language, outcomes].hash
472
+ [flow_id, flow_name, flow_version, flow_type, exit_reason, entry_reason, entry_type, transfer_type, transfer_target_name, transfer_target_address, issued_callback, starting_language, ending_language, outcomes].hash
407
473
  end
408
474
 
409
475
  # build the object from hash
@@ -195,7 +195,7 @@ module PureCloud
195
195
 
196
196
 
197
197
 
198
- allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "originatingDirection", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "sessionDnis", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
198
+ allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "originatingDirection", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "sessionDnis", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "entryReason", "entryType", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "journeyCustomerId", "journeyCustomerIdType", "journeyCustomerSessionId", "journeyCustomerSessionIdType", "journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
199
199
  if @dimension && !allowed_values.include?(@dimension)
200
200
  return false
201
201
  end
@@ -262,7 +262,7 @@ module PureCloud
262
262
  # Custom attribute writer method checking allowed values (enum).
263
263
  # @param [Object] dimension Object to be assigned
264
264
  def dimension=(dimension)
265
- allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "originatingDirection", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "sessionDnis", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
265
+ allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "originatingDirection", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "sessionDnis", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "entryReason", "entryType", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "journeyCustomerId", "journeyCustomerIdType", "journeyCustomerSessionId", "journeyCustomerSessionIdType", "journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
266
266
  if dimension && !allowed_values.include?(dimension)
267
267
  fail ArgumentError, "invalid value for 'dimension', must be one of #{allowed_values}."
268
268
  end
@@ -134,6 +134,27 @@ module PureCloud
134
134
  # Flag determining if an audio recording was started or not
135
135
  attr_accessor :recording
136
136
 
137
+ # ID of the journey customer
138
+ attr_accessor :journey_customer_id
139
+
140
+ # Type of the journey customer ID
141
+ attr_accessor :journey_customer_id_type
142
+
143
+ # ID of the journey customer session
144
+ attr_accessor :journey_customer_session_id
145
+
146
+ # Type of the journey customer session ID
147
+ attr_accessor :journey_customer_session_id_type
148
+
149
+ # Journey action ID
150
+ attr_accessor :journey_action_id
151
+
152
+ # Journey action map ID
153
+ attr_accessor :journey_action_map_id
154
+
155
+ # Journey action map version
156
+ attr_accessor :journey_action_map_version
157
+
137
158
  # Attribute mapping from ruby-style variable name to JSON key.
138
159
  def self.attribute_map
139
160
  {
@@ -218,7 +239,21 @@ module PureCloud
218
239
 
219
240
  :'media_endpoint_stats' => :'mediaEndpointStats',
220
241
 
221
- :'recording' => :'recording'
242
+ :'recording' => :'recording',
243
+
244
+ :'journey_customer_id' => :'journeyCustomerId',
245
+
246
+ :'journey_customer_id_type' => :'journeyCustomerIdType',
247
+
248
+ :'journey_customer_session_id' => :'journeyCustomerSessionId',
249
+
250
+ :'journey_customer_session_id_type' => :'journeyCustomerSessionIdType',
251
+
252
+ :'journey_action_id' => :'journeyActionId',
253
+
254
+ :'journey_action_map_id' => :'journeyActionMapId',
255
+
256
+ :'journey_action_map_version' => :'journeyActionMapVersion'
222
257
 
223
258
  }
224
259
  end
@@ -307,7 +342,21 @@ module PureCloud
307
342
 
308
343
  :'media_endpoint_stats' => :'Array<AnalyticsMediaEndpointStat>',
309
344
 
310
- :'recording' => :'BOOLEAN'
345
+ :'recording' => :'BOOLEAN',
346
+
347
+ :'journey_customer_id' => :'String',
348
+
349
+ :'journey_customer_id_type' => :'String',
350
+
351
+ :'journey_customer_session_id' => :'String',
352
+
353
+ :'journey_customer_session_id_type' => :'String',
354
+
355
+ :'journey_action_id' => :'String',
356
+
357
+ :'journey_action_map_id' => :'String',
358
+
359
+ :'journey_action_map_version' => :'String'
311
360
 
312
361
  }
313
362
  end
@@ -698,6 +747,69 @@ module PureCloud
698
747
  end
699
748
 
700
749
 
750
+ if attributes.has_key?(:'journeyCustomerId')
751
+
752
+
753
+ self.journey_customer_id = attributes[:'journeyCustomerId']
754
+
755
+
756
+ end
757
+
758
+
759
+ if attributes.has_key?(:'journeyCustomerIdType')
760
+
761
+
762
+ self.journey_customer_id_type = attributes[:'journeyCustomerIdType']
763
+
764
+
765
+ end
766
+
767
+
768
+ if attributes.has_key?(:'journeyCustomerSessionId')
769
+
770
+
771
+ self.journey_customer_session_id = attributes[:'journeyCustomerSessionId']
772
+
773
+
774
+ end
775
+
776
+
777
+ if attributes.has_key?(:'journeyCustomerSessionIdType')
778
+
779
+
780
+ self.journey_customer_session_id_type = attributes[:'journeyCustomerSessionIdType']
781
+
782
+
783
+ end
784
+
785
+
786
+ if attributes.has_key?(:'journeyActionId')
787
+
788
+
789
+ self.journey_action_id = attributes[:'journeyActionId']
790
+
791
+
792
+ end
793
+
794
+
795
+ if attributes.has_key?(:'journeyActionMapId')
796
+
797
+
798
+ self.journey_action_map_id = attributes[:'journeyActionMapId']
799
+
800
+
801
+ end
802
+
803
+
804
+ if attributes.has_key?(:'journeyActionMapVersion')
805
+
806
+
807
+ self.journey_action_map_version = attributes[:'journeyActionMapVersion']
808
+
809
+
810
+ end
811
+
812
+
701
813
  end
702
814
 
703
815
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -871,6 +983,34 @@ module PureCloud
871
983
 
872
984
 
873
985
 
986
+
987
+
988
+
989
+
990
+
991
+
992
+
993
+
994
+
995
+
996
+
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+
1013
+
874
1014
 
875
1015
 
876
1016
 
@@ -1106,6 +1246,41 @@ module PureCloud
1106
1246
 
1107
1247
 
1108
1248
 
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+
1258
+
1259
+
1260
+
1261
+
1262
+
1263
+
1264
+
1265
+
1266
+
1267
+
1268
+
1269
+
1270
+
1271
+
1272
+
1273
+
1274
+
1275
+
1276
+
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1109
1284
 
1110
1285
 
1111
1286
 
@@ -1172,7 +1347,14 @@ module PureCloud
1172
1347
  metrics == o.metrics &&
1173
1348
  flow == o.flow &&
1174
1349
  media_endpoint_stats == o.media_endpoint_stats &&
1175
- recording == o.recording
1350
+ recording == o.recording &&
1351
+ journey_customer_id == o.journey_customer_id &&
1352
+ journey_customer_id_type == o.journey_customer_id_type &&
1353
+ journey_customer_session_id == o.journey_customer_session_id &&
1354
+ journey_customer_session_id_type == o.journey_customer_session_id_type &&
1355
+ journey_action_id == o.journey_action_id &&
1356
+ journey_action_map_id == o.journey_action_map_id &&
1357
+ journey_action_map_version == o.journey_action_map_version
1176
1358
  end
1177
1359
 
1178
1360
  # @see the `==` method
@@ -1184,7 +1366,7 @@ module PureCloud
1184
1366
  # Calculates hash code according to all attributes.
1185
1367
  # @return [Fixnum] Hash code
1186
1368
  def hash
1187
- [media_type, session_id, address_other, address_self, address_from, address_to, message_type, ani, direction, dnis, session_dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, callback_user_name, callback_numbers, callback_scheduled_time, script_id, peer_id, skip_enabled, timeout_seconds, cobrowse_role, cobrowse_room_id, media_bridge_id, screen_share_address_self, sharing_screen, screen_share_room_id, video_room_id, video_address_self, segments, metrics, flow, media_endpoint_stats, recording].hash
1369
+ [media_type, session_id, address_other, address_self, address_from, address_to, message_type, ani, direction, dnis, session_dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, callback_user_name, callback_numbers, callback_scheduled_time, script_id, peer_id, skip_enabled, timeout_seconds, cobrowse_role, cobrowse_room_id, media_bridge_id, screen_share_address_self, sharing_screen, screen_share_room_id, video_room_id, video_address_self, segments, metrics, flow, media_endpoint_stats, recording, journey_customer_id, journey_customer_id_type, journey_customer_session_id, journey_customer_session_id_type, journey_action_id, journey_action_map_id, journey_action_map_version].hash
1188
1370
  end
1189
1371
 
1190
1372
  # build the object from hash