Module: Five9Tools::Modify

Included in:
Admin::Client
Defined in:
lib/five9tools/admin/modify.rb

Class Method Summary collapse

Class Method Details

.modify_agent_group(params = {}) ⇒ Object

Api request for modifyAgentGroup.

Examples:

Accepts the following parameters as a hash:

{"modifyAgentGroup"=>{"group"=>{"agents"=>"?", "description"=>"?", "id"=>"?", "name"=>"?"}, "addAgents"=>"?", "removeAgents"=>"?"}}


218
219
220
221
222
223
224
225
226
227
228
229
# File 'lib/five9tools/admin/modify.rb', line 218

def modify_agent_group(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_agent_group, message: params)
      res[:modify_agent_group_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_autodial_campaign(params = {}) ⇒ Object

Api request for modifyAutodialCampaign.

Examples:

Accepts the following parameters as a hash:

{"modifyAutodialCampaign"=>{"campaign"=>{"description"=>"?", "mode"=>"?", "name"=>"?", "profileName"=>"?", "state"=>"?", "trainingMode"=>"?", "type"=>"?", "autoRecord"=>"?", "callWrapup"=>{"agentNotReady"=>"?", "dispostionName"=>"?", "enabled"=>"?", "reasonCodeName"=>"?", "timeout"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}}, "ftpHost"=>"?", "ftpPassword"=>"?", "ftpUser"=>"?", "recordingNameAsSid"=>"?", "useFtp"=>"?", "analyzeLevel"=>"?", "CRMRedialTimeout"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}, "dnisAsAni"=>"?", "enableListDialingRatios"=>"?", "listDialingMode"=>"?", "noOutOfNumbersAlert"=>"?", "stateDialingRule"=>"?", "timeZoneAssignment"=>"?", "agentAvailability"=>"?", "agentSkillName"=>"?", "defaultIvrSchedule"=>{"name"=>"?", "scriptName"=>"?", "scriptParameters"=>{"name"=>"?", "value"=>"?"}}, "dialIfAgentsAvailable"=>"?", "maxNumOfLines"=>"?"}}}


82
83
84
85
86
87
88
89
90
91
92
93
# File 'lib/five9tools/admin/modify.rb', line 82

def modify_autodial_campaign(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_autodial_campaign, message: params)
      res[:modify_autodial_campaign_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_call_variable(params = {}) ⇒ Object

Api request for modifyCallVariable.

Examples:

Accepts the following parameters as a hash:

{"modifyCallVariable"=>{"variable"=>{"applyToAllDispositions"=>"?", "defaultValue"=>"?", "description"=>"?", "dispositions"=>"?", "group"=>"?", "name"=>"?", "reporting"=>"?", "restrictions"=>{"type"=>"?", "value"=>"?"}, "sensitiveData"=>"?", "type"=>"?"}}}


473
474
475
476
477
478
479
480
481
482
483
484
# File 'lib/five9tools/admin/modify.rb', line 473

def modify_call_variable(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_call_variable, message: params)
      res[:modify_call_variable_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_call_variables_group(params = {}) ⇒ Object

Api request for modifyCallVariablesGroup.

Examples:

Accepts the following parameters as a hash:

{"modifyCallVariablesGroup"=>{"name"=>"?", "description"=>"?"}}


31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/five9tools/admin/modify.rb', line 31

def modify_call_variables_group(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_call_variables_group, message: params)
      res[:modify_call_variables_group_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_campaign_lists(params = {}) ⇒ Object

Api request for modifyCampaignLists.

Examples:

Accepts the following parameters as a hash:

{"modifyCampaignLists"=>{"campaignName"=>"?", "lists"=>{"campaignName"=>"?", "dialingPriority"=>"?", "dialingRatio"=>"?", "listName"=>"?", "priority"=>"?"}}}


405
406
407
408
409
410
411
412
413
414
415
416
# File 'lib/five9tools/admin/modify.rb', line 405

def modify_campaign_lists(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_campaign_lists, message: params)
      res[:modify_campaign_lists_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_campaign_profile(params = {}) ⇒ Object

Api request for modifyCampaignProfile.

Examples:

Accepts the following parameters as a hash:

{"modifyCampaignProfile"=>{"campaignProfile"=>{"ANI"=>"?", "description"=>"?", "dialingSchedule"=>{"dialASAPSortOrder"=>"?", "dialASAPTimeout"=>"?", "dialASAPTimeoutPeriod"=>"?", "dialingOrder"=>"?", "dialingSchedules"=>{"number"=>"?", "startTime"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}, "stopTime"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}}, "includeNumbers"=>"?"}, "dialingTimeout"=>"?", "initialCallPriority"=>"?", "maxCharges"=>"?", "name"=>"?", "numberOfAttempts"=>"?"}}}


439
440
441
442
443
444
445
446
447
448
449
450
# File 'lib/five9tools/admin/modify.rb', line 439

def modify_campaign_profile(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_campaign_profile, message: params)
      res[:modify_campaign_profile_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_campaign_profile_crm_criteria(params = {}) ⇒ Object

Api request for modifyCampaignProfileCrmCriteria.

Examples:

Accepts the following parameters as a hash:

{"modifyCampaignProfileCrmCriteria"=>{"profileName"=>"?", "grouping"=>{"expression"=>"?", "type"=>"?"}, "addCriteria"=>{"compareOperator"=>"?", "leftValue"=>"?", "rightValue"=>"?"}, "removeCriteria"=>{"compareOperator"=>"?", "leftValue"=>"?", "rightValue"=>"?"}}}


116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/five9tools/admin/modify.rb', line 116

def modify_campaign_profile_crm_criteria(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_campaign_profile_crm_criteria, message: params)
      res[:modify_campaign_profile_crm_criteria_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_campaign_profile_dispositions(params = {}) ⇒ Object

Api request for modifyCampaignProfileDispositions.

Examples:

Accepts the following parameters as a hash:

{"modifyCampaignProfileDispositions"=>{"profileName"=>"?", "addDispositionCounts"=>{"count"=>"?", "dispositions"=>"?"}, "removeDispositionCounts"=>{"count"=>"?", "dispositions"=>"?"}}}


150
151
152
153
154
155
156
157
158
159
160
161
# File 'lib/five9tools/admin/modify.rb', line 150

def modify_campaign_profile_dispositions(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_campaign_profile_dispositions, message: params)
      res[:modify_campaign_profile_dispositions_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_campaign_profile_filter_order(params = {}) ⇒ Object

Api request for modifyCampaignProfileFilterOrder.

Examples:

Accepts the following parameters as a hash:

{"modifyCampaignProfileFilterOrder"=>{"campaignProfile"=>"?", "addOrderByField"=>{"descending"=>"?", "fieldName"=>"?", "rank"=>"?"}, "removeOrderByField"=>"?"}}


252
253
254
255
256
257
258
259
260
261
262
263
# File 'lib/five9tools/admin/modify.rb', line 252

def modify_campaign_profile_filter_order(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_campaign_profile_filter_order, message: params)
      res[:modify_campaign_profile_filter_order_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_contact_field(params = {}) ⇒ Object

Api request for modifyContactField.

Examples:

Accepts the following parameters as a hash:

{"modifyContactField"=>{"field"=>{"displayAs"=>"?", "mapTo"=>"?", "name"=>"?", "restrictions"=>{"type"=>"?", "value"=>"?"}, "system"=>"?", "type"=>"?"}}}


133
134
135
136
137
138
139
140
141
142
143
144
# File 'lib/five9tools/admin/modify.rb', line 133

def modify_contact_field(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_contact_field, message: params)
      res[:modify_contact_field_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_disposition(params = {}) ⇒ Object

Api request for modifyDisposition.

Examples:

Accepts the following parameters as a hash:

{"modifyDisposition"=>{"disposition"=>{"agentMustCompleteWorksheet"=>"?", "agentMustConfirm"=>"?", "description"=>"?", "name"=>"?", "resetAttemptsCounter"=>"?", "sendEmailNotification"=>"?", "sendIMNotification"=>"?", "trackAsFirstCallResolution"=>"?", "type"=>"?", "typeParameters"=>{"allowChangeTimer"=>"?", "attempts"=>"?", "timer"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}, "useTimer"=>"?"}}}}


269
270
271
272
273
274
275
276
277
278
279
280
# File 'lib/five9tools/admin/modify.rb', line 269

def modify_disposition(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_disposition, message: params)
      res[:modify_disposition_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_inbound_campaign(params = {}) ⇒ Object

Api request for modifyInboundCampaign.

Examples:

Accepts the following parameters as a hash:

{"modifyInboundCampaign"=>{"campaign"=>{"description"=>"?", "mode"=>"?", "name"=>"?", "profileName"=>"?", "state"=>"?", "trainingMode"=>"?", "type"=>"?", "autoRecord"=>"?", "callWrapup"=>{"agentNotReady"=>"?", "dispostionName"=>"?", "enabled"=>"?", "reasonCodeName"=>"?", "timeout"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}}, "ftpHost"=>"?", "ftpPassword"=>"?", "ftpUser"=>"?", "recordingNameAsSid"=>"?", "useFtp"=>"?", "defaultIvrSchedule"=>{"ivrSchedule"=>{"name"=>"?", "scriptName"=>"?", "scriptParameters"=>{"name"=>"?", "value"=>"?"}}, "visualModeSettings"=>{"callbackEnabled"=>"?", "chatEnabled"=>"?", "cssTheme"=>"?", "emailEnabled"=>"?", "sentimentFeedbackEnabled"=>"?", "videoEnabled"=>"?", "visualModeEnabled"=>"?", "xFrameOption"=>"?", "xFrameOptionUrl"=>"?", "xFrameOptionsEnabled"=>"?"}}, "maxNumOfLines"=>"?"}}}


354
355
356
357
358
359
360
361
362
363
364
365
# File 'lib/five9tools/admin/modify.rb', line 354

def modify_inbound_campaign(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_inbound_campaign, message: params)
      res[:modify_inbound_campaign_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_ivr_script(params = {}) ⇒ Object

Api request for modifyIVRScript.

Examples:

Accepts the following parameters as a hash:

{"modifyIVRScript"=>{"scriptDef"=>{"description"=>"?", "name"=>"?", "xmlDefinition"=>"?"}}}


286
287
288
289
290
291
292
293
294
295
296
297
# File 'lib/five9tools/admin/modify.rb', line 286

def modify_ivr_script(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_ivr_script, message: params)
      res[:modify_ivr_script_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_outbound_campaign(params = {}) ⇒ Object

Api request for modifyOutboundCampaign.

Examples:

Accepts the following parameters as a hash:

{"modifyOutboundCampaign"=>{"campaign"=>{"description"=>"?", "mode"=>"?", "name"=>"?", "profileName"=>"?", "state"=>"?", "trainingMode"=>"?", "type"=>"?", "autoRecord"=>"?", "callWrapup"=>{"agentNotReady"=>"?", "dispostionName"=>"?", "enabled"=>"?", "reasonCodeName"=>"?", "timeout"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}}, "ftpHost"=>"?", "ftpPassword"=>"?", "ftpUser"=>"?", "recordingNameAsSid"=>"?", "useFtp"=>"?", "analyzeLevel"=>"?", "CRMRedialTimeout"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}, "dnisAsAni"=>"?", "enableListDialingRatios"=>"?", "listDialingMode"=>"?", "noOutOfNumbersAlert"=>"?", "stateDialingRule"=>"?", "timeZoneAssignment"=>"?", "actionOnAnswerMachine"=>{"actionArgument"=>"?", "actionType"=>"?", "maxWaitTime"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}}, "actionOnQueueExpiration"=>{"actionArgument"=>"?", "actionType"=>"?", "maxWaitTime"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}}, "callAnalysisMode"=>"?", "callsAgentRatio"=>"?", "dialNumberOnTimeout"=>"?", "dialingMode"=>"?", "dialingPriority"=>"?", "dialingRatio"=>"?", "distributionAlgorithm"=>"?", "distributionTimeFrame"=>"?", "limitPreviewTime"=>"?", "maxDroppedCallsPercentage"=>"?", "maxPreviewTime"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}, "maxQueueTime"=>{"days"=>"?", "hours"=>"?", "minutes"=>"?", "seconds"=>"?"}, "monitorDroppedCalls"=>"?", "previewDialImmediately"=>"?", "useTelemarketingMaxQueTimeEq1"=>"?"}}}


184
185
186
187
188
189
190
191
192
193
194
195
# File 'lib/five9tools/admin/modify.rb', line 184

def modify_outbound_campaign(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_outbound_campaign, message: params)
      res[:modify_outbound_campaign_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_prompt_tts(params = {}) ⇒ Object

Api request for modifyPromptTTS.

Examples:

Accepts the following parameters as a hash:

{"modifyPromptTTS"=>{"prompt"=>{"description"=>"?", "languages"=>"?", "name"=>"?", "type"=>"?"}, "ttsInfo"=>{"language"=>"?", "sayAs"=>"?", "sayAsFormat"=>"?", "text"=>"?", "voice"=>"?"}}}


388
389
390
391
392
393
394
395
396
397
398
399
# File 'lib/five9tools/admin/modify.rb', line 388

def modify_prompt_tts(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_prompt_tts, message: params)
      res[:modify_prompt_tts_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_prompt_wav(params = {}) ⇒ Object

Api request for modifyPromptWav.

Examples:

Accepts the following parameters as a hash:

{"modifyPromptWav"=>{"prompt"=>{"description"=>"?", "languages"=>"?", "name"=>"?", "type"=>"?"}, "wavFile"=>"cid:1267819525925"}}


303
304
305
306
307
308
309
310
311
312
313
314
# File 'lib/five9tools/admin/modify.rb', line 303

def modify_prompt_wav(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_prompt_wav, message: params)
      res[:modify_prompt_wav_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_prompt_wav_inline(params = {}) ⇒ Object

Api request for modifyPromptWavInline.

Examples:

Accepts the following parameters as a hash:

{"modifyPromptWavInline"=>{"prompt"=>{"description"=>"?", "languages"=>"?", "name"=>"?", "type"=>"?"}, "wavFile"=>"cid:1539211028055"}}


99
100
101
102
103
104
105
106
107
108
109
110
# File 'lib/five9tools/admin/modify.rb', line 99

def modify_prompt_wav_inline(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_prompt_wav_inline, message: params)
      res[:modify_prompt_wav_inline_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_reason_code(params = {}) ⇒ Object

Api request for modifyReasonCode.

Examples:

Accepts the following parameters as a hash:

{"modifyReasonCode"=>{"reasonCode"=>{"enabled"=>"?", "name"=>"?", "paidTime"=>"?", "shortcut"=>"?", "type"=>"?"}}}


456
457
458
459
460
461
462
463
464
465
466
467
# File 'lib/five9tools/admin/modify.rb', line 456

def modify_reason_code(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_reason_code, message: params)
      res[:modify_reason_code_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_skill(params = {}) ⇒ Object

Api request for modifySkill.

Examples:

Accepts the following parameters as a hash:

{"modifySkill"=>{"skill"=>{"description"=>"?", "id"=>"?", "messageOfTheDay"=>"?", "name"=>"?", "routeVoiceMails"=>"?"}}}


235
236
237
238
239
240
241
242
243
244
245
246
# File 'lib/five9tools/admin/modify.rb', line 235

def modify_skill(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_skill, message: params)
      res[:modify_skill_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_user(params = {}) ⇒ Object

Api request for modifyUser.

Examples:

Accepts the following parameters as a hash:

{"modifyUser"=>{"userGeneralInfo"=>{"active"=>"?", "canChangePassword"=>"?", "EMail"=>"?", "extension"=>"?", "federationId"=>"?", "firstName"=>"?", "fullName"=>"?", "IEXScheduled"=>"?", "id"=>"?", "lastName"=>"?", "locale"=>"?", "mediaTypeConfig"=>{"mediaTypes"=>{"enabled"=>"?", "intlligentRouting"=>"?", "maxAlowed"=>"?", "type"=>"?"}}, "mustChangePassword"=>"?", "osLogin"=>"?", "password"=>"?", "phoneNumber"=>"?", "startDate"=>"?", "unifiedCommunicationId"=>"?", "userName"=>"?", "userProfileName"=>"?"}, "rolesToSet"=>{"admin"=>{"permissions"=>{"type"=>"?", "value"=>"?"}}, "agent"=>{"alwaysRecorded"=>"?", "attachVmToEmail"=>"?", "permissions"=>{"type"=>"?", "value"=>"?"}, "sendEmailOnVm"=>"?"}, "crmManager"=>{"permissions"=>{"type"=>"?", "value"=>"?"}}, "reporting"=>{"permissions"=>{"type"=>"?", "value"=>"?"}}, "supervisor"=>{"permissions"=>{"type"=>"?", "value"=>"?"}}}, "rolesToRemove"=>"?"}}


422
423
424
425
426
427
428
429
430
431
432
433
# File 'lib/five9tools/admin/modify.rb', line 422

def modify_user(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_user, message: params)
      res[:modify_user_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_user_canned_reports(params = {}) ⇒ Object

Api request for modifyUserCannedReports.

Examples:

Accepts the following parameters as a hash:

{"modifyUserCannedReports"=>{"userName"=>"?", "cannedReportsToAdd"=>{"index"=>"?", "name"=>"?"}, "cannedReportsToRemove"=>"?"}}


201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/five9tools/admin/modify.rb', line 201

def modify_user_canned_reports(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_user_canned_reports, message: params)
      res[:modify_user_canned_reports_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_user_profile(params = {}) ⇒ Object

Api request for modifyUserProfile.

Examples:

Accepts the following parameters as a hash:

{"modifyUserProfile"=>{"userProfile"=>{"description"=>"?", "IEXScheduled"=>"?", "locale"=>"?", "mediaTypeConfig"=>{"mediaTypes"=>{"enabled"=>"?", "intlligentRouting"=>"?", "maxAlowed"=>"?", "type"=>"?"}}, "name"=>"?", "roles"=>{"admin"=>{"permissions"=>{"type"=>"?", "value"=>"?"}}, "agent"=>{"alwaysRecorded"=>"?", "attachVmToEmail"=>"?", "permissions"=>{"type"=>"?", "value"=>"?"}, "sendEmailOnVm"=>"?"}, "crmManager"=>{"permissions"=>{"type"=>"?", "value"=>"?"}}, "reporting"=>{"permissions"=>{"type"=>"?", "value"=>"?"}}, "supervisor"=>{"permissions"=>{"type"=>"?", "value"=>"?"}}}, "skills"=>"?", "users"=>"?"}}}


337
338
339
340
341
342
343
344
345
346
347
348
# File 'lib/five9tools/admin/modify.rb', line 337

def (params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_user_profile, message: params)
      res[:modify_user_profile_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_user_profile_skills(params = {}) ⇒ Object

Api request for modifyUserProfileSkills.

Examples:

Accepts the following parameters as a hash:

{"modifyUserProfileSkills"=>{"userProfileName"=>"?", "addSkills"=>"?", "removeSkills"=>"?"}}


371
372
373
374
375
376
377
378
379
380
381
382
# File 'lib/five9tools/admin/modify.rb', line 371

def (params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_user_profile_skills, message: params)
      res[:modify_user_profile_skills_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_user_profile_user_list(params = {}) ⇒ Object

Api request for modifyUserProfileUserList.

Examples:

Accepts the following parameters as a hash:

{"modifyUserProfileUserList"=>{"userProfileName"=>"?", "addUsers"=>"?", "removeUsers"=>"?"}}


48
49
50
51
52
53
54
55
56
57
58
59
# File 'lib/five9tools/admin/modify.rb', line 48

def (params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_user_profile_user_list, message: params)
      res[:modify_user_profile_user_list_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_vcc_configuration(params = {}) ⇒ Object

Api request for modifyVCCConfiguration.

Examples:

Accepts the following parameters as a hash:

{"modifyVCCConfiguration"=>{"configuration"=>{"agentProductivity"=>{"longACWTime"=>"?", "longCallDuration"=>"?", "longHoldDuration"=>"?", "longParkDuration"=>"?", "shortACWTime"=>"?", "shortCallDuration"=>"?"}, "campaignsSettings"=>{"gracefulAgentStateTransitionDelay"=>"?", "gracefulAgentStateTransitionModeEnabled"=>"?", "priorityEnabled"=>"?", "ratioEnabled"=>"?"}, "domainId"=>"?", "domainName"=>"?", "emailProperties"=>{"emailAddress"=>"?", "maxAttachmentSize"=>"?", "newUserNotification"=>"?"}, "extensionSettings"=>{"maximalExtensionLength"=>"?", "minimalExtensionLength"=>"?", "minimalGeneratedExtension"=>"?"}, "keyPerfomanceIndicators"=>{"minTimeOfResponse"=>"?", "speedOfAnswer"=>"?"}, "miscOptions"=>{"defaultCampaign"=>"?", "enableReasonCodes"=>"?", "internalCallTimeout"=>"?", "maySelectCampaign"=>"?", "maySelectNone"=>"?", "showDialAttempts"=>"?", "voicemailTimeout"=>"?"}, "passwordPolicies"=>{"adminLoginAttempts"=>"?", "enforcePasswordHistory"=>"?", "loginAttempts"=>"?", "minCapitalCharacters"=>"?", "minNumberCharacters"=>"?", "minPasswordLength"=>"?", "minSpecialCharacters"=>"?", "passwordExpires"=>"?"}, "recordingsServer"=>{"hostName"=>"?", "password"=>"?", "userName"=>"?"}, "reportsServer"=>{"hostName"=>"?", "password"=>"?", "userName"=>"?"}, "saleforceEmailAccount"=>{"consumerKey"=>"?", "consumerSecret"=>"?", "enabled"=>"?", "password"=>"?", "securityToken"=>"?", "userName"=>"?"}, "stateDialingRule"=>"?", "timeZoneAssignment"=>"?", "transcriptsServer"=>{"hostName"=>"?", "password"=>"?", "userName"=>"?"}}}}


167
168
169
170
171
172
173
174
175
176
177
178
# File 'lib/five9tools/admin/modify.rb', line 167

def modify_vcc_configuration(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_vcc_configuration, message: params)
      res[:modify_vcc_configuration_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.modify_web_connector(params = {}) ⇒ Object

Api request for modifyWebConnector.

Examples:

Accepts the following parameters as a hash:

{"modifyWebConnector"=>{"connector"=>{"addWorksheet"=>"?", "agentApplication"=>"?", "clearTriggerDispositions"=>"?", "constants"=>{"key"=>"?", "value"=>"?"}, "ctiWebServices"=>"?", "description"=>"?", "executeInBrowser"=>"?", "name"=>"?", "postConstants"=>{"key"=>"?", "value"=>"?"}, "postMethod"=>"?", "postVariables"=>{"key"=>"?", "value"=>"?"}, "startPageText"=>"?", "trigger"=>"?", "triggerDispositions"=>"?", "url"=>"?", "variables"=>{"key"=>"?", "value"=>"?"}}}}


65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/five9tools/admin/modify.rb', line 65

def modify_web_connector(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:modify_web_connector, message: params)
      res[:modify_web_connector_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end

.user_skill_modify(params = {}) ⇒ Object

Api request for userSkillModify.

Examples:

Accepts the following parameters as a hash:

{"userSkillModify"=>{"userSkill"=>{"id"=>"?", "level"=>"?", "skillName"=>"?", "userName"=>"?"}}}


320
321
322
323
324
325
326
327
328
329
330
331
# File 'lib/five9tools/admin/modify.rb', line 320

def user_skill_modify(params = {})
  if params.is_a?(Hash)
    begin
      res = self.call(:user_skill_modify, message: params)
      res[:user_skill_modify_response].values[0]
    rescue => e
      e.to_s
    end
  else
    "Implement something for simple use case"
  end
end