purecloud-platform-client-v2 150.0.0 → 152.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.
Files changed (77) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +619 -150
  3. package/dist/web-amd/purecloud-platform-client-v2.js +619 -150
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +619 -150
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +619 -150
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +272 -18
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +28 -2
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +5 -4
  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 +49 -8
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +32 -1
  25. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -65
  28. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -3
  36. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/PresenceApi.js +3 -3
  50. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +4 -4
  51. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/RoutingApi.js +223 -1
  55. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
  58. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TeamsApi.js +93 -1
  62. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UsersApi.js +26 -1
  70. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +71 -1
  77. package/src/purecloud-platform-client-v2/index.js +1 -1
package/index.d.ts CHANGED
@@ -132,6 +132,7 @@ declare class AnalyticsApi {
132
132
  getAnalyticsUsersDetailsJobResults(jobId: string, opts?: AnalyticsApi.getAnalyticsUsersDetailsJobResultsOptions): Promise<Models.AnalyticsUserDetailsAsyncQueryResponse>;
133
133
  getAnalyticsUsersDetailsJobsAvailability(): Promise<Models.DataAvailabilityResponse>;
134
134
  patchAnalyticsReportingSettings(body: Models.AnalyticsReportingSettings): Promise<Models.AnalyticsReportingSettings>;
135
+ postAnalyticsActionsAggregatesQuery(body: Models.ActionAggregationQuery): Promise<Models.ActionAggregateQueryResponse>;
135
136
  postAnalyticsBotsAggregatesQuery(body: Models.BotAggregationQuery): Promise<Models.BotAggregateQueryResponse>;
136
137
  postAnalyticsConversationDetailsProperties(conversationId: string, body: Models.PropertyIndexRequest): Promise<Models.PropertyIndexRequest>;
137
138
  postAnalyticsConversationsAggregatesQuery(body: Models.ConversationAggregationQuery): Promise<Models.ConversationAggregateQueryResponse>;
@@ -162,6 +163,7 @@ declare namespace AnalyticsApi {
162
163
  "pageSize"?: string;
163
164
  "actionId"?: string;
164
165
  "sessionId"?: string;
166
+ "language"?: string;
165
167
  }
166
168
  export interface getAnalyticsConversationsDetailsOptions {
167
169
  "id"?: Array<string>;
@@ -495,6 +497,7 @@ declare namespace ArchitectApi {
495
497
  "pageNumber"?: number;
496
498
  "pageSize"?: number;
497
499
  "showbrief"?: boolean;
500
+ "sortOrder"?: string;
498
501
  }
499
502
  export interface getFlowsDatatablesOptions {
500
503
  "expand"?: string;
@@ -1134,6 +1137,7 @@ declare class ConversationsApi {
1134
1137
  postConversationsKeyconfigurationsValidate(body: Models.ConversationEncryptionConfiguration): Promise<Models.ConversationEncryptionConfiguration>;
1135
1138
  postConversationsMessageCommunicationMessages(conversationId: string, communicationId: string, body: Models.AdditionalMessage, opts?: ConversationsApi.postConversationsMessageCommunicationMessagesOptions): Promise<Models.MessageData>;
1136
1139
  postConversationsMessageCommunicationMessagesMedia(conversationId: string, communicationId: string): Promise<Models.MessageMediaData>;
1140
+ postConversationsMessageCommunicationTyping(conversationId: string, communicationId: string, body: Models.MessageTypingEventRequest): Promise<void>;
1137
1141
  postConversationsMessageMessagesBulk(conversationId: string, opts?: ConversationsApi.postConversationsMessageMessagesBulkOptions): Promise<Models.TextMessageListing>;
1138
1142
  postConversationsMessageParticipantReplace(conversationId: string, participantId: string, body: Models.TransferRequest): Promise<void>;
1139
1143
  postConversationsMessages(body: Models.CreateOutboundMessagingConversationRequest): Promise<Models.MessageConversation>;
@@ -1218,14 +1222,16 @@ declare namespace ConversationsApi {
1218
1222
  export interface getConversationsMessagingIntegrationsOptions {
1219
1223
  "pageSize"?: number;
1220
1224
  "pageNumber"?: number;
1221
- "expand"?: string;
1225
+ "expand"?: Array<string>;
1222
1226
  "supportedContentId"?: string;
1227
+ "messagingSettingId"?: string;
1223
1228
  }
1224
1229
  export interface getConversationsMessagingIntegrationsFacebookOptions {
1225
1230
  "pageSize"?: number;
1226
1231
  "pageNumber"?: number;
1227
1232
  "expand"?: string;
1228
1233
  "supportedContentId"?: string;
1234
+ "messagingSettingId"?: string;
1229
1235
  }
1230
1236
  export interface getConversationsMessagingIntegrationsFacebookIntegrationIdOptions {
1231
1237
  "expand"?: string;
@@ -1235,6 +1241,7 @@ declare namespace ConversationsApi {
1235
1241
  "pageNumber"?: number;
1236
1242
  "expand"?: string;
1237
1243
  "supportedContentId"?: string;
1244
+ "messagingSettingId"?: string;
1238
1245
  }
1239
1246
  export interface getConversationsMessagingIntegrationsLineIntegrationIdOptions {
1240
1247
  "expand"?: string;
@@ -1244,6 +1251,7 @@ declare namespace ConversationsApi {
1244
1251
  "pageNumber"?: number;
1245
1252
  "expand"?: string;
1246
1253
  "supportedContentId"?: string;
1254
+ "messagingSettingId"?: string;
1247
1255
  }
1248
1256
  export interface getConversationsMessagingIntegrationsOpenIntegrationIdOptions {
1249
1257
  "expand"?: string;
@@ -1253,6 +1261,7 @@ declare namespace ConversationsApi {
1253
1261
  "pageNumber"?: number;
1254
1262
  "expand"?: string;
1255
1263
  "supportedContentId"?: string;
1264
+ "messagingSettingId"?: string;
1256
1265
  }
1257
1266
  export interface getConversationsMessagingIntegrationsTwitterIntegrationIdOptions {
1258
1267
  "expand"?: string;
@@ -1262,6 +1271,7 @@ declare namespace ConversationsApi {
1262
1271
  "pageNumber"?: number;
1263
1272
  "expand"?: string;
1264
1273
  "supportedContentId"?: string;
1274
+ "messagingSettingId"?: string;
1265
1275
  }
1266
1276
  export interface getConversationsMessagingIntegrationsWhatsappIntegrationIdOptions {
1267
1277
  "expand"?: string;
@@ -1347,6 +1357,7 @@ declare class ExternalContactsApi {
1347
1357
  deleteExternalcontactsRelationship(relationshipId: string): Promise<object>;
1348
1358
  getExternalcontactsContact(contactId: string, opts?: ExternalContactsApi.getExternalcontactsContactOptions): Promise<Models.ExternalContact>;
1349
1359
  getExternalcontactsContactIdentifiers(contactId: string): Promise<Models.EntityListing>;
1360
+ getExternalcontactsContactJourneySessions(contactId: string, opts?: ExternalContactsApi.getExternalcontactsContactJourneySessionsOptions): Promise<Models.SessionListing>;
1350
1361
  getExternalcontactsContactNote(contactId: string, noteId: string, opts?: ExternalContactsApi.getExternalcontactsContactNoteOptions): Promise<Models.Note>;
1351
1362
  getExternalcontactsContactNotes(contactId: string, opts?: ExternalContactsApi.getExternalcontactsContactNotesOptions): Promise<Models.NoteListing>;
1352
1363
  getExternalcontactsContactUnresolved(contactId: string, opts?: ExternalContactsApi.getExternalcontactsContactUnresolvedOptions): Promise<Models.ExternalContact>;
@@ -1414,6 +1425,11 @@ declare namespace ExternalContactsApi {
1414
1425
  export interface getExternalcontactsContactOptions {
1415
1426
  "expand"?: Array<string>;
1416
1427
  }
1428
+ export interface getExternalcontactsContactJourneySessionsOptions {
1429
+ "pageSize"?: string;
1430
+ "after"?: string;
1431
+ "includeMerged"?: boolean;
1432
+ }
1417
1433
  export interface getExternalcontactsContactNoteOptions {
1418
1434
  "expand"?: Array<string>;
1419
1435
  }
@@ -1524,7 +1540,6 @@ declare class GamificationApi {
1524
1540
  getGamificationLeaderboardAll(filterType: string, filterId: string, startWorkday: string, endWorkday: string, opts?: GamificationApi.getGamificationLeaderboardAllOptions): Promise<Models.Leaderboard>;
1525
1541
  getGamificationLeaderboardAllBestpoints(filterType: string, filterId: string): Promise<Models.OverallBestPoints>;
1526
1542
  getGamificationLeaderboardBestpoints(): Promise<Models.OverallBestPoints>;
1527
- getGamificationMetric(metricId: string, opts?: GamificationApi.getGamificationMetricOptions): Promise<Models.Metric>;
1528
1543
  getGamificationMetricdefinition(metricDefinitionId: string): Promise<Models.MetricDefinition>;
1529
1544
  getGamificationMetricdefinitions(): Promise<Models.GetMetricDefinitionsResponse>;
1530
1545
  getGamificationProfile(profileId: string): Promise<Models.PerformanceProfile>;
@@ -1568,7 +1583,6 @@ declare class GamificationApi {
1568
1583
  postGamificationProfileMetricLink(sourceProfileId: string, sourceMetricId: string, body: Models.TargetPerformanceProfile): Promise<Models.Metric>;
1569
1584
  postGamificationProfileMetrics(profileId: string, body: Models.CreateMetric): Promise<Models.Metric>;
1570
1585
  postGamificationProfiles(body: Models.CreatePerformanceProfile, opts?: GamificationApi.postGamificationProfilesOptions): Promise<Models.PerformanceProfile>;
1571
- putGamificationMetric(metricId: string, body: Models.CreateMetric, opts?: GamificationApi.putGamificationMetricOptions): Promise<Models.Metric>;
1572
1586
  putGamificationProfile(profileId: string, opts?: GamificationApi.putGamificationProfileOptions): Promise<Models.PerformanceProfile>;
1573
1587
  putGamificationProfileMetric(profileId: string, metricId: string, body: Models.CreateMetric): Promise<Models.Metric>;
1574
1588
  putGamificationStatus(status: Models.GamificationStatus): Promise<Models.GamificationStatus>;
@@ -1585,10 +1599,6 @@ declare namespace GamificationApi {
1585
1599
  export interface getGamificationLeaderboardAllOptions {
1586
1600
  "metricId"?: string;
1587
1601
  }
1588
- export interface getGamificationMetricOptions {
1589
- "workday"?: string;
1590
- "performanceProfileId"?: string;
1591
- }
1592
1602
  export interface getGamificationProfileMetricOptions {
1593
1603
  "workday"?: string;
1594
1604
  }
@@ -1658,9 +1668,6 @@ declare namespace GamificationApi {
1658
1668
  export interface postGamificationProfilesOptions {
1659
1669
  "copyMetrics"?: boolean;
1660
1670
  }
1661
- export interface putGamificationMetricOptions {
1662
- "performanceProfileId"?: string;
1663
- }
1664
1671
  export interface putGamificationProfileOptions {
1665
1672
  "body"?: Models.PerformanceProfile;
1666
1673
  }
@@ -2234,7 +2241,7 @@ declare namespace KnowledgeApi {
2234
2241
  export interface getKnowledgeGuestSessionDocumentsOptions {
2235
2242
  "categoryId"?: Array<string>;
2236
2243
  "includeSubcategories"?: boolean;
2237
- "pageSize"?: string;
2244
+ "pageSize"?: number;
2238
2245
  }
2239
2246
  export interface getKnowledgeKnowledgebaseCategoriesOptions {
2240
2247
  "before"?: string;
@@ -3226,7 +3233,7 @@ declare class PresenceApi {
3226
3233
 
3227
3234
  declare namespace PresenceApi {
3228
3235
  export interface getPresenceSourcesOptions {
3229
- "deleted"?: string;
3236
+ "deactivated"?: string;
3230
3237
  }
3231
3238
  export interface getPresencedefinitionOptions {
3232
3239
  "localeCode"?: string;
@@ -3706,6 +3713,7 @@ declare class RoutingApi {
3706
3713
  deleteRoutingQueueWrapupcode(queueId: string, codeId: string): Promise<void>;
3707
3714
  deleteRoutingSettings(): Promise<void>;
3708
3715
  deleteRoutingSkill(skillId: string): Promise<void>;
3716
+ deleteRoutingSkillgroup(skillGroupId: string): Promise<void>;
3709
3717
  deleteRoutingSmsAddress(addressId: string): Promise<void>;
3710
3718
  deleteRoutingSmsPhonenumber(addressId: string): Promise<void>;
3711
3719
  deleteRoutingUserUtilization(userId: string): Promise<void>;
@@ -3751,6 +3759,10 @@ declare class RoutingApi {
3751
3759
  getRoutingSettingsContactcenter(): Promise<Models.ContactCenterSettings>;
3752
3760
  getRoutingSettingsTranscription(): Promise<Models.TranscriptionSettings>;
3753
3761
  getRoutingSkill(skillId: string): Promise<Models.RoutingSkill>;
3762
+ getRoutingSkillgroup(skillGroupId: string): Promise<Models.SkillGroup>;
3763
+ getRoutingSkillgroupMembers(skillGroupId: string, opts?: RoutingApi.getRoutingSkillgroupMembersOptions): Promise<Models.SkillGroupMemberEntityListing>;
3764
+ getRoutingSkillgroupMembersDivisions(skillGroupId: string, opts?: RoutingApi.getRoutingSkillgroupMembersDivisionsOptions): Promise<Models.SkillGroupMemberDivisionList>;
3765
+ getRoutingSkillgroups(opts?: RoutingApi.getRoutingSkillgroupsOptions): Promise<Models.SkillGroupEntityListing>;
3754
3766
  getRoutingSkills(opts?: RoutingApi.getRoutingSkillsOptions): Promise<Models.SkillEntityListing>;
3755
3767
  getRoutingSmsAddress(addressId: string): Promise<Models.SmsAddress>;
3756
3768
  getRoutingSmsAddresses(opts?: RoutingApi.getRoutingSmsAddressesOptions): Promise<Models.SmsAddressEntityListing>;
@@ -3773,6 +3785,7 @@ declare class RoutingApi {
3773
3785
  patchRoutingQueueUser(queueId: string, memberId: string, body: Models.QueueMember): Promise<void>;
3774
3786
  patchRoutingQueueUsers(queueId: string, body: Array<Models.QueueMember>): Promise<Models.QueueMemberEntityListingV1>;
3775
3787
  patchRoutingSettingsContactcenter(body: Models.ContactCenterSettings): Promise<void>;
3788
+ patchRoutingSkillgroup(skillGroupId: string, body: Models.SkillGroup): Promise<Models.SkillGroup>;
3776
3789
  patchUserQueue(queueId: string, userId: string, body: Models.UserQueue): Promise<Models.UserQueue>;
3777
3790
  patchUserQueues(userId: string, body: Array<Models.UserQueue>, opts?: RoutingApi.patchUserQueuesOptions): Promise<Models.UserQueueEntityListing>;
3778
3791
  patchUserRoutinglanguage(userId: string, languageId: string, body: Models.UserRoutingLanguage): Promise<Models.UserRoutingLanguage>;
@@ -3792,6 +3805,8 @@ declare class RoutingApi {
3792
3805
  postRoutingQueueUsers(queueId: string, body: Array<Models.WritableEntity>, opts?: RoutingApi.postRoutingQueueUsersOptions): Promise<void>;
3793
3806
  postRoutingQueueWrapupcodes(queueId: string, body: Array<Models.WrapUpCodeReference>): Promise<Array<Models.WrapupCode>>;
3794
3807
  postRoutingQueues(body: Models.CreateQueueRequest): Promise<Models.Queue>;
3808
+ postRoutingSkillgroupMembersDivisions(skillGroupId: string, opts?: RoutingApi.postRoutingSkillgroupMembersDivisionsOptions): Promise<void>;
3809
+ postRoutingSkillgroups(body: Models.SkillGroup): Promise<Models.SkillGroup>;
3795
3810
  postRoutingSkills(body: Models.RoutingSkill): Promise<Models.RoutingSkill>;
3796
3811
  postRoutingSmsAddresses(body: Models.SmsAddressProvision): Promise<Models.SmsAddress>;
3797
3812
  postRoutingSmsPhonenumbers(body: Models.SmsPhoneNumberProvision): Promise<Models.SmsPhoneNumber>;
@@ -3920,6 +3935,21 @@ declare namespace RoutingApi {
3920
3935
  "joined"?: boolean;
3921
3936
  "sortOrder"?: string;
3922
3937
  }
3938
+ export interface getRoutingSkillgroupMembersOptions {
3939
+ "pageSize"?: number;
3940
+ "after"?: string;
3941
+ "before"?: string;
3942
+ "expand"?: string;
3943
+ }
3944
+ export interface getRoutingSkillgroupMembersDivisionsOptions {
3945
+ "expand"?: string;
3946
+ }
3947
+ export interface getRoutingSkillgroupsOptions {
3948
+ "pageSize"?: number;
3949
+ "name"?: string;
3950
+ "after"?: string;
3951
+ "before"?: string;
3952
+ }
3923
3953
  export interface getRoutingSkillsOptions {
3924
3954
  "pageSize"?: number;
3925
3955
  "pageNumber"?: number;
@@ -3995,6 +4025,9 @@ declare namespace RoutingApi {
3995
4025
  export interface postRoutingQueueUsersOptions {
3996
4026
  "_delete"?: boolean;
3997
4027
  }
4028
+ export interface postRoutingSkillgroupMembersDivisionsOptions {
4029
+ "body"?: Models.SkillGroupMemberDivisions;
4030
+ }
3998
4031
  }
3999
4032
 
4000
4033
  declare class SCIMApi {
@@ -4232,6 +4265,7 @@ declare class SearchApi {
4232
4265
  postSpeechandtextanalyticsTranscriptsSearch(body: Models.TranscriptSearchRequest): Promise<Models.JsonSearchResponse>;
4233
4266
  postTeamsSearch(body: Models.TeamSearchRequest): Promise<Models.TeamsSearchResponse>;
4234
4267
  postUsersSearch(body: Models.UserSearchRequest): Promise<Models.UsersSearchResponse>;
4268
+ postUsersSearchTeamsAssign(body: Models.UserSearchRequest): Promise<Models.UsersSearchResponse>;
4235
4269
  postVoicemailSearch(body: Models.VoicemailSearchRequest): Promise<Models.VoicemailsSearchResponse>;
4236
4270
  }
4237
4271
 
@@ -4385,14 +4419,23 @@ declare namespace SuggestApi {
4385
4419
 
4386
4420
  declare class TeamsApi {
4387
4421
  deleteTeam(teamId: string): Promise<void>;
4422
+ deleteTeamMembers(teamId: string, id: string): Promise<void>;
4388
4423
  getTeam(teamId: string): Promise<Models.Team>;
4424
+ getTeamMembers(teamId: string, opts?: TeamsApi.getTeamMembersOptions): Promise<Models.TeamMemberEntityListing>;
4389
4425
  getTeams(opts?: TeamsApi.getTeamsOptions): Promise<Models.TeamEntityListing>;
4390
4426
  patchTeam(teamId: string, body: Models.Team): Promise<Models.Team>;
4427
+ postTeamMembers(teamId: string, body: Models.TeamMembers): Promise<Models.TeamMemberAddListingResponse>;
4391
4428
  postTeams(body: Models.Team): Promise<Models.Team>;
4392
4429
  postTeamsSearch(body: Models.TeamSearchRequest): Promise<Models.TeamsSearchResponse>;
4393
4430
  }
4394
4431
 
4395
4432
  declare namespace TeamsApi {
4433
+ export interface getTeamMembersOptions {
4434
+ "pageSize"?: number;
4435
+ "before"?: string;
4436
+ "after"?: string;
4437
+ "expand"?: string;
4438
+ }
4396
4439
  export interface getTeamsOptions {
4397
4440
  "pageSize"?: number;
4398
4441
  "name"?: string;
@@ -4903,6 +4946,7 @@ declare class UsersApi {
4903
4946
  postUsersDevelopmentActivitiesAggregatesQuery(body: Models.DevelopmentActivityAggregateParam): Promise<Models.DevelopmentActivityAggregateResponse>;
4904
4947
  postUsersMePassword(body: Models.ChangeMyPasswordRequest): Promise<void>;
4905
4948
  postUsersSearch(body: Models.UserSearchRequest): Promise<Models.UsersSearchResponse>;
4949
+ postUsersSearchTeamsAssign(body: Models.UserSearchRequest): Promise<Models.UsersSearchResponse>;
4906
4950
  putRoutingUserUtilization(userId: string, body: Models.Utilization): Promise<Models.AgentMaxUtilization>;
4907
4951
  putUserCallforwarding(userId: string, body: Models.CallForwarding): Promise<Models.CallForwarding>;
4908
4952
  putUserOutofoffice(userId: string, body: Models.OutOfOffice): Promise<Models.OutOfOffice>;
@@ -5330,6 +5374,8 @@ declare class WorkforceManagementApi {
5330
5374
  postWorkforcemanagementManagementunitTimeoffrequests(managementUnitId: string, opts?: WorkforceManagementApi.postWorkforcemanagementManagementunitTimeoffrequestsOptions): Promise<Models.TimeOffRequestList>;
5331
5375
  postWorkforcemanagementManagementunitTimeoffrequestsQuery(managementUnitId: string, opts?: WorkforceManagementApi.postWorkforcemanagementManagementunitTimeoffrequestsQueryOptions): Promise<Models.TimeOffRequestListing>;
5332
5376
  postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(managementUnitId: string, opts?: WorkforceManagementApi.postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQueryOptions): Promise<Models.WaitlistPositionListing>;
5377
+ postWorkforcemanagementManagementunitUserTimeoffbalanceJobs(managementUnitId: string, userId: string, body: Models.TimeOffBalanceRequest): Promise<Models.TimeOffBalancesResponse>;
5378
+ postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs(managementUnitId: string, userId: string, timeOffRequestId: string): Promise<Models.TimeOffBalancesResponse>;
5333
5379
  postWorkforcemanagementManagementunitWeekShifttradeMatch(managementUnitId: string, weekDateId: string, tradeId: string, body: Models.MatchShiftTradeRequest): Promise<Models.MatchShiftTradeResponse>;
5334
5380
  postWorkforcemanagementManagementunitWeekShifttrades(managementUnitId: string, weekDateId: string, body: Models.AddShiftTradeRequest): Promise<Models.ShiftTradeResponse>;
5335
5381
  postWorkforcemanagementManagementunitWeekShifttradesSearch(managementUnitId: string, weekDateId: string, body: Models.SearchShiftTradesRequest): Promise<Models.SearchShiftTradesResponse>;
@@ -5670,6 +5716,53 @@ declare namespace Models {
5670
5716
  "selfUri"?: string;
5671
5717
  }
5672
5718
 
5719
+ export interface ActionAggregateDataContainer {
5720
+ "group"?: { [key: string]: string; };
5721
+ "data"?: Array<Models.StatisticalResponse>;
5722
+ }
5723
+
5724
+ export interface ActionAggregateQueryClause {
5725
+ "type": string;
5726
+ "predicates": Array<Models.ActionAggregateQueryPredicate>;
5727
+ }
5728
+
5729
+ export interface ActionAggregateQueryFilter {
5730
+ "type": string;
5731
+ "clauses"?: Array<Models.ActionAggregateQueryClause>;
5732
+ "predicates"?: Array<Models.ActionAggregateQueryPredicate>;
5733
+ }
5734
+
5735
+ export interface ActionAggregateQueryPredicate {
5736
+ "type"?: string;
5737
+ "dimension"?: string;
5738
+ "operator"?: string;
5739
+ "value"?: string;
5740
+ "range"?: Models.NumericRange;
5741
+ }
5742
+
5743
+ export interface ActionAggregateQueryResponse {
5744
+ "results"?: Array<Models.ActionAggregateDataContainer>;
5745
+ }
5746
+
5747
+ export interface ActionAggregationQuery {
5748
+ "interval": string;
5749
+ "granularity"?: string;
5750
+ "timeZone"?: string;
5751
+ "groupBy"?: Array<string>;
5752
+ "filter"?: Models.ActionAggregateQueryFilter;
5753
+ "metrics": Array<string>;
5754
+ "flattenMultivaluedDimensions"?: boolean;
5755
+ "views"?: Array<Models.ActionAggregationView>;
5756
+ "alternateTimeDimension"?: string;
5757
+ }
5758
+
5759
+ export interface ActionAggregationView {
5760
+ "target": string;
5761
+ "name": string;
5762
+ "function": string;
5763
+ "range"?: Models.AggregationRange;
5764
+ }
5765
+
5673
5766
  export interface ActionConfig {
5674
5767
  "request"?: Models.RequestConfig;
5675
5768
  "response"?: Models.ResponseConfig;
@@ -9959,10 +10052,6 @@ declare namespace Models {
9959
10052
  "kpi"?: string;
9960
10053
  "dateStarted"?: string;
9961
10054
  "dateEnded"?: string;
9962
- "kpiTotalOn"?: number;
9963
- "kpiTotalOff"?: number;
9964
- "interactionCountOn"?: number;
9965
- "interactionCountOff"?: number;
9966
10055
  "kpiResults"?: Array<Models.KpiResult>;
9967
10056
  "selfUri"?: string;
9968
10057
  }
@@ -11756,6 +11845,7 @@ declare namespace Models {
11756
11845
  "id"?: string;
11757
11846
  "state"?: string;
11758
11847
  "initialState"?: string;
11848
+ "direction"?: string;
11759
11849
  "held"?: boolean;
11760
11850
  "errorInfo"?: Models.ConversationEventTopicErrorDetails;
11761
11851
  "provider"?: string;
@@ -16741,9 +16831,9 @@ declare namespace Models {
16741
16831
 
16742
16832
  export interface ExternalContact {
16743
16833
  "id"?: string;
16744
- "firstName": string;
16834
+ "firstName"?: string;
16745
16835
  "middleName"?: string;
16746
- "lastName": string;
16836
+ "lastName"?: string;
16747
16837
  "salutation"?: string;
16748
16838
  "title"?: string;
16749
16839
  "workPhone"?: Models.PhoneNumber;
@@ -16944,6 +17034,7 @@ declare namespace Models {
16944
17034
  "dateOccurred": string;
16945
17035
  "value": number;
16946
17036
  "count"?: number;
17037
+ "type"?: string;
16947
17038
  }
16948
17039
 
16949
17040
  export interface ExternalMetricDataProcessedItem {
@@ -16953,6 +17044,9 @@ declare namespace Models {
16953
17044
  "dateOccurred": string;
16954
17045
  "value": number;
16955
17046
  "count"?: number;
17047
+ "type"?: string;
17048
+ "totalValue"?: number;
17049
+ "totalCount"?: number;
16956
17050
  }
16957
17051
 
16958
17052
  export interface ExternalMetricDataUnprocessedItem {
@@ -16962,6 +17056,7 @@ declare namespace Models {
16962
17056
  "dateOccurred": string;
16963
17057
  "value": number;
16964
17058
  "count"?: number;
17059
+ "type"?: string;
16965
17060
  "message"?: string;
16966
17061
  "code"?: string;
16967
17062
  }
@@ -18579,6 +18674,13 @@ declare namespace Models {
18579
18674
  "selfUri"?: string;
18580
18675
  }
18581
18676
 
18677
+ export interface HrisTimeOffType {
18678
+ "id": string;
18679
+ "name": string;
18680
+ "hrisIntegrationId": string;
18681
+ "secondaryId"?: string;
18682
+ }
18683
+
18582
18684
  export interface Humanize {
18583
18685
  "enabled"?: boolean;
18584
18686
  "bot"?: Models.BotMessengerProfile;
@@ -18910,6 +19012,7 @@ declare namespace Models {
18910
19012
  }
18911
19013
 
18912
19014
  export interface IntentDefinition {
19015
+ "id"?: string;
18913
19016
  "name": string;
18914
19017
  "entityTypeBindings"?: Array<Models.NamedEntityTypeBinding>;
18915
19018
  "entityNameReferences"?: Array<string>;
@@ -20171,6 +20274,7 @@ declare namespace Models {
20171
20274
  "total"?: number;
20172
20275
  "pageCount"?: number;
20173
20276
  "results"?: Array<Models.KnowledgeDocumentSearchResult>;
20277
+ "application"?: Models.KnowledgeSearchClientApplication;
20174
20278
  }
20175
20279
 
20176
20280
  export interface KnowledgeDocumentSearchRequest {
@@ -20185,6 +20289,7 @@ declare namespace Models {
20185
20289
  "filter"?: Models.DocumentQuery;
20186
20290
  "sortOrder"?: string;
20187
20291
  "sortBy"?: string;
20292
+ "application"?: Models.KnowledgeSearchClientApplication;
20188
20293
  }
20189
20294
 
20190
20295
  export interface KnowledgeDocumentSearchResult {
@@ -20263,11 +20368,13 @@ declare namespace Models {
20263
20368
 
20264
20369
  export interface KnowledgeExportJobRequest {
20265
20370
  "exportFilter": Models.KnowledgeExportJobFilter;
20371
+ "fileType": string;
20266
20372
  }
20267
20373
 
20268
20374
  export interface KnowledgeExportJobResponse {
20269
20375
  "id"?: string;
20270
20376
  "downloadURL"?: string;
20377
+ "fileType": string;
20271
20378
  "countDocumentProcessed"?: number;
20272
20379
  "exportFilter"?: Models.KnowledgeExportJobFilter;
20273
20380
  "status"?: string;
@@ -20454,6 +20561,13 @@ declare namespace Models {
20454
20561
  "migrationDetected"?: boolean;
20455
20562
  }
20456
20563
 
20564
+ export interface KnowledgeSearchClientApplication {
20565
+ "type": string;
20566
+ "deployment"?: Models.AddressableEntityRef;
20567
+ "botFlow"?: Models.AddressableEntityRef;
20568
+ "assistant"?: Models.AddressableEntityRef;
20569
+ }
20570
+
20457
20571
  export interface KnowledgeSearchDocument {
20458
20572
  "id"?: string;
20459
20573
  "name"?: string;
@@ -21917,6 +22031,11 @@ declare namespace Models {
21917
22031
  "id"?: string;
21918
22032
  }
21919
22033
 
22034
+ export interface MessageTypingEventRequest {
22035
+ "typing": Models.ConversationEventTyping;
22036
+ "dateSent"?: string;
22037
+ }
22038
+
21920
22039
  export interface MessagingCampaign {
21921
22040
  "id"?: string;
21922
22041
  "name"?: string;
@@ -22469,6 +22588,7 @@ declare namespace Models {
22469
22588
  "version"?: Models.NluDomainVersion;
22470
22589
  "intents"?: Array<Models.Intent>;
22471
22590
  "engineVersion"?: string;
22591
+ "nluData"?: Models.NluDomainVersion;
22472
22592
  }
22473
22593
 
22474
22594
  export interface NluQualityReportSummary {
@@ -22481,6 +22601,7 @@ declare namespace Models {
22481
22601
  }
22482
22602
 
22483
22603
  export interface NluUtterance {
22604
+ "id"?: string;
22484
22605
  "segments": Array<Models.NluUtteranceSegment>;
22485
22606
  }
22486
22607
 
@@ -24242,6 +24363,7 @@ declare namespace Models {
24242
24363
  "dateModified"?: string;
24243
24364
  "workloadBalancingConfig"?: Models.PredictorWorkloadBalancing;
24244
24365
  "errorCode"?: string;
24366
+ "models"?: Array<Models.PredictorModelBrief>;
24245
24367
  "selfUri"?: string;
24246
24368
  }
24247
24369
 
@@ -24262,6 +24384,12 @@ declare namespace Models {
24262
24384
  "features"?: Array<Models.PredictorModelFeature>;
24263
24385
  }
24264
24386
 
24387
+ export interface PredictorModelBrief {
24388
+ "mediaType"?: string;
24389
+ "dateModified"?: string;
24390
+ "retrainingErrors"?: Array<Models.PredictorModelRetrainingError>;
24391
+ }
24392
+
24265
24393
  export interface PredictorModelFeature {
24266
24394
  "id"?: string;
24267
24395
  "type"?: string;
@@ -24272,6 +24400,12 @@ declare namespace Models {
24272
24400
  "entities"?: Array<Models.PredictorModelFeature>;
24273
24401
  }
24274
24402
 
24403
+ export interface PredictorModelRetrainingError {
24404
+ "id"?: string;
24405
+ "errorCode": string;
24406
+ "dateOfFirstOccurrence": string;
24407
+ }
24408
+
24275
24409
  export interface PredictorModels {
24276
24410
  "entities"?: Array<Models.PredictorModel>;
24277
24411
  "predictorModels"?: Array<Models.PredictorModel>;
@@ -24284,6 +24418,8 @@ declare namespace Models {
24284
24418
 
24285
24419
  export interface PredictorWorkloadBalancing {
24286
24420
  "enabled": boolean;
24421
+ "minimumOccupancy"?: number;
24422
+ "maximumOccupancy"?: number;
24287
24423
  }
24288
24424
 
24289
24425
  export interface PresenceDefinition {
@@ -25616,6 +25752,7 @@ declare namespace Models {
25616
25752
  "id"?: string;
25617
25753
  "state"?: string;
25618
25754
  "initialState"?: string;
25755
+ "direction"?: string;
25619
25756
  "held"?: boolean;
25620
25757
  "errorInfo"?: Models.QueueConversationEventTopicErrorDetails;
25621
25758
  "provider"?: string;
@@ -26340,6 +26477,7 @@ declare namespace Models {
26340
26477
  "id"?: string;
26341
26478
  "state"?: string;
26342
26479
  "initialState"?: string;
26480
+ "direction"?: string;
26343
26481
  "held"?: boolean;
26344
26482
  "errorInfo"?: Models.QueueConversationSocialExpressionEventTopicErrorDetails;
26345
26483
  "provider"?: string;
@@ -26773,6 +26911,7 @@ declare namespace Models {
26773
26911
  "id"?: string;
26774
26912
  "state"?: string;
26775
26913
  "initialState"?: string;
26914
+ "direction"?: string;
26776
26915
  "held"?: boolean;
26777
26916
  "errorInfo"?: Models.QueueConversationVideoEventTopicErrorDetails;
26778
26917
  "provider"?: string;
@@ -29135,6 +29274,13 @@ declare namespace Models {
29135
29274
  "createdDate"?: string;
29136
29275
  }
29137
29276
 
29277
+ export interface SessionListing {
29278
+ "entities"?: Array<Models.Session>;
29279
+ "nextUri"?: string;
29280
+ "selfUri"?: string;
29281
+ "previousUri"?: string;
29282
+ }
29283
+
29138
29284
  export interface SessionSegmentAssignment {
29139
29285
  "segment"?: Models.AssignedSegment;
29140
29286
  "assignedDate"?: string;
@@ -29452,6 +29598,61 @@ declare namespace Models {
29452
29598
  "pageCount"?: number;
29453
29599
  }
29454
29600
 
29601
+ export interface SkillGroup {
29602
+ "id"?: string;
29603
+ "name": string;
29604
+ "division"?: Models.WritableDivision;
29605
+ "description"?: string;
29606
+ "memberCount"?: number;
29607
+ "dateModified"?: string;
29608
+ "dateCreated"?: string;
29609
+ "skillConditions": Array<Models.SkillGroupCondition>;
29610
+ "selfUri"?: string;
29611
+ }
29612
+
29613
+ export interface SkillGroupCondition {
29614
+ "routingSkillConditions": Array<Models.SkillGroupRoutingCondition>;
29615
+ "languageSkillConditions": Array<Models.SkillGroupLanguageCondition>;
29616
+ "operation": string;
29617
+ }
29618
+
29619
+ export interface SkillGroupEntityListing {
29620
+ "entities"?: Array<Models.SkillGroup>;
29621
+ "nextUri"?: string;
29622
+ "selfUri"?: string;
29623
+ "previousUri"?: string;
29624
+ }
29625
+
29626
+ export interface SkillGroupLanguageCondition {
29627
+ "languageSkill": string;
29628
+ "comparator": string;
29629
+ "proficiency": number;
29630
+ "childConditions"?: Array<Models.SkillGroupCondition>;
29631
+ }
29632
+
29633
+ export interface SkillGroupMemberDivisionList {
29634
+ "entities"?: Array<Models.Division>;
29635
+ }
29636
+
29637
+ export interface SkillGroupMemberDivisions {
29638
+ "addDivisionIds"?: Array<string>;
29639
+ "removeDivisionIds"?: Array<string>;
29640
+ }
29641
+
29642
+ export interface SkillGroupMemberEntityListing {
29643
+ "entities"?: Array<Models.UserReferenceWithName>;
29644
+ "nextUri"?: string;
29645
+ "selfUri"?: string;
29646
+ "previousUri"?: string;
29647
+ }
29648
+
29649
+ export interface SkillGroupRoutingCondition {
29650
+ "routingSkill": string;
29651
+ "comparator": string;
29652
+ "proficiency": number;
29653
+ "childConditions"?: Array<Models.SkillGroupCondition>;
29654
+ }
29655
+
29455
29656
  export interface SkillsToRemove {
29456
29657
  "name"?: string;
29457
29658
  "id"?: string;
@@ -30261,6 +30462,11 @@ declare namespace Models {
30261
30462
  "selfUri"?: string;
30262
30463
  }
30263
30464
 
30465
+ export interface TeamAddMemberFailure {
30466
+ "id"?: string;
30467
+ "reason"?: string;
30468
+ }
30469
+
30264
30470
  export interface TeamEntityListing {
30265
30471
  "entities"?: Array<Models.Team>;
30266
30472
  "nextUri"?: string;
@@ -30268,6 +30474,22 @@ declare namespace Models {
30268
30474
  "previousUri"?: string;
30269
30475
  }
30270
30476
 
30477
+ export interface TeamMemberAddListingResponse {
30478
+ "entities"?: Array<Models.UserReference>;
30479
+ "failures"?: Array<Models.TeamAddMemberFailure>;
30480
+ }
30481
+
30482
+ export interface TeamMemberEntityListing {
30483
+ "entities"?: Array<Models.UserReferenceWithName>;
30484
+ "nextUri"?: string;
30485
+ "selfUri"?: string;
30486
+ "previousUri"?: string;
30487
+ }
30488
+
30489
+ export interface TeamMembers {
30490
+ "memberIds": Array<string>;
30491
+ }
30492
+
30271
30493
  export interface TeamReference {
30272
30494
  "id"?: string;
30273
30495
  "selfUri"?: string;
@@ -30427,6 +30649,7 @@ declare namespace Models {
30427
30649
  "conversationId"?: string;
30428
30650
  "inputData"?: Models.TextBotInputOutputData;
30429
30651
  "channel": Models.TextBotChannel;
30652
+ "language"?: string;
30430
30653
  }
30431
30654
 
30432
30655
  export interface TextBotFlowLaunchResponse {
@@ -30563,6 +30786,29 @@ declare namespace Models {
30563
30786
  "hours"?: number;
30564
30787
  }
30565
30788
 
30789
+ export interface TimeOffBalanceJobReference {
30790
+ "id"?: string;
30791
+ "status"?: string;
30792
+ "selfUri"?: string;
30793
+ }
30794
+
30795
+ export interface TimeOffBalanceRequest {
30796
+ "activityCodeIds": Array<string>;
30797
+ "dateRanges"?: Array<Models.LocalDateRange>;
30798
+ }
30799
+
30800
+ export interface TimeOffBalanceResponse {
30801
+ "activityCodeId": string;
30802
+ "hrisTimeOffTypeId": string;
30803
+ "startDate"?: string;
30804
+ "balanceMinutesPerDay"?: Array<number>;
30805
+ }
30806
+
30807
+ export interface TimeOffBalancesResponse {
30808
+ "job"?: Models.TimeOffBalanceJobReference;
30809
+ "entities"?: Array<Models.TimeOffBalanceResponse>;
30810
+ }
30811
+
30566
30812
  export interface TimeOffLimit {
30567
30813
  "id"?: string;
30568
30814
  "granularity"?: string;
@@ -32449,6 +32695,12 @@ declare namespace Models {
32449
32695
  "selfUri"?: string;
32450
32696
  }
32451
32697
 
32698
+ export interface UserReferenceWithName {
32699
+ "id"?: string;
32700
+ "name"?: string;
32701
+ "selfUri"?: string;
32702
+ }
32703
+
32452
32704
  export interface UserRoutingLanguage {
32453
32705
  "id"?: string;
32454
32706
  "name"?: string;
@@ -33325,6 +33577,7 @@ declare namespace Models {
33325
33577
  "hasFax"?: boolean;
33326
33578
  "dataActionIds"?: Array<string>;
33327
33579
  "actionCategoryName"?: string;
33580
+ "integrationIds"?: Array<string>;
33328
33581
  "responseStatuses"?: Array<string>;
33329
33582
  "availableDashboard"?: string;
33330
33583
  "favouriteDashboard"?: boolean;
@@ -33400,6 +33653,7 @@ declare namespace Models {
33400
33653
  "enabled"?: boolean;
33401
33654
  "sendEmailNotifications"?: boolean;
33402
33655
  "disableEmailPii"?: boolean;
33656
+ "includeEmailTranscriptions"?: boolean;
33403
33657
  "languagePreference"?: string;
33404
33658
  "rotateCallsSecs"?: number;
33405
33659
  "stopRingingAfterRotations"?: number;