purecloudplatformclientv2 77.0.0 → 78.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb14fd6936d2e035b052216bb6b6ac848eb0f06b
4
- data.tar.gz: 84a02c632b7930d1c3de18ae3d8f545f10488549
3
+ metadata.gz: 0ae13664fa6acc35c58fb8bddc1f71c98af83ab7
4
+ data.tar.gz: dbbf89e715e8bbc71a6271657719435e26cdf693
5
5
  SHA512:
6
- metadata.gz: 386ad4b7719089858fefa16cf32b68f1db23d5aea1f042f10120f1c5f1123204a91995ad32fc2557ea313bad370a0d25a552f661137634ab48df75fe56e56402
7
- data.tar.gz: c2be8984425d8fdf66d3a594d4f1d844034e9221ce64268875b8879668e86aaa82a5454b45e4ea317d485e9f2862d96c4bbd9e09daf2bb275cdb927b6a53e5b8
6
+ metadata.gz: e0af709f32b57c998863028dbf5387d05dae9131c9d8f43b4d97cf8f40ea908ceb51c80841befe344057cd9261e2e6543c38be2801b725ca694ba4420450684d
7
+ data.tar.gz: 0451b58785fd41ab2a0ad827ebd781bb355405cf9a6f92258b2f7141f6afe2e676be9c79394190a378d706bf8eca1cfb7885a62e1a58a99f2dce4e88a5eca3ec
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: PureCloud Ruby Gem
3
3
  ---
4
- ![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=77.0.0)
4
+ ![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=78.0.0)
5
5
 
