purecloud-platform-client-v2 131.0.0 → 131.1.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.
Files changed (73) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +163 -68
  3. package/dist/web-amd/purecloud-platform-client-v2.js +163 -68
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +163 -68
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +163 -68
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +172 -28
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +46 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +3 -3
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +51 -1
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +2 -2
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/index.js +1 -1
package/index.d.ts CHANGED
@@ -126,10 +126,12 @@ declare class AnalyticsApi {
126
126
  getAnalyticsReportingScheduleHistoryLatest(scheduleId: string): Promise<Models.ReportRunEntry>;
127
127
  getAnalyticsReportingScheduleHistoryRunId(runId: string, scheduleId: string): Promise<Models.ReportRunEntry>;
128
128
  getAnalyticsReportingSchedules(opts?: AnalyticsApi.getAnalyticsReportingSchedulesOptions): Promise<Models.ReportScheduleEntityListing>;
129
+ getAnalyticsReportingSettings(): Promise<Models.AnalyticsReportingSettings>;
129
130
  getAnalyticsReportingTimeperiods(): Promise<Array<string>>;
130
131
  getAnalyticsUsersDetailsJob(jobId: string): Promise<Models.AsyncQueryStatus>;
131
132
  getAnalyticsUsersDetailsJobResults(jobId: string, opts?: AnalyticsApi.getAnalyticsUsersDetailsJobResultsOptions): Promise<Models.AnalyticsUserDetailsAsyncQueryResponse>;
132
133
  getAnalyticsUsersDetailsJobsAvailability(): Promise<Models.DataAvailabilityResponse>;
134
+ patchAnalyticsReportingSettings(body: Models.AnalyticsReportingSettings): Promise<Models.AnalyticsReportingSettings>;
133
135
  postAnalyticsBotsAggregatesQuery(body: Models.BotAggregationQuery): Promise<Models.BotAggregateQueryResponse>;
134
136
  postAnalyticsConversationDetailsProperties(conversationId: string, body: Models.PropertyIndexRequest): Promise<Models.PropertyIndexRequest>;
135
137
  postAnalyticsConversationsAggregatesQuery(body: Models.ConversationAggregationQuery): Promise<Models.ConversationAggregateQueryResponse>;
@@ -2966,6 +2968,7 @@ declare class QualityApi {
2966
2968
  getQualityFormsEvaluation(formId: string): Promise<Models.EvaluationForm>;
2967
2969
  getQualityFormsEvaluationVersions(formId: string, opts?: QualityApi.getQualityFormsEvaluationVersionsOptions): Promise<Models.EvaluationFormEntityListing>;
2968
2970
  getQualityFormsEvaluations(opts?: QualityApi.getQualityFormsEvaluationsOptions): Promise<Models.EvaluationFormEntityListing>;
2971
+ getQualityFormsEvaluationsBulkContexts(contextId: Array<string>): Promise<Array<Models.EvaluationForm>>;
2969
2972
  getQualityFormsSurvey(formId: string): Promise<Models.SurveyForm>;
2970
2973
  getQualityFormsSurveyVersions(formId: string, opts?: QualityApi.getQualityFormsSurveyVersionsOptions): Promise<Models.SurveyFormEntityListing>;
2971
2974
  getQualityFormsSurveys(opts?: QualityApi.getQualityFormsSurveysOptions): Promise<Models.SurveyFormEntityListing>;
@@ -2985,6 +2988,7 @@ declare class QualityApi {
2985
2988
  postQualityCalibrations(body: Models.CalibrationCreate, opts?: QualityApi.postQualityCalibrationsOptions): Promise<Models.Calibration>;
2986
2989
  postQualityConversationEvaluations(conversationId: string, body: Models.Evaluation, opts?: QualityApi.postQualityConversationEvaluationsOptions): Promise<Models.Evaluation>;
2987
2990
  postQualityConversationsAuditsQuery(body: Models.QMAuditQueryRequest): Promise<Models.QualityAuditQueryExecutionStatusResponse>;
2991
+ postQualityEvaluationsAggregatesQueryMe(body: Models.EvaluationAggregationQueryMe): Promise<Models.EvaluationAggregateQueryResponse>;
2988
2992
  postQualityEvaluationsScoring(body: Models.EvaluationFormAndScoringSet): Promise<Models.EvaluationScoringSet>;
2989
2993
  postQualityForms(body: Models.EvaluationForm): Promise<Models.EvaluationForm>;
2990
2994
  postQualityFormsEvaluations(body: Models.EvaluationForm): Promise<Models.EvaluationForm>;
@@ -5755,6 +5759,7 @@ declare namespace Models {
5755
5759
  "conversationId"?: string;
5756
5760
  "conversationInitiator"?: string;
5757
5761
  "conversationStart"?: string;
5762
+ "customerParticipation"?: boolean;
5758
5763
  "divisionIds"?: Array<string>;
5759
5764
  "externalTag"?: string;
5760
5765
  "knowledgeBaseIds"?: Array<string>;
@@ -5813,6 +5818,7 @@ declare namespace Models {
5813
5818
  "conversationId"?: string;
5814
5819
  "conversationInitiator"?: string;
5815
5820
  "conversationStart"?: string;
5821
+ "customerParticipation"?: boolean;
5816
5822
  "divisionIds"?: Array<string>;
5817
5823
  "externalTag"?: string;
5818
5824
  "knowledgeBaseIds"?: Array<string>;
@@ -5931,6 +5937,11 @@ declare namespace Models {
5931
5937
  "ranges"?: Array<Models.AggregationRange>;
5932
5938
  }
5933
5939
 
5940
+ export interface AnalyticsReportingSettings {
5941
+ "piiMaskingEnabled"?: boolean;
5942
+ "queueAgentAccessObfuscation"?: boolean;
5943
+ }
5944
+
5934
5945
  export interface AnalyticsResolution {
5935
5946
  "eventTime"?: string;
5936
5947
  "queueId"?: string;
@@ -7356,8 +7367,9 @@ declare namespace Models {
7356
7367
 
7357
7368
  export interface BuGenerateScheduleRequest {
7358
7369
  "description": string;
7359
- "shortTermForecast": Models.BuShortTermForecastReference;
7370
+ "shortTermForecast"?: Models.BuShortTermForecastReference;
7360
7371
  "weekCount": number;
7372
+ "options"?: Models.SchedulingOptionsRequest;
7361
7373
  }
7362
7374
 
7363
7375
  export interface BuGetCurrentAgentScheduleRequest {
@@ -7507,6 +7519,7 @@ declare namespace Models {
7507
7519
  "schedulingCanceledBy"?: Models.UserReference;
7508
7520
  "schedulingCompletedTime"?: string;
7509
7521
  "messageCount"?: number;
7522
+ "messageSeverityCounts"?: Array<Models.SchedulerMessageSeverityCount>;
7510
7523
  "reschedulingOptions"?: Models.ReschedulingOptionsRunResponse;
7511
7524
  "reschedulingResultExpiration"?: string;
7512
7525
  "selfUri"?: string;
@@ -7846,6 +7859,7 @@ declare namespace Models {
7846
7859
  "startDayOfWeek": string;
7847
7860
  "timeZone": string;
7848
7861
  "shortTermForecasting"?: Models.BuShortTermForecastingSettings;
7862
+ "scheduling"?: Models.BuSchedulingSettings;
7849
7863
  "metadata": Models.WfmVersionedEntityMetadata;
7850
7864
  }
7851
7865
 
@@ -8629,8 +8643,8 @@ declare namespace Models {
8629
8643
  "expirationDate"?: string;
8630
8644
  "issueDate"?: string;
8631
8645
  "expired"?: boolean;
8632
- "valid"?: boolean;
8633
8646
  "signatureValid"?: boolean;
8647
+ "valid"?: boolean;
8634
8648
  }
8635
8649
 
8636
8650
  export interface Change {
@@ -9730,6 +9744,7 @@ declare namespace Models {
9730
9744
  export interface ConversationAppSettings {
9731
9745
  "showAgentTypingIndicator"?: boolean;
9732
9746
  "showUserTypingIndicator"?: boolean;
9747
+ "autoStartType"?: string;
9733
9748
  }
9734
9749
 
9735
9750
  export interface ConversationAssociation {
@@ -10041,6 +10056,7 @@ declare namespace Models {
10041
10056
 
10042
10057
  export interface ConversationChannel {
10043
10058
  "type"?: string;
10059
+ "messageType"?: string;
10044
10060
  "platform"?: string;
10045
10061
  }
10046
10062
 
@@ -11141,6 +11157,97 @@ declare namespace Models {
11141
11157
  "participantMetrics"?: Models.ParticipantMetrics;
11142
11158
  }
11143
11159
 
11160
+ export interface ConversationMetricsTopicConversationMetricRecord {
11161
+ "metric"?: string;
11162
+ "metricDate"?: string;
11163
+ "value"?: number;
11164
+ "recordId"?: string;
11165
+ "activeSkillIds"?: Array<string>;
11166
+ "addressFrom"?: string;
11167
+ "addressTo"?: string;
11168
+ "agentAssistantId"?: string;
11169
+ "agentBullseyeRing"?: number;
11170
+ "agentOwned"?: boolean;
11171
+ "ani"?: string;
11172
+ "assignerId"?: string;
11173
+ "authenticated"?: boolean;
11174
+ "conversationId"?: string;
11175
+ "conversationInitiator"?: string;
11176
+ "convertedFrom"?: string;
11177
+ "convertedTo"?: string;
11178
+ "deliveryStatus"?: string;
11179
+ "destinationAddresses"?: Array<string>;
11180
+ "direction"?: string;
11181
+ "disconnectType"?: string;
11182
+ "divisionIds"?: Array<string>;
11183
+ "dnis"?: string;
11184
+ "edgeId"?: string;
11185
+ "eligibleAgentCounts"?: Array<number>;
11186
+ "extendedDeliveryStatus"?: string;
11187
+ "externalContactId"?: string;
11188
+ "externalMediaCount"?: number;
11189
+ "externalOrganizationId"?: string;
11190
+ "externalTag"?: string;
11191
+ "firstQueue"?: boolean;
11192
+ "flaggedReason"?: string;
11193
+ "flowInType"?: string;
11194
+ "flowOutType"?: string;
11195
+ "groupId"?: string;
11196
+ "interactionType"?: string;
11197
+ "journeyActionId"?: string;
11198
+ "journeyActionMapId"?: string;
11199
+ "journeyActionMapVersion"?: number;
11200
+ "journeyCustomerId"?: string;
11201
+ "journeyCustomerIdType"?: string;
11202
+ "journeyCustomerSessionId"?: string;
11203
+ "journeyCustomerSessionIdType"?: string;
11204
+ "knowledgeBaseIds"?: Array<string>;
11205
+ "mediaCount"?: number;
11206
+ "mediaType"?: string;
11207
+ "messageType"?: string;
11208
+ "originatingDirection"?: string;
11209
+ "outboundCampaignId"?: string;
11210
+ "outboundContactId"?: string;
11211
+ "outboundContactListId"?: string;
11212
+ "participantName"?: string;
11213
+ "peerId"?: string;
11214
+ "provider"?: string;
11215
+ "purpose"?: string;
11216
+ "queueId"?: string;
11217
+ "remote"?: string;
11218
+ "removedSkillIds"?: Array<string>;
11219
+ "reoffered"?: boolean;
11220
+ "requestedLanguageId"?: string;
11221
+ "requestedRoutingSkillIds"?: Array<string>;
11222
+ "requestedRoutings"?: Array<string>;
11223
+ "roomId"?: string;
11224
+ "routingPriority"?: number;
11225
+ "routingRing"?: number;
11226
+ "selectedAgentId"?: string;
11227
+ "selectedAgentRank"?: number;
11228
+ "selfServed"?: boolean;
11229
+ "sessionDnis"?: string;
11230
+ "sessionId"?: string;
11231
+ "stationId"?: string;
11232
+ "teamId"?: string;
11233
+ "usedRouting"?: string;
11234
+ "userId"?: string;
11235
+ "waitingInteractionCounts"?: Array<number>;
11236
+ "wrapUpCode"?: string;
11237
+ "proposedAgents"?: Array<Models.ConversationMetricsTopicConversationProposedAgent>;
11238
+ "scoredAgents"?: Array<Models.ConversationMetricsTopicConversationScoredAgent>;
11239
+ }
11240
+
11241
+ export interface ConversationMetricsTopicConversationProposedAgent {
11242
+ "agentRank"?: number;
11243
+ "proposedAgentId"?: string;
11244
+ }
11245
+
11246
+ export interface ConversationMetricsTopicConversationScoredAgent {
11247
+ "agentScore"?: number;
11248
+ "scoredAgentId"?: string;
11249
+ }
11250
+
11144
11251
  export interface ConversationNormalizedMessage {
11145
11252
  "id"?: string;
11146
11253
  "channel"?: Models.ConversationMessagingChannel;
@@ -11702,6 +11809,7 @@ declare namespace Models {
11702
11809
  "startDayOfWeek": string;
11703
11810
  "timeZone": string;
11704
11811
  "shortTermForecasting"?: Models.BuShortTermForecastingSettings;
11812
+ "scheduling"?: Models.BuSchedulingSettings;
11705
11813
  }
11706
11814
 
11707
11815
  export interface CreateCallRequest {
@@ -11791,6 +11899,11 @@ declare namespace Models {
11791
11899
  "externalContactId"?: string;
11792
11900
  }
11793
11901
 
11902
+ export interface CreateGeneralProgramTopicsDefinitionsJob {
11903
+ "id"?: string;
11904
+ "state"?: string;
11905
+ }
11906
+
11794
11907
  export interface CreateIntegrationRequest {
11795
11908
  "id"?: string;
11796
11909
  "name": string;
@@ -11829,6 +11942,8 @@ declare namespace Models {
11829
11942
  "zones"?: Array<Models.ObjectiveZone>;
11830
11943
  "enabled"?: boolean;
11831
11944
  "topicIds"?: Array<string>;
11945
+ "mediaTypes"?: Array<string>;
11946
+ "queueIds"?: Array<string>;
11832
11947
  "topicIdsFilterType"?: string;
11833
11948
  "dateStart"?: string;
11834
11949
  }
@@ -12538,6 +12653,8 @@ declare namespace Models {
12538
12653
  "templateId"?: string;
12539
12654
  "zones"?: Array<Models.ObjectiveZone>;
12540
12655
  "enabled"?: boolean;
12656
+ "mediaTypes"?: Array<string>;
12657
+ "queues"?: Array<Models.AddressableEntityRef>;
12541
12658
  "topics"?: Array<Models.AddressableEntityRef>;
12542
12659
  "topicIdsFilterType"?: string;
12543
12660
  }
@@ -14592,6 +14709,7 @@ declare namespace Models {
14592
14709
  "wrapupCodes"?: Array<Models.WrapupCode>;
14593
14710
  "languages"?: Array<Models.Language>;
14594
14711
  "timeAllowed"?: Models.TimeAllowed;
14712
+ "customerParticipation"?: string;
14595
14713
  }
14596
14714
 
14597
14715
  export interface EmailMessage {
@@ -14846,6 +14964,15 @@ declare namespace Models {
14846
14964
  "alternateTimeDimension"?: string;
14847
14965
  }
14848
14966
 
14967
+ export interface EvaluationAggregationQueryMe {
14968
+ "interval": string;
14969
+ "timeZone"?: string;
14970
+ "groupBy"?: Array<string>;
14971
+ "metrics": Array<string>;
14972
+ "alternateTimeDimension"?: string;
14973
+ "contextId"?: string;
14974
+ }
14975
+
14849
14976
  export interface EvaluationAggregationView {
14850
14977
  "target": string;
14851
14978
  "name": string;
@@ -19165,6 +19292,7 @@ declare namespace Models {
19165
19292
  "wrapupCodes"?: Array<Models.WrapupCode>;
19166
19293
  "languages"?: Array<Models.Language>;
19167
19294
  "timeAllowed"?: Models.TimeAllowed;
19295
+ "customerParticipation"?: string;
19168
19296
  }
19169
19297
 
19170
19298
  export interface MessageSticker {
@@ -19191,6 +19319,7 @@ declare namespace Models {
19191
19319
  "alwaysRunning"?: boolean;
19192
19320
  "contactSorts"?: Array<Models.ContactSort>;
19193
19321
  "messagesPerMinute": number;
19322
+ "contactListFilters"?: Array<Models.DomainEntityRef>;
19194
19323
  "errors"?: Array<Models.RestErrorDetail>;
19195
19324
  "smsConfig"?: Models.SmsConfig;
19196
19325
  "selfUri"?: string;
@@ -19899,6 +20028,8 @@ declare namespace Models {
19899
20028
  "templateId"?: string;
19900
20029
  "zones"?: Array<Models.ObjectiveZone>;
19901
20030
  "enabled"?: boolean;
20031
+ "mediaTypes"?: Array<string>;
20032
+ "queues"?: Array<Models.AddressableEntityRef>;
19902
20033
  "topics"?: Array<Models.AddressableEntityRef>;
19903
20034
  "topicIdsFilterType"?: string;
19904
20035
  "dateStart"?: string;
@@ -20132,6 +20263,7 @@ declare namespace Models {
20132
20263
  "employerInfo"?: Models.EmployerInfo;
20133
20264
  "routingStatus"?: Models.RoutingStatus;
20134
20265
  "presence"?: Models.UserPresence;
20266
+ "integrationPresence"?: Models.UserPresence;
20135
20267
  "conversationSummary"?: Models.UserConversationSummary;
20136
20268
  "outOfOffice"?: Models.OutOfOffice;
20137
20269
  "geolocation"?: Models.Geolocation;
@@ -21570,12 +21702,12 @@ declare namespace Models {
21570
21702
  "id": string;
21571
21703
  }
21572
21704
 
21573
- export interface PublishProgramPublishJob {
21705
+ export interface PublishProgramTopicsDefinitionsJob {
21574
21706
  "id"?: string;
21575
21707
  "state"?: string;
21576
21708
  }
21577
21709
 
21578
- export interface PublishTopicPublishJob {
21710
+ export interface PublishTopicTopicsDefinitionsJob {
21579
21711
  "id"?: string;
21580
21712
  "state"?: string;
21581
21713
  }
@@ -25035,12 +25167,14 @@ declare namespace Models {
25035
25167
  "runId"?: string;
25036
25168
  "messageCount"?: number;
25037
25169
  "messages"?: Array<Models.ScheduleGenerationMessage>;
25170
+ "messageSeverities"?: Array<Models.SchedulerMessageTypeSeverity>;
25038
25171
  }
25039
25172
 
25040
25173
  export interface ScheduleGenerationResultSummary {
25041
25174
  "failed"?: boolean;
25042
25175
  "runId"?: string;
25043
25176
  "messageCount"?: number;
25177
+ "messageSeverityCounts"?: Array<Models.SchedulerMessageSeverityCount>;
25044
25178
  }
25045
25179
 
25046
25180
  export interface ScheduleGenerationWarning {
@@ -25830,6 +25964,8 @@ declare namespace Models {
25830
25964
  "conversationChannels"?: Array<Models.ConversationChannel>;
25831
25965
  "originatingDirection"?: string;
25832
25966
  "conversationSubject"?: string;
25967
+ "lastUserDisconnectType"?: string;
25968
+ "lastAcdOutcome"?: string;
25833
25969
  "authenticated"?: boolean;
25834
25970
  "selfUri"?: string;
25835
25971
  "createdDate"?: string;
@@ -26199,6 +26335,7 @@ declare namespace Models {
26199
26335
  "messageColumn": string;
26200
26336
  "phoneColumn": string;
26201
26337
  "senderSmsPhoneNumber": Models.SmsPhoneNumberRef;
26338
+ "contentTemplate"?: Models.DomainEntityRef;
26202
26339
  }
26203
26340
 
26204
26341
  export interface SmsPhoneNumber {
@@ -26312,12 +26449,12 @@ declare namespace Models {
26312
26449
  "expectedDialects"?: Array<string>;
26313
26450
  }
26314
26451
 
26315
- export interface StatEventCampaignTopicDatum {
26452
+ export interface StatEventCampaignTopicIntervalMetrics {
26316
26453
  "interval"?: string;
26317
- "metrics"?: Array<Models.StatEventCampaignTopicMetric>;
26454
+ "metrics"?: Array<Models.StatEventCampaignTopicMetricStats>;
26318
26455
  }
26319
26456
 
26320
- export interface StatEventCampaignTopicMetric {
26457
+ export interface StatEventCampaignTopicMetricStats {
26321
26458
  "metric"?: string;
26322
26459
  "qualifier"?: string;
26323
26460
  "stats"?: { [key: string]: number; };
@@ -26325,15 +26462,15 @@ declare namespace Models {
26325
26462
 
26326
26463
  export interface StatEventCampaignTopicStatsNotification {
26327
26464
  "group"?: { [key: string]: string; };
26328
- "data"?: Array<Models.StatEventCampaignTopicDatum>;
26465
+ "data"?: Array<Models.StatEventCampaignTopicIntervalMetrics>;
26329
26466
  }
26330
26467
 
26331
- export interface StatEventFlowOutcomeTopicDatum {
26468
+ export interface StatEventFlowOutcomeTopicIntervalMetrics {
26332
26469
  "interval"?: string;
26333
- "metrics"?: Array<Models.StatEventFlowOutcomeTopicMetric>;
26470
+ "metrics"?: Array<Models.StatEventFlowOutcomeTopicMetricStats>;
26334
26471
  }
26335
26472
 
26336
- export interface StatEventFlowOutcomeTopicMetric {
26473
+ export interface StatEventFlowOutcomeTopicMetricStats {
26337
26474
  "metric"?: string;
26338
26475
  "qualifier"?: string;
26339
26476
  "stats"?: { [key: string]: number; };
@@ -26341,15 +26478,15 @@ declare namespace Models {
26341
26478
 
26342
26479
  export interface StatEventFlowOutcomeTopicStatsNotification {
26343
26480
  "group"?: { [key: string]: string; };
26344
- "data"?: Array<Models.StatEventFlowOutcomeTopicDatum>;
26481
+ "data"?: Array<Models.StatEventFlowOutcomeTopicIntervalMetrics>;
26345
26482
  }
26346
26483
 
26347
- export interface StatEventFlowTopicDatum {
26484
+ export interface StatEventFlowTopicIntervalMetrics {
26348
26485
  "interval"?: string;
26349
- "metrics"?: Array<Models.StatEventFlowTopicMetric>;
26486
+ "metrics"?: Array<Models.StatEventFlowTopicMetricStats>;
26350
26487
  }
26351
26488
 
26352
- export interface StatEventFlowTopicMetric {
26489
+ export interface StatEventFlowTopicMetricStats {
26353
26490
  "metric"?: string;
26354
26491
  "qualifier"?: string;
26355
26492
  "stats"?: { [key: string]: number; };
@@ -26357,15 +26494,15 @@ declare namespace Models {
26357
26494
 
26358
26495
  export interface StatEventFlowTopicStatsNotification {
26359
26496
  "group"?: { [key: string]: string; };
26360
- "data"?: Array<Models.StatEventFlowTopicDatum>;
26497
+ "data"?: Array<Models.StatEventFlowTopicIntervalMetrics>;
26361
26498
  }
26362
26499
 
26363
- export interface StatEventQueueTopicDatum {
26500
+ export interface StatEventQueueTopicIntervalMetrics {
26364
26501
  "interval"?: string;
26365
- "metrics"?: Array<Models.StatEventQueueTopicMetric>;
26502
+ "metrics"?: Array<Models.StatEventQueueTopicMetricStats>;
26366
26503
  }
26367
26504
 
26368
- export interface StatEventQueueTopicMetric {
26505
+ export interface StatEventQueueTopicMetricStats {
26369
26506
  "metric"?: string;
26370
26507
  "qualifier"?: string;
26371
26508
  "stats"?: { [key: string]: number; };
@@ -26373,15 +26510,15 @@ declare namespace Models {
26373
26510
 
26374
26511
  export interface StatEventQueueTopicStatsNotification {
26375
26512
  "group"?: { [key: string]: string; };
26376
- "data"?: Array<Models.StatEventQueueTopicDatum>;
26513
+ "data"?: Array<Models.StatEventQueueTopicIntervalMetrics>;
26377
26514
  }
26378
26515
 
26379
- export interface StatEventUserTopicDatum {
26516
+ export interface StatEventUserTopicIntervalMetrics {
26380
26517
  "interval"?: string;
26381
- "metrics"?: Array<Models.StatEventUserTopicMetric>;
26518
+ "metrics"?: Array<Models.StatEventUserTopicMetricStats>;
26382
26519
  }
26383
26520
 
26384
- export interface StatEventUserTopicMetric {
26521
+ export interface StatEventUserTopicMetricStats {
26385
26522
  "metric"?: string;
26386
26523
  "qualifier"?: string;
26387
26524
  "stats"?: { [key: string]: number; };
@@ -26389,15 +26526,15 @@ declare namespace Models {
26389
26526
 
26390
26527
  export interface StatEventUserTopicStatsNotification {
26391
26528
  "group"?: { [key: string]: string; };
26392
- "data"?: Array<Models.StatEventUserTopicDatum>;
26529
+ "data"?: Array<Models.StatEventUserTopicIntervalMetrics>;
26393
26530
  }
26394
26531
 
26395
- export interface StatEventWrapUpCodeTopicDatum {
26532
+ export interface StatEventWrapUpCodeTopicIntervalMetrics {
26396
26533
  "interval"?: string;
26397
- "metrics"?: Array<Models.StatEventWrapUpCodeTopicMetric>;
26534
+ "metrics"?: Array<Models.StatEventWrapUpCodeTopicMetricStats>;
26398
26535
  }
26399
26536
 
26400
- export interface StatEventWrapUpCodeTopicMetric {
26537
+ export interface StatEventWrapUpCodeTopicMetricStats {
26401
26538
  "metric"?: string;
26402
26539
  "qualifier"?: string;
26403
26540
  "stats"?: { [key: string]: number; };
@@ -26405,7 +26542,7 @@ declare namespace Models {
26405
26542
 
26406
26543
  export interface StatEventWrapUpCodeTopicStatsNotification {
26407
26544
  "group"?: { [key: string]: string; };
26408
- "data"?: Array<Models.StatEventWrapUpCodeTopicDatum>;
26545
+ "data"?: Array<Models.StatEventWrapUpCodeTopicIntervalMetrics>;
26409
26546
  }
26410
26547
 
26411
26548
  export interface Station {
@@ -26548,6 +26685,7 @@ declare namespace Models {
26548
26685
 
26549
26686
  export interface SupportCenterSettings {
26550
26687
  "enabled"?: boolean;
26688
+ "knowledgeBase"?: Models.AddressableEntityRef;
26551
26689
  }
26552
26690
 
26553
26691
  export interface SupportedContent {
@@ -27777,6 +27915,7 @@ declare namespace Models {
27777
27915
  "employerInfo"?: Models.EmployerInfo;
27778
27916
  "routingStatus"?: Models.RoutingStatus;
27779
27917
  "presence"?: Models.UserPresence;
27918
+ "integrationPresence"?: Models.UserPresence;
27780
27919
  "conversationSummary"?: Models.UserConversationSummary;
27781
27920
  "outOfOffice"?: Models.OutOfOffice;
27782
27921
  "geolocation"?: Models.Geolocation;
@@ -28074,6 +28213,7 @@ declare namespace Models {
28074
28213
  "startDayOfWeek"?: string;
28075
28214
  "timeZone"?: string;
28076
28215
  "shortTermForecasting"?: Models.BuShortTermForecastingSettings;
28216
+ "scheduling"?: Models.BuSchedulingSettings;
28077
28217
  "metadata": Models.WfmVersionedEntityMetadata;
28078
28218
  }
28079
28219
 
@@ -28244,6 +28384,7 @@ declare namespace Models {
28244
28384
  "employerInfo"?: Models.EmployerInfo;
28245
28385
  "routingStatus"?: Models.RoutingStatus;
28246
28386
  "presence"?: Models.UserPresence;
28387
+ "integrationPresence"?: Models.UserPresence;
28247
28388
  "conversationSummary"?: Models.UserConversationSummary;
28248
28389
  "outOfOffice"?: Models.OutOfOffice;
28249
28390
  "geolocation"?: Models.Geolocation;
@@ -28508,6 +28649,7 @@ declare namespace Models {
28508
28649
  export interface UserExpands {
28509
28650
  "routingStatus"?: Models.RoutingStatus;
28510
28651
  "presence"?: Models.UserPresence;
28652
+ "integrationPresence"?: Models.UserPresence;
28511
28653
  "conversationSummary"?: Models.UserConversationSummary;
28512
28654
  "outOfOffice"?: Models.OutOfOffice;
28513
28655
  "geolocation"?: Models.Geolocation;
@@ -28593,6 +28735,7 @@ declare namespace Models {
28593
28735
  "employerInfo"?: Models.EmployerInfo;
28594
28736
  "routingStatus"?: Models.RoutingStatus;
28595
28737
  "presence"?: Models.UserPresence;
28738
+ "integrationPresence"?: Models.UserPresence;
28596
28739
  "conversationSummary"?: Models.UserConversationSummary;
28597
28740
  "outOfOffice"?: Models.OutOfOffice;
28598
28741
  "geolocation"?: Models.Geolocation;
@@ -31073,6 +31216,7 @@ declare namespace Models {
31073
31216
  }
31074
31217
 
31075
31218
  export interface WorkdayValuesMetricItem {
31219
+ "metric"?: Models.AddressableEntityRef;
31076
31220
  "metricDefinition"?: Models.DomainEntityRef;
31077
31221
  "average"?: number;
31078
31222
  "unitType"?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "131.0.0",
3
+ "version": "131.1.0",
4
4
  "description": "A JavaScript library to interface with the PureCloud Platform API",
5
5
  "license": "MIT",
6
6
  "main": "dist/node/purecloud-platform-client-v2.js",
@@ -3,7 +3,7 @@ import Configuration from './configuration.js';
3
3
 
4
4
  /**
5
5
  * @module purecloud-platform-client-v2/ApiClient
6
- * @version 131.0.0
6
+ * @version 131.1.0
7
7
  */
8
8
  class ApiClient {
9
9
  /**
@@ -950,7 +950,7 @@ class ApiClient {
950
950
 
951
951
  // set header parameters
952
952
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
953
- //request.set({ 'purecloud-sdk': '131.0.0' });
953
+ //request.set({ 'purecloud-sdk': '131.1.0' });
954
954
 
955
955
  // set request timeout
956
956
  request.timeout(that.timeout);
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 131.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 131.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -506,6 +506,26 @@ class AnalyticsApi {
506
506
  );
507
507
  }
508
508
 
509
+ /**
510
+ * Get AnalyticsReportingSettings for an organization
511
+ *
512
+ */
513
+ getAnalyticsReportingSettings() {
514
+
515
+ return this.apiClient.callApi(
516
+ '/api/v2/analytics/reporting/settings',
517
+ 'GET',
518
+ { },
519
+ { },
520
+ { },
521
+ { },
522
+ null,
523
+ ['PureCloud OAuth'],
524
+ ['application/json'],
525
+ ['application/json']
526
+ );
527
+ }
528
+
509
529
  /**
510
530
  * Get a list of report time periods.
511
531
  *
@@ -601,6 +621,31 @@ class AnalyticsApi {
601
621
  );
602
622
  }
603
623
 
624
+ /**
625
+ * Patch AnalyticsReportingSettings values for an organization
626
+ *
627
+ * @param {Object} body AnalyticsReportingSettingsRequest
628
+ */
629
+ patchAnalyticsReportingSettings(body) {
630
+ // verify the required parameter 'body' is set
631
+ if (body === undefined || body === null) {
632
+ throw 'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';
633
+ }
634
+
635
+ return this.apiClient.callApi(
636
+ '/api/v2/analytics/reporting/settings',
637
+ 'PATCH',
638
+ { },
639
+ { },
640
+ { },
641
+ { },
642
+ body,
643
+ ['PureCloud OAuth'],
644
+ ['application/json'],
645
+ ['application/json']
646
+ );
647
+ }
648
+
604
649
  /**
605
650
  * Query for bot aggregates
606
651
  *
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 131.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuditApi {
5
5
  /**
6
6
  * Audit service.
7
7
  * @module purecloud-platform-client-v2/api/AuditApi
8
- * @version 131.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 131.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 131.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ChatApi {
5
5
  /**
6
6
  * Chat service.
7
7
  * @module purecloud-platform-client-v2/api/ChatApi
8
- * @version 131.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 131.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**