purecloudplatformclientv2 75.1.0 → 79.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/ActivityCode.md +1 -1
- data/docs/AnalyticsApi.md +66 -2
- data/docs/AnalyticsConversationAsyncQueryResponse.md +1 -1
- data/docs/AnalyticsConversationQueryResponse.md +1 -1
- data/docs/AnalyticsParticipant.md +1 -0
- data/docs/AnalyticsParticipantWithoutAttributes.md +1 -0
- data/docs/ArchitectApi.md +345 -0
- data/docs/AuditApi.md +3 -1
- data/docs/AuditLogMessage.md +1 -1
- data/docs/AuthorizationApi.md +154 -9
- data/docs/AvailableTopic.md +3 -1
- data/docs/BuAgentScheduleActivity.md +18 -0
- data/docs/BuAgentSchedulePublishedScheduleReference.md +16 -0
- data/docs/BuAgentScheduleSearchResponse.md +15 -0
- data/docs/BuAgentScheduleShift.md +18 -0
- data/docs/BuAgentSchedulesSearchResponse.md +15 -0
- data/docs/BuAsyncAgentSchedulesSearchResponse.md +17 -0
- data/docs/BuFullDayTimeOffMarker.md +18 -0
- data/docs/BuScheduleReference.md +15 -0
- data/docs/Call.md +1 -1
- data/docs/CallBasic.md +1 -1
- data/docs/CallMediaParticipant.md +1 -1
- data/docs/CallbackMediaParticipant.md +1 -1
- data/docs/CampaignProgress.md +2 -1
- data/docs/ChatMediaParticipant.md +1 -1
- data/docs/CobrowseMediaParticipant.md +1 -1
- data/docs/ConversationsApi.md +71 -1
- data/docs/CopyAttachmentsRequest.md +14 -0
- data/docs/CreateManagementUnitApiRequest.md +3 -2
- data/docs/CreateManagementUnitSettingsRequest.md +1 -1
- data/docs/CreateWorkPlanShift.md +1 -1
- data/docs/DataTableExportJob.md +22 -0
- data/docs/DataTableImportJob.md +25 -0
- data/docs/DivsPermittedEntityListing.md +23 -0
- data/docs/EmailMediaParticipant.md +1 -1
- data/docs/EntityListing.md +17 -0
- data/docs/ErrorBody.md +2 -2
- data/docs/ErrorInfo.md +14 -0
- data/docs/Evaluation.md +1 -0
- data/docs/EvaluationQuestionGroupScore.md +4 -0
- data/docs/EvaluationScoringSet.md +1 -0
- data/docs/FacebookIntegrationRequest.md +2 -2
- data/docs/GDPRJourneyCustomer.md +2 -2
- data/docs/InboundDomain.md +2 -0
- data/docs/Library.md +4 -3
- data/docs/LicenseApi.md +66 -0
- data/docs/MailFromResult.md +15 -0
- data/docs/ManagementUnit.md +2 -2
- data/docs/ManagementUnitSettingsRequest.md +1 -1
- data/docs/MessageMediaParticipant.md +1 -1
- data/docs/MessagingApi.md +0 -936
- data/docs/MessagingTemplate.md +15 -0
- data/docs/Organization.md +1 -0
- data/docs/QualityApi.md +5 -6
- data/docs/Record.md +15 -0
- data/docs/ReportingExportMetadataJobListing.md +22 -0
- data/docs/ReportingExportMetadataJobResponse.md +22 -0
- data/docs/Response.md +2 -0
- data/docs/RoutingApi.md +385 -0
- data/docs/RoutingSettings.md +13 -0
- data/docs/SCIMApi.md +397 -23
- data/docs/ScimUserExtensions.md +14 -0
- data/docs/ScimUserRole.md +13 -0
- data/docs/ScimUserRoutingLanguage.md +14 -0
- data/docs/ScimUserRoutingSkill.md +14 -0
- data/docs/ScimV2CreateUser.md +2 -1
- data/docs/ScimV2SchemaAttribute.md +24 -0
- data/docs/ScimV2SchemaDefinition.md +17 -0
- data/docs/ScimV2SchemaListResponse.md +17 -0
- data/docs/ScimV2User.md +2 -1
- data/docs/ShortTermForecast.md +2 -2
- data/docs/ShortTermForecastListItemResponse.md +2 -2
- data/docs/ShortTermForecastReference.md +2 -2
- data/docs/TimeOffRequestLookup.md +3 -3
- data/docs/TimeOffRequestResponse.md +3 -3
- data/docs/UserScheduleAdherence.md +1 -1
- data/docs/UsersApi.md +358 -10
- data/docs/ViewFilter.md +4 -10
- data/docs/WeekSchedule.md +1 -1
- data/docs/WeekScheduleListItemResponse.md +1 -1
- data/docs/WeekScheduleReference.md +1 -1
- data/docs/WorkPlanShift.md +1 -1
- data/docs/WorkforceManagementApi.md +40 -41
- data/lib/purecloudplatformclientv2.rb +27 -0
- data/lib/purecloudplatformclientv2/api/analytics_api.rb +73 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +373 -0
- data/lib/purecloudplatformclientv2/api/audit_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +185 -7
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +84 -0
- data/lib/purecloudplatformclientv2/api/license_api.rb +63 -0
- data/lib/purecloudplatformclientv2/api/messaging_api.rb +0 -949
- data/lib/purecloudplatformclientv2/api/quality_api.rb +8 -6
- data/lib/purecloudplatformclientv2/api/routing_api.rb +378 -0
- data/lib/purecloudplatformclientv2/api/scim_api.rb +366 -26
- data/lib/purecloudplatformclientv2/api/users_api.rb +398 -7
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/activity_code.rb +30 -30
- data/lib/purecloudplatformclientv2/models/analytics_conversation_async_query_response.rb +15 -15
- data/lib/purecloudplatformclientv2/models/analytics_conversation_query_response.rb +15 -15
- data/lib/purecloudplatformclientv2/models/analytics_participant.rb +27 -1
- data/lib/purecloudplatformclientv2/models/analytics_participant_without_attributes.rb +27 -1
- data/lib/purecloudplatformclientv2/models/audit_log_message.rb +5 -5
- data/lib/purecloudplatformclientv2/models/available_topic.rb +57 -4
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_activity.rb +332 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_published_schedule_reference.rb +280 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_search_response.rb +258 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_shift.rb +334 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedules_search_response.rb +258 -0
- data/lib/purecloudplatformclientv2/models/bu_async_agent_schedules_search_response.rb +320 -0
- data/lib/purecloudplatformclientv2/models/bu_full_day_time_off_marker.rb +332 -0
- data/lib/purecloudplatformclientv2/models/bu_schedule_reference.rb +254 -0
- data/lib/purecloudplatformclientv2/models/call.rb +1 -1
- data/lib/purecloudplatformclientv2/models/call_basic.rb +1 -1
- data/lib/purecloudplatformclientv2/models/call_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/campaign_progress.rb +28 -2
- data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/copy_attachments_request.rb +240 -0
- data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +37 -16
- data/lib/purecloudplatformclientv2/models/create_management_unit_settings_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_work_plan_shift.rb +1 -1
- data/lib/purecloudplatformclientv2/models/data_table_export_job.rb +455 -0
- data/lib/purecloudplatformclientv2/models/data_table_import_job.rb +547 -0
- data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +453 -0
- data/lib/purecloudplatformclientv2/models/email_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +303 -0
- data/lib/purecloudplatformclientv2/models/error_body.rb +20 -20
- data/lib/purecloudplatformclientv2/models/error_info.rb +226 -0
- data/lib/purecloudplatformclientv2/models/evaluation.rb +27 -1
- data/lib/purecloudplatformclientv2/models/evaluation_question_group_score.rb +101 -1
- data/lib/purecloudplatformclientv2/models/evaluation_scoring_set.rb +26 -1
- data/lib/purecloudplatformclientv2/models/facebook_integration_request.rb +2 -7
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/gdpr_journey_customer.rb +2 -12
- data/lib/purecloudplatformclientv2/models/inbound_domain.rb +53 -1
- data/lib/purecloudplatformclientv2/models/library.rb +44 -2
- data/lib/purecloudplatformclientv2/models/mail_from_result.rb +275 -0
- data/lib/purecloudplatformclientv2/models/management_unit.rb +2 -2
- data/lib/purecloudplatformclientv2/models/management_unit_settings_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/message_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/messaging_template.rb +270 -0
- data/lib/purecloudplatformclientv2/models/organization.rb +41 -1
- data/lib/purecloudplatformclientv2/models/record.rb +269 -0
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_response.rb +459 -0
- data/lib/purecloudplatformclientv2/models/response.rb +67 -1
- data/lib/purecloudplatformclientv2/models/routing_settings.rb +202 -0
- data/lib/purecloudplatformclientv2/models/scim_metadata.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_user_extensions.rb +233 -0
- data/lib/purecloudplatformclientv2/models/scim_user_role.rb +203 -0
- data/lib/purecloudplatformclientv2/models/scim_user_routing_language.rb +234 -0
- data/lib/purecloudplatformclientv2/models/scim_user_routing_skill.rb +234 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +30 -5
- data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_attribute.rb +551 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb +309 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_list_response.rb +311 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +27 -2
- data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/short_term_forecast.rb +30 -35
- data/lib/purecloudplatformclientv2/models/short_term_forecast_list_item_response.rb +30 -35
- data/lib/purecloudplatformclientv2/models/short_term_forecast_reference.rb +22 -27
- data/lib/purecloudplatformclientv2/models/time_off_request_lookup.rb +3 -3
- data/lib/purecloudplatformclientv2/models/time_off_request_response.rb +3 -3
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +1 -1
- data/lib/purecloudplatformclientv2/models/view_filter.rb +53 -255
- data/lib/purecloudplatformclientv2/models/week_schedule.rb +21 -21
- data/lib/purecloudplatformclientv2/models/week_schedule_list_item_response.rb +21 -21
- data/lib/purecloudplatformclientv2/models/week_schedule_reference.rb +14 -14
- data/lib/purecloudplatformclientv2/models/work_plan_shift.rb +1 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +56 -2
@@ -415,6 +415,7 @@ module PureCloud
|
|
415
415
|
# @param job_id jobId
|
416
416
|
# @param [Hash] opts the optional parameters
|
417
417
|
# @option opts [String] :cursor Indicates where to resume query results (not required for first page)
|
418
|
+
# @option opts [Integer] :page_size The desired maximum number of results
|
418
419
|
# @return [AnalyticsConversationAsyncQueryResponse]
|
419
420
|
def get_analytics_conversations_details_job_results(job_id, opts = {})
|
420
421
|
data, _status_code, _headers = get_analytics_conversations_details_job_results_with_http_info(job_id, opts)
|
@@ -426,6 +427,7 @@ module PureCloud
|
|
426
427
|
# @param job_id jobId
|
427
428
|
# @param [Hash] opts the optional parameters
|
428
429
|
# @option opts [String] :cursor Indicates where to resume query results (not required for first page)
|
430
|
+
# @option opts [Integer] :page_size The desired maximum number of results
|
429
431
|
# @return [Array<(AnalyticsConversationAsyncQueryResponse, Fixnum, Hash)>] AnalyticsConversationAsyncQueryResponse data, response status code and response headers
|
430
432
|
def get_analytics_conversations_details_job_results_with_http_info(job_id, opts = {})
|
431
433
|
if @api_client.config.debugging
|
@@ -446,12 +448,19 @@ module PureCloud
|
|
446
448
|
|
447
449
|
|
448
450
|
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
|
456
|
+
|
449
457
|
# resource path
|
450
458
|
local_var_path = "/api/v2/analytics/conversations/details/jobs/{jobId}/results".sub('{format}','json').sub('{' + 'jobId' + '}', job_id.to_s)
|
451
459
|
|
452
460
|
# query parameters
|
453
461
|
query_params = {}
|
454
462
|
query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
|
463
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
455
464
|
|
456
465
|
# header parameters
|
457
466
|
header_params = {}
|
@@ -539,6 +548,61 @@ module PureCloud
|
|
539
548
|
return data, status_code, headers
|
540
549
|
end
|
541
550
|
|
551
|
+
# Get all export metadata
|
552
|
+
#
|
553
|
+
# @param [Hash] opts the optional parameters
|
554
|
+
# @return [ReportingExportMetadataJobListing]
|
555
|
+
def get_analytics_reporting_exports_metadata(opts = {})
|
556
|
+
data, _status_code, _headers = get_analytics_reporting_exports_metadata_with_http_info(opts)
|
557
|
+
return data
|
558
|
+
end
|
559
|
+
|
560
|
+
# Get all export metadata
|
561
|
+
#
|
562
|
+
# @param [Hash] opts the optional parameters
|
563
|
+
# @return [Array<(ReportingExportMetadataJobListing, Fixnum, Hash)>] ReportingExportMetadataJobListing data, response status code and response headers
|
564
|
+
def get_analytics_reporting_exports_metadata_with_http_info(opts = {})
|
565
|
+
if @api_client.config.debugging
|
566
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi.get_analytics_reporting_exports_metadata ..."
|
567
|
+
end
|
568
|
+
|
569
|
+
# resource path
|
570
|
+
local_var_path = "/api/v2/analytics/reporting/exports/metadata".sub('{format}','json')
|
571
|
+
|
572
|
+
# query parameters
|
573
|
+
query_params = {}
|
574
|
+
|
575
|
+
# header parameters
|
576
|
+
header_params = {}
|
577
|
+
|
578
|
+
# HTTP header 'Accept' (if needed)
|
579
|
+
local_header_accept = ['application/json']
|
580
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
581
|
+
|
582
|
+
# HTTP header 'Content-Type'
|
583
|
+
local_header_content_type = ['application/json']
|
584
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
585
|
+
|
586
|
+
# form parameters
|
587
|
+
form_params = {}
|
588
|
+
|
589
|
+
# http body (model)
|
590
|
+
post_body = nil
|
591
|
+
|
592
|
+
auth_names = ['PureCloud OAuth']
|
593
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
594
|
+
:header_params => header_params,
|
595
|
+
:query_params => query_params,
|
596
|
+
:form_params => form_params,
|
597
|
+
:body => post_body,
|
598
|
+
:auth_names => auth_names,
|
599
|
+
:return_type => 'ReportingExportMetadataJobListing')
|
600
|
+
if @api_client.config.debugging
|
601
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#get_analytics_reporting_exports_metadata\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
602
|
+
end
|
603
|
+
return data, status_code, headers
|
604
|
+
end
|
605
|
+
|
542
606
|
# Get list of reporting metadata.
|
543
607
|
#
|
544
608
|
# @param [Hash] opts the optional parameters
|
@@ -1236,6 +1300,7 @@ module PureCloud
|
|
1236
1300
|
# @param job_id jobId
|
1237
1301
|
# @param [Hash] opts the optional parameters
|
1238
1302
|
# @option opts [String] :cursor Indicates where to resume query results (not required for first page)
|
1303
|
+
# @option opts [Integer] :page_size The desired maximum number of results
|
1239
1304
|
# @return [AnalyticsUserDetailsAsyncQueryResponse]
|
1240
1305
|
def get_analytics_users_details_job_results(job_id, opts = {})
|
1241
1306
|
data, _status_code, _headers = get_analytics_users_details_job_results_with_http_info(job_id, opts)
|
@@ -1247,6 +1312,7 @@ module PureCloud
|
|
1247
1312
|
# @param job_id jobId
|
1248
1313
|
# @param [Hash] opts the optional parameters
|
1249
1314
|
# @option opts [String] :cursor Indicates where to resume query results (not required for first page)
|
1315
|
+
# @option opts [Integer] :page_size The desired maximum number of results
|
1250
1316
|
# @return [Array<(AnalyticsUserDetailsAsyncQueryResponse, Fixnum, Hash)>] AnalyticsUserDetailsAsyncQueryResponse data, response status code and response headers
|
1251
1317
|
def get_analytics_users_details_job_results_with_http_info(job_id, opts = {})
|
1252
1318
|
if @api_client.config.debugging
|
@@ -1267,12 +1333,19 @@ module PureCloud
|
|
1267
1333
|
|
1268
1334
|
|
1269
1335
|
|
1336
|
+
|
1337
|
+
|
1338
|
+
|
1339
|
+
|
1340
|
+
|
1341
|
+
|
1270
1342
|
# resource path
|
1271
1343
|
local_var_path = "/api/v2/analytics/users/details/jobs/{jobId}/results".sub('{format}','json').sub('{' + 'jobId' + '}', job_id.to_s)
|
1272
1344
|
|
1273
1345
|
# query parameters
|
1274
1346
|
query_params = {}
|
1275
1347
|
query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
|
1348
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1276
1349
|
|
1277
1350
|
# header parameters
|
1278
1351
|
header_params = {}
|
@@ -4285,6 +4285,239 @@ module PureCloud
|
|
4285
4285
|
return data, status_code, headers
|
4286
4286
|
end
|
4287
4287
|
|
4288
|
+
# Returns the state information about an export job
|
4289
|
+
# Returns the state information about an export job.
|
4290
|
+
# @param datatable_id id of datatable
|
4291
|
+
# @param export_job_id id of export job
|
4292
|
+
# @param [Hash] opts the optional parameters
|
4293
|
+
# @return [DataTableExportJob]
|
4294
|
+
def get_flows_datatable_export_job(datatable_id, export_job_id, opts = {})
|
4295
|
+
data, _status_code, _headers = get_flows_datatable_export_job_with_http_info(datatable_id, export_job_id, opts)
|
4296
|
+
return data
|
4297
|
+
end
|
4298
|
+
|
4299
|
+
# Returns the state information about an export job
|
4300
|
+
# Returns the state information about an export job.
|
4301
|
+
# @param datatable_id id of datatable
|
4302
|
+
# @param export_job_id id of export job
|
4303
|
+
# @param [Hash] opts the optional parameters
|
4304
|
+
# @return [Array<(DataTableExportJob, Fixnum, Hash)>] DataTableExportJob data, response status code and response headers
|
4305
|
+
def get_flows_datatable_export_job_with_http_info(datatable_id, export_job_id, opts = {})
|
4306
|
+
if @api_client.config.debugging
|
4307
|
+
@api_client.config.logger.debug "Calling API: ArchitectApi.get_flows_datatable_export_job ..."
|
4308
|
+
end
|
4309
|
+
|
4310
|
+
|
4311
|
+
# verify the required parameter 'datatable_id' is set
|
4312
|
+
fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.get_flows_datatable_export_job" if datatable_id.nil?
|
4313
|
+
|
4314
|
+
|
4315
|
+
|
4316
|
+
|
4317
|
+
|
4318
|
+
|
4319
|
+
# verify the required parameter 'export_job_id' is set
|
4320
|
+
fail ArgumentError, "Missing the required parameter 'export_job_id' when calling ArchitectApi.get_flows_datatable_export_job" if export_job_id.nil?
|
4321
|
+
|
4322
|
+
|
4323
|
+
|
4324
|
+
|
4325
|
+
|
4326
|
+
# resource path
|
4327
|
+
local_var_path = "/api/v2/flows/datatables/{datatableId}/export/jobs/{exportJobId}".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s).sub('{' + 'exportJobId' + '}', export_job_id.to_s)
|
4328
|
+
|
4329
|
+
# query parameters
|
4330
|
+
query_params = {}
|
4331
|
+
|
4332
|
+
# header parameters
|
4333
|
+
header_params = {}
|
4334
|
+
|
4335
|
+
# HTTP header 'Accept' (if needed)
|
4336
|
+
local_header_accept = ['application/json']
|
4337
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4338
|
+
|
4339
|
+
# HTTP header 'Content-Type'
|
4340
|
+
local_header_content_type = ['application/json']
|
4341
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4342
|
+
|
4343
|
+
# form parameters
|
4344
|
+
form_params = {}
|
4345
|
+
|
4346
|
+
# http body (model)
|
4347
|
+
post_body = nil
|
4348
|
+
|
4349
|
+
auth_names = ['PureCloud OAuth']
|
4350
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
4351
|
+
:header_params => header_params,
|
4352
|
+
:query_params => query_params,
|
4353
|
+
:form_params => form_params,
|
4354
|
+
:body => post_body,
|
4355
|
+
:auth_names => auth_names,
|
4356
|
+
:return_type => 'DataTableExportJob')
|
4357
|
+
if @api_client.config.debugging
|
4358
|
+
@api_client.config.logger.debug "API called: ArchitectApi#get_flows_datatable_export_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4359
|
+
end
|
4360
|
+
return data, status_code, headers
|
4361
|
+
end
|
4362
|
+
|
4363
|
+
# Returns the state information about an import job
|
4364
|
+
# Returns the state information about an import job.
|
4365
|
+
# @param datatable_id id of datatable
|
4366
|
+
# @param import_job_id id of import job
|
4367
|
+
# @param [Hash] opts the optional parameters
|
4368
|
+
# @return [DataTableImportJob]
|
4369
|
+
def get_flows_datatable_import_job(datatable_id, import_job_id, opts = {})
|
4370
|
+
data, _status_code, _headers = get_flows_datatable_import_job_with_http_info(datatable_id, import_job_id, opts)
|
4371
|
+
return data
|
4372
|
+
end
|
4373
|
+
|
4374
|
+
# Returns the state information about an import job
|
4375
|
+
# Returns the state information about an import job.
|
4376
|
+
# @param datatable_id id of datatable
|
4377
|
+
# @param import_job_id id of import job
|
4378
|
+
# @param [Hash] opts the optional parameters
|
4379
|
+
# @return [Array<(DataTableImportJob, Fixnum, Hash)>] DataTableImportJob data, response status code and response headers
|
4380
|
+
def get_flows_datatable_import_job_with_http_info(datatable_id, import_job_id, opts = {})
|
4381
|
+
if @api_client.config.debugging
|
4382
|
+
@api_client.config.logger.debug "Calling API: ArchitectApi.get_flows_datatable_import_job ..."
|
4383
|
+
end
|
4384
|
+
|
4385
|
+
|
4386
|
+
# verify the required parameter 'datatable_id' is set
|
4387
|
+
fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.get_flows_datatable_import_job" if datatable_id.nil?
|
4388
|
+
|
4389
|
+
|
4390
|
+
|
4391
|
+
|
4392
|
+
|
4393
|
+
|
4394
|
+
# verify the required parameter 'import_job_id' is set
|
4395
|
+
fail ArgumentError, "Missing the required parameter 'import_job_id' when calling ArchitectApi.get_flows_datatable_import_job" if import_job_id.nil?
|
4396
|
+
|
4397
|
+
|
4398
|
+
|
4399
|
+
|
4400
|
+
|
4401
|
+
# resource path
|
4402
|
+
local_var_path = "/api/v2/flows/datatables/{datatableId}/import/jobs/{importJobId}".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s).sub('{' + 'importJobId' + '}', import_job_id.to_s)
|
4403
|
+
|
4404
|
+
# query parameters
|
4405
|
+
query_params = {}
|
4406
|
+
|
4407
|
+
# header parameters
|
4408
|
+
header_params = {}
|
4409
|
+
|
4410
|
+
# HTTP header 'Accept' (if needed)
|
4411
|
+
local_header_accept = ['application/json']
|
4412
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4413
|
+
|
4414
|
+
# HTTP header 'Content-Type'
|
4415
|
+
local_header_content_type = ['application/json']
|
4416
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4417
|
+
|
4418
|
+
# form parameters
|
4419
|
+
form_params = {}
|
4420
|
+
|
4421
|
+
# http body (model)
|
4422
|
+
post_body = nil
|
4423
|
+
|
4424
|
+
auth_names = ['PureCloud OAuth']
|
4425
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
4426
|
+
:header_params => header_params,
|
4427
|
+
:query_params => query_params,
|
4428
|
+
:form_params => form_params,
|
4429
|
+
:body => post_body,
|
4430
|
+
:auth_names => auth_names,
|
4431
|
+
:return_type => 'DataTableImportJob')
|
4432
|
+
if @api_client.config.debugging
|
4433
|
+
@api_client.config.logger.debug "API called: ArchitectApi#get_flows_datatable_import_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4434
|
+
end
|
4435
|
+
return data, status_code, headers
|
4436
|
+
end
|
4437
|
+
|
4438
|
+
# Get all recent import jobs
|
4439
|
+
# Get all recent import jobs
|
4440
|
+
# @param datatable_id id of datatable
|
4441
|
+
# @param [Hash] opts the optional parameters
|
4442
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
4443
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
4444
|
+
# @return [EntityListing]
|
4445
|
+
def get_flows_datatable_import_jobs(datatable_id, opts = {})
|
4446
|
+
data, _status_code, _headers = get_flows_datatable_import_jobs_with_http_info(datatable_id, opts)
|
4447
|
+
return data
|
4448
|
+
end
|
4449
|
+
|
4450
|
+
# Get all recent import jobs
|
4451
|
+
# Get all recent import jobs
|
4452
|
+
# @param datatable_id id of datatable
|
4453
|
+
# @param [Hash] opts the optional parameters
|
4454
|
+
# @option opts [Integer] :page_number Page number
|
4455
|
+
# @option opts [Integer] :page_size Page size
|
4456
|
+
# @return [Array<(EntityListing, Fixnum, Hash)>] EntityListing data, response status code and response headers
|
4457
|
+
def get_flows_datatable_import_jobs_with_http_info(datatable_id, opts = {})
|
4458
|
+
if @api_client.config.debugging
|
4459
|
+
@api_client.config.logger.debug "Calling API: ArchitectApi.get_flows_datatable_import_jobs ..."
|
4460
|
+
end
|
4461
|
+
|
4462
|
+
|
4463
|
+
# verify the required parameter 'datatable_id' is set
|
4464
|
+
fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.get_flows_datatable_import_jobs" if datatable_id.nil?
|
4465
|
+
|
4466
|
+
|
4467
|
+
|
4468
|
+
|
4469
|
+
|
4470
|
+
|
4471
|
+
|
4472
|
+
|
4473
|
+
|
4474
|
+
|
4475
|
+
|
4476
|
+
|
4477
|
+
|
4478
|
+
|
4479
|
+
|
4480
|
+
|
4481
|
+
|
4482
|
+
# resource path
|
4483
|
+
local_var_path = "/api/v2/flows/datatables/{datatableId}/import/jobs".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s)
|
4484
|
+
|
4485
|
+
# query parameters
|
4486
|
+
query_params = {}
|
4487
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
4488
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
4489
|
+
|
4490
|
+
# header parameters
|
4491
|
+
header_params = {}
|
4492
|
+
|
4493
|
+
# HTTP header 'Accept' (if needed)
|
4494
|
+
local_header_accept = ['application/json']
|
4495
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4496
|
+
|
4497
|
+
# HTTP header 'Content-Type'
|
4498
|
+
local_header_content_type = ['application/json']
|
4499
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4500
|
+
|
4501
|
+
# form parameters
|
4502
|
+
form_params = {}
|
4503
|
+
|
4504
|
+
# http body (model)
|
4505
|
+
post_body = nil
|
4506
|
+
|
4507
|
+
auth_names = ['PureCloud OAuth']
|
4508
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
4509
|
+
:header_params => header_params,
|
4510
|
+
:query_params => query_params,
|
4511
|
+
:form_params => form_params,
|
4512
|
+
:body => post_body,
|
4513
|
+
:auth_names => auth_names,
|
4514
|
+
:return_type => 'EntityListing')
|
4515
|
+
if @api_client.config.debugging
|
4516
|
+
@api_client.config.logger.debug "API called: ArchitectApi#get_flows_datatable_import_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4517
|
+
end
|
4518
|
+
return data, status_code, headers
|
4519
|
+
end
|
4520
|
+
|
4288
4521
|
# Returns a specific row for the datatable
|
4289
4522
|
# Given a datatableId and a rowId (the value of the key field) this will return the full row contents for that rowId.
|
4290
4523
|
# @param datatable_id id of datatable
|
@@ -6128,6 +6361,146 @@ module PureCloud
|
|
6128
6361
|
return data, status_code, headers
|
6129
6362
|
end
|
6130
6363
|
|
6364
|
+
# Begin an export process for exporting all rows from a datatable
|
6365
|
+
# Create an export job for exporting rows. The caller can then poll for status of the export using the token returned in the response
|
6366
|
+
# @param datatable_id id of datatable
|
6367
|
+
# @param [Hash] opts the optional parameters
|
6368
|
+
# @return [DataTableExportJob]
|
6369
|
+
def post_flows_datatable_export_jobs(datatable_id, opts = {})
|
6370
|
+
data, _status_code, _headers = post_flows_datatable_export_jobs_with_http_info(datatable_id, opts)
|
6371
|
+
return data
|
6372
|
+
end
|
6373
|
+
|
6374
|
+
# Begin an export process for exporting all rows from a datatable
|
6375
|
+
# Create an export job for exporting rows. The caller can then poll for status of the export using the token returned in the response
|
6376
|
+
# @param datatable_id id of datatable
|
6377
|
+
# @param [Hash] opts the optional parameters
|
6378
|
+
# @return [Array<(DataTableExportJob, Fixnum, Hash)>] DataTableExportJob data, response status code and response headers
|
6379
|
+
def post_flows_datatable_export_jobs_with_http_info(datatable_id, opts = {})
|
6380
|
+
if @api_client.config.debugging
|
6381
|
+
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flows_datatable_export_jobs ..."
|
6382
|
+
end
|
6383
|
+
|
6384
|
+
|
6385
|
+
# verify the required parameter 'datatable_id' is set
|
6386
|
+
fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.post_flows_datatable_export_jobs" if datatable_id.nil?
|
6387
|
+
|
6388
|
+
|
6389
|
+
|
6390
|
+
|
6391
|
+
|
6392
|
+
# resource path
|
6393
|
+
local_var_path = "/api/v2/flows/datatables/{datatableId}/export/jobs".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s)
|
6394
|
+
|
6395
|
+
# query parameters
|
6396
|
+
query_params = {}
|
6397
|
+
|
6398
|
+
# header parameters
|
6399
|
+
header_params = {}
|
6400
|
+
|
6401
|
+
# HTTP header 'Accept' (if needed)
|
6402
|
+
local_header_accept = ['application/json']
|
6403
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
6404
|
+
|
6405
|
+
# HTTP header 'Content-Type'
|
6406
|
+
local_header_content_type = ['application/json']
|
6407
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
6408
|
+
|
6409
|
+
# form parameters
|
6410
|
+
form_params = {}
|
6411
|
+
|
6412
|
+
# http body (model)
|
6413
|
+
post_body = nil
|
6414
|
+
|
6415
|
+
auth_names = ['PureCloud OAuth']
|
6416
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
6417
|
+
:header_params => header_params,
|
6418
|
+
:query_params => query_params,
|
6419
|
+
:form_params => form_params,
|
6420
|
+
:body => post_body,
|
6421
|
+
:auth_names => auth_names,
|
6422
|
+
:return_type => 'DataTableExportJob')
|
6423
|
+
if @api_client.config.debugging
|
6424
|
+
@api_client.config.logger.debug "API called: ArchitectApi#post_flows_datatable_export_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6425
|
+
end
|
6426
|
+
return data, status_code, headers
|
6427
|
+
end
|
6428
|
+
|
6429
|
+
# Begin an import process for importing rows into a datatable
|
6430
|
+
# Create an import job for importing rows. The caller can then poll for status of the import using the token returned in the response
|
6431
|
+
# @param datatable_id id of datatable
|
6432
|
+
# @param body import job information
|
6433
|
+
# @param [Hash] opts the optional parameters
|
6434
|
+
# @return [DataTableImportJob]
|
6435
|
+
def post_flows_datatable_import_jobs(datatable_id, body, opts = {})
|
6436
|
+
data, _status_code, _headers = post_flows_datatable_import_jobs_with_http_info(datatable_id, body, opts)
|
6437
|
+
return data
|
6438
|
+
end
|
6439
|
+
|
6440
|
+
# Begin an import process for importing rows into a datatable
|
6441
|
+
# Create an import job for importing rows. The caller can then poll for status of the import using the token returned in the response
|
6442
|
+
# @param datatable_id id of datatable
|
6443
|
+
# @param body import job information
|
6444
|
+
# @param [Hash] opts the optional parameters
|
6445
|
+
# @return [Array<(DataTableImportJob, Fixnum, Hash)>] DataTableImportJob data, response status code and response headers
|
6446
|
+
def post_flows_datatable_import_jobs_with_http_info(datatable_id, body, opts = {})
|
6447
|
+
if @api_client.config.debugging
|
6448
|
+
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flows_datatable_import_jobs ..."
|
6449
|
+
end
|
6450
|
+
|
6451
|
+
|
6452
|
+
# verify the required parameter 'datatable_id' is set
|
6453
|
+
fail ArgumentError, "Missing the required parameter 'datatable_id' when calling ArchitectApi.post_flows_datatable_import_jobs" if datatable_id.nil?
|
6454
|
+
|
6455
|
+
|
6456
|
+
|
6457
|
+
|
6458
|
+
|
6459
|
+
|
6460
|
+
# verify the required parameter 'body' is set
|
6461
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_flows_datatable_import_jobs" if body.nil?
|
6462
|
+
|
6463
|
+
|
6464
|
+
|
6465
|
+
|
6466
|
+
|
6467
|
+
# resource path
|
6468
|
+
local_var_path = "/api/v2/flows/datatables/{datatableId}/import/jobs".sub('{format}','json').sub('{' + 'datatableId' + '}', datatable_id.to_s)
|
6469
|
+
|
6470
|
+
# query parameters
|
6471
|
+
query_params = {}
|
6472
|
+
|
6473
|
+
# header parameters
|
6474
|
+
header_params = {}
|
6475
|
+
|
6476
|
+
# HTTP header 'Accept' (if needed)
|
6477
|
+
local_header_accept = ['application/json']
|
6478
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
6479
|
+
|
6480
|
+
# HTTP header 'Content-Type'
|
6481
|
+
local_header_content_type = ['application/json']
|
6482
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
6483
|
+
|
6484
|
+
# form parameters
|
6485
|
+
form_params = {}
|
6486
|
+
|
6487
|
+
# http body (model)
|
6488
|
+
post_body = @api_client.object_to_http_body(body)
|
6489
|
+
|
6490
|
+
auth_names = ['PureCloud OAuth']
|
6491
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
6492
|
+
:header_params => header_params,
|
6493
|
+
:query_params => query_params,
|
6494
|
+
:form_params => form_params,
|
6495
|
+
:body => post_body,
|
6496
|
+
:auth_names => auth_names,
|
6497
|
+
:return_type => 'DataTableImportJob')
|
6498
|
+
if @api_client.config.debugging
|
6499
|
+
@api_client.config.logger.debug "API called: ArchitectApi#post_flows_datatable_import_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6500
|
+
end
|
6501
|
+
return data, status_code, headers
|
6502
|
+
end
|
6503
|
+
|
6131
6504
|
# Create a new row entry for the datatable.
|
6132
6505
|
# Will add the passed in row entry to the datatable with the given datatableId after verifying it against the schema. The DataTableRow should be a json-ized' stream of key -> value pairs { \"Field1\": \"XYZZY\", \"Field2\": false, \"KEY\": \"27272\" }
|
6133
6506
|
# @param datatable_id id of datatable
|