purecloudplatformclientv2 35.0.0 → 36.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 +4 -4
- data/README.md +2 -2
- data/docs/AdditionalMessage.md +2 -0
- data/docs/AlertingApi.md +0 -2
- data/docs/AnalyticsApi.md +0 -13
- data/docs/ArchitectApi.md +210 -150
- data/docs/AttributesApi.md +0 -6
- data/docs/AuthorizationApi.md +15 -7
- data/docs/BillingApi.md +4 -1
- data/docs/CampaignDivisionView.md +1 -1
- data/docs/ContentManagementApi.md +0 -38
- data/docs/ConversationsApi.md +141 -75
- data/docs/CreateQueueRequest.md +1 -1
- data/docs/Division.md +15 -0
- data/docs/FaxApi.md +0 -6
- data/docs/Flow.md +1 -1
- data/docs/FlowDivisionView.md +1 -0
- data/docs/FreeSeatingConfiguration.md +1 -1
- data/docs/GeolocationApi.md +0 -3
- data/docs/GreetingsApi.md +0 -16
- data/docs/GroupsApi.md +2 -12
- data/docs/IdentityProviderApi.md +18 -9
- data/docs/IntegrationsApi.md +26 -31
- data/docs/LanguagesApi.md +0 -4
- data/docs/LicenseApi.md +21 -8
- data/docs/LocationsApi.md +0 -3
- data/docs/ManagementUnit.md +1 -0
- data/docs/MessageData.md +1 -0
- data/docs/MessageDetails.md +1 -0
- data/docs/MessageMedia.md +3 -0
- data/docs/MessageMediaData.md +20 -0
- data/docs/MessageSticker.md +14 -0
- data/docs/MobileDevicesApi.md +0 -5
- data/docs/NotificationsApi.md +0 -7
- data/docs/OrganizationApi.md +0 -2
- data/docs/OrganizationAuthorizationApi.md +16 -6
- data/docs/OutboundApi.md +8 -6
- data/docs/OutboundSettings.md +1 -0
- data/docs/PresenceApi.md +0 -5
- data/docs/QualityApi.md +0 -21
- data/docs/Queue.md +1 -1
- data/docs/RecordingApi.md +0 -17
- data/docs/ResponseManagementApi.md +0 -11
- data/docs/RoutingApi.md +93 -9
- data/docs/SearchApi.md +0 -14
- data/docs/StationsApi.md +0 -3
- data/docs/SuggestApi.md +0 -4
- data/docs/SurveyForm.md +3 -1
- data/docs/TelephonyProvidersEdgeApi.md +4 -16
- data/docs/TokensApi.md +0 -2
- data/docs/UserQueue.md +1 -1
- data/docs/UserRecordingsApi.md +0 -6
- data/docs/UsersApi.md +31 -42
- data/docs/UtilitiesApi.md +0 -3
- data/docs/VoicemailApi.md +8 -21
- data/docs/WorkforceManagementApi.md +25 -4
- data/lib/purecloudplatformclientv2.rb +3 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +136 -102
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +160 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +122 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +22 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/additional_message.rb +60 -4
- data/lib/purecloudplatformclientv2/models/campaign_division_view.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/division.rb +253 -0
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow.rb +1 -1
- data/lib/purecloudplatformclientv2/models/flow_division_view.rb +27 -1
- data/lib/purecloudplatformclientv2/models/free_seating_configuration.rb +23 -9
- data/lib/purecloudplatformclientv2/models/management_unit.rb +27 -1
- data/lib/purecloudplatformclientv2/models/message_data.rb +29 -1
- data/lib/purecloudplatformclientv2/models/message_details.rb +32 -4
- data/lib/purecloudplatformclientv2/models/message_media.rb +82 -4
- data/lib/purecloudplatformclientv2/models/message_media_data.rb +411 -0
- data/lib/purecloudplatformclientv2/models/message_sticker.rb +228 -0
- data/lib/purecloudplatformclientv2/models/outbound_settings.rb +27 -1
- data/lib/purecloudplatformclientv2/models/queue.rb +1 -1
- data/lib/purecloudplatformclientv2/models/survey_form.rb +53 -1
- data/lib/purecloudplatformclientv2/models/user_queue.rb +1 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +8 -2
data/docs/UtilitiesApi.md
CHANGED
|
@@ -29,7 +29,6 @@ Requires NO permissions:
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
|
|
33
32
|
### Example
|
|
34
33
|
~~~ruby
|
|
35
34
|
# load the gem
|
|
@@ -88,7 +87,6 @@ Requires NO permissions:
|
|
|
88
87
|
|
|
89
88
|
|
|
90
89
|
|
|
91
|
-
|
|
92
90
|
### Example
|
|
93
91
|
~~~ruby
|
|
94
92
|
# load the gem
|
|
@@ -156,7 +154,6 @@ Requires NO permissions:
|
|
|
156
154
|
|
|
157
155
|
|
|
158
156
|
|
|
159
|
-
|
|
160
157
|
### Example
|
|
161
158
|
~~~ruby
|
|
162
159
|
# load the gem
|
data/docs/VoicemailApi.md
CHANGED
|
@@ -50,7 +50,6 @@ Requires NO permissions:
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
|
|
54
53
|
### Example
|
|
55
54
|
~~~ruby
|
|
56
55
|
# load the gem
|
|
@@ -114,7 +113,6 @@ Requires NO permissions:
|
|
|
114
113
|
|
|
115
114
|
|
|
116
115
|
|
|
117
|
-
|
|
118
116
|
### Example
|
|
119
117
|
~~~ruby
|
|
120
118
|
# load the gem
|
|
@@ -172,7 +170,6 @@ Requires NO permissions:
|
|
|
172
170
|
|
|
173
171
|
|
|
174
172
|
|
|
175
|
-
|
|
176
173
|
### Example
|
|
177
174
|
~~~ruby
|
|
178
175
|
# load the gem
|
|
@@ -237,7 +234,6 @@ Requires NO permissions:
|
|
|
237
234
|
|
|
238
235
|
|
|
239
236
|
|
|
240
|
-
|
|
241
237
|
### Example
|
|
242
238
|
~~~ruby
|
|
243
239
|
# load the gem
|
|
@@ -306,7 +302,10 @@ Wraps GET /api/v2/voicemail/groups/{groupId}/policy
|
|
|
306
302
|
|
|
307
303
|
Requires ANY permissions:
|
|
308
304
|
|
|
309
|
-
* directory:group:add
|
|
305
|
+
* directory:group:add
|
|
306
|
+
* directory:group:edit
|
|
307
|
+
* group_administration
|
|
308
|
+
* group_creation
|
|
310
309
|
|
|
311
310
|
|
|
312
311
|
### Example
|
|
@@ -373,7 +372,6 @@ Requires NO permissions:
|
|
|
373
372
|
|
|
374
373
|
|
|
375
374
|
|
|
376
|
-
|
|
377
375
|
### Example
|
|
378
376
|
~~~ruby
|
|
379
377
|
# load the gem
|
|
@@ -432,7 +430,6 @@ Requires NO permissions:
|
|
|
432
430
|
|
|
433
431
|
|
|
434
432
|
|
|
435
|
-
|
|
436
433
|
### Example
|
|
437
434
|
~~~ruby
|
|
438
435
|
# load the gem
|
|
@@ -491,7 +488,6 @@ Requires NO permissions:
|
|
|
491
488
|
|
|
492
489
|
|
|
493
490
|
|
|
494
|
-
|
|
495
491
|
### Example
|
|
496
492
|
~~~ruby
|
|
497
493
|
# load the gem
|
|
@@ -559,7 +555,6 @@ Requires NO permissions:
|
|
|
559
555
|
|
|
560
556
|
|
|
561
557
|
|
|
562
|
-
|
|
563
558
|
### Example
|
|
564
559
|
~~~ruby
|
|
565
560
|
# load the gem
|
|
@@ -618,7 +613,6 @@ Requires NO permissions:
|
|
|
618
613
|
|
|
619
614
|
|
|
620
615
|
|
|
621
|
-
|
|
622
616
|
### Example
|
|
623
617
|
~~~ruby
|
|
624
618
|
# load the gem
|
|
@@ -687,7 +681,6 @@ Requires NO permissions:
|
|
|
687
681
|
|
|
688
682
|
|
|
689
683
|
|
|
690
|
-
|
|
691
684
|
### Example
|
|
692
685
|
~~~ruby
|
|
693
686
|
# load the gem
|
|
@@ -756,7 +749,6 @@ Requires NO permissions:
|
|
|
756
749
|
|
|
757
750
|
|
|
758
751
|
|
|
759
|
-
|
|
760
752
|
### Example
|
|
761
753
|
~~~ruby
|
|
762
754
|
# load the gem
|
|
@@ -954,7 +946,6 @@ Requires NO permissions:
|
|
|
954
946
|
|
|
955
947
|
|
|
956
948
|
|
|
957
|
-
|
|
958
949
|
### Example
|
|
959
950
|
~~~ruby
|
|
960
951
|
# load the gem
|
|
@@ -1023,7 +1014,6 @@ Requires NO permissions:
|
|
|
1023
1014
|
|
|
1024
1015
|
|
|
1025
1016
|
|
|
1026
|
-
|
|
1027
1017
|
### Example
|
|
1028
1018
|
~~~ruby
|
|
1029
1019
|
# load the gem
|
|
@@ -1086,7 +1076,10 @@ Wraps PATCH /api/v2/voicemail/groups/{groupId}/policy
|
|
|
1086
1076
|
|
|
1087
1077
|
Requires ANY permissions:
|
|
1088
1078
|
|
|
1089
|
-
* directory:group:add
|
|
1079
|
+
* directory:group:add
|
|
1080
|
+
* directory:group:edit
|
|
1081
|
+
* group_administration
|
|
1082
|
+
* group_creation
|
|
1090
1083
|
|
|
1091
1084
|
|
|
1092
1085
|
### Example
|
|
@@ -1156,7 +1149,6 @@ Requires NO permissions:
|
|
|
1156
1149
|
|
|
1157
1150
|
|
|
1158
1151
|
|
|
1159
|
-
|
|
1160
1152
|
### Example
|
|
1161
1153
|
~~~ruby
|
|
1162
1154
|
# load the gem
|
|
@@ -1221,7 +1213,6 @@ Requires NO permissions:
|
|
|
1221
1213
|
|
|
1222
1214
|
|
|
1223
1215
|
|
|
1224
|
-
|
|
1225
1216
|
### Example
|
|
1226
1217
|
~~~ruby
|
|
1227
1218
|
# load the gem
|
|
@@ -1289,7 +1280,6 @@ Requires NO permissions:
|
|
|
1289
1280
|
|
|
1290
1281
|
|
|
1291
1282
|
|
|
1292
|
-
|
|
1293
1283
|
### Example
|
|
1294
1284
|
~~~ruby
|
|
1295
1285
|
# load the gem
|
|
@@ -1357,7 +1347,6 @@ Requires NO permissions:
|
|
|
1357
1347
|
|
|
1358
1348
|
|
|
1359
1349
|
|
|
1360
|
-
|
|
1361
1350
|
### Example
|
|
1362
1351
|
~~~ruby
|
|
1363
1352
|
# load the gem
|
|
@@ -1423,7 +1412,6 @@ Requires NO permissions:
|
|
|
1423
1412
|
|
|
1424
1413
|
|
|
1425
1414
|
|
|
1426
|
-
|
|
1427
1415
|
### Example
|
|
1428
1416
|
~~~ruby
|
|
1429
1417
|
# load the gem
|
|
@@ -1488,7 +1476,6 @@ Requires NO permissions:
|
|
|
1488
1476
|
|
|
1489
1477
|
|
|
1490
1478
|
|
|
1491
|
-
|
|
1492
1479
|
### Example
|
|
1493
1480
|
~~~ruby
|
|
1494
1481
|
# load the gem
|
|
@@ -101,7 +101,21 @@ Wraps GET /api/v2/workforcemanagement/managementunits/{muId}/activitycodes
|
|
|
101
101
|
|
|
102
102
|
Requires ANY permissions:
|
|
103
103
|
|
|
104
|
-
* wfm:activityCode:administer
|
|
104
|
+
* wfm:activityCode:administer
|
|
105
|
+
* wfm:agent:administer
|
|
106
|
+
* wfm:agentSchedule:view
|
|
107
|
+
* wfm:historicalAdherence:view
|
|
108
|
+
* wfm:intraday:view
|
|
109
|
+
* wfm:managementUnit:administer
|
|
110
|
+
* wfm:publishedSchedule:view
|
|
111
|
+
* wfm:realtimeAdherence:view
|
|
112
|
+
* wfm:schedule:administer
|
|
113
|
+
* wfm:schedule:generate
|
|
114
|
+
* wfm:serviceGoalGroup:administer
|
|
115
|
+
* wfm:shortTermForecast:administer
|
|
116
|
+
* wfm:agentTimeOffRequest:submit
|
|
117
|
+
* wfm:timeOffRequest:administer
|
|
118
|
+
* wfm:workPlan:administer
|
|
105
119
|
|
|
106
120
|
|
|
107
121
|
### Example
|
|
@@ -378,6 +392,9 @@ Wraps GET /api/v2/workforcemanagement/managementunits/{muId}/users
|
|
|
378
392
|
Requires ANY permissions:
|
|
379
393
|
|
|
380
394
|
* wfm:agent:administer
|
|
395
|
+
* wfm:timeOffRequest:administer
|
|
396
|
+
* wfm:realtimeAdherence:view
|
|
397
|
+
* wfm:historicalAdherence:view
|
|
381
398
|
|
|
382
399
|
|
|
383
400
|
### Example
|
|
@@ -444,7 +461,6 @@ Requires NO permissions:
|
|
|
444
461
|
|
|
445
462
|
|
|
446
463
|
|
|
447
|
-
|
|
448
464
|
### Example
|
|
449
465
|
~~~ruby
|
|
450
466
|
# load the gem
|
|
@@ -465,7 +481,9 @@ api_instance = PureCloud::WorkforceManagementApi.new
|
|
|
465
481
|
opts = {
|
|
466
482
|
page_size: 56, # Integer |
|
|
467
483
|
page_number: 56, # Integer |
|
|
468
|
-
expand: "expand_example" # String |
|
|
484
|
+
expand: "expand_example", # String |
|
|
485
|
+
feature: "feature_example", # String |
|
|
486
|
+
division_id: "division_id_example" # String |
|
|
469
487
|
}
|
|
470
488
|
|
|
471
489
|
begin
|
|
@@ -484,6 +502,8 @@ Name | Type | Description | Notes
|
|
|
484
502
|
**page_size** | **Integer**| | [optional] |
|
|
485
503
|
**page_number** | **Integer**| | [optional] |
|
|
486
504
|
**expand** | **String**| | [optional] <br />**Values**: details |
|
|
505
|
+
**feature** | **String**| | [optional] <br />**Values**: Agents, ActivityCodes, HistoricalAdherence, IntradayMonitoring, ManagementUnits, RealTimeAdherence, Schedules, ServiceGoalGroups, ShortTermForecasts, TimeOffRequests, WorkPlans |
|
|
506
|
+
**division_id** | **String**| | [optional] |
|
|
487
507
|
{: class="table table-striped"}
|
|
488
508
|
|
|
489
509
|
|
|
@@ -794,7 +814,8 @@ Wraps POST /api/v2/workforcemanagement/managementunits/{muId}/schedules/search
|
|
|
794
814
|
|
|
795
815
|
Requires ANY permissions:
|
|
796
816
|
|
|
797
|
-
* wfm:schedule:administer
|
|
817
|
+
* wfm:schedule:administer
|
|
818
|
+
* wfm:publishedSchedule:view
|
|
798
819
|
|
|
799
820
|
|
|
800
821
|
### Example
|
|
@@ -406,6 +406,7 @@ require 'purecloudplatformclientv2/models/digit_length'
|
|
|
406
406
|
require 'purecloudplatformclientv2/models/digits'
|
|
407
407
|
require 'purecloudplatformclientv2/models/directory_user_devices_listing'
|
|
408
408
|
require 'purecloudplatformclientv2/models/disconnect_reason'
|
|
409
|
+
require 'purecloudplatformclientv2/models/division'
|
|
409
410
|
require 'purecloudplatformclientv2/models/dnc_list'
|
|
410
411
|
require 'purecloudplatformclientv2/models/dnc_list_create'
|
|
411
412
|
require 'purecloudplatformclientv2/models/dnc_list_entity_listing'
|
|
@@ -741,9 +742,11 @@ require 'purecloudplatformclientv2/models/message_data'
|
|
|
741
742
|
require 'purecloudplatformclientv2/models/message_details'
|
|
742
743
|
require 'purecloudplatformclientv2/models/message_info'
|
|
743
744
|
require 'purecloudplatformclientv2/models/message_media'
|
|
745
|
+
require 'purecloudplatformclientv2/models/message_media_data'
|
|
744
746
|
require 'purecloudplatformclientv2/models/message_media_participant'
|
|
745
747
|
require 'purecloudplatformclientv2/models/message_media_policy'
|
|
746
748
|
require 'purecloudplatformclientv2/models/message_media_policy_conditions'
|
|
749
|
+
require 'purecloudplatformclientv2/models/message_sticker'
|
|
747
750
|
require 'purecloudplatformclientv2/models/meta_data'
|
|
748
751
|
require 'purecloudplatformclientv2/models/metabase'
|
|
749
752
|
require 'purecloudplatformclientv2/models/metered_evaluation_assignment'
|
|
@@ -4661,25 +4661,27 @@ module PureCloud
|
|
|
4661
4661
|
|
|
4662
4662
|
# Creates a new emergency group
|
|
4663
4663
|
#
|
|
4664
|
+
# @param body
|
|
4664
4665
|
# @param [Hash] opts the optional parameters
|
|
4665
|
-
# @option opts [EmergencyGroup] :body
|
|
4666
4666
|
# @return [EmergencyGroup]
|
|
4667
|
-
def post_architect_emergencygroups(opts = {})
|
|
4668
|
-
data, _status_code, _headers = post_architect_emergencygroups_with_http_info(opts)
|
|
4667
|
+
def post_architect_emergencygroups(body, opts = {})
|
|
4668
|
+
data, _status_code, _headers = post_architect_emergencygroups_with_http_info(body, opts)
|
|
4669
4669
|
return data
|
|
4670
4670
|
end
|
|
4671
4671
|
|
|
4672
4672
|
# Creates a new emergency group
|
|
4673
4673
|
#
|
|
4674
|
+
# @param body
|
|
4674
4675
|
# @param [Hash] opts the optional parameters
|
|
4675
|
-
# @option opts [EmergencyGroup] :body
|
|
4676
4676
|
# @return [Array<(EmergencyGroup, Fixnum, Hash)>] EmergencyGroup data, response status code and response headers
|
|
4677
|
-
def post_architect_emergencygroups_with_http_info(opts = {})
|
|
4677
|
+
def post_architect_emergencygroups_with_http_info(body, opts = {})
|
|
4678
4678
|
if @api_client.config.debugging
|
|
4679
4679
|
@api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_emergencygroups ..."
|
|
4680
4680
|
end
|
|
4681
4681
|
|
|
4682
4682
|
|
|
4683
|
+
# verify the required parameter 'body' is set
|
|
4684
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_emergencygroups" if body.nil?
|
|
4683
4685
|
|
|
4684
4686
|
|
|
4685
4687
|
|
|
@@ -4706,7 +4708,7 @@ module PureCloud
|
|
|
4706
4708
|
form_params = {}
|
|
4707
4709
|
|
|
4708
4710
|
# http body (model)
|
|
4709
|
-
post_body = @api_client.object_to_http_body(
|
|
4711
|
+
post_body = @api_client.object_to_http_body(body)
|
|
4710
4712
|
|
|
4711
4713
|
auth_names = ['PureCloud Auth']
|
|
4712
4714
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -4724,25 +4726,27 @@ module PureCloud
|
|
|
4724
4726
|
|
|
4725
4727
|
# Create IVR config.
|
|
4726
4728
|
#
|
|
4729
|
+
# @param body
|
|
4727
4730
|
# @param [Hash] opts the optional parameters
|
|
4728
|
-
# @option opts [IVR] :body
|
|
4729
4731
|
# @return [IVR]
|
|
4730
|
-
def post_architect_ivrs(opts = {})
|
|
4731
|
-
data, _status_code, _headers = post_architect_ivrs_with_http_info(opts)
|
|
4732
|
+
def post_architect_ivrs(body, opts = {})
|
|
4733
|
+
data, _status_code, _headers = post_architect_ivrs_with_http_info(body, opts)
|
|
4732
4734
|
return data
|
|
4733
4735
|
end
|
|
4734
4736
|
|
|
4735
4737
|
# Create IVR config.
|
|
4736
4738
|
#
|
|
4739
|
+
# @param body
|
|
4737
4740
|
# @param [Hash] opts the optional parameters
|
|
4738
|
-
# @option opts [IVR] :body
|
|
4739
4741
|
# @return [Array<(IVR, Fixnum, Hash)>] IVR data, response status code and response headers
|
|
4740
|
-
def post_architect_ivrs_with_http_info(opts = {})
|
|
4742
|
+
def post_architect_ivrs_with_http_info(body, opts = {})
|
|
4741
4743
|
if @api_client.config.debugging
|
|
4742
4744
|
@api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_ivrs ..."
|
|
4743
4745
|
end
|
|
4744
4746
|
|
|
4745
4747
|
|
|
4748
|
+
# verify the required parameter 'body' is set
|
|
4749
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_ivrs" if body.nil?
|
|
4746
4750
|
|
|
4747
4751
|
|
|
4748
4752
|
|
|
@@ -4769,7 +4773,7 @@ module PureCloud
|
|
|
4769
4773
|
form_params = {}
|
|
4770
4774
|
|
|
4771
4775
|
# http body (model)
|
|
4772
|
-
post_body = @api_client.object_to_http_body(
|
|
4776
|
+
post_body = @api_client.object_to_http_body(body)
|
|
4773
4777
|
|
|
4774
4778
|
auth_names = ['PureCloud Auth']
|
|
4775
4779
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -4853,21 +4857,21 @@ module PureCloud
|
|
|
4853
4857
|
# Create a new user prompt resource
|
|
4854
4858
|
#
|
|
4855
4859
|
# @param prompt_id Prompt ID
|
|
4860
|
+
# @param body
|
|
4856
4861
|
# @param [Hash] opts the optional parameters
|
|
4857
|
-
# @option opts [PromptAssetCreate] :body
|
|
4858
4862
|
# @return [PromptAsset]
|
|
4859
|
-
def post_architect_prompt_resources(prompt_id, opts = {})
|
|
4860
|
-
data, _status_code, _headers = post_architect_prompt_resources_with_http_info(prompt_id, opts)
|
|
4863
|
+
def post_architect_prompt_resources(prompt_id, body, opts = {})
|
|
4864
|
+
data, _status_code, _headers = post_architect_prompt_resources_with_http_info(prompt_id, body, opts)
|
|
4861
4865
|
return data
|
|
4862
4866
|
end
|
|
4863
4867
|
|
|
4864
4868
|
# Create a new user prompt resource
|
|
4865
4869
|
#
|
|
4866
4870
|
# @param prompt_id Prompt ID
|
|
4871
|
+
# @param body
|
|
4867
4872
|
# @param [Hash] opts the optional parameters
|
|
4868
|
-
# @option opts [PromptAssetCreate] :body
|
|
4869
4873
|
# @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers
|
|
4870
|
-
def post_architect_prompt_resources_with_http_info(prompt_id, opts = {})
|
|
4874
|
+
def post_architect_prompt_resources_with_http_info(prompt_id, body, opts = {})
|
|
4871
4875
|
if @api_client.config.debugging
|
|
4872
4876
|
@api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompt_resources ..."
|
|
4873
4877
|
end
|
|
@@ -4881,6 +4885,8 @@ module PureCloud
|
|
|
4881
4885
|
|
|
4882
4886
|
|
|
4883
4887
|
|
|
4888
|
+
# verify the required parameter 'body' is set
|
|
4889
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_prompt_resources" if body.nil?
|
|
4884
4890
|
|
|
4885
4891
|
|
|
4886
4892
|
|
|
@@ -4907,7 +4913,7 @@ module PureCloud
|
|
|
4907
4913
|
form_params = {}
|
|
4908
4914
|
|
|
4909
4915
|
# http body (model)
|
|
4910
|
-
post_body = @api_client.object_to_http_body(
|
|
4916
|
+
post_body = @api_client.object_to_http_body(body)
|
|
4911
4917
|
|
|
4912
4918
|
auth_names = ['PureCloud Auth']
|
|
4913
4919
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -4925,25 +4931,27 @@ module PureCloud
|
|
|
4925
4931
|
|
|
4926
4932
|
# Create a new user prompt
|
|
4927
4933
|
#
|
|
4934
|
+
# @param body
|
|
4928
4935
|
# @param [Hash] opts the optional parameters
|
|
4929
|
-
# @option opts [Prompt] :body
|
|
4930
4936
|
# @return [Prompt]
|
|
4931
|
-
def post_architect_prompts(opts = {})
|
|
4932
|
-
data, _status_code, _headers = post_architect_prompts_with_http_info(opts)
|
|
4937
|
+
def post_architect_prompts(body, opts = {})
|
|
4938
|
+
data, _status_code, _headers = post_architect_prompts_with_http_info(body, opts)
|
|
4933
4939
|
return data
|
|
4934
4940
|
end
|
|
4935
4941
|
|
|
4936
4942
|
# Create a new user prompt
|
|
4937
4943
|
#
|
|
4944
|
+
# @param body
|
|
4938
4945
|
# @param [Hash] opts the optional parameters
|
|
4939
|
-
# @option opts [Prompt] :body
|
|
4940
4946
|
# @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers
|
|
4941
|
-
def post_architect_prompts_with_http_info(opts = {})
|
|
4947
|
+
def post_architect_prompts_with_http_info(body, opts = {})
|
|
4942
4948
|
if @api_client.config.debugging
|
|
4943
4949
|
@api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompts ..."
|
|
4944
4950
|
end
|
|
4945
4951
|
|
|
4946
4952
|
|
|
4953
|
+
# verify the required parameter 'body' is set
|
|
4954
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_prompts" if body.nil?
|
|
4947
4955
|
|
|
4948
4956
|
|
|
4949
4957
|
|
|
@@ -4970,7 +4978,7 @@ module PureCloud
|
|
|
4970
4978
|
form_params = {}
|
|
4971
4979
|
|
|
4972
4980
|
# http body (model)
|
|
4973
|
-
post_body = @api_client.object_to_http_body(
|
|
4981
|
+
post_body = @api_client.object_to_http_body(body)
|
|
4974
4982
|
|
|
4975
4983
|
auth_names = ['PureCloud Auth']
|
|
4976
4984
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -4988,25 +4996,27 @@ module PureCloud
|
|
|
4988
4996
|
|
|
4989
4997
|
# Creates a new schedule group
|
|
4990
4998
|
#
|
|
4999
|
+
# @param body
|
|
4991
5000
|
# @param [Hash] opts the optional parameters
|
|
4992
|
-
# @option opts [ScheduleGroup] :body
|
|
4993
5001
|
# @return [ScheduleGroup]
|
|
4994
|
-
def post_architect_schedulegroups(opts = {})
|
|
4995
|
-
data, _status_code, _headers = post_architect_schedulegroups_with_http_info(opts)
|
|
5002
|
+
def post_architect_schedulegroups(body, opts = {})
|
|
5003
|
+
data, _status_code, _headers = post_architect_schedulegroups_with_http_info(body, opts)
|
|
4996
5004
|
return data
|
|
4997
5005
|
end
|
|
4998
5006
|
|
|
4999
5007
|
# Creates a new schedule group
|
|
5000
5008
|
#
|
|
5009
|
+
# @param body
|
|
5001
5010
|
# @param [Hash] opts the optional parameters
|
|
5002
|
-
# @option opts [ScheduleGroup] :body
|
|
5003
5011
|
# @return [Array<(ScheduleGroup, Fixnum, Hash)>] ScheduleGroup data, response status code and response headers
|
|
5004
|
-
def post_architect_schedulegroups_with_http_info(opts = {})
|
|
5012
|
+
def post_architect_schedulegroups_with_http_info(body, opts = {})
|
|
5005
5013
|
if @api_client.config.debugging
|
|
5006
5014
|
@api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_schedulegroups ..."
|
|
5007
5015
|
end
|
|
5008
5016
|
|
|
5009
5017
|
|
|
5018
|
+
# verify the required parameter 'body' is set
|
|
5019
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_schedulegroups" if body.nil?
|
|
5010
5020
|
|
|
5011
5021
|
|
|
5012
5022
|
|
|
@@ -5033,7 +5043,7 @@ module PureCloud
|
|
|
5033
5043
|
form_params = {}
|
|
5034
5044
|
|
|
5035
5045
|
# http body (model)
|
|
5036
|
-
post_body = @api_client.object_to_http_body(
|
|
5046
|
+
post_body = @api_client.object_to_http_body(body)
|
|
5037
5047
|
|
|
5038
5048
|
auth_names = ['PureCloud Auth']
|
|
5039
5049
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -5051,25 +5061,27 @@ module PureCloud
|
|
|
5051
5061
|
|
|
5052
5062
|
# Create a new schedule.
|
|
5053
5063
|
#
|
|
5064
|
+
# @param body
|
|
5054
5065
|
# @param [Hash] opts the optional parameters
|
|
5055
|
-
# @option opts [Schedule] :body
|
|
5056
5066
|
# @return [Schedule]
|
|
5057
|
-
def post_architect_schedules(opts = {})
|
|
5058
|
-
data, _status_code, _headers = post_architect_schedules_with_http_info(opts)
|
|
5067
|
+
def post_architect_schedules(body, opts = {})
|
|
5068
|
+
data, _status_code, _headers = post_architect_schedules_with_http_info(body, opts)
|
|
5059
5069
|
return data
|
|
5060
5070
|
end
|
|
5061
5071
|
|
|
5062
5072
|
# Create a new schedule.
|
|
5063
5073
|
#
|
|
5074
|
+
# @param body
|
|
5064
5075
|
# @param [Hash] opts the optional parameters
|
|
5065
|
-
# @option opts [Schedule] :body
|
|
5066
5076
|
# @return [Array<(Schedule, Fixnum, Hash)>] Schedule data, response status code and response headers
|
|
5067
|
-
def post_architect_schedules_with_http_info(opts = {})
|
|
5077
|
+
def post_architect_schedules_with_http_info(body, opts = {})
|
|
5068
5078
|
if @api_client.config.debugging
|
|
5069
5079
|
@api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_schedules ..."
|
|
5070
5080
|
end
|
|
5071
5081
|
|
|
5072
5082
|
|
|
5083
|
+
# verify the required parameter 'body' is set
|
|
5084
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_schedules" if body.nil?
|
|
5073
5085
|
|
|
5074
5086
|
|
|
5075
5087
|
|
|
@@ -5096,7 +5108,7 @@ module PureCloud
|
|
|
5096
5108
|
form_params = {}
|
|
5097
5109
|
|
|
5098
5110
|
# http body (model)
|
|
5099
|
-
post_body = @api_client.object_to_http_body(
|
|
5111
|
+
post_body = @api_client.object_to_http_body(body)
|
|
5100
5112
|
|
|
5101
5113
|
auth_names = ['PureCloud Auth']
|
|
5102
5114
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -5180,21 +5192,21 @@ module PureCloud
|
|
|
5180
5192
|
# Create system prompt resource override.
|
|
5181
5193
|
#
|
|
5182
5194
|
# @param prompt_id Prompt ID
|
|
5195
|
+
# @param body
|
|
5183
5196
|
# @param [Hash] opts the optional parameters
|
|
5184
|
-
# @option opts [SystemPromptAsset] :body
|
|
5185
5197
|
# @return [SystemPromptAsset]
|
|
5186
|
-
def post_architect_systemprompt_resources(prompt_id, opts = {})
|
|
5187
|
-
data, _status_code, _headers = post_architect_systemprompt_resources_with_http_info(prompt_id, opts)
|
|
5198
|
+
def post_architect_systemprompt_resources(prompt_id, body, opts = {})
|
|
5199
|
+
data, _status_code, _headers = post_architect_systemprompt_resources_with_http_info(prompt_id, body, opts)
|
|
5188
5200
|
return data
|
|
5189
5201
|
end
|
|
5190
5202
|
|
|
5191
5203
|
# Create system prompt resource override.
|
|
5192
5204
|
#
|
|
5193
5205
|
# @param prompt_id Prompt ID
|
|
5206
|
+
# @param body
|
|
5194
5207
|
# @param [Hash] opts the optional parameters
|
|
5195
|
-
# @option opts [SystemPromptAsset] :body
|
|
5196
5208
|
# @return [Array<(SystemPromptAsset, Fixnum, Hash)>] SystemPromptAsset data, response status code and response headers
|
|
5197
|
-
def post_architect_systemprompt_resources_with_http_info(prompt_id, opts = {})
|
|
5209
|
+
def post_architect_systemprompt_resources_with_http_info(prompt_id, body, opts = {})
|
|
5198
5210
|
if @api_client.config.debugging
|
|
5199
5211
|
@api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_systemprompt_resources ..."
|
|
5200
5212
|
end
|
|
@@ -5208,6 +5220,8 @@ module PureCloud
|
|
|
5208
5220
|
|
|
5209
5221
|
|
|
5210
5222
|
|
|
5223
|
+
# verify the required parameter 'body' is set
|
|
5224
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_systemprompt_resources" if body.nil?
|
|
5211
5225
|
|
|
5212
5226
|
|
|
5213
5227
|
|
|
@@ -5234,7 +5248,7 @@ module PureCloud
|
|
|
5234
5248
|
form_params = {}
|
|
5235
5249
|
|
|
5236
5250
|
# http body (model)
|
|
5237
|
-
post_body = @api_client.object_to_http_body(
|
|
5251
|
+
post_body = @api_client.object_to_http_body(body)
|
|
5238
5252
|
|
|
5239
5253
|
auth_names = ['PureCloud Auth']
|
|
5240
5254
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -5253,21 +5267,21 @@ module PureCloud
|
|
|
5253
5267
|
# Create flow version
|
|
5254
5268
|
#
|
|
5255
5269
|
# @param flow_id Flow ID
|
|
5270
|
+
# @param body
|
|
5256
5271
|
# @param [Hash] opts the optional parameters
|
|
5257
|
-
# @option opts [Object] :body
|
|
5258
5272
|
# @return [FlowVersion]
|
|
5259
|
-
def post_flow_versions(flow_id, opts = {})
|
|
5260
|
-
data, _status_code, _headers = post_flow_versions_with_http_info(flow_id, opts)
|
|
5273
|
+
def post_flow_versions(flow_id, body, opts = {})
|
|
5274
|
+
data, _status_code, _headers = post_flow_versions_with_http_info(flow_id, body, opts)
|
|
5261
5275
|
return data
|
|
5262
5276
|
end
|
|
5263
5277
|
|
|
5264
5278
|
# Create flow version
|
|
5265
5279
|
#
|
|
5266
5280
|
# @param flow_id Flow ID
|
|
5281
|
+
# @param body
|
|
5267
5282
|
# @param [Hash] opts the optional parameters
|
|
5268
|
-
# @option opts [Object] :body
|
|
5269
5283
|
# @return [Array<(FlowVersion, Fixnum, Hash)>] FlowVersion data, response status code and response headers
|
|
5270
|
-
def post_flow_versions_with_http_info(flow_id, opts = {})
|
|
5284
|
+
def post_flow_versions_with_http_info(flow_id, body, opts = {})
|
|
5271
5285
|
if @api_client.config.debugging
|
|
5272
5286
|
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flow_versions ..."
|
|
5273
5287
|
end
|
|
@@ -5281,6 +5295,8 @@ module PureCloud
|
|
|
5281
5295
|
|
|
5282
5296
|
|
|
5283
5297
|
|
|
5298
|
+
# verify the required parameter 'body' is set
|
|
5299
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_flow_versions" if body.nil?
|
|
5284
5300
|
|
|
5285
5301
|
|
|
5286
5302
|
|
|
@@ -5307,7 +5323,7 @@ module PureCloud
|
|
|
5307
5323
|
form_params = {}
|
|
5308
5324
|
|
|
5309
5325
|
# http body (model)
|
|
5310
|
-
post_body = @api_client.object_to_http_body(
|
|
5326
|
+
post_body = @api_client.object_to_http_body(body)
|
|
5311
5327
|
|
|
5312
5328
|
auth_names = ['PureCloud Auth']
|
|
5313
5329
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -5325,25 +5341,27 @@ module PureCloud
|
|
|
5325
5341
|
|
|
5326
5342
|
# Create flow
|
|
5327
5343
|
#
|
|
5344
|
+
# @param body
|
|
5328
5345
|
# @param [Hash] opts the optional parameters
|
|
5329
|
-
# @option opts [Flow] :body
|
|
5330
5346
|
# @return [Flow]
|
|
5331
|
-
def post_flows(opts = {})
|
|
5332
|
-
data, _status_code, _headers = post_flows_with_http_info(opts)
|
|
5347
|
+
def post_flows(body, opts = {})
|
|
5348
|
+
data, _status_code, _headers = post_flows_with_http_info(body, opts)
|
|
5333
5349
|
return data
|
|
5334
5350
|
end
|
|
5335
5351
|
|
|
5336
5352
|
# Create flow
|
|
5337
5353
|
#
|
|
5354
|
+
# @param body
|
|
5338
5355
|
# @param [Hash] opts the optional parameters
|
|
5339
|
-
# @option opts [Flow] :body
|
|
5340
5356
|
# @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers
|
|
5341
|
-
def post_flows_with_http_info(opts = {})
|
|
5357
|
+
def post_flows_with_http_info(body, opts = {})
|
|
5342
5358
|
if @api_client.config.debugging
|
|
5343
5359
|
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flows ..."
|
|
5344
5360
|
end
|
|
5345
5361
|
|
|
5346
5362
|
|
|
5363
|
+
# verify the required parameter 'body' is set
|
|
5364
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_flows" if body.nil?
|
|
5347
5365
|
|
|
5348
5366
|
|
|
5349
5367
|
|
|
@@ -5370,7 +5388,7 @@ module PureCloud
|
|
|
5370
5388
|
form_params = {}
|
|
5371
5389
|
|
|
5372
5390
|
# http body (model)
|
|
5373
|
-
post_body = @api_client.object_to_http_body(
|
|
5391
|
+
post_body = @api_client.object_to_http_body(body)
|
|
5374
5392
|
|
|
5375
5393
|
auth_names = ['PureCloud Auth']
|
|
5376
5394
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -5934,21 +5952,21 @@ module PureCloud
|
|
|
5934
5952
|
# Updates a emergency group by ID
|
|
5935
5953
|
#
|
|
5936
5954
|
# @param emergency_group_id Emergency group ID
|
|
5955
|
+
# @param body
|
|
5937
5956
|
# @param [Hash] opts the optional parameters
|
|
5938
|
-
# @option opts [EmergencyGroup] :body
|
|
5939
5957
|
# @return [EmergencyGroup]
|
|
5940
|
-
def put_architect_emergencygroup(emergency_group_id, opts = {})
|
|
5941
|
-
data, _status_code, _headers = put_architect_emergencygroup_with_http_info(emergency_group_id, opts)
|
|
5958
|
+
def put_architect_emergencygroup(emergency_group_id, body, opts = {})
|
|
5959
|
+
data, _status_code, _headers = put_architect_emergencygroup_with_http_info(emergency_group_id, body, opts)
|
|
5942
5960
|
return data
|
|
5943
5961
|
end
|
|
5944
5962
|
|
|
5945
5963
|
# Updates a emergency group by ID
|
|
5946
5964
|
#
|
|
5947
5965
|
# @param emergency_group_id Emergency group ID
|
|
5966
|
+
# @param body
|
|
5948
5967
|
# @param [Hash] opts the optional parameters
|
|
5949
|
-
# @option opts [EmergencyGroup] :body
|
|
5950
5968
|
# @return [Array<(EmergencyGroup, Fixnum, Hash)>] EmergencyGroup data, response status code and response headers
|
|
5951
|
-
def put_architect_emergencygroup_with_http_info(emergency_group_id, opts = {})
|
|
5969
|
+
def put_architect_emergencygroup_with_http_info(emergency_group_id, body, opts = {})
|
|
5952
5970
|
if @api_client.config.debugging
|
|
5953
5971
|
@api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_emergencygroup ..."
|
|
5954
5972
|
end
|
|
@@ -5962,6 +5980,8 @@ module PureCloud
|
|
|
5962
5980
|
|
|
5963
5981
|
|
|
5964
5982
|
|
|
5983
|
+
# verify the required parameter 'body' is set
|
|
5984
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_emergencygroup" if body.nil?
|
|
5965
5985
|
|
|
5966
5986
|
|
|
5967
5987
|
|
|
@@ -5988,7 +6008,7 @@ module PureCloud
|
|
|
5988
6008
|
form_params = {}
|
|
5989
6009
|
|
|
5990
6010
|
# http body (model)
|
|
5991
|
-
post_body = @api_client.object_to_http_body(
|
|
6011
|
+
post_body = @api_client.object_to_http_body(body)
|
|
5992
6012
|
|
|
5993
6013
|
auth_names = ['PureCloud Auth']
|
|
5994
6014
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -6007,21 +6027,21 @@ module PureCloud
|
|
|
6007
6027
|
# Update an IVR Config.
|
|
6008
6028
|
#
|
|
6009
6029
|
# @param ivr_id IVR id
|
|
6030
|
+
# @param body
|
|
6010
6031
|
# @param [Hash] opts the optional parameters
|
|
6011
|
-
# @option opts [IVR] :body
|
|
6012
6032
|
# @return [IVR]
|
|
6013
|
-
def put_architect_ivr(ivr_id, opts = {})
|
|
6014
|
-
data, _status_code, _headers = put_architect_ivr_with_http_info(ivr_id, opts)
|
|
6033
|
+
def put_architect_ivr(ivr_id, body, opts = {})
|
|
6034
|
+
data, _status_code, _headers = put_architect_ivr_with_http_info(ivr_id, body, opts)
|
|
6015
6035
|
return data
|
|
6016
6036
|
end
|
|
6017
6037
|
|
|
6018
6038
|
# Update an IVR Config.
|
|
6019
6039
|
#
|
|
6020
6040
|
# @param ivr_id IVR id
|
|
6041
|
+
# @param body
|
|
6021
6042
|
# @param [Hash] opts the optional parameters
|
|
6022
|
-
# @option opts [IVR] :body
|
|
6023
6043
|
# @return [Array<(IVR, Fixnum, Hash)>] IVR data, response status code and response headers
|
|
6024
|
-
def put_architect_ivr_with_http_info(ivr_id, opts = {})
|
|
6044
|
+
def put_architect_ivr_with_http_info(ivr_id, body, opts = {})
|
|
6025
6045
|
if @api_client.config.debugging
|
|
6026
6046
|
@api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_ivr ..."
|
|
6027
6047
|
end
|
|
@@ -6035,6 +6055,8 @@ module PureCloud
|
|
|
6035
6055
|
|
|
6036
6056
|
|
|
6037
6057
|
|
|
6058
|
+
# verify the required parameter 'body' is set
|
|
6059
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_ivr" if body.nil?
|
|
6038
6060
|
|
|
6039
6061
|
|
|
6040
6062
|
|
|
@@ -6061,7 +6083,7 @@ module PureCloud
|
|
|
6061
6083
|
form_params = {}
|
|
6062
6084
|
|
|
6063
6085
|
# http body (model)
|
|
6064
|
-
post_body = @api_client.object_to_http_body(
|
|
6086
|
+
post_body = @api_client.object_to_http_body(body)
|
|
6065
6087
|
|
|
6066
6088
|
auth_names = ['PureCloud Auth']
|
|
6067
6089
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -6080,21 +6102,21 @@ module PureCloud
|
|
|
6080
6102
|
# Update specified user prompt
|
|
6081
6103
|
#
|
|
6082
6104
|
# @param prompt_id Prompt ID
|
|
6105
|
+
# @param body
|
|
6083
6106
|
# @param [Hash] opts the optional parameters
|
|
6084
|
-
# @option opts [Prompt] :body
|
|
6085
6107
|
# @return [Prompt]
|
|
6086
|
-
def put_architect_prompt(prompt_id, opts = {})
|
|
6087
|
-
data, _status_code, _headers = put_architect_prompt_with_http_info(prompt_id, opts)
|
|
6108
|
+
def put_architect_prompt(prompt_id, body, opts = {})
|
|
6109
|
+
data, _status_code, _headers = put_architect_prompt_with_http_info(prompt_id, body, opts)
|
|
6088
6110
|
return data
|
|
6089
6111
|
end
|
|
6090
6112
|
|
|
6091
6113
|
# Update specified user prompt
|
|
6092
6114
|
#
|
|
6093
6115
|
# @param prompt_id Prompt ID
|
|
6116
|
+
# @param body
|
|
6094
6117
|
# @param [Hash] opts the optional parameters
|
|
6095
|
-
# @option opts [Prompt] :body
|
|
6096
6118
|
# @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers
|
|
6097
|
-
def put_architect_prompt_with_http_info(prompt_id, opts = {})
|
|
6119
|
+
def put_architect_prompt_with_http_info(prompt_id, body, opts = {})
|
|
6098
6120
|
if @api_client.config.debugging
|
|
6099
6121
|
@api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_prompt ..."
|
|
6100
6122
|
end
|
|
@@ -6108,6 +6130,8 @@ module PureCloud
|
|
|
6108
6130
|
|
|
6109
6131
|
|
|
6110
6132
|
|
|
6133
|
+
# verify the required parameter 'body' is set
|
|
6134
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_prompt" if body.nil?
|
|
6111
6135
|
|
|
6112
6136
|
|
|
6113
6137
|
|
|
@@ -6134,7 +6158,7 @@ module PureCloud
|
|
|
6134
6158
|
form_params = {}
|
|
6135
6159
|
|
|
6136
6160
|
# http body (model)
|
|
6137
|
-
post_body = @api_client.object_to_http_body(
|
|
6161
|
+
post_body = @api_client.object_to_http_body(body)
|
|
6138
6162
|
|
|
6139
6163
|
auth_names = ['PureCloud Auth']
|
|
6140
6164
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -6154,11 +6178,11 @@ module PureCloud
|
|
|
6154
6178
|
#
|
|
6155
6179
|
# @param prompt_id Prompt ID
|
|
6156
6180
|
# @param language_code Language
|
|
6181
|
+
# @param body
|
|
6157
6182
|
# @param [Hash] opts the optional parameters
|
|
6158
|
-
# @option opts [PromptAsset] :body
|
|
6159
6183
|
# @return [PromptAsset]
|
|
6160
|
-
def put_architect_prompt_resource(prompt_id, language_code, opts = {})
|
|
6161
|
-
data, _status_code, _headers = put_architect_prompt_resource_with_http_info(prompt_id, language_code, opts)
|
|
6184
|
+
def put_architect_prompt_resource(prompt_id, language_code, body, opts = {})
|
|
6185
|
+
data, _status_code, _headers = put_architect_prompt_resource_with_http_info(prompt_id, language_code, body, opts)
|
|
6162
6186
|
return data
|
|
6163
6187
|
end
|
|
6164
6188
|
|
|
@@ -6166,10 +6190,10 @@ module PureCloud
|
|
|
6166
6190
|
#
|
|
6167
6191
|
# @param prompt_id Prompt ID
|
|
6168
6192
|
# @param language_code Language
|
|
6193
|
+
# @param body
|
|
6169
6194
|
# @param [Hash] opts the optional parameters
|
|
6170
|
-
# @option opts [PromptAsset] :body
|
|
6171
6195
|
# @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers
|
|
6172
|
-
def put_architect_prompt_resource_with_http_info(prompt_id, language_code, opts = {})
|
|
6196
|
+
def put_architect_prompt_resource_with_http_info(prompt_id, language_code, body, opts = {})
|
|
6173
6197
|
if @api_client.config.debugging
|
|
6174
6198
|
@api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_prompt_resource ..."
|
|
6175
6199
|
end
|
|
@@ -6191,6 +6215,8 @@ module PureCloud
|
|
|
6191
6215
|
|
|
6192
6216
|
|
|
6193
6217
|
|
|
6218
|
+
# verify the required parameter 'body' is set
|
|
6219
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_prompt_resource" if body.nil?
|
|
6194
6220
|
|
|
6195
6221
|
|
|
6196
6222
|
|
|
@@ -6217,7 +6243,7 @@ module PureCloud
|
|
|
6217
6243
|
form_params = {}
|
|
6218
6244
|
|
|
6219
6245
|
# http body (model)
|
|
6220
|
-
post_body = @api_client.object_to_http_body(
|
|
6246
|
+
post_body = @api_client.object_to_http_body(body)
|
|
6221
6247
|
|
|
6222
6248
|
auth_names = ['PureCloud Auth']
|
|
6223
6249
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -6236,21 +6262,21 @@ module PureCloud
|
|
|
6236
6262
|
# Update schedule by ID
|
|
6237
6263
|
#
|
|
6238
6264
|
# @param schedule_id Schedule ID
|
|
6265
|
+
# @param body
|
|
6239
6266
|
# @param [Hash] opts the optional parameters
|
|
6240
|
-
# @option opts [Schedule] :body
|
|
6241
6267
|
# @return [Schedule]
|
|
6242
|
-
def put_architect_schedule(schedule_id, opts = {})
|
|
6243
|
-
data, _status_code, _headers = put_architect_schedule_with_http_info(schedule_id, opts)
|
|
6268
|
+
def put_architect_schedule(schedule_id, body, opts = {})
|
|
6269
|
+
data, _status_code, _headers = put_architect_schedule_with_http_info(schedule_id, body, opts)
|
|
6244
6270
|
return data
|
|
6245
6271
|
end
|
|
6246
6272
|
|
|
6247
6273
|
# Update schedule by ID
|
|
6248
6274
|
#
|
|
6249
6275
|
# @param schedule_id Schedule ID
|
|
6276
|
+
# @param body
|
|
6250
6277
|
# @param [Hash] opts the optional parameters
|
|
6251
|
-
# @option opts [Schedule] :body
|
|
6252
6278
|
# @return [Array<(Schedule, Fixnum, Hash)>] Schedule data, response status code and response headers
|
|
6253
|
-
def put_architect_schedule_with_http_info(schedule_id, opts = {})
|
|
6279
|
+
def put_architect_schedule_with_http_info(schedule_id, body, opts = {})
|
|
6254
6280
|
if @api_client.config.debugging
|
|
6255
6281
|
@api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_schedule ..."
|
|
6256
6282
|
end
|
|
@@ -6264,6 +6290,8 @@ module PureCloud
|
|
|
6264
6290
|
|
|
6265
6291
|
|
|
6266
6292
|
|
|
6293
|
+
# verify the required parameter 'body' is set
|
|
6294
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_schedule" if body.nil?
|
|
6267
6295
|
|
|
6268
6296
|
|
|
6269
6297
|
|
|
@@ -6290,7 +6318,7 @@ module PureCloud
|
|
|
6290
6318
|
form_params = {}
|
|
6291
6319
|
|
|
6292
6320
|
# http body (model)
|
|
6293
|
-
post_body = @api_client.object_to_http_body(
|
|
6321
|
+
post_body = @api_client.object_to_http_body(body)
|
|
6294
6322
|
|
|
6295
6323
|
auth_names = ['PureCloud Auth']
|
|
6296
6324
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -6309,21 +6337,21 @@ module PureCloud
|
|
|
6309
6337
|
# Updates a schedule group by ID
|
|
6310
6338
|
#
|
|
6311
6339
|
# @param schedule_group_id Schedule group ID
|
|
6340
|
+
# @param body
|
|
6312
6341
|
# @param [Hash] opts the optional parameters
|
|
6313
|
-
# @option opts [ScheduleGroup] :body
|
|
6314
6342
|
# @return [ScheduleGroup]
|
|
6315
|
-
def put_architect_schedulegroup(schedule_group_id, opts = {})
|
|
6316
|
-
data, _status_code, _headers = put_architect_schedulegroup_with_http_info(schedule_group_id, opts)
|
|
6343
|
+
def put_architect_schedulegroup(schedule_group_id, body, opts = {})
|
|
6344
|
+
data, _status_code, _headers = put_architect_schedulegroup_with_http_info(schedule_group_id, body, opts)
|
|
6317
6345
|
return data
|
|
6318
6346
|
end
|
|
6319
6347
|
|
|
6320
6348
|
# Updates a schedule group by ID
|
|
6321
6349
|
#
|
|
6322
6350
|
# @param schedule_group_id Schedule group ID
|
|
6351
|
+
# @param body
|
|
6323
6352
|
# @param [Hash] opts the optional parameters
|
|
6324
|
-
# @option opts [ScheduleGroup] :body
|
|
6325
6353
|
# @return [Array<(ScheduleGroup, Fixnum, Hash)>] ScheduleGroup data, response status code and response headers
|
|
6326
|
-
def put_architect_schedulegroup_with_http_info(schedule_group_id, opts = {})
|
|
6354
|
+
def put_architect_schedulegroup_with_http_info(schedule_group_id, body, opts = {})
|
|
6327
6355
|
if @api_client.config.debugging
|
|
6328
6356
|
@api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_schedulegroup ..."
|
|
6329
6357
|
end
|
|
@@ -6337,6 +6365,8 @@ module PureCloud
|
|
|
6337
6365
|
|
|
6338
6366
|
|
|
6339
6367
|
|
|
6368
|
+
# verify the required parameter 'body' is set
|
|
6369
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_schedulegroup" if body.nil?
|
|
6340
6370
|
|
|
6341
6371
|
|
|
6342
6372
|
|
|
@@ -6363,7 +6393,7 @@ module PureCloud
|
|
|
6363
6393
|
form_params = {}
|
|
6364
6394
|
|
|
6365
6395
|
# http body (model)
|
|
6366
|
-
post_body = @api_client.object_to_http_body(
|
|
6396
|
+
post_body = @api_client.object_to_http_body(body)
|
|
6367
6397
|
|
|
6368
6398
|
auth_names = ['PureCloud Auth']
|
|
6369
6399
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -6383,11 +6413,11 @@ module PureCloud
|
|
|
6383
6413
|
#
|
|
6384
6414
|
# @param prompt_id Prompt ID
|
|
6385
6415
|
# @param language_code Language
|
|
6416
|
+
# @param body
|
|
6386
6417
|
# @param [Hash] opts the optional parameters
|
|
6387
|
-
# @option opts [SystemPromptAsset] :body
|
|
6388
6418
|
# @return [SystemPromptAsset]
|
|
6389
|
-
def put_architect_systemprompt_resource(prompt_id, language_code, opts = {})
|
|
6390
|
-
data, _status_code, _headers = put_architect_systemprompt_resource_with_http_info(prompt_id, language_code, opts)
|
|
6419
|
+
def put_architect_systemprompt_resource(prompt_id, language_code, body, opts = {})
|
|
6420
|
+
data, _status_code, _headers = put_architect_systemprompt_resource_with_http_info(prompt_id, language_code, body, opts)
|
|
6391
6421
|
return data
|
|
6392
6422
|
end
|
|
6393
6423
|
|
|
@@ -6395,10 +6425,10 @@ module PureCloud
|
|
|
6395
6425
|
#
|
|
6396
6426
|
# @param prompt_id Prompt ID
|
|
6397
6427
|
# @param language_code Language
|
|
6428
|
+
# @param body
|
|
6398
6429
|
# @param [Hash] opts the optional parameters
|
|
6399
|
-
# @option opts [SystemPromptAsset] :body
|
|
6400
6430
|
# @return [Array<(SystemPromptAsset, Fixnum, Hash)>] SystemPromptAsset data, response status code and response headers
|
|
6401
|
-
def put_architect_systemprompt_resource_with_http_info(prompt_id, language_code, opts = {})
|
|
6431
|
+
def put_architect_systemprompt_resource_with_http_info(prompt_id, language_code, body, opts = {})
|
|
6402
6432
|
if @api_client.config.debugging
|
|
6403
6433
|
@api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_systemprompt_resource ..."
|
|
6404
6434
|
end
|
|
@@ -6420,6 +6450,8 @@ module PureCloud
|
|
|
6420
6450
|
|
|
6421
6451
|
|
|
6422
6452
|
|
|
6453
|
+
# verify the required parameter 'body' is set
|
|
6454
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_systemprompt_resource" if body.nil?
|
|
6423
6455
|
|
|
6424
6456
|
|
|
6425
6457
|
|
|
@@ -6446,7 +6478,7 @@ module PureCloud
|
|
|
6446
6478
|
form_params = {}
|
|
6447
6479
|
|
|
6448
6480
|
# http body (model)
|
|
6449
|
-
post_body = @api_client.object_to_http_body(
|
|
6481
|
+
post_body = @api_client.object_to_http_body(body)
|
|
6450
6482
|
|
|
6451
6483
|
auth_names = ['PureCloud Auth']
|
|
6452
6484
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -6465,21 +6497,21 @@ module PureCloud
|
|
|
6465
6497
|
# Update flow
|
|
6466
6498
|
#
|
|
6467
6499
|
# @param flow_id Flow ID
|
|
6500
|
+
# @param body
|
|
6468
6501
|
# @param [Hash] opts the optional parameters
|
|
6469
|
-
# @option opts [Flow] :body
|
|
6470
6502
|
# @return [Flow]
|
|
6471
|
-
def put_flow(flow_id, opts = {})
|
|
6472
|
-
data, _status_code, _headers = put_flow_with_http_info(flow_id, opts)
|
|
6503
|
+
def put_flow(flow_id, body, opts = {})
|
|
6504
|
+
data, _status_code, _headers = put_flow_with_http_info(flow_id, body, opts)
|
|
6473
6505
|
return data
|
|
6474
6506
|
end
|
|
6475
6507
|
|
|
6476
6508
|
# Update flow
|
|
6477
6509
|
#
|
|
6478
6510
|
# @param flow_id Flow ID
|
|
6511
|
+
# @param body
|
|
6479
6512
|
# @param [Hash] opts the optional parameters
|
|
6480
|
-
# @option opts [Flow] :body
|
|
6481
6513
|
# @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers
|
|
6482
|
-
def put_flow_with_http_info(flow_id, opts = {})
|
|
6514
|
+
def put_flow_with_http_info(flow_id, body, opts = {})
|
|
6483
6515
|
if @api_client.config.debugging
|
|
6484
6516
|
@api_client.config.logger.debug "Calling API: ArchitectApi.put_flow ..."
|
|
6485
6517
|
end
|
|
@@ -6493,6 +6525,8 @@ module PureCloud
|
|
|
6493
6525
|
|
|
6494
6526
|
|
|
6495
6527
|
|
|
6528
|
+
# verify the required parameter 'body' is set
|
|
6529
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_flow" if body.nil?
|
|
6496
6530
|
|
|
6497
6531
|
|
|
6498
6532
|
|
|
@@ -6519,7 +6553,7 @@ module PureCloud
|
|
|
6519
6553
|
form_params = {}
|
|
6520
6554
|
|
|
6521
6555
|
# http body (model)
|
|
6522
|
-
post_body = @api_client.object_to_http_body(
|
|
6556
|
+
post_body = @api_client.object_to_http_body(body)
|
|
6523
6557
|
|
|
6524
6558
|
auth_names = ['PureCloud Auth']
|
|
6525
6559
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|