purecloud-platform-client-v2 179.2.0 → 180.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.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +136 -79
- package/dist/web-amd/purecloud-platform-client-v2.js +136 -79
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +136 -79
- package/dist/web-cjs/purecloud-platform-client-v2.js +180 -91
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +39 -16
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +8 -7
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +57 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/index.d.ts
CHANGED
|
@@ -1024,7 +1024,7 @@ declare class ChatApi {
|
|
|
1024
1024
|
postChatsRoomMessages(roomJid: string, body: Models.SendMessageBody): Promise<Models.ChatSendMessageResponse>;
|
|
1025
1025
|
postChatsRoomParticipant(roomJid: string, userId: string): Promise<void>;
|
|
1026
1026
|
postChatsRoomPinnedmessages(roomJid: string, body: Models.PinnedMessageRequest): Promise<void>;
|
|
1027
|
-
postChatsRooms(
|
|
1027
|
+
postChatsRooms(body: Models.CreateRoomRequest): Promise<Models.CreateRoomResponse>;
|
|
1028
1028
|
postChatsUserMessages(userId: string, body: Models.SendMessageBody): Promise<Models.ChatSendMessageResponse>;
|
|
1029
1029
|
putChatSettings(body: Models.ChatSettings): Promise<Models.ChatSettings>;
|
|
1030
1030
|
putChatsSettings(body: Models.ChatSettings): Promise<Models.ChatSettings>;
|
|
@@ -1064,9 +1064,6 @@ declare namespace ChatApi {
|
|
|
1064
1064
|
"before"?: string;
|
|
1065
1065
|
"after"?: string;
|
|
1066
1066
|
}
|
|
1067
|
-
export interface postChatsRoomsOptions {
|
|
1068
|
-
"body"?: Models.CreateRoomRequest;
|
|
1069
|
-
}
|
|
1070
1067
|
}
|
|
1071
1068
|
|
|
1072
1069
|
declare class CoachingApi {
|
|
@@ -5399,12 +5396,17 @@ declare namespace TeamsApi {
|
|
|
5399
5396
|
|
|
5400
5397
|
declare class TelephonyApi {
|
|
5401
5398
|
getTelephonyMediaregions(): Promise<Models.MediaRegions>;
|
|
5399
|
+
getTelephonySipmessagesConversation(conversationId: string): Promise<Models.Callmessage>;
|
|
5400
|
+
getTelephonySipmessagesConversationHeaders(conversationId: string, opts?: TelephonyApi.getTelephonySipmessagesConversationHeadersOptions): Promise<Models.Callheader>;
|
|
5402
5401
|
getTelephonySiptraces(dateStart: string, dateEnd: string, opts?: TelephonyApi.getTelephonySiptracesOptions): Promise<Models.SipSearchResult>;
|
|
5403
5402
|
getTelephonySiptracesDownloadDownloadId(downloadId: string): Promise<Models.SignedUrlResponse>;
|
|
5404
5403
|
postTelephonySiptracesDownload(sIPSearchPublicRequest: Models.SIPSearchPublicRequest): Promise<Models.SipDownloadResponse>;
|
|
5405
5404
|
}
|
|
5406
5405
|
|
|
5407
5406
|
declare namespace TelephonyApi {
|
|
5407
|
+
export interface getTelephonySipmessagesConversationHeadersOptions {
|
|
5408
|
+
"keys"?: Array<string>;
|
|
5409
|
+
}
|
|
5408
5410
|
export interface getTelephonySiptracesOptions {
|
|
5409
5411
|
"callId"?: string;
|
|
5410
5412
|
"toUser"?: string;
|
|
@@ -6985,8 +6987,10 @@ declare namespace Models {
|
|
|
6985
6987
|
|
|
6986
6988
|
export interface ActionMapEstimateOutcomeCriteria {
|
|
6987
6989
|
"outcomeId": string;
|
|
6988
|
-
"maxProbability"
|
|
6990
|
+
"maxProbability"?: number;
|
|
6989
6991
|
"probability"?: number;
|
|
6992
|
+
"quantile"?: number;
|
|
6993
|
+
"maxQuantile"?: number;
|
|
6990
6994
|
}
|
|
6991
6995
|
|
|
6992
6996
|
export interface ActionMapEstimateRequest {
|
|
@@ -8860,7 +8864,7 @@ declare namespace Models {
|
|
|
8860
8864
|
|
|
8861
8865
|
export interface AuditRealtimeQueryRequest {
|
|
8862
8866
|
"interval": string;
|
|
8863
|
-
"serviceName"
|
|
8867
|
+
"serviceName"?: string;
|
|
8864
8868
|
"filters"?: Array<Models.AuditQueryFilter>;
|
|
8865
8869
|
"sort"?: Array<Models.AuditQuerySort>;
|
|
8866
8870
|
"pageNumber"?: number;
|
|
@@ -10752,6 +10756,20 @@ declare namespace Models {
|
|
|
10752
10756
|
"subTypeSettings"?: { [key: string]: Models.BaseMediaSettings; };
|
|
10753
10757
|
}
|
|
10754
10758
|
|
|
10759
|
+
export interface Callheader {
|
|
10760
|
+
"id"?: string;
|
|
10761
|
+
"name"?: string;
|
|
10762
|
+
"headers"?: { [key: string]: Array<string>; };
|
|
10763
|
+
"selfUri"?: string;
|
|
10764
|
+
}
|
|
10765
|
+
|
|
10766
|
+
export interface Callmessage {
|
|
10767
|
+
"id"?: string;
|
|
10768
|
+
"name"?: string;
|
|
10769
|
+
"message"?: string;
|
|
10770
|
+
"selfUri"?: string;
|
|
10771
|
+
}
|
|
10772
|
+
|
|
10755
10773
|
export interface Campaign {
|
|
10756
10774
|
"id"?: string;
|
|
10757
10775
|
"name": string;
|
|
@@ -14263,6 +14281,7 @@ declare namespace Models {
|
|
|
14263
14281
|
"sentimentScore"?: number;
|
|
14264
14282
|
"sentimentTrend"?: number;
|
|
14265
14283
|
"sentimentTrendClass"?: string;
|
|
14284
|
+
"empathyScores"?: Array<Models.EmpathyScore>;
|
|
14266
14285
|
"participantMetrics"?: Models.ParticipantMetrics;
|
|
14267
14286
|
}
|
|
14268
14287
|
|
|
@@ -15204,6 +15223,7 @@ declare namespace Models {
|
|
|
15204
15223
|
export interface CreateRoomRequest {
|
|
15205
15224
|
"description"?: string;
|
|
15206
15225
|
"subject": string;
|
|
15226
|
+
"userIds"?: Array<string>;
|
|
15207
15227
|
}
|
|
15208
15228
|
|
|
15209
15229
|
export interface CreateRoomResponse {
|
|
@@ -16904,7 +16924,7 @@ declare namespace Models {
|
|
|
16904
16924
|
}
|
|
16905
16925
|
|
|
16906
16926
|
export interface DirectRouting {
|
|
16907
|
-
"callMediaSettings"?: Models.
|
|
16927
|
+
"callMediaSettings"?: Models.DirectRoutingMediaSettings;
|
|
16908
16928
|
"emailMediaSettings"?: Models.DirectRoutingMediaSettings;
|
|
16909
16929
|
"messageMediaSettings"?: Models.DirectRoutingMediaSettings;
|
|
16910
16930
|
"backupQueueId"?: string;
|
|
@@ -16912,15 +16932,8 @@ declare namespace Models {
|
|
|
16912
16932
|
"agentWaitSeconds"?: number;
|
|
16913
16933
|
}
|
|
16914
16934
|
|
|
16915
|
-
export interface DirectRoutingCallMediaSettings {
|
|
16916
|
-
"enabled"?: boolean;
|
|
16917
|
-
"inboundFlow"?: Models.AddressableEntityRef;
|
|
16918
|
-
"voicemailFlow"?: Models.AddressableEntityRef;
|
|
16919
|
-
}
|
|
16920
|
-
|
|
16921
16935
|
export interface DirectRoutingMediaSettings {
|
|
16922
|
-
"
|
|
16923
|
-
"inboundFlow"?: Models.AddressableEntityRef;
|
|
16936
|
+
"useAgentAddressOutbound"?: boolean;
|
|
16924
16937
|
}
|
|
16925
16938
|
|
|
16926
16939
|
export interface DirectoryUserDevicesListing {
|
|
@@ -25704,7 +25717,7 @@ declare namespace Models {
|
|
|
25704
25717
|
}
|
|
25705
25718
|
|
|
25706
25719
|
export interface MediaEndpointStatistics {
|
|
25707
|
-
"trunk"?: Models.
|
|
25720
|
+
"trunk"?: Models.MediaStatisticsTrunkInfo;
|
|
25708
25721
|
"station"?: Models.NamedEntity;
|
|
25709
25722
|
"user"?: Models.NamedEntity;
|
|
25710
25723
|
"ice"?: Models.MediaIceStatistics;
|
|
@@ -25784,6 +25797,12 @@ declare namespace Models {
|
|
|
25784
25797
|
"entities"?: Array<Models.MediaStatistics>;
|
|
25785
25798
|
}
|
|
25786
25799
|
|
|
25800
|
+
export interface MediaStatisticsTrunkInfo {
|
|
25801
|
+
"id"?: string;
|
|
25802
|
+
"name"?: string;
|
|
25803
|
+
"type"?: string;
|
|
25804
|
+
}
|
|
25805
|
+
|
|
25787
25806
|
export interface MediaSummary {
|
|
25788
25807
|
"contactCenter"?: Models.MediaSummaryDetail;
|
|
25789
25808
|
"enterprise"?: Models.MediaSummaryDetail;
|
|
@@ -34664,6 +34683,7 @@ declare namespace Models {
|
|
|
34664
34683
|
"memberCount"?: number;
|
|
34665
34684
|
"dateModified"?: string;
|
|
34666
34685
|
"dateCreated"?: string;
|
|
34686
|
+
"status"?: string;
|
|
34667
34687
|
"skillConditions": Array<Models.SkillGroupCondition>;
|
|
34668
34688
|
"selfUri"?: string;
|
|
34669
34689
|
}
|
|
@@ -34730,6 +34750,7 @@ declare namespace Models {
|
|
|
34730
34750
|
"memberCount"?: number;
|
|
34731
34751
|
"dateModified"?: string;
|
|
34732
34752
|
"dateCreated"?: string;
|
|
34753
|
+
"status"?: string;
|
|
34733
34754
|
"skillConditions": Array<Models.SkillGroupCondition>;
|
|
34734
34755
|
"memberDivisions"?: Array<string>;
|
|
34735
34756
|
"selfUri"?: string;
|
|
@@ -34936,12 +34957,14 @@ declare namespace Models {
|
|
|
34936
34957
|
"defaultProgramId"?: string;
|
|
34937
34958
|
"expectedDialects"?: Array<string>;
|
|
34938
34959
|
"textAnalyticsEnabled"?: boolean;
|
|
34960
|
+
"agentEmpathyEnabled"?: boolean;
|
|
34939
34961
|
}
|
|
34940
34962
|
|
|
34941
34963
|
export interface SpeechTextAnalyticsSettingsResponse {
|
|
34942
34964
|
"defaultProgram"?: Models.AddressableEntityRef;
|
|
34943
34965
|
"expectedDialects"?: Array<string>;
|
|
34944
34966
|
"textAnalyticsEnabled"?: boolean;
|
|
34967
|
+
"agentEmpathyEnabled"?: boolean;
|
|
34945
34968
|
}
|
|
34946
34969
|
|
|
34947
34970
|
export interface StarrableDivision {
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ class ChatApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Chat service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 180.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -663,13 +663,14 @@ class ChatApi {
|
|
|
663
663
|
/**
|
|
664
664
|
* Create an adhoc room
|
|
665
665
|
*
|
|
666
|
-
* @param {Object}
|
|
667
|
-
* @param {Object} opts.body Room properties
|
|
666
|
+
* @param {Object} body Room properties
|
|
668
667
|
* postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
669
668
|
*/
|
|
670
|
-
postChatsRooms(
|
|
671
|
-
|
|
672
|
-
|
|
669
|
+
postChatsRooms(body) {
|
|
670
|
+
// verify the required parameter 'body' is set
|
|
671
|
+
if (body === undefined || body === null) {
|
|
672
|
+
throw 'Missing the required parameter "body" when calling postChatsRooms';
|
|
673
|
+
}
|
|
673
674
|
|
|
674
675
|
return this.apiClient.callApi(
|
|
675
676
|
'/api/v2/chats/rooms',
|
|
@@ -678,7 +679,7 @@ class ChatApi {
|
|
|
678
679
|
{ },
|
|
679
680
|
{ },
|
|
680
681
|
{ },
|
|
681
|
-
|
|
682
|
+
body,
|
|
682
683
|
['PureCloud OAuth'],
|
|
683
684
|
['application/json'],
|
|
684
685
|
['application/json']
|