6
6
  Documentation can be found at [https://developer.mypurecloud.com/api/rest/client-libraries/ruby/](https://developer.mypurecloud.com/api/rest/client-libraries/ruby/)
7
7
 
@@ -10,7 +10,7 @@ Documentation can be found at [https://developer.mypurecloud.com/api/rest/client
10
10
  ### from rubygems.org
11
11
 
12
12
  ```{"language":"ruby"}
13
- gem install 'purecloudplatformclientv2', '~> 77.0.0'
13
+ gem install 'purecloudplatformclientv2', '~> 78.0.0'
14
14
  ```
15
15
 
16
16
  ### Install from Git
@@ -471,7 +471,8 @@ api_instance = PureCloud::AnalyticsApi.new
471
471
  job_id = "job_id_example" # String | jobId
472
472
 
473
473
  opts = {
474
- cursor: "cursor_example" # String | Indicates where to resume query results (not required for first page)
474
+ cursor: "cursor_example", # String | Indicates where to resume query results (not required for first page)
475
+ page_size: 56 # Integer | The desired maximum number of results
475
476
  }
476
477
 
477
478
  begin
@@ -489,6 +490,7 @@ Name | Type | Description | Notes
489
490
  ------------- | ------------- | ------------- | -------------
490
491
  **job_id** | **String**| jobId | |
491
492
  **cursor** | **String**| Indicates where to resume query results (not required for first page) | [optional] |
493
+ **page_size** | **Integer**| The desired maximum number of results | [optional] |
492
494
  {: class="table table-striped"}
493
495
 
494
496
 
@@ -1310,7 +1312,8 @@ api_instance = PureCloud::AnalyticsApi.new
1310
1312
  job_id = "job_id_example" # String | jobId
1311
1313
 
1312
1314
  opts = {
1313
- cursor: "cursor_example" # String | Indicates where to resume query results (not required for first page)
1315
+ cursor: "cursor_example", # String | Indicates where to resume query results (not required for first page)
1316
+ page_size: 56 # Integer | The desired maximum number of results
1314
1317
  }
1315
1318
 
1316
1319
  begin
@@ -1328,6 +1331,7 @@ Name | Type | Description | Notes
1328
1331
  ------------- | ------------- | ------------- | -------------
1329
1332
  **job_id** | **String**| jobId | |
1330
1333
  **cursor** | **String**| Indicates where to resume query results (not required for first page) | [optional] |
1334
+ **page_size** | **Integer**| The desired maximum number of results | [optional] |
1331
1335
  {: class="table table-striped"}
1332
1336
 
1333
1337
 
@@ -15,8 +15,9 @@ title: ArrayNode
15
15
  | **value_node** | **BOOLEAN** | | [optional] |
16
16
  | **container_node** | **BOOLEAN** | | [optional] |
17
17
  | **missing_node** | **BOOLEAN** | | [optional] |
18
- | **integral_number** | **BOOLEAN** | | [optional] |
18
+ | **pojo** | **BOOLEAN** | | [optional] |
19
19
  | **floating_point_number** | **BOOLEAN** | | [optional] |
20
+ | **integral_number** | **BOOLEAN** | | [optional] |
20
21
  | **short** | **BOOLEAN** | | [optional] |
21
22
  | **int** | **BOOLEAN** | | [optional] |
22
23
  | **long** | **BOOLEAN** | | [optional] |
@@ -25,7 +26,6 @@ title: ArrayNode
25
26
  | **big_integer** | **BOOLEAN** | | [optional] |
26
27
  | **textual** | **BOOLEAN** | | [optional] |
27
28
  | **binary** | **BOOLEAN** | | [optional] |
28
- | **pojo** | **BOOLEAN** | | [optional] |
29
29
  | **array** | **BOOLEAN** | | [optional] |
30
30
  | **null** | **BOOLEAN** | | [optional] |
31
31
  {: class="table table-striped"}
@@ -12,8 +12,8 @@ title: CertificateDetails
12
12
  | **expiration_date** | **DateTime** | The expiration date of the certificate. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
13
13
  | **issue_date** | **DateTime** | The issue date of the certificate. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
14
14
  | **expired** | **BOOLEAN** | True if the certificate is expired, false otherwise. | [optional] |
15
- | **valid** | **BOOLEAN** | | [optional] |
16
15
  | **signature_valid** | **BOOLEAN** | | [optional] |
16
+ | **valid** | **BOOLEAN** | | [optional] |
17
17
  {: class="table table-striped"}
18
18
 
19
19
 
@@ -963,7 +963,8 @@ api_instance = PureCloud::ConversationsApi.new
963
963
  job_id = "job_id_example" # String | jobId
964
964
 
965
965
  opts = {
966
- cursor: "cursor_example" # String | Indicates where to resume query results (not required for first page)
966
+ cursor: "cursor_example", # String | Indicates where to resume query results (not required for first page)
967
+ page_size: 56 # Integer | The desired maximum number of results
967
968
  }
968
969
 
969
970
  begin
@@ -981,6 +982,7 @@ Name | Type | Description | Notes
981
982
  ------------- | ------------- | ------------- | -------------
982
983
  **job_id** | **String**| jobId | |
983
984
  **cursor** | **String**| Indicates where to resume query results (not required for first page) | [optional] |
985
+ **page_size** | **Integer**| The desired maximum number of results | [optional] |
984
986
  {: class="table table-striped"}
985
987
 
986
988
 
@@ -24,6 +24,7 @@ title: Evaluation
24
24
  | **media_type** | **Array<String>** | List of different communication types used in conversation. | [optional] |
25
25
  | **rescore** | **BOOLEAN** | Is only true when evaluation is re-scored. | [optional] |
26
26
  | **conversation_date** | **DateTime** | Date of conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
27
+ | **conversation_end_date** | **DateTime** | End date of conversation if it had completed before evaluation creation. Null if created before the conversation ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
27
28
  | **never_release** | **BOOLEAN** | Signifies if the evaluation is never to be released. This cannot be set true if release date is also set. | [optional] |
28
29
  | **resource_id** | **String** | Only used for email evaluations. Will be null for all other evaluations. | [optional] |
29
30
  | **resource_type** | **String** | The type of resource. Only used for email evaluations. Will be null for evaluations on all other resources. | [optional] |
@@ -12,8 +12,8 @@ title: FacebookIntegrationRequest
12
12
  | **page_access_token** | **String** | The long-lived Page Access Token of a facebook page. See https://developers.facebook.com/docs/facebook-login/access-tokens. When a pageAccessToken is provided, pageId and userAccessToken are not required. | [optional] |
13
13
  | **user_access_token** | **String** | The short-lived User Access Token of the facebook user logged into the facebook app. See https://developers.facebook.com/docs/facebook-login/access-tokens. When userAccessToken is provided, pageId is mandatory. When userAccessToken/pageId combination is provided, pageAccessToken is not required. | [optional] |
14
14
  | **page_id** | **String** | The page Id of a facebook page. The pageId is required when userAccessToken is provided. | [optional] |
15
- | **app_id** | **String** | The app Id of a facebook app | |
16
- | **app_secret** | **String** | The app Secret of a facebook app | [optional] |
15
+ | **app_id** | **String** | The app Id of a facebook app. The appId is required when a customer wants to use their own approved facebook app. | [optional] |
16
+ | **app_secret** | **String** | The app Secret of a facebook app. The appSecret is required when appId is provided. | [optional] |
17
17
  | **self_uri** | **String** | The URI for this object | [optional] |
18
18
  {: class="table table-striped"}
19
19
 
@@ -7,8 +7,8 @@ title: GDPRJourneyCustomer
7
7
 
8
8
  |Name | Type | Description | Notes|
9
9
  |------------ | ------------- | ------------- | -------------|
10
- | **type** | **String** | The type of the customerId within the Journey System (e.g. cookie). | |
11
- | **id** | **String** | An ID of a customer within the Journey System at a point-in-time. | |
10
+ | **type** | **String** | The type of the customerId within the Journey System (e.g. cookie). Required if `id` is defined. | [optional] |
11
+ | **id** | **String** | An ID of a customer within the Journey System at a point-in-time. Required if `type` is defined. | [optional] |
12
12
  {: class="table table-striped"}
13
13
 
14
14
 
@@ -15,8 +15,9 @@ title: JsonNode
15
15
  | **value_node** | **BOOLEAN** | | [optional] |
16
16
  | **container_node** | **BOOLEAN** | | [optional] |
17
17
  | **missing_node** | **BOOLEAN** | | [optional] |
18
- | **integral_number** | **BOOLEAN** | | [optional] |
18
+ | **pojo** | **BOOLEAN** | | [optional] |
19
19
  | **floating_point_number** | **BOOLEAN** | | [optional] |
20
+ | **integral_number** | **BOOLEAN** | | [optional] |
20
21
  | **short** | **BOOLEAN** | | [optional] |
21
22
  | **int** | **BOOLEAN** | | [optional] |
22
23
  | **long** | **BOOLEAN** | | [optional] |
@@ -25,7 +26,6 @@ title: JsonNode
25
26
  | **big_integer** | **BOOLEAN** | | [optional] |
26
27
  | **textual** | **BOOLEAN** | | [optional] |
27
28
  | **binary** | **BOOLEAN** | | [optional] |
28
- | **pojo** | **BOOLEAN** | | [optional] |
29
29
  | **array** | **BOOLEAN** | | [optional] |
30
30
  | **null** | **BOOLEAN** | | [optional] |
31
31
  {: class="table table-striped"}
@@ -706,7 +706,8 @@ api_instance = PureCloud::UsersApi.new
706
706
  job_id = "job_id_example" # String | jobId
707
707
 
708
708
  opts = {
709
- cursor: "cursor_example" # String | Indicates where to resume query results (not required for first page)
709
+ cursor: "cursor_example", # String | Indicates where to resume query results (not required for first page)
710
+ page_size: 56 # Integer | The desired maximum number of results
710
711
  }
711
712
 
712
713
  begin
@@ -724,6 +725,7 @@ Name | Type | Description | Notes
724
725
  ------------- | ------------- | ------------- | -------------
725
726
  **job_id** | **String**| jobId | |
726
727
  **cursor** | **String**| Indicates where to resume query results (not required for first page) | [optional] |
728
+ **page_size** | **Integer**| The desired maximum number of results | [optional] |
727
729
  {: class="table table-striped"}
728
730
 
729
731
 
@@ -415,6 +415,7 @@ module PureCloud
415
415
  # @param job_id jobId
416
416
  # @param [Hash] opts the optional parameters
417
417
  # @option opts [String] :cursor Indicates where to resume query results (not required for first page)
418
+ # @option opts [Integer] :page_size The desired maximum number of results
418
419
  # @return [AnalyticsConversationAsyncQueryResponse]
419
420
  def get_analytics_conversations_details_job_results(job_id, opts = {})
420
421
  data, _status_code, _headers = get_analytics_conversations_details_job_results_with_http_info(job_id, opts)
@@ -426,6 +427,7 @@ module PureCloud
426
427
  # @param job_id jobId
427
428
  # @param [Hash] opts the optional parameters
428
429
  # @option opts [String] :cursor Indicates where to resume query results (not required for first page)
430
+ # @option opts [Integer] :page_size The desired maximum number of results
429
431
  # @return [Array<(AnalyticsConversationAsyncQueryResponse, Fixnum, Hash)>] AnalyticsConversationAsyncQueryResponse data, response status code and response headers
430
432
  def get_analytics_conversations_details_job_results_with_http_info(job_id, opts = {})
431
433
  if @api_client.config.debugging
@@ -446,12 +448,19 @@ module PureCloud
446
448
 
447
449
 
448
450
 
451
+
452
+
453
+
454
+
455
+
456
+
449
457
  # resource path
450
458
  local_var_path = "/api/v2/analytics/conversations/details/jobs/{jobId}/results".sub('{format}','json').sub('{' + 'jobId' + '}', job_id.to_s)
451
459
 
452
460
  # query parameters
453
461
  query_params = {}
454
462
  query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
463
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
455
464
 
456
465
  # header parameters
457
466
  header_params = {}
@@ -1291,6 +1300,7 @@ module PureCloud
1291
1300
  # @param job_id jobId
1292
1301
  # @param [Hash] opts the optional parameters
1293
1302
  # @option opts [String] :cursor Indicates where to resume query results (not required for first page)
1303
+ # @option opts [Integer] :page_size The desired maximum number of results
1294
1304
  # @return [AnalyticsUserDetailsAsyncQueryResponse]
1295
1305
  def get_analytics_users_details_job_results(job_id, opts = {})
1296
1306
  data, _status_code, _headers = get_analytics_users_details_job_results_with_http_info(job_id, opts)
@@ -1302,6 +1312,7 @@ module PureCloud
1302
1312
  # @param job_id jobId
1303
1313
  # @param [Hash] opts the optional parameters
1304
1314
  # @option opts [String] :cursor Indicates where to resume query results (not required for first page)
1315
+ # @option opts [Integer] :page_size The desired maximum number of results
1305
1316
  # @return [Array<(AnalyticsUserDetailsAsyncQueryResponse, Fixnum, Hash)>] AnalyticsUserDetailsAsyncQueryResponse data, response status code and response headers
1306
1317
  def get_analytics_users_details_job_results_with_http_info(job_id, opts = {})
1307
1318
  if @api_client.config.debugging
@@ -1322,12 +1333,19 @@ module PureCloud
1322
1333
 
1323
1334
 
1324
1335
 
1336
+
1337
+
1338
+
1339
+
1340
+
1341
+
1325
1342
  # resource path
1326
1343
  local_var_path = "/api/v2/analytics/users/details/jobs/{jobId}/results".sub('{format}','json').sub('{' + 'jobId' + '}', job_id.to_s)
1327
1344
 
1328
1345
  # query parameters
1329
1346
  query_params = {}
1330
1347
  query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
1348
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1331
1349
 
1332
1350
  # header parameters
1333
1351
  header_params = {}
@@ -850,6 +850,7 @@ module PureCloud
850
850
  # @param job_id jobId
851
851
  # @param [Hash] opts the optional parameters
852
852
  # @option opts [String] :cursor Indicates where to resume query results (not required for first page)
853
+ # @option opts [Integer] :page_size The desired maximum number of results
853
854
  # @return [AnalyticsConversationAsyncQueryResponse]
854
855
  def get_analytics_conversations_details_job_results(job_id, opts = {})
855
856
  data, _status_code, _headers = get_analytics_conversations_details_job_results_with_http_info(job_id, opts)
@@ -861,6 +862,7 @@ module PureCloud
861
862
  # @param job_id jobId
862
863
  # @param [Hash] opts the optional parameters
863
864
  # @option opts [String] :cursor Indicates where to resume query results (not required for first page)
865
+ # @option opts [Integer] :page_size The desired maximum number of results
864
866
  # @return [Array<(AnalyticsConversationAsyncQueryResponse, Fixnum, Hash)>] AnalyticsConversationAsyncQueryResponse data, response status code and response headers
865
867
  def get_analytics_conversations_details_job_results_with_http_info(job_id, opts = {})
866
868
  if @api_client.config.debugging
@@ -881,12 +883,19 @@ module PureCloud
881
883
 
882
884
 
883
885
 
886
+
887
+
888
+
889
+
890
+
891
+
884
892
  # resource path
885
893
  local_var_path = "/api/v2/analytics/conversations/details/jobs/{jobId}/results".sub('{format}','json').sub('{' + 'jobId' + '}', job_id.to_s)
886
894
 
887
895
  # query parameters
888
896
  query_params = {}
889
897
  query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
898
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
890
899
 
891
900
  # header parameters
892
901
  header_params = {}
@@ -647,6 +647,7 @@ module PureCloud
647
647
  # @param job_id jobId
648
648
  # @param [Hash] opts the optional parameters
649
649
  # @option opts [String] :cursor Indicates where to resume query results (not required for first page)
650
+ # @option opts [Integer] :page_size The desired maximum number of results
650
651
  # @return [AnalyticsUserDetailsAsyncQueryResponse]
651
652
  def get_analytics_users_details_job_results(job_id, opts = {})
652
653
  data, _status_code, _headers = get_analytics_users_details_job_results_with_http_info(job_id, opts)
@@ -658,6 +659,7 @@ module PureCloud
658
659
  # @param job_id jobId
659
660
  # @param [Hash] opts the optional parameters
660
661
  # @option opts [String] :cursor Indicates where to resume query results (not required for first page)
662
+ # @option opts [Integer] :page_size The desired maximum number of results
661
663
  # @return [Array<(AnalyticsUserDetailsAsyncQueryResponse, Fixnum, Hash)>] AnalyticsUserDetailsAsyncQueryResponse data, response status code and response headers
662
664
  def get_analytics_users_details_job_results_with_http_info(job_id, opts = {})
663
665
  if @api_client.config.debugging
@@ -678,12 +680,19 @@ module PureCloud
678
680
 
679
681
 
680
682
 
683
+
684
+
685
+
686
+
687
+
688
+
681
689
  # resource path
682
690
  local_var_path = "/api/v2/analytics/users/details/jobs/{jobId}/results".sub('{format}','json').sub('{' + 'jobId' + '}', job_id.to_s)
683
691
 
684
692
  # query parameters
685
693
  query_params = {}
686
694
  query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
695
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
687
696
 
688
697
  # header parameters
689
698
  header_params = {}
@@ -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'] = '77.0.0'
79
+ header_params['purecloud-sdk'] = '78.0.0'
80
80
  query_params = opts[:query_params] || {}
81
81
  form_params = opts[:form_params] || {}
82
82
 
@@ -34,10 +34,12 @@ module PureCloud
34
34
 
35
35
  attr_accessor :missing_node
36
36
 
37
- attr_accessor :integral_number
37
+ attr_accessor :pojo
38
38
 
39
39
  attr_accessor :floating_point_number
40
40
 
41
+ attr_accessor :integral_number
42
+
41
43
  attr_accessor :short
42
44
 
43
45
  attr_accessor :int
@@ -54,8 +56,6 @@ module PureCloud
54
56
 
55
57
  attr_accessor :binary
56
58
 
57
- attr_accessor :pojo
58
-
59
59
  attr_accessor :array
60
60
 
61
61
  attr_accessor :null
@@ -80,10 +80,12 @@ module PureCloud
80
80
 
81
81
  :'missing_node' => :'missingNode',
82
82
 
83
- :'integral_number' => :'integralNumber',
83
+ :'pojo' => :'pojo',
84
84
 
85
85
  :'floating_point_number' => :'floatingPointNumber',
86
86
 
87
+ :'integral_number' => :'integralNumber',
88
+
87
89
  :'short' => :'short',
88
90
 
89
91
  :'int' => :'int',
@@ -100,8 +102,6 @@ module PureCloud
100
102
 
101
103
  :'binary' => :'binary',
102
104
 
103
- :'pojo' => :'pojo',
104
-
105
105
  :'array' => :'array',
106
106
 
107
107
  :'null' => :'null'
@@ -129,10 +129,12 @@ module PureCloud
129
129
 
130
130
  :'missing_node' => :'BOOLEAN',
131
131
 
132
- :'integral_number' => :'BOOLEAN',
132
+ :'pojo' => :'BOOLEAN',
133
133
 
134
134
  :'floating_point_number' => :'BOOLEAN',
135
135
 
136
+ :'integral_number' => :'BOOLEAN',
137
+
136
138
  :'short' => :'BOOLEAN',
137
139
 
138
140
  :'int' => :'BOOLEAN',
@@ -149,8 +151,6 @@ module PureCloud
149
151
 
150
152
  :'binary' => :'BOOLEAN',
151
153
 
152
- :'pojo' => :'BOOLEAN',
153
-
154
154
  :'array' => :'BOOLEAN',
155
155
 
156
156
  :'null' => :'BOOLEAN'
@@ -239,10 +239,10 @@ module PureCloud
239
239
  end
240
240
 
241
241
 
242
- if attributes.has_key?(:'integralNumber')
242
+ if attributes.has_key?(:'pojo')
243
243
 
244
244
 
245
- self.integral_number = attributes[:'integralNumber']
245
+ self.pojo = attributes[:'pojo']
246
246
 
247
247
 
248
248
  end
@@ -257,6 +257,15 @@ module PureCloud
257
257
  end
258
258
 
259
259
 
260
+ if attributes.has_key?(:'integralNumber')
261
+
262
+
263
+ self.integral_number = attributes[:'integralNumber']
264
+
265
+
266
+ end
267
+
268
+
260
269
  if attributes.has_key?(:'short')
261
270
 
262
271
 
@@ -329,15 +338,6 @@ module PureCloud
329
338
  end
330
339
 
331
340
 
332
- if attributes.has_key?(:'pojo')
333
-
334
-
335
- self.pojo = attributes[:'pojo']
336
-
337
-
338
- end
339
-
340
-
341
341
  if attributes.has_key?(:'array')
342
342
 
343
343
 
@@ -590,8 +590,9 @@ module PureCloud
590
590
  value_node == o.value_node &&
591
591
  container_node == o.container_node &&
592
592
  missing_node == o.missing_node &&
593
- integral_number == o.integral_number &&
593
+ pojo == o.pojo &&
594
594
  floating_point_number == o.floating_point_number &&
595
+ integral_number == o.integral_number &&
595
596
  short == o.short &&
596
597
  int == o.int &&
597
598
  long == o.long &&
@@ -600,7 +601,6 @@ module PureCloud
600
601
  big_integer == o.big_integer &&
601
602
  textual == o.textual &&
602
603
  binary == o.binary &&
603
- pojo == o.pojo &&
604
604
  array == o.array &&
605
605
  null == o.null
606
606
  end
@@ -614,7 +614,7 @@ module PureCloud
614
614
  # Calculates hash code according to all attributes.
615
615
  # @return [Fixnum] Hash code
616
616
  def hash
617
- [node_type, float, number, boolean, object, value_node, container_node, missing_node, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary, pojo, array, null].hash
617
+ [node_type, float, number, boolean, object, value_node, container_node, missing_node, pojo, floating_point_number, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary, array, null].hash
618
618
  end
619
619
 
620
620
  # build the object from hash
@@ -302,7 +302,7 @@ module PureCloud
302
302
 
303
303
 
304
304
 
305
- allowed_values = ["Document", "Queue", "Recording", "Role", "VoicemailUserPolicy", "WrapupCode", "AccessToken", "OAuthClient", "AuthOrganization", "AuthUser", "BulkActions", "Feedback", "Topic", "Program"]
305
+ allowed_values = ["Document", "Queue", "Recording", "Role", "VoicemailUserPolicy", "WrapupCode", "AccessToken", "OAuthClient", "OAuthClientAuthorization", "AuthOrganization", "AuthUser", "BulkActions", "Feedback", "Topic", "Program"]
306
306
  if @entity_type && !allowed_values.include?(@entity_type)
307
307
  return false
308
308
  end
@@ -387,7 +387,7 @@ module PureCloud
387
387
  # Custom attribute writer method checking allowed values (enum).
388
388
  # @param [Object] entity_type Object to be assigned
389
389
  def entity_type=(entity_type)
390
- allowed_values = ["Document", "Queue", "Recording", "Role", "VoicemailUserPolicy", "WrapupCode", "AccessToken", "OAuthClient", "AuthOrganization", "AuthUser", "BulkActions", "Feedback", "Topic", "Program"]
390
+ allowed_values = ["Document", "Queue", "Recording", "Role", "VoicemailUserPolicy", "WrapupCode", "AccessToken", "OAuthClient", "OAuthClientAuthorization", "AuthOrganization", "AuthUser", "BulkActions", "Feedback", "Topic", "Program"]
391
391
  if entity_type && !allowed_values.include?(entity_type)
392
392
  fail ArgumentError, "invalid value for 'entity_type', must be one of #{allowed_values}."
393
393
  end
@@ -34,10 +34,10 @@ module PureCloud
34
34
  # True if the certificate is expired, false otherwise.
35
35
  attr_accessor :expired
36
36
 
37
- attr_accessor :valid
38
-
39
37
  attr_accessor :signature_valid
40
38
 
39
+ attr_accessor :valid
40
+
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
@@ -52,9 +52,9 @@ module PureCloud
52
52
 
53
53
  :'expired' => :'expired',
54
54
 
55
- :'valid' => :'valid',
55
+ :'signature_valid' => :'signatureValid',
56
56
 
57
- :'signature_valid' => :'signatureValid'
57
+ :'valid' => :'valid'
58
58
 
59
59
  }
60
60
  end
@@ -73,9 +73,9 @@ module PureCloud
73
73
 
74
74
  :'expired' => :'BOOLEAN',
75
75
 
76
- :'valid' => :'BOOLEAN',
76
+ :'signature_valid' => :'BOOLEAN',
77
77
 
78
- :'signature_valid' => :'BOOLEAN'
78
+ :'valid' => :'BOOLEAN'
79
79
 
80
80
  }
81
81
  end
@@ -134,19 +134,19 @@ module PureCloud
134
134
  end
135
135
 
136
136
 
137
- if attributes.has_key?(:'valid')
137
+ if attributes.has_key?(:'signatureValid')
138
138
 
139
139
 
140
- self.valid = attributes[:'valid']
140
+ self.signature_valid = attributes[:'signatureValid']
141
141
 
142
142
 
143
143
  end
144
144
 
145
145
 
146
- if attributes.has_key?(:'signatureValid')
146
+ if attributes.has_key?(:'valid')
147
147
 
148
148
 
149
- self.signature_valid = attributes[:'signatureValid']
149
+ self.valid = attributes[:'valid']
150
150
 
151
151
 
152
152
  end
@@ -243,8 +243,8 @@ module PureCloud
243
243
  expiration_date == o.expiration_date &&
244
244
  issue_date == o.issue_date &&
245
245
  expired == o.expired &&
246
- valid == o.valid &&
247
- signature_valid == o.signature_valid
246
+ signature_valid == o.signature_valid &&
247
+ valid == o.valid
248
248
  end
249
249
 
250
250
  # @see the `==` method
@@ -256,7 +256,7 @@ module PureCloud
256
256
  # Calculates hash code according to all attributes.
257
257
  # @return [Fixnum] Hash code
258
258
  def hash
259
- [issuer, subject, expiration_date, issue_date, expired, valid, signature_valid].hash
259
+ [issuer, subject, expiration_date, issue_date, expired, signature_valid, valid].hash
260
260
  end
261
261
 
262
262
  # build the object from hash
@@ -60,6 +60,9 @@ module PureCloud
60
60
  # Date of conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
61
61
  attr_accessor :conversation_date
62
62
 
63
+ # End date of conversation if it had completed before evaluation creation. Null if created before the conversation ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
64
+ attr_accessor :conversation_end_date
65
+
63
66
  # Signifies if the evaluation is never to be released. This cannot be set true if release date is also set.
64
67
  attr_accessor :never_release
65
68
 
@@ -115,6 +118,8 @@ module PureCloud
115
118
 
116
119
  :'conversation_date' => :'conversationDate',
117
120
 
121
+ :'conversation_end_date' => :'conversationEndDate',
122
+
118
123
  :'never_release' => :'neverRelease',
119
124
 
120
125
  :'resource_id' => :'resourceId',
@@ -168,6 +173,8 @@ module PureCloud
168
173
 
169
174
  :'conversation_date' => :'DateTime',
170
175
 
176
+ :'conversation_end_date' => :'DateTime',
177
+
171
178
  :'never_release' => :'BOOLEAN',
172
179
 
173
180
  :'resource_id' => :'String',
@@ -347,6 +354,15 @@ module PureCloud
347
354
  end
348
355
 
349
356
 
357
+ if attributes.has_key?(:'conversationEndDate')
358
+
359
+
360
+ self.conversation_end_date = attributes[:'conversationEndDate']
361
+
362
+
363
+ end
364
+
365
+
350
366
  if attributes.has_key?(:'neverRelease')
351
367
 
352
368
 
@@ -494,6 +510,10 @@ module PureCloud
494
510
 
495
511
 
496
512
 
513
+
514
+
515
+
516
+
497
517
 
498
518
 
499
519
 
@@ -620,6 +640,11 @@ module PureCloud
620
640
 
621
641
 
622
642
 
643
+
644
+
645
+
646
+
647
+
623
648
 
624
649
 
625
650
 
@@ -676,6 +701,7 @@ module PureCloud
676
701
  media_type == o.media_type &&
677
702
  rescore == o.rescore &&
678
703
  conversation_date == o.conversation_date &&
704
+ conversation_end_date == o.conversation_end_date &&
679
705
  never_release == o.never_release &&
680
706
  resource_id == o.resource_id &&
681
707
  resource_type == o.resource_type &&
@@ -693,7 +719,7 @@ module PureCloud
693
719
  # Calculates hash code according to all attributes.
694
720
  # @return [Fixnum] Hash code
695
721
  def hash
696
- [id, name, conversation, evaluation_form, evaluator, agent, calibration, status, answers, agent_has_read, release_date, assigned_date, changed_date, queue, media_type, rescore, conversation_date, never_release, resource_id, resource_type, redacted, is_scoring_index, self_uri].hash
722
+ [id, name, conversation, evaluation_form, evaluator, agent, calibration, status, answers, agent_has_read, release_date, assigned_date, changed_date, queue, media_type, rescore, conversation_date, conversation_end_date, never_release, resource_id, resource_type, redacted, is_scoring_index, self_uri].hash
697
723
  end
698
724
 
699
725
  # build the object from hash
@@ -33,10 +33,10 @@ module PureCloud
33
33
  # The page Id of a facebook page. The pageId is required when userAccessToken is provided.
34
34
  attr_accessor :page_id
35
35
 
36
- # The app Id of a facebook app
36
+ # The app Id of a facebook app. The appId is required when a customer wants to use their own approved facebook app.
37
37
  attr_accessor :app_id
38
38
 
39
- # The app Secret of a facebook app
39
+ # The app Secret of a facebook app. The appSecret is required when appId is provided.
40
40
  attr_accessor :app_secret
41
41
 
42
42
  # The URI for this object
@@ -210,11 +210,6 @@ module PureCloud
210
210
 
211
211
 
212
212
 
213
- if @app_id.nil?
214
- return false
215
- end
216
-
217
-
218
213
 
219
214
 
220
215
 
@@ -18,10 +18,10 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  class GDPRJourneyCustomer
21
- # The type of the customerId within the Journey System (e.g. cookie).
21
+ # The type of the customerId within the Journey System (e.g. cookie). Required if `id` is defined.
22
22
  attr_accessor :type
23
23
 
24
- # An ID of a customer within the Journey System at a point-in-time.
24
+ # An ID of a customer within the Journey System at a point-in-time. Required if `type` is defined.
25
25
  attr_accessor :id
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -89,20 +89,10 @@ module PureCloud
89
89
  def valid?
90
90
 
91
91
 
92
- if @type.nil?
93
- return false
94
- end
95
-
96
-
97
92
 
98
93
 
99
94
 
100
95
 
101
- if @id.nil?
102
- return false
103
- end
104
-
105
-
106
96
 
107
97
 
108
98
 
@@ -34,10 +34,12 @@ module PureCloud
34
34
 
35
35
  attr_accessor :missing_node
36
36
 
37
- attr_accessor :integral_number
37
+ attr_accessor :pojo
38
38
 
39
39
  attr_accessor :floating_point_number
40
40
 
41
+ attr_accessor :integral_number
42
+
41
43
  attr_accessor :short
42
44
 
43
45
  attr_accessor :int
@@ -54,8 +56,6 @@ module PureCloud
54
56
 
55
57
  attr_accessor :binary
56
58
 
57
- attr_accessor :pojo
58
-
59
59
  attr_accessor :array
60
60
 
61
61
  attr_accessor :null
@@ -80,10 +80,12 @@ module PureCloud
80
80
 
81
81
  :'missing_node' => :'missingNode',
82
82
 
83
- :'integral_number' => :'integralNumber',
83
+ :'pojo' => :'pojo',
84
84
 
85
85
  :'floating_point_number' => :'floatingPointNumber',
86
86
 
87
+ :'integral_number' => :'integralNumber',
88
+
87
89
  :'short' => :'short',
88
90
 
89
91
  :'int' => :'int',
@@ -100,8 +102,6 @@ module PureCloud
100
102
 
101
103
  :'binary' => :'binary',
102
104
 
103
- :'pojo' => :'pojo',
104
-
105
105
  :'array' => :'array',
106
106
 
107
107
  :'null' => :'null'
@@ -129,10 +129,12 @@ module PureCloud
129
129
 
130
130
  :'missing_node' => :'BOOLEAN',
131
131
 
132
- :'integral_number' => :'BOOLEAN',
132
+ :'pojo' => :'BOOLEAN',
133
133
 
134
134
  :'floating_point_number' => :'BOOLEAN',
135
135
 
136
+ :'integral_number' => :'BOOLEAN',
137
+
136
138
  :'short' => :'BOOLEAN',
137
139
 
138
140
  :'int' => :'BOOLEAN',
@@ -149,8 +151,6 @@ module PureCloud
149
151
 
150
152
  :'binary' => :'BOOLEAN',
151
153
 
152
- :'pojo' => :'BOOLEAN',
153
-
154
154
  :'array' => :'BOOLEAN',
155
155
 
156
156
  :'null' => :'BOOLEAN'
@@ -239,10 +239,10 @@ module PureCloud
239
239
  end
240
240
 
241
241
 
242
- if attributes.has_key?(:'integralNumber')
242
+ if attributes.has_key?(:'pojo')
243
243
 
244
244
 
245
- self.integral_number = attributes[:'integralNumber']
245
+ self.pojo = attributes[:'pojo']
246
246
 
247
247
 
248
248
  end
@@ -257,6 +257,15 @@ module PureCloud
257
257
  end
258
258
 
259
259
 
260
+ if attributes.has_key?(:'integralNumber')
261
+
262
+
263
+ self.integral_number = attributes[:'integralNumber']
264
+
265
+
266
+ end
267
+
268
+
260
269
  if attributes.has_key?(:'short')
261
270
 
262
271
 
@@ -329,15 +338,6 @@ module PureCloud
329
338
  end
330
339
 
331
340
 
332
- if attributes.has_key?(:'pojo')
333
-
334
-
335
- self.pojo = attributes[:'pojo']
336
-
337
-
338
- end
339
-
340
-
341
341
  if attributes.has_key?(:'array')
342
342
 
343
343
 
@@ -590,8 +590,9 @@ module PureCloud
590
590
  value_node == o.value_node &&
591
591
  container_node == o.container_node &&
592
592
  missing_node == o.missing_node &&
593
- integral_number == o.integral_number &&
593
+ pojo == o.pojo &&
594
594
  floating_point_number == o.floating_point_number &&
595
+ integral_number == o.integral_number &&
595
596
  short == o.short &&
596
597
  int == o.int &&
597
598
  long == o.long &&
@@ -600,7 +601,6 @@ module PureCloud
600
601
  big_integer == o.big_integer &&
601
602
  textual == o.textual &&
602
603
  binary == o.binary &&
603
- pojo == o.pojo &&
604
604
  array == o.array &&
605
605
  null == o.null
606
606
  end
@@ -614,7 +614,7 @@ module PureCloud
614
614
  # Calculates hash code according to all attributes.
615
615
  # @return [Fixnum] Hash code
616
616
  def hash
617
- [node_type, float, number, boolean, object, value_node, container_node, missing_node, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary, pojo, array, null].hash
617
+ [node_type, float, number, boolean, object, value_node, container_node, missing_node, pojo, floating_point_number, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary, array, null].hash
618
618
  end
619
619
 
620
620
  # build the object from hash
@@ -15,5 +15,5 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
15
15
  =end
16
16
 
17
17
  module PureCloud
18
- VERSION = "77.0.0"
18
+ VERSION = "78.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: 77.0.0
4
+ version: 78.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: 2020-02-20 00:00:00.000000000 Z
11
+ date: 2020-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus