purecloudplatformclientv2 49.0.1 → 50.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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AnalyticsEvaluation.md +1 -0
  4. data/docs/ArchitectApi.md +16 -16
  5. data/docs/ArrayNode.md +5 -5
  6. data/docs/AuthorizationApi.md +67 -0
  7. data/docs/DomainOrganizationRole.md +1 -1
  8. data/docs/DomainOrganizationRoleCreate.md +1 -1
  9. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  10. data/docs/GroupsApi.md +3 -0
  11. data/docs/IntegrationsApi.md +41 -37
  12. data/docs/QualityAudit.md +1 -1
  13. data/docs/RoutingApi.md +8 -2
  14. data/docs/TimeZone.md +2 -2
  15. data/docs/UsersApi.md +4 -2
  16. data/docs/ViewFilter.md +6 -0
  17. data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
  18. data/lib/purecloudplatformclientv2/api/authorization_api.rb +64 -0
  19. data/lib/purecloudplatformclientv2/api/integrations_api.rb +92 -62
  20. data/lib/purecloudplatformclientv2/api/routing_api.rb +18 -0
  21. data/lib/purecloudplatformclientv2/api/users_api.rb +11 -2
  22. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  23. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +27 -1
  24. data/lib/purecloudplatformclientv2/models/analytics_flow.rb +2 -2
  25. data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +2 -2
  26. data/lib/purecloudplatformclientv2/models/array_node.rb +70 -70
  27. data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
  28. data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
  29. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
  30. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
  31. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
  32. data/lib/purecloudplatformclientv2/models/flow.rb +2 -2
  33. data/lib/purecloudplatformclientv2/models/flow_division_view.rb +2 -2
  34. data/lib/purecloudplatformclientv2/models/quality_audit.rb +14 -14
  35. data/lib/purecloudplatformclientv2/models/time_zone.rb +24 -24
  36. data/lib/purecloudplatformclientv2/models/view_filter.rb +166 -4
  37. data/lib/purecloudplatformclientv2/models/voicemail.rb +2 -2
  38. data/lib/purecloudplatformclientv2/version.rb +1 -1
  39. metadata +2 -2
@@ -39,12 +39,18 @@ module PureCloud
39
39
  # The directions are used to filter the view
40
40
  attr_accessor :directions
41
41
 
42
+ # The list of orginating directions used to filter the view
43
+ attr_accessor :originating_directions
44
+
42
45
  # The wrap up codes are used to filter the view
43
46
  attr_accessor :wrap_up_codes
44
47
 
45
48
  # The dnis list is used to filter the view
46
49
  attr_accessor :dnis_list
47
50
 
51
+ # The list of session dnis used to filter the view
52
+ attr_accessor :session_dnis_list
53
+
48
54
  # The user ids are used to fetch associated queues for the view
49
55
  attr_accessor :filter_queues_by_user_ids
50
56
 
@@ -207,9 +213,21 @@ module PureCloud
207
213
  # A list of reasons of flow entry
208
214
  attr_accessor :flow_entry_reasons
209
215
 
216
+ # A list of versions of a flow
217
+ attr_accessor :flow_versions
218
+
210
219
  # A list of directory group ids
211
220
  attr_accessor :group_ids
212
221
 
222
+ # Indicates filtering for journey customer id
223
+ attr_accessor :has_journey_customer_id
224
+
225
+ # Indicates filtering for Journey action map id
226
+ attr_accessor :has_journey_action_map_id
227
+
228
+ # Indicates filtering for Journey visit id
229
+ attr_accessor :has_journey_visit_id
230
+
213
231
  # Attribute mapping from ruby-style variable name to JSON key.
214
232
  def self.attribute_map
215
233
  {
@@ -228,10 +246,14 @@ module PureCloud
228
246
 
229
247
  :'directions' => :'directions',
230
248
 
249
+ :'originating_directions' => :'originatingDirections',
250
+
231
251
  :'wrap_up_codes' => :'wrapUpCodes',
232
252
 
233
253
  :'dnis_list' => :'dnisList',
234
254
 
255
+ :'session_dnis_list' => :'sessionDnisList',
256
+
235
257
  :'filter_queues_by_user_ids' => :'filterQueuesByUserIds',
236
258
 
237
259
  :'filter_users_by_queue_ids' => :'filterUsersByQueueIds',
@@ -340,7 +362,15 @@ module PureCloud
340
362
 
341
363
  :'flow_entry_reasons' => :'flowEntryReasons',
342
364
 
343
- :'group_ids' => :'groupIds'
365
+ :'flow_versions' => :'flowVersions',
366
+
367
+ :'group_ids' => :'groupIds',
368
+
369
+ :'has_journey_customer_id' => :'hasJourneyCustomerId',
370
+
371
+ :'has_journey_action_map_id' => :'hasJourneyActionMapId',
372
+
373
+ :'has_journey_visit_id' => :'hasJourneyVisitId'
344
374
 
345
375
  }
346
376
  end
@@ -363,10 +393,14 @@ module PureCloud
363
393
 
364
394
  :'directions' => :'Array<String>',
365
395
 
396
+ :'originating_directions' => :'Array<String>',
397
+
366
398
  :'wrap_up_codes' => :'Array<String>',
367
399
 
368
400
  :'dnis_list' => :'Array<String>',
369
401
 
402
+ :'session_dnis_list' => :'Array<String>',
403
+
370
404
  :'filter_queues_by_user_ids' => :'Array<String>',
371
405
 
372
406
  :'filter_users_by_queue_ids' => :'Array<String>',
@@ -475,7 +509,15 @@ module PureCloud
475
509
 
476
510
  :'flow_entry_reasons' => :'Array<String>',
477
511
 
478
- :'group_ids' => :'Array<String>'
512
+ :'flow_versions' => :'Array<String>',
513
+
514
+ :'group_ids' => :'Array<String>',
515
+
516
+ :'has_journey_customer_id' => :'BOOLEAN',
517
+
518
+ :'has_journey_action_map_id' => :'BOOLEAN',
519
+
520
+ :'has_journey_visit_id' => :'BOOLEAN'
479
521
 
480
522
  }
481
523
  end
@@ -563,6 +605,17 @@ module PureCloud
563
605
 
564
606
 
565
607
 
608
+ end
609
+
610
+
611
+ if attributes.has_key?(:'originatingDirections')
612
+
613
+ if (value = attributes[:'originatingDirections']).is_a?(Array)
614
+ self.originating_directions = value
615
+ end
616
+
617
+
618
+
566
619
  end
567
620
 
568
621
 
@@ -585,6 +638,17 @@ module PureCloud
585
638
 
586
639
 
587
640
 
641
+ end
642
+
643
+
644
+ if attributes.has_key?(:'sessionDnisList')
645
+
646
+ if (value = attributes[:'sessionDnisList']).is_a?(Array)
647
+ self.session_dnis_list = value
648
+ end
649
+
650
+
651
+
588
652
  end
589
653
 
590
654
 
@@ -1137,6 +1201,17 @@ module PureCloud
1137
1201
 
1138
1202
 
1139
1203
 
1204
+ end
1205
+
1206
+
1207
+ if attributes.has_key?(:'flowVersions')
1208
+
1209
+ if (value = attributes[:'flowVersions']).is_a?(Array)
1210
+ self.flow_versions = value
1211
+ end
1212
+
1213
+
1214
+
1140
1215
  end
1141
1216
 
1142
1217
 
@@ -1151,6 +1226,33 @@ module PureCloud
1151
1226
  end
1152
1227
 
1153
1228
 
1229
+ if attributes.has_key?(:'hasJourneyCustomerId')
1230
+
1231
+
1232
+ self.has_journey_customer_id = attributes[:'hasJourneyCustomerId']
1233
+
1234
+
1235
+ end
1236
+
1237
+
1238
+ if attributes.has_key?(:'hasJourneyActionMapId')
1239
+
1240
+
1241
+ self.has_journey_action_map_id = attributes[:'hasJourneyActionMapId']
1242
+
1243
+
1244
+ end
1245
+
1246
+
1247
+ if attributes.has_key?(:'hasJourneyVisitId')
1248
+
1249
+
1250
+ self.has_journey_visit_id = attributes[:'hasJourneyVisitId']
1251
+
1252
+
1253
+ end
1254
+
1255
+
1154
1256
  end
1155
1257
 
1156
1258
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -1287,6 +1389,14 @@ module PureCloud
1287
1389
 
1288
1390
 
1289
1391
 
1392
+
1393
+
1394
+
1395
+
1396
+
1397
+
1398
+
1399
+
1290
1400
 
1291
1401
 
1292
1402
 
@@ -1420,6 +1530,22 @@ module PureCloud
1420
1530
 
1421
1531
 
1422
1532
 
1533
+
1534
+
1535
+
1536
+
1537
+
1538
+
1539
+
1540
+
1541
+
1542
+
1543
+
1544
+
1545
+
1546
+
1547
+
1548
+
1423
1549
 
1424
1550
 
1425
1551
 
@@ -1590,6 +1716,16 @@ module PureCloud
1590
1716
 
1591
1717
 
1592
1718
 
1719
+
1720
+
1721
+
1722
+
1723
+
1724
+
1725
+
1726
+
1727
+
1728
+
1593
1729
 
1594
1730
 
1595
1731
 
@@ -1766,6 +1902,26 @@ module PureCloud
1766
1902
 
1767
1903
 
1768
1904
 
1905
+
1906
+
1907
+
1908
+
1909
+
1910
+
1911
+
1912
+
1913
+
1914
+
1915
+
1916
+
1917
+
1918
+
1919
+
1920
+
1921
+
1922
+
1923
+
1924
+
1769
1925
 
1770
1926
 
1771
1927
 
@@ -1799,8 +1955,10 @@ module PureCloud
1799
1955
  language_ids == o.language_ids &&
1800
1956
  language_groups == o.language_groups &&
1801
1957
  directions == o.directions &&
1958
+ originating_directions == o.originating_directions &&
1802
1959
  wrap_up_codes == o.wrap_up_codes &&
1803
1960
  dnis_list == o.dnis_list &&
1961
+ session_dnis_list == o.session_dnis_list &&
1804
1962
  filter_queues_by_user_ids == o.filter_queues_by_user_ids &&
1805
1963
  filter_users_by_queue_ids == o.filter_users_by_queue_ids &&
1806
1964
  user_ids == o.user_ids &&
@@ -1855,7 +2013,11 @@ module PureCloud
1855
2013
  flow_types == o.flow_types &&
1856
2014
  flow_entry_types == o.flow_entry_types &&
1857
2015
  flow_entry_reasons == o.flow_entry_reasons &&
1858
- group_ids == o.group_ids
2016
+ flow_versions == o.flow_versions &&
2017
+ group_ids == o.group_ids &&
2018
+ has_journey_customer_id == o.has_journey_customer_id &&
2019
+ has_journey_action_map_id == o.has_journey_action_map_id &&
2020
+ has_journey_visit_id == o.has_journey_visit_id
1859
2021
  end
1860
2022
 
1861
2023
  # @see the `==` method
@@ -1867,7 +2029,7 @@ module PureCloud
1867
2029
  # Calculates hash code according to all attributes.
1868
2030
  # @return [Fixnum] Hash code
1869
2031
  def hash
1870
- [media_types, queue_ids, skill_ids, skill_groups, language_ids, language_groups, directions, wrap_up_codes, dnis_list, filter_queues_by_user_ids, filter_users_by_queue_ids, user_ids, address_tos, address_froms, outbound_campaign_ids, outbound_contact_list_ids, contact_ids, ani_list, durations_milliseconds, evaluation_score, evaluation_critical_score, evaluation_form_ids, evaluated_agent_ids, evaluator_ids, transferred, abandoned, message_types, division_ids, survey_form_ids, survey_total_score, survey_nps_score, show_secondary_status, agent_duration_sort_order, waiting_duration_sort_order, interacting_duration_sort_order, agent_name, skills_list, language_list, mos, survey_question_group_score, survey_promoter_score, survey_form_context_ids, conversation_ids, is_ended, is_surveyed, survey_scores, promoter_scores, is_campaign, survey_statuses, conversation_properties, is_blind_transferred, is_consulted, is_consult_transferred, remote_participants, status_list, flow_ids, flow_outcome_ids, flow_outcome_values, flow_destination_types, flow_disconnect_reasons, flow_types, flow_entry_types, flow_entry_reasons, group_ids].hash
2032
+ [media_types, queue_ids, skill_ids, skill_groups, language_ids, language_groups, directions, originating_directions, wrap_up_codes, dnis_list, session_dnis_list, filter_queues_by_user_ids, filter_users_by_queue_ids, user_ids, address_tos, address_froms, outbound_campaign_ids, outbound_contact_list_ids, contact_ids, ani_list, durations_milliseconds, evaluation_score, evaluation_critical_score, evaluation_form_ids, evaluated_agent_ids, evaluator_ids, transferred, abandoned, message_types, division_ids, survey_form_ids, survey_total_score, survey_nps_score, show_secondary_status, agent_duration_sort_order, waiting_duration_sort_order, interacting_duration_sort_order, agent_name, skills_list, language_list, mos, survey_question_group_score, survey_promoter_score, survey_form_context_ids, conversation_ids, is_ended, is_surveyed, survey_scores, promoter_scores, is_campaign, survey_statuses, conversation_properties, is_blind_transferred, is_consulted, is_consult_transferred, remote_participants, status_list, flow_ids, flow_outcome_ids, flow_outcome_values, flow_destination_types, flow_disconnect_reasons, flow_types, flow_entry_types, flow_entry_reasons, flow_versions, group_ids, has_journey_customer_id, has_journey_action_map_id, has_journey_visit_id].hash
1871
2033
  end
1872
2034
 
1873
2035
  # build the object from hash
@@ -94,7 +94,7 @@ module PureCloud
94
94
 
95
95
 
96
96
 
97
- allowed_values = ["pending", "complete", "failed", "timeout"]
97
+ allowed_values = ["pending", "complete", "failed", "timeout", "none"]
98
98
  if @upload_status && !allowed_values.include?(@upload_status)
99
99
  return false
100
100
  end
@@ -113,7 +113,7 @@ module PureCloud
113
113
  # Custom attribute writer method checking allowed values (enum).
114
114
  # @param [Object] upload_status Object to be assigned
115
115
  def upload_status=(upload_status)
116
- allowed_values = ["pending", "complete", "failed", "timeout"]
116
+ allowed_values = ["pending", "complete", "failed", "timeout", "none"]
117
117
  if upload_status && !allowed_values.include?(upload_status)
118
118
  fail ArgumentError, "invalid value for 'upload_status', must be one of #{allowed_values}."
119
119
  end
@@ -15,5 +15,5 @@ Terms of Service: https://developer.mypurecloud.com/tos
15
15
  =end
16
16
 
17
17
  module PureCloud
18
- VERSION = "49.0.1"
18
+ VERSION = "50.0.0"
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: purecloudplatformclientv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 49.0.1
4
+ version: 50.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genesys Developer Evangelists
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-06 00:00:00.000000000 Z
11
+ date: 2019-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus