purecloud 0.0.0 → 0.17.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 +4 -4
- data/config-ruby.json +1 -1
- data/lib/purecloud/api/analytics_api.rb +57 -57
- data/lib/purecloud/api/architect_api.rb +16 -16
- data/lib/purecloud/api/attributes_api.rb +33 -33
- data/lib/purecloud/api/authorization_api.rb +53 -53
- data/lib/purecloud/api/compliance_api.rb +5 -5
- data/lib/purecloud/api/configuration_api.rb +303 -303
- data/lib/purecloud/api/content_management_api.rb +215 -215
- data/lib/purecloud/api/conversations_api.rb +159 -159
- data/lib/purecloud/api/downloads_api.rb +6 -6
- data/lib/purecloud/api/fax_api.rb +6 -6
- data/lib/purecloud/api/geolocation_api.rb +24 -24
- data/lib/purecloud/api/greetings_api.rb +56 -56
- data/lib/purecloud/api/groups_api.rb +17 -17
- data/lib/purecloud/api/languages_api.rb +11 -11
- data/lib/purecloud/api/licensing_api.rb +17 -17
- data/lib/purecloud/api/locations_api.rb +11 -11
- data/lib/purecloud/api/notifications_api.rb +17 -17
- data/lib/purecloud/api/o_auth_api.rb +97 -97
- data/lib/purecloud/api/orphaned_recordings_api.rb +17 -17
- data/lib/purecloud/api/outbound_api.rb +259 -259
- data/lib/purecloud/api/presence_api.rb +53 -53
- data/lib/purecloud/api/quality_api.rb +101 -101
- data/lib/purecloud/api/routing_api.rb +125 -125
- data/lib/purecloud/api/scripts_api.rb +60 -60
- data/lib/purecloud/api/search_api.rb +5 -5
- data/lib/purecloud/api/stations_api.rb +17 -17
- data/lib/purecloud/api/telephony_providers_edge_api.rb +212 -212
- data/lib/purecloud/api/user_recordings_api.rb +34 -34
- data/lib/purecloud/api/users_api.rb +123 -123
- data/lib/purecloud/api/utilities_api.rb +15 -15
- data/lib/purecloud/api/voicemail_api.rb +29 -29
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +2 -2
@@ -13,8 +13,8 @@ module PureCloud
|
|
13
13
|
# @param [Hash] opts the optional parameters
|
14
14
|
# @option opts [String] :communication_type Call or Chat communication filtering
|
15
15
|
# @return [ConversationEntityListing]
|
16
|
-
def
|
17
|
-
data, status_code, headers =
|
16
|
+
def get(opts = {})
|
17
|
+
data, status_code, headers = get_with_http_info(opts)
|
18
18
|
return data
|
19
19
|
end
|
20
20
|
|
@@ -23,9 +23,9 @@ module PureCloud
|
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
24
|
# @option opts [String] :communication_type Call or Chat communication filtering
|
25
25
|
# @return [Array<(ConversationEntityListing, Fixnum, Hash)>] ConversationEntityListing data, response status code and response headers
|
26
|
-
def
|
26
|
+
def get_with_http_info(opts = {})
|
27
27
|
if @api_client.config.debugging
|
28
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
28
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get ..."
|
29
29
|
end
|
30
30
|
|
31
31
|
# resource path
|
@@ -62,7 +62,7 @@ module PureCloud
|
|
62
62
|
:auth_names => auth_names,
|
63
63
|
:return_type => 'ConversationEntityListing')
|
64
64
|
if @api_client.config.debugging
|
65
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
65
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
66
66
|
end
|
67
67
|
return data, status_code, headers
|
68
68
|
end
|
@@ -79,8 +79,8 @@ module PureCloud
|
|
79
79
|
# @option opts [Array<String>] :skill_ids Skill ids to use for routing when calling a queue
|
80
80
|
# @option opts [String] :body
|
81
81
|
# @return [ConversationResponse]
|
82
|
-
def
|
83
|
-
data, status_code, headers =
|
82
|
+
def create(opts = {})
|
83
|
+
data, status_code, headers = create_with_http_info(opts)
|
84
84
|
return data
|
85
85
|
end
|
86
86
|
|
@@ -96,9 +96,9 @@ module PureCloud
|
|
96
96
|
# @option opts [Array<String>] :skill_ids Skill ids to use for routing when calling a queue
|
97
97
|
# @option opts [String] :body
|
98
98
|
# @return [Array<(ConversationResponse, Fixnum, Hash)>] ConversationResponse data, response status code and response headers
|
99
|
-
def
|
99
|
+
def create_with_http_info(opts = {})
|
100
100
|
if @api_client.config.debugging
|
101
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
101
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#create ..."
|
102
102
|
end
|
103
103
|
|
104
104
|
# resource path
|
@@ -141,7 +141,7 @@ module PureCloud
|
|
141
141
|
:auth_names => auth_names,
|
142
142
|
:return_type => 'ConversationResponse')
|
143
143
|
if @api_client.config.debugging
|
144
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
144
|
+
@api_client.config.logger.debug "API called: ConversationsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
145
145
|
end
|
146
146
|
return data, status_code, headers
|
147
147
|
end
|
@@ -151,8 +151,8 @@ module PureCloud
|
|
151
151
|
# @param [Hash] opts the optional parameters
|
152
152
|
# @option opts [FaxSendRequest] :body Fax
|
153
153
|
# @return [FaxSendResponse]
|
154
|
-
def
|
155
|
-
data, status_code, headers =
|
154
|
+
def create_fax(opts = {})
|
155
|
+
data, status_code, headers = create_fax_with_http_info(opts)
|
156
156
|
return data
|
157
157
|
end
|
158
158
|
|
@@ -161,9 +161,9 @@ module PureCloud
|
|
161
161
|
# @param [Hash] opts the optional parameters
|
162
162
|
# @option opts [FaxSendRequest] :body Fax
|
163
163
|
# @return [Array<(FaxSendResponse, Fixnum, Hash)>] FaxSendResponse data, response status code and response headers
|
164
|
-
def
|
164
|
+
def create_fax_with_http_info(opts = {})
|
165
165
|
if @api_client.config.debugging
|
166
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
166
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#create_fax ..."
|
167
167
|
end
|
168
168
|
|
169
169
|
# resource path
|
@@ -199,7 +199,7 @@ module PureCloud
|
|
199
199
|
:auth_names => auth_names,
|
200
200
|
:return_type => 'FaxSendResponse')
|
201
201
|
if @api_client.config.debugging
|
202
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
202
|
+
@api_client.config.logger.debug "API called: ConversationsApi#create_fax\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
203
203
|
end
|
204
204
|
return data, status_code, headers
|
205
205
|
end
|
@@ -265,8 +265,8 @@ module PureCloud
|
|
265
265
|
# @param body Query parameters
|
266
266
|
# @param [Hash] opts the optional parameters
|
267
267
|
# @return [ConversationQueryResponse]
|
268
|
-
def
|
269
|
-
data, status_code, headers =
|
268
|
+
def create_query(body, opts = {})
|
269
|
+
data, status_code, headers = create_query_with_http_info(body, opts)
|
270
270
|
return data
|
271
271
|
end
|
272
272
|
|
@@ -275,13 +275,13 @@ module PureCloud
|
|
275
275
|
# @param body Query parameters
|
276
276
|
# @param [Hash] opts the optional parameters
|
277
277
|
# @return [Array<(ConversationQueryResponse, Fixnum, Hash)>] ConversationQueryResponse data, response status code and response headers
|
278
|
-
def
|
278
|
+
def create_query_with_http_info(body, opts = {})
|
279
279
|
if @api_client.config.debugging
|
280
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
280
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#create_query ..."
|
281
281
|
end
|
282
282
|
|
283
283
|
# verify the required parameter 'body' is set
|
284
|
-
fail "Missing the required parameter 'body' when calling
|
284
|
+
fail "Missing the required parameter 'body' when calling create_query" if body.nil?
|
285
285
|
|
286
286
|
# resource path
|
287
287
|
path = "/api/v1/conversations/query".sub('{format}','json')
|
@@ -316,7 +316,7 @@ module PureCloud
|
|
316
316
|
:auth_names => auth_names,
|
317
317
|
:return_type => 'ConversationQueryResponse')
|
318
318
|
if @api_client.config.debugging
|
319
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
319
|
+
@api_client.config.logger.debug "API called: ConversationsApi#create_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
320
320
|
end
|
321
321
|
return data, status_code, headers
|
322
322
|
end
|
@@ -327,8 +327,8 @@ module PureCloud
|
|
327
327
|
# @param body Query parameters
|
328
328
|
# @param [Hash] opts the optional parameters
|
329
329
|
# @return [ConversationQueryResponse]
|
330
|
-
def
|
331
|
-
data, status_code, headers =
|
330
|
+
def create_query_anchor(anchor, body, opts = {})
|
331
|
+
data, status_code, headers = create_query_anchor_with_http_info(anchor, body, opts)
|
332
332
|
return data
|
333
333
|
end
|
334
334
|
|
@@ -338,16 +338,16 @@ module PureCloud
|
|
338
338
|
# @param body Query parameters
|
339
339
|
# @param [Hash] opts the optional parameters
|
340
340
|
# @return [Array<(ConversationQueryResponse, Fixnum, Hash)>] ConversationQueryResponse data, response status code and response headers
|
341
|
-
def
|
341
|
+
def create_query_anchor_with_http_info(anchor, body, opts = {})
|
342
342
|
if @api_client.config.debugging
|
343
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
343
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#create_query_anchor ..."
|
344
344
|
end
|
345
345
|
|
346
346
|
# verify the required parameter 'anchor' is set
|
347
|
-
fail "Missing the required parameter 'anchor' when calling
|
347
|
+
fail "Missing the required parameter 'anchor' when calling create_query_anchor" if anchor.nil?
|
348
348
|
|
349
349
|
# verify the required parameter 'body' is set
|
350
|
-
fail "Missing the required parameter 'body' when calling
|
350
|
+
fail "Missing the required parameter 'body' when calling create_query_anchor" if body.nil?
|
351
351
|
|
352
352
|
# resource path
|
353
353
|
path = "/api/v1/conversations/query/{anchor}".sub('{format}','json').sub('{' + 'anchor' + '}', anchor.to_s)
|
@@ -382,7 +382,7 @@ module PureCloud
|
|
382
382
|
:auth_names => auth_names,
|
383
383
|
:return_type => 'ConversationQueryResponse')
|
384
384
|
if @api_client.config.debugging
|
385
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
385
|
+
@api_client.config.logger.debug "API called: ConversationsApi#create_query_anchor\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
386
386
|
end
|
387
387
|
return data, status_code, headers
|
388
388
|
end
|
@@ -392,8 +392,8 @@ module PureCloud
|
|
392
392
|
# @param conversation_id conversation ID
|
393
393
|
# @param [Hash] opts the optional parameters
|
394
394
|
# @return [Conversation]
|
395
|
-
def
|
396
|
-
data, status_code, headers =
|
395
|
+
def get_conversation(conversation_id, opts = {})
|
396
|
+
data, status_code, headers = get_conversation_with_http_info(conversation_id, opts)
|
397
397
|
return data
|
398
398
|
end
|
399
399
|
|
@@ -402,13 +402,13 @@ module PureCloud
|
|
402
402
|
# @param conversation_id conversation ID
|
403
403
|
# @param [Hash] opts the optional parameters
|
404
404
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
405
|
-
def
|
405
|
+
def get_conversation_with_http_info(conversation_id, opts = {})
|
406
406
|
if @api_client.config.debugging
|
407
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
407
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation ..."
|
408
408
|
end
|
409
409
|
|
410
410
|
# verify the required parameter 'conversation_id' is set
|
411
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
411
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation" if conversation_id.nil?
|
412
412
|
|
413
413
|
# resource path
|
414
414
|
path = "/api/v1/conversations/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -443,7 +443,7 @@ module PureCloud
|
|
443
443
|
:auth_names => auth_names,
|
444
444
|
:return_type => 'Conversation')
|
445
445
|
if @api_client.config.debugging
|
446
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
446
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
447
447
|
end
|
448
448
|
return data, status_code, headers
|
449
449
|
end
|
@@ -454,8 +454,8 @@ module PureCloud
|
|
454
454
|
# @param [Hash] opts the optional parameters
|
455
455
|
# @option opts [Conversation] :body Conversation
|
456
456
|
# @return [Conversation]
|
457
|
-
def
|
458
|
-
data, status_code, headers =
|
457
|
+
def update_conversation(conversation_id, opts = {})
|
458
|
+
data, status_code, headers = update_conversation_with_http_info(conversation_id, opts)
|
459
459
|
return data
|
460
460
|
end
|
461
461
|
|
@@ -465,13 +465,13 @@ module PureCloud
|
|
465
465
|
# @param [Hash] opts the optional parameters
|
466
466
|
# @option opts [Conversation] :body Conversation
|
467
467
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
468
|
-
def
|
468
|
+
def update_conversation_with_http_info(conversation_id, opts = {})
|
469
469
|
if @api_client.config.debugging
|
470
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
470
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#update_conversation ..."
|
471
471
|
end
|
472
472
|
|
473
473
|
# verify the required parameter 'conversation_id' is set
|
474
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
474
|
+
fail "Missing the required parameter 'conversation_id' when calling update_conversation" if conversation_id.nil?
|
475
475
|
|
476
476
|
# resource path
|
477
477
|
path = "/api/v1/conversations/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -506,7 +506,7 @@ module PureCloud
|
|
506
506
|
:auth_names => auth_names,
|
507
507
|
:return_type => 'Conversation')
|
508
508
|
if @api_client.config.debugging
|
509
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
509
|
+
@api_client.config.logger.debug "API called: ConversationsApi#update_conversation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
510
510
|
end
|
511
511
|
return data, status_code, headers
|
512
512
|
end
|
@@ -516,8 +516,8 @@ module PureCloud
|
|
516
516
|
# @param conversation_id conversation ID
|
517
517
|
# @param [Hash] opts the optional parameters
|
518
518
|
# @return [EmailMessageListing]
|
519
|
-
def
|
520
|
-
data, status_code, headers =
|
519
|
+
def get_conversation_messages(conversation_id, opts = {})
|
520
|
+
data, status_code, headers = get_conversation_messages_with_http_info(conversation_id, opts)
|
521
521
|
return data
|
522
522
|
end
|
523
523
|
|
@@ -526,13 +526,13 @@ module PureCloud
|
|
526
526
|
# @param conversation_id conversation ID
|
527
527
|
# @param [Hash] opts the optional parameters
|
528
528
|
# @return [Array<(EmailMessageListing, Fixnum, Hash)>] EmailMessageListing data, response status code and response headers
|
529
|
-
def
|
529
|
+
def get_conversation_messages_with_http_info(conversation_id, opts = {})
|
530
530
|
if @api_client.config.debugging
|
531
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
531
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_messages ..."
|
532
532
|
end
|
533
533
|
|
534
534
|
# verify the required parameter 'conversation_id' is set
|
535
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
535
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_messages" if conversation_id.nil?
|
536
536
|
|
537
537
|
# resource path
|
538
538
|
path = "/api/v1/conversations/{conversationId}/messages".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -567,7 +567,7 @@ module PureCloud
|
|
567
567
|
:auth_names => auth_names,
|
568
568
|
:return_type => 'EmailMessageListing')
|
569
569
|
if @api_client.config.debugging
|
570
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
570
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
571
571
|
end
|
572
572
|
return data, status_code, headers
|
573
573
|
end
|
@@ -578,8 +578,8 @@ module PureCloud
|
|
578
578
|
# @param [Hash] opts the optional parameters
|
579
579
|
# @option opts [EmailMessage] :body Reply
|
580
580
|
# @return [EmailMessage]
|
581
|
-
def
|
582
|
-
data, status_code, headers =
|
581
|
+
def create_conversation_messages(conversation_id, opts = {})
|
582
|
+
data, status_code, headers = create_conversation_messages_with_http_info(conversation_id, opts)
|
583
583
|
return data
|
584
584
|
end
|
585
585
|
|
@@ -589,13 +589,13 @@ module PureCloud
|
|
589
589
|
# @param [Hash] opts the optional parameters
|
590
590
|
# @option opts [EmailMessage] :body Reply
|
591
591
|
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
592
|
-
def
|
592
|
+
def create_conversation_messages_with_http_info(conversation_id, opts = {})
|
593
593
|
if @api_client.config.debugging
|
594
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
594
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#create_conversation_messages ..."
|
595
595
|
end
|
596
596
|
|
597
597
|
# verify the required parameter 'conversation_id' is set
|
598
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
598
|
+
fail "Missing the required parameter 'conversation_id' when calling create_conversation_messages" if conversation_id.nil?
|
599
599
|
|
600
600
|
# resource path
|
601
601
|
path = "/api/v1/conversations/{conversationId}/messages".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -630,7 +630,7 @@ module PureCloud
|
|
630
630
|
:auth_names => auth_names,
|
631
631
|
:return_type => 'EmailMessage')
|
632
632
|
if @api_client.config.debugging
|
633
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
633
|
+
@api_client.config.logger.debug "API called: ConversationsApi#create_conversation_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
634
634
|
end
|
635
635
|
return data, status_code, headers
|
636
636
|
end
|
@@ -640,8 +640,8 @@ module PureCloud
|
|
640
640
|
# @param conversation_id conversation ID
|
641
641
|
# @param [Hash] opts the optional parameters
|
642
642
|
# @return [EmailMessage]
|
643
|
-
def
|
644
|
-
data, status_code, headers =
|
643
|
+
def get_conversation_messages_draft(conversation_id, opts = {})
|
644
|
+
data, status_code, headers = get_conversation_messages_draft_with_http_info(conversation_id, opts)
|
645
645
|
return data
|
646
646
|
end
|
647
647
|
|
@@ -650,13 +650,13 @@ module PureCloud
|
|
650
650
|
# @param conversation_id conversation ID
|
651
651
|
# @param [Hash] opts the optional parameters
|
652
652
|
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
653
|
-
def
|
653
|
+
def get_conversation_messages_draft_with_http_info(conversation_id, opts = {})
|
654
654
|
if @api_client.config.debugging
|
655
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
655
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_messages_draft ..."
|
656
656
|
end
|
657
657
|
|
658
658
|
# verify the required parameter 'conversation_id' is set
|
659
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
659
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_messages_draft" if conversation_id.nil?
|
660
660
|
|
661
661
|
# resource path
|
662
662
|
path = "/api/v1/conversations/{conversationId}/messages/draft".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -691,7 +691,7 @@ module PureCloud
|
|
691
691
|
:auth_names => auth_names,
|
692
692
|
:return_type => 'EmailMessage')
|
693
693
|
if @api_client.config.debugging
|
694
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
694
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_messages_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
695
695
|
end
|
696
696
|
return data, status_code, headers
|
697
697
|
end
|
@@ -702,8 +702,8 @@ module PureCloud
|
|
702
702
|
# @param [Hash] opts the optional parameters
|
703
703
|
# @option opts [EmailMessage] :body Draft
|
704
704
|
# @return [EmailMessage]
|
705
|
-
def
|
706
|
-
data, status_code, headers =
|
705
|
+
def update_conversation_messages_draft(conversation_id, opts = {})
|
706
|
+
data, status_code, headers = update_conversation_messages_draft_with_http_info(conversation_id, opts)
|
707
707
|
return data
|
708
708
|
end
|
709
709
|
|
@@ -713,13 +713,13 @@ module PureCloud
|
|
713
713
|
# @param [Hash] opts the optional parameters
|
714
714
|
# @option opts [EmailMessage] :body Draft
|
715
715
|
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
716
|
-
def
|
716
|
+
def update_conversation_messages_draft_with_http_info(conversation_id, opts = {})
|
717
717
|
if @api_client.config.debugging
|
718
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
718
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#update_conversation_messages_draft ..."
|
719
719
|
end
|
720
720
|
|
721
721
|
# verify the required parameter 'conversation_id' is set
|
722
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
722
|
+
fail "Missing the required parameter 'conversation_id' when calling update_conversation_messages_draft" if conversation_id.nil?
|
723
723
|
|
724
724
|
# resource path
|
725
725
|
path = "/api/v1/conversations/{conversationId}/messages/draft".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -754,7 +754,7 @@ module PureCloud
|
|
754
754
|
:auth_names => auth_names,
|
755
755
|
:return_type => 'EmailMessage')
|
756
756
|
if @api_client.config.debugging
|
757
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
757
|
+
@api_client.config.logger.debug "API called: ConversationsApi#update_conversation_messages_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
758
758
|
end
|
759
759
|
return data, status_code, headers
|
760
760
|
end
|
@@ -765,8 +765,8 @@ module PureCloud
|
|
765
765
|
# @param attachment_id attachment ID
|
766
766
|
# @param [Hash] opts the optional parameters
|
767
767
|
# @return [String]
|
768
|
-
def
|
769
|
-
data, status_code, headers =
|
768
|
+
def delete_conversation_messages_draft_attachments_by_attachment_id(conversation_id, attachment_id, opts = {})
|
769
|
+
data, status_code, headers = delete_conversation_messages_draft_attachments_by_attachment_id_with_http_info(conversation_id, attachment_id, opts)
|
770
770
|
return data
|
771
771
|
end
|
772
772
|
|
@@ -776,16 +776,16 @@ module PureCloud
|
|
776
776
|
# @param attachment_id attachment ID
|
777
777
|
# @param [Hash] opts the optional parameters
|
778
778
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
779
|
-
def
|
779
|
+
def delete_conversation_messages_draft_attachments_by_attachment_id_with_http_info(conversation_id, attachment_id, opts = {})
|
780
780
|
if @api_client.config.debugging
|
781
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
781
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#delete_conversation_messages_draft_attachments_by_attachment_id ..."
|
782
782
|
end
|
783
783
|
|
784
784
|
# verify the required parameter 'conversation_id' is set
|
785
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
785
|
+
fail "Missing the required parameter 'conversation_id' when calling delete_conversation_messages_draft_attachments_by_attachment_id" if conversation_id.nil?
|
786
786
|
|
787
787
|
# verify the required parameter 'attachment_id' is set
|
788
|
-
fail "Missing the required parameter 'attachment_id' when calling
|
788
|
+
fail "Missing the required parameter 'attachment_id' when calling delete_conversation_messages_draft_attachments_by_attachment_id" if attachment_id.nil?
|
789
789
|
|
790
790
|
# resource path
|
791
791
|
path = "/api/v1/conversations/{conversationId}/messages/draft/attachments/{attachmentId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'attachmentId' + '}', attachment_id.to_s)
|
@@ -820,7 +820,7 @@ module PureCloud
|
|
820
820
|
:auth_names => auth_names,
|
821
821
|
:return_type => 'String')
|
822
822
|
if @api_client.config.debugging
|
823
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
823
|
+
@api_client.config.logger.debug "API called: ConversationsApi#delete_conversation_messages_draft_attachments_by_attachment_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
824
824
|
end
|
825
825
|
return data, status_code, headers
|
826
826
|
end
|
@@ -831,8 +831,8 @@ module PureCloud
|
|
831
831
|
# @param id message ID
|
832
832
|
# @param [Hash] opts the optional parameters
|
833
833
|
# @return [EmailMessage]
|
834
|
-
def
|
835
|
-
data, status_code, headers =
|
834
|
+
def get_conversation_messages_by_id(conversation_id, id, opts = {})
|
835
|
+
data, status_code, headers = get_conversation_messages_by_id_with_http_info(conversation_id, id, opts)
|
836
836
|
return data
|
837
837
|
end
|
838
838
|
|
@@ -842,16 +842,16 @@ module PureCloud
|
|
842
842
|
# @param id message ID
|
843
843
|
# @param [Hash] opts the optional parameters
|
844
844
|
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
845
|
-
def
|
845
|
+
def get_conversation_messages_by_id_with_http_info(conversation_id, id, opts = {})
|
846
846
|
if @api_client.config.debugging
|
847
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
847
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_messages_by_id ..."
|
848
848
|
end
|
849
849
|
|
850
850
|
# verify the required parameter 'conversation_id' is set
|
851
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
851
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_messages_by_id" if conversation_id.nil?
|
852
852
|
|
853
853
|
# verify the required parameter 'id' is set
|
854
|
-
fail "Missing the required parameter 'id' when calling
|
854
|
+
fail "Missing the required parameter 'id' when calling get_conversation_messages_by_id" if id.nil?
|
855
855
|
|
856
856
|
# resource path
|
857
857
|
path = "/api/v1/conversations/{conversationId}/messages/{id}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'id' + '}', id.to_s)
|
@@ -886,7 +886,7 @@ module PureCloud
|
|
886
886
|
:auth_names => auth_names,
|
887
887
|
:return_type => 'EmailMessage')
|
888
888
|
if @api_client.config.debugging
|
889
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
889
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_messages_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
890
890
|
end
|
891
891
|
return data, status_code, headers
|
892
892
|
end
|
@@ -897,8 +897,8 @@ module PureCloud
|
|
897
897
|
# @param [Hash] opts the optional parameters
|
898
898
|
# @option opts [Conversation] :body Conversation
|
899
899
|
# @return [Conversation]
|
900
|
-
def
|
901
|
-
data, status_code, headers =
|
900
|
+
def create_conversation_participants(conversation_id, opts = {})
|
901
|
+
data, status_code, headers = create_conversation_participants_with_http_info(conversation_id, opts)
|
902
902
|
return data
|
903
903
|
end
|
904
904
|
|
@@ -908,13 +908,13 @@ module PureCloud
|
|
908
908
|
# @param [Hash] opts the optional parameters
|
909
909
|
# @option opts [Conversation] :body Conversation
|
910
910
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
911
|
-
def
|
911
|
+
def create_conversation_participants_with_http_info(conversation_id, opts = {})
|
912
912
|
if @api_client.config.debugging
|
913
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
913
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#create_conversation_participants ..."
|
914
914
|
end
|
915
915
|
|
916
916
|
# verify the required parameter 'conversation_id' is set
|
917
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
917
|
+
fail "Missing the required parameter 'conversation_id' when calling create_conversation_participants" if conversation_id.nil?
|
918
918
|
|
919
919
|
# resource path
|
920
920
|
path = "/api/v1/conversations/{conversationId}/participants".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -949,7 +949,7 @@ module PureCloud
|
|
949
949
|
:auth_names => auth_names,
|
950
950
|
:return_type => 'Conversation')
|
951
951
|
if @api_client.config.debugging
|
952
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
952
|
+
@api_client.config.logger.debug "API called: ConversationsApi#create_conversation_participants\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
953
953
|
end
|
954
954
|
return data, status_code, headers
|
955
955
|
end
|
@@ -961,8 +961,8 @@ module PureCloud
|
|
961
961
|
# @param [Hash] opts the optional parameters
|
962
962
|
# @option opts [ParticipantRequest] :body
|
963
963
|
# @return [nil]
|
964
|
-
def
|
965
|
-
|
964
|
+
def update_conversation_participants_by_participant_id(conversation_id, participant_id, opts = {})
|
965
|
+
update_conversation_participants_by_participant_id_with_http_info(conversation_id, participant_id, opts)
|
966
966
|
return nil
|
967
967
|
end
|
968
968
|
|
@@ -973,16 +973,16 @@ module PureCloud
|
|
973
973
|
# @param [Hash] opts the optional parameters
|
974
974
|
# @option opts [ParticipantRequest] :body
|
975
975
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
976
|
-
def
|
976
|
+
def update_conversation_participants_by_participant_id_with_http_info(conversation_id, participant_id, opts = {})
|
977
977
|
if @api_client.config.debugging
|
978
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
978
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#update_conversation_participants_by_participant_id ..."
|
979
979
|
end
|
980
980
|
|
981
981
|
# verify the required parameter 'conversation_id' is set
|
982
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
982
|
+
fail "Missing the required parameter 'conversation_id' when calling update_conversation_participants_by_participant_id" if conversation_id.nil?
|
983
983
|
|
984
984
|
# verify the required parameter 'participant_id' is set
|
985
|
-
fail "Missing the required parameter 'participant_id' when calling
|
985
|
+
fail "Missing the required parameter 'participant_id' when calling update_conversation_participants_by_participant_id" if participant_id.nil?
|
986
986
|
|
987
987
|
# resource path
|
988
988
|
path = "/api/v1/conversations/{conversationId}/participants/{participantId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
@@ -1016,7 +1016,7 @@ module PureCloud
|
|
1016
1016
|
:body => post_body,
|
1017
1017
|
:auth_names => auth_names)
|
1018
1018
|
if @api_client.config.debugging
|
1019
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
1019
|
+
@api_client.config.logger.debug "API called: ConversationsApi#update_conversation_participants_by_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1020
1020
|
end
|
1021
1021
|
return data, status_code, headers
|
1022
1022
|
end
|
@@ -1028,8 +1028,8 @@ module PureCloud
|
|
1028
1028
|
# @param [Hash] opts the optional parameters
|
1029
1029
|
# @option opts [ParticipantAttributes] :body
|
1030
1030
|
# @return [nil]
|
1031
|
-
def
|
1032
|
-
|
1031
|
+
def update_conversation_participants_by_participant_id_attributes(conversation_id, participant_id, opts = {})
|
1032
|
+
update_conversation_participants_by_participant_id_attributes_with_http_info(conversation_id, participant_id, opts)
|
1033
1033
|
return nil
|
1034
1034
|
end
|
1035
1035
|
|
@@ -1040,16 +1040,16 @@ module PureCloud
|
|
1040
1040
|
# @param [Hash] opts the optional parameters
|
1041
1041
|
# @option opts [ParticipantAttributes] :body
|
1042
1042
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1043
|
-
def
|
1043
|
+
def update_conversation_participants_by_participant_id_attributes_with_http_info(conversation_id, participant_id, opts = {})
|
1044
1044
|
if @api_client.config.debugging
|
1045
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
1045
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#update_conversation_participants_by_participant_id_attributes ..."
|
1046
1046
|
end
|
1047
1047
|
|
1048
1048
|
# verify the required parameter 'conversation_id' is set
|
1049
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1049
|
+
fail "Missing the required parameter 'conversation_id' when calling update_conversation_participants_by_participant_id_attributes" if conversation_id.nil?
|
1050
1050
|
|
1051
1051
|
# verify the required parameter 'participant_id' is set
|
1052
|
-
fail "Missing the required parameter 'participant_id' when calling
|
1052
|
+
fail "Missing the required parameter 'participant_id' when calling update_conversation_participants_by_participant_id_attributes" if participant_id.nil?
|
1053
1053
|
|
1054
1054
|
# resource path
|
1055
1055
|
path = "/api/v1/conversations/{conversationId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
@@ -1083,7 +1083,7 @@ module PureCloud
|
|
1083
1083
|
:body => post_body,
|
1084
1084
|
:auth_names => auth_names)
|
1085
1085
|
if @api_client.config.debugging
|
1086
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
1086
|
+
@api_client.config.logger.debug "API called: ConversationsApi#update_conversation_participants_by_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1087
1087
|
end
|
1088
1088
|
return data, status_code, headers
|
1089
1089
|
end
|
@@ -1095,8 +1095,8 @@ module PureCloud
|
|
1095
1095
|
# @param [Hash] opts the optional parameters
|
1096
1096
|
# @option opts [ConsultTransferUpdate] :body new speak to
|
1097
1097
|
# @return [ConsultTransferResponse]
|
1098
|
-
def
|
1099
|
-
data, status_code, headers =
|
1098
|
+
def update_conversation_participants_by_participant_id_consult(conversation_id, participant_id, opts = {})
|
1099
|
+
data, status_code, headers = update_conversation_participants_by_participant_id_consult_with_http_info(conversation_id, participant_id, opts)
|
1100
1100
|
return data
|
1101
1101
|
end
|
1102
1102
|
|
@@ -1107,16 +1107,16 @@ module PureCloud
|
|
1107
1107
|
# @param [Hash] opts the optional parameters
|
1108
1108
|
# @option opts [ConsultTransferUpdate] :body new speak to
|
1109
1109
|
# @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
|
1110
|
-
def
|
1110
|
+
def update_conversation_participants_by_participant_id_consult_with_http_info(conversation_id, participant_id, opts = {})
|
1111
1111
|
if @api_client.config.debugging
|
1112
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
1112
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#update_conversation_participants_by_participant_id_consult ..."
|
1113
1113
|
end
|
1114
1114
|
|
1115
1115
|
# verify the required parameter 'conversation_id' is set
|
1116
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1116
|
+
fail "Missing the required parameter 'conversation_id' when calling update_conversation_participants_by_participant_id_consult" if conversation_id.nil?
|
1117
1117
|
|
1118
1118
|
# verify the required parameter 'participant_id' is set
|
1119
|
-
fail "Missing the required parameter 'participant_id' when calling
|
1119
|
+
fail "Missing the required parameter 'participant_id' when calling update_conversation_participants_by_participant_id_consult" if participant_id.nil?
|
1120
1120
|
|
1121
1121
|
# resource path
|
1122
1122
|
path = "/api/v1/conversations/{conversationId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
@@ -1151,7 +1151,7 @@ module PureCloud
|
|
1151
1151
|
:auth_names => auth_names,
|
1152
1152
|
:return_type => 'ConsultTransferResponse')
|
1153
1153
|
if @api_client.config.debugging
|
1154
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
1154
|
+
@api_client.config.logger.debug "API called: ConversationsApi#update_conversation_participants_by_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1155
1155
|
end
|
1156
1156
|
return data, status_code, headers
|
1157
1157
|
end
|
@@ -1163,8 +1163,8 @@ module PureCloud
|
|
1163
1163
|
# @param [Hash] opts the optional parameters
|
1164
1164
|
# @option opts [ConsultTransfer] :body Destination address & initial speak to
|
1165
1165
|
# @return [ConsultTransferResponse]
|
1166
|
-
def
|
1167
|
-
data, status_code, headers =
|
1166
|
+
def create_conversation_participants_by_participant_id_consult(conversation_id, participant_id, opts = {})
|
1167
|
+
data, status_code, headers = create_conversation_participants_by_participant_id_consult_with_http_info(conversation_id, participant_id, opts)
|
1168
1168
|
return data
|
1169
1169
|
end
|
1170
1170
|
|
@@ -1175,16 +1175,16 @@ module PureCloud
|
|
1175
1175
|
# @param [Hash] opts the optional parameters
|
1176
1176
|
# @option opts [ConsultTransfer] :body Destination address & initial speak to
|
1177
1177
|
# @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
|
1178
|
-
def
|
1178
|
+
def create_conversation_participants_by_participant_id_consult_with_http_info(conversation_id, participant_id, opts = {})
|
1179
1179
|
if @api_client.config.debugging
|
1180
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
1180
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#create_conversation_participants_by_participant_id_consult ..."
|
1181
1181
|
end
|
1182
1182
|
|
1183
1183
|
# verify the required parameter 'conversation_id' is set
|
1184
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1184
|
+
fail "Missing the required parameter 'conversation_id' when calling create_conversation_participants_by_participant_id_consult" if conversation_id.nil?
|
1185
1185
|
|
1186
1186
|
# verify the required parameter 'participant_id' is set
|
1187
|
-
fail "Missing the required parameter 'participant_id' when calling
|
1187
|
+
fail "Missing the required parameter 'participant_id' when calling create_conversation_participants_by_participant_id_consult" if participant_id.nil?
|
1188
1188
|
|
1189
1189
|
# resource path
|
1190
1190
|
path = "/api/v1/conversations/{conversationId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
@@ -1219,7 +1219,7 @@ module PureCloud
|
|
1219
1219
|
:auth_names => auth_names,
|
1220
1220
|
:return_type => 'ConsultTransferResponse')
|
1221
1221
|
if @api_client.config.debugging
|
1222
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
1222
|
+
@api_client.config.logger.debug "API called: ConversationsApi#create_conversation_participants_by_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1223
1223
|
end
|
1224
1224
|
return data, status_code, headers
|
1225
1225
|
end
|
@@ -1230,8 +1230,8 @@ module PureCloud
|
|
1230
1230
|
# @param participant_id The object of the transfer
|
1231
1231
|
# @param [Hash] opts the optional parameters
|
1232
1232
|
# @return [String]
|
1233
|
-
def
|
1234
|
-
data, status_code, headers =
|
1233
|
+
def delete_conversation_participants_by_participant_id_consult(conversation_id, participant_id, opts = {})
|
1234
|
+
data, status_code, headers = delete_conversation_participants_by_participant_id_consult_with_http_info(conversation_id, participant_id, opts)
|
1235
1235
|
return data
|
1236
1236
|
end
|
1237
1237
|
|
@@ -1241,16 +1241,16 @@ module PureCloud
|
|
1241
1241
|
# @param participant_id The object of the transfer
|
1242
1242
|
# @param [Hash] opts the optional parameters
|
1243
1243
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1244
|
-
def
|
1244
|
+
def delete_conversation_participants_by_participant_id_consult_with_http_info(conversation_id, participant_id, opts = {})
|
1245
1245
|
if @api_client.config.debugging
|
1246
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
1246
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#delete_conversation_participants_by_participant_id_consult ..."
|
1247
1247
|
end
|
1248
1248
|
|
1249
1249
|
# verify the required parameter 'conversation_id' is set
|
1250
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1250
|
+
fail "Missing the required parameter 'conversation_id' when calling delete_conversation_participants_by_participant_id_consult" if conversation_id.nil?
|
1251
1251
|
|
1252
1252
|
# verify the required parameter 'participant_id' is set
|
1253
|
-
fail "Missing the required parameter 'participant_id' when calling
|
1253
|
+
fail "Missing the required parameter 'participant_id' when calling delete_conversation_participants_by_participant_id_consult" if participant_id.nil?
|
1254
1254
|
|
1255
1255
|
# resource path
|
1256
1256
|
path = "/api/v1/conversations/{conversationId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
@@ -1285,7 +1285,7 @@ module PureCloud
|
|
1285
1285
|
:auth_names => auth_names,
|
1286
1286
|
:return_type => 'String')
|
1287
1287
|
if @api_client.config.debugging
|
1288
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
1288
|
+
@api_client.config.logger.debug "API called: ConversationsApi#delete_conversation_participants_by_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1289
1289
|
end
|
1290
1290
|
return data, status_code, headers
|
1291
1291
|
end
|
@@ -1296,8 +1296,8 @@ module PureCloud
|
|
1296
1296
|
# @param participant_id participant ID
|
1297
1297
|
# @param [Hash] opts the optional parameters
|
1298
1298
|
# @return [nil]
|
1299
|
-
def
|
1300
|
-
|
1299
|
+
def create_conversation_participants_by_participant_id_monitor(conversation_id, participant_id, opts = {})
|
1300
|
+
create_conversation_participants_by_participant_id_monitor_with_http_info(conversation_id, participant_id, opts)
|
1301
1301
|
return nil
|
1302
1302
|
end
|
1303
1303
|
|
@@ -1307,16 +1307,16 @@ module PureCloud
|
|
1307
1307
|
# @param participant_id participant ID
|
1308
1308
|
# @param [Hash] opts the optional parameters
|
1309
1309
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1310
|
-
def
|
1310
|
+
def create_conversation_participants_by_participant_id_monitor_with_http_info(conversation_id, participant_id, opts = {})
|
1311
1311
|
if @api_client.config.debugging
|
1312
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
1312
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#create_conversation_participants_by_participant_id_monitor ..."
|
1313
1313
|
end
|
1314
1314
|
|
1315
1315
|
# verify the required parameter 'conversation_id' is set
|
1316
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1316
|
+
fail "Missing the required parameter 'conversation_id' when calling create_conversation_participants_by_participant_id_monitor" if conversation_id.nil?
|
1317
1317
|
|
1318
1318
|
# verify the required parameter 'participant_id' is set
|
1319
|
-
fail "Missing the required parameter 'participant_id' when calling
|
1319
|
+
fail "Missing the required parameter 'participant_id' when calling create_conversation_participants_by_participant_id_monitor" if participant_id.nil?
|
1320
1320
|
|
1321
1321
|
# resource path
|
1322
1322
|
path = "/api/v1/conversations/{conversationId}/participants/{participantId}/monitor".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
@@ -1350,7 +1350,7 @@ module PureCloud
|
|
1350
1350
|
:body => post_body,
|
1351
1351
|
:auth_names => auth_names)
|
1352
1352
|
if @api_client.config.debugging
|
1353
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
1353
|
+
@api_client.config.logger.debug "API called: ConversationsApi#create_conversation_participants_by_participant_id_monitor\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1354
1354
|
end
|
1355
1355
|
return data, status_code, headers
|
1356
1356
|
end
|
@@ -1366,8 +1366,8 @@ module PureCloud
|
|
1366
1366
|
# @option opts [String] :queue_id The id of the queue that will replace this participant.
|
1367
1367
|
# @option opts [BOOLEAN] :voicemail Indicates this participant will be replaced by the voicemail inbox of the participant.
|
1368
1368
|
# @return [nil]
|
1369
|
-
def
|
1370
|
-
|
1369
|
+
def create_conversation_participants_by_participant_id_replace(conversation_id, participant_id, opts = {})
|
1370
|
+
create_conversation_participants_by_participant_id_replace_with_http_info(conversation_id, participant_id, opts)
|
1371
1371
|
return nil
|
1372
1372
|
end
|
1373
1373
|
|
@@ -1382,16 +1382,16 @@ module PureCloud
|
|
1382
1382
|
# @option opts [String] :queue_id The id of the queue that will replace this participant.
|
1383
1383
|
# @option opts [BOOLEAN] :voicemail Indicates this participant will be replaced by the voicemail inbox of the participant.
|
1384
1384
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1385
|
-
def
|
1385
|
+
def create_conversation_participants_by_participant_id_replace_with_http_info(conversation_id, participant_id, opts = {})
|
1386
1386
|
if @api_client.config.debugging
|
1387
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
1387
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#create_conversation_participants_by_participant_id_replace ..."
|
1388
1388
|
end
|
1389
1389
|
|
1390
1390
|
# verify the required parameter 'conversation_id' is set
|
1391
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1391
|
+
fail "Missing the required parameter 'conversation_id' when calling create_conversation_participants_by_participant_id_replace" if conversation_id.nil?
|
1392
1392
|
|
1393
1393
|
# verify the required parameter 'participant_id' is set
|
1394
|
-
fail "Missing the required parameter 'participant_id' when calling
|
1394
|
+
fail "Missing the required parameter 'participant_id' when calling create_conversation_participants_by_participant_id_replace" if participant_id.nil?
|
1395
1395
|
|
1396
1396
|
# resource path
|
1397
1397
|
path = "/api/v1/conversations/{conversationId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
@@ -1430,7 +1430,7 @@ module PureCloud
|
|
1430
1430
|
:body => post_body,
|
1431
1431
|
:auth_names => auth_names)
|
1432
1432
|
if @api_client.config.debugging
|
1433
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
1433
|
+
@api_client.config.logger.debug "API called: ConversationsApi#create_conversation_participants_by_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1434
1434
|
end
|
1435
1435
|
return data, status_code, headers
|
1436
1436
|
end
|
@@ -1442,8 +1442,8 @@ module PureCloud
|
|
1442
1442
|
# @param [Hash] opts the optional parameters
|
1443
1443
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
1444
1444
|
# @return [WrapupCode]
|
1445
|
-
def
|
1446
|
-
data, status_code, headers =
|
1445
|
+
def get_conversation_participants_by_participant_id_wrapup(conversation_id, participant_id, opts = {})
|
1446
|
+
data, status_code, headers = get_conversation_participants_by_participant_id_wrapup_with_http_info(conversation_id, participant_id, opts)
|
1447
1447
|
return data
|
1448
1448
|
end
|
1449
1449
|
|
@@ -1454,16 +1454,16 @@ module PureCloud
|
|
1454
1454
|
# @param [Hash] opts the optional parameters
|
1455
1455
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
1456
1456
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
1457
|
-
def
|
1457
|
+
def get_conversation_participants_by_participant_id_wrapup_with_http_info(conversation_id, participant_id, opts = {})
|
1458
1458
|
if @api_client.config.debugging
|
1459
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
1459
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_participants_by_participant_id_wrapup ..."
|
1460
1460
|
end
|
1461
1461
|
|
1462
1462
|
# verify the required parameter 'conversation_id' is set
|
1463
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1463
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_participants_by_participant_id_wrapup" if conversation_id.nil?
|
1464
1464
|
|
1465
1465
|
# verify the required parameter 'participant_id' is set
|
1466
|
-
fail "Missing the required parameter 'participant_id' when calling
|
1466
|
+
fail "Missing the required parameter 'participant_id' when calling get_conversation_participants_by_participant_id_wrapup" if participant_id.nil?
|
1467
1467
|
|
1468
1468
|
# resource path
|
1469
1469
|
path = "/api/v1/conversations/{conversationId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
@@ -1499,7 +1499,7 @@ module PureCloud
|
|
1499
1499
|
:auth_names => auth_names,
|
1500
1500
|
:return_type => 'WrapupCode')
|
1501
1501
|
if @api_client.config.debugging
|
1502
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
1502
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_participants_by_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1503
1503
|
end
|
1504
1504
|
return data, status_code, headers
|
1505
1505
|
end
|
@@ -1510,8 +1510,8 @@ module PureCloud
|
|
1510
1510
|
# @param participant_id participant ID
|
1511
1511
|
# @param [Hash] opts the optional parameters
|
1512
1512
|
# @return [WrapupCode]
|
1513
|
-
def
|
1514
|
-
data, status_code, headers =
|
1513
|
+
def get_conversation_participants_by_participant_id_wrapupcodes(conversation_id, participant_id, opts = {})
|
1514
|
+
data, status_code, headers = get_conversation_participants_by_participant_id_wrapupcodes_with_http_info(conversation_id, participant_id, opts)
|
1515
1515
|
return data
|
1516
1516
|
end
|
1517
1517
|
|
@@ -1521,16 +1521,16 @@ module PureCloud
|
|
1521
1521
|
# @param participant_id participant ID
|
1522
1522
|
# @param [Hash] opts the optional parameters
|
1523
1523
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
1524
|
-
def
|
1524
|
+
def get_conversation_participants_by_participant_id_wrapupcodes_with_http_info(conversation_id, participant_id, opts = {})
|
1525
1525
|
if @api_client.config.debugging
|
1526
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
1526
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_participants_by_participant_id_wrapupcodes ..."
|
1527
1527
|
end
|
1528
1528
|
|
1529
1529
|
# verify the required parameter 'conversation_id' is set
|
1530
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1530
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_participants_by_participant_id_wrapupcodes" if conversation_id.nil?
|
1531
1531
|
|
1532
1532
|
# verify the required parameter 'participant_id' is set
|
1533
|
-
fail "Missing the required parameter 'participant_id' when calling
|
1533
|
+
fail "Missing the required parameter 'participant_id' when calling get_conversation_participants_by_participant_id_wrapupcodes" if participant_id.nil?
|
1534
1534
|
|
1535
1535
|
# resource path
|
1536
1536
|
path = "/api/v1/conversations/{conversationId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
@@ -1565,7 +1565,7 @@ module PureCloud
|
|
1565
1565
|
:auth_names => auth_names,
|
1566
1566
|
:return_type => 'WrapupCode')
|
1567
1567
|
if @api_client.config.debugging
|
1568
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
1568
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_participants_by_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1569
1569
|
end
|
1570
1570
|
return data, status_code, headers
|
1571
1571
|
end
|
@@ -1575,8 +1575,8 @@ module PureCloud
|
|
1575
1575
|
# @param conversation_id conversation ID
|
1576
1576
|
# @param [Hash] opts the optional parameters
|
1577
1577
|
# @return [Tag]
|
1578
|
-
def
|
1579
|
-
data, status_code, headers =
|
1578
|
+
def get_conversation_tags(conversation_id, opts = {})
|
1579
|
+
data, status_code, headers = get_conversation_tags_with_http_info(conversation_id, opts)
|
1580
1580
|
return data
|
1581
1581
|
end
|
1582
1582
|
|
@@ -1585,13 +1585,13 @@ module PureCloud
|
|
1585
1585
|
# @param conversation_id conversation ID
|
1586
1586
|
# @param [Hash] opts the optional parameters
|
1587
1587
|
# @return [Array<(Tag, Fixnum, Hash)>] Tag data, response status code and response headers
|
1588
|
-
def
|
1588
|
+
def get_conversation_tags_with_http_info(conversation_id, opts = {})
|
1589
1589
|
if @api_client.config.debugging
|
1590
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
1590
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_tags ..."
|
1591
1591
|
end
|
1592
1592
|
|
1593
1593
|
# verify the required parameter 'conversation_id' is set
|
1594
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1594
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_tags" if conversation_id.nil?
|
1595
1595
|
|
1596
1596
|
# resource path
|
1597
1597
|
path = "/api/v1/conversations/{conversationId}/tags".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -1626,7 +1626,7 @@ module PureCloud
|
|
1626
1626
|
:auth_names => auth_names,
|
1627
1627
|
:return_type => 'Tag')
|
1628
1628
|
if @api_client.config.debugging
|
1629
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
1629
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_tags\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1630
1630
|
end
|
1631
1631
|
return data, status_code, headers
|
1632
1632
|
end
|
@@ -1636,8 +1636,8 @@ module PureCloud
|
|
1636
1636
|
# @param conversation_id conversation ID
|
1637
1637
|
# @param [Hash] opts the optional parameters
|
1638
1638
|
# @return [WrapupCode]
|
1639
|
-
def
|
1640
|
-
data, status_code, headers =
|
1639
|
+
def get_conversation_wrapupcodes(conversation_id, opts = {})
|
1640
|
+
data, status_code, headers = get_conversation_wrapupcodes_with_http_info(conversation_id, opts)
|
1641
1641
|
return data
|
1642
1642
|
end
|
1643
1643
|
|
@@ -1646,13 +1646,13 @@ module PureCloud
|
|
1646
1646
|
# @param conversation_id conversation ID
|
1647
1647
|
# @param [Hash] opts the optional parameters
|
1648
1648
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
1649
|
-
def
|
1649
|
+
def get_conversation_wrapupcodes_with_http_info(conversation_id, opts = {})
|
1650
1650
|
if @api_client.config.debugging
|
1651
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
1651
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_wrapupcodes ..."
|
1652
1652
|
end
|
1653
1653
|
|
1654
1654
|
# verify the required parameter 'conversation_id' is set
|
1655
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1655
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_wrapupcodes" if conversation_id.nil?
|
1656
1656
|
|
1657
1657
|
# resource path
|
1658
1658
|
path = "/api/v1/conversations/{conversationId}/wrapupcodes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -1687,7 +1687,7 @@ module PureCloud
|
|
1687
1687
|
:auth_names => auth_names,
|
1688
1688
|
:return_type => 'WrapupCode')
|
1689
1689
|
if @api_client.config.debugging
|
1690
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
1690
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1691
1691
|
end
|
1692
1692
|
return data, status_code, headers
|
1693
1693
|
end
|