purecloud-platform-client-v2 131.1.0 → 133.0.1
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 +122 -84
- package/dist/web-amd/purecloud-platform-client-v2.js +123 -85
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +128 -90
- package/dist/web-cjs/purecloud-platform-client-v2.js +3775 -945
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +245 -11
- package/package.json +9 -9
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- 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/ChatApi.js +1 -1
- 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 +27 -2
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.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 +7 -3
- 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/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 +7 -3
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +8 -5
- 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/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/TelephonyApi.js +1 -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 +2 -2
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/index.d.ts
CHANGED
|
@@ -1027,6 +1027,7 @@ declare class ConversationsApi {
|
|
|
1027
1027
|
getConversationsEmailMessagesDraft(conversationId: string): Promise<Models.EmailMessage>;
|
|
1028
1028
|
getConversationsEmailParticipantWrapup(conversationId: string, participantId: string, opts?: ConversationsApi.getConversationsEmailParticipantWrapupOptions): Promise<Models.AssignedWrapupCode>;
|
|
1029
1029
|
getConversationsEmailParticipantWrapupcodes(conversationId: string, participantId: string): Promise<Array<Models.WrapupCode>>;
|
|
1030
|
+
getConversationsEmailSettings(conversationId: string): Promise<Models.EmailsSettings>;
|
|
1030
1031
|
getConversationsEmails(): Promise<Models.EmailConversationEntityListing>;
|
|
1031
1032
|
getConversationsMessage(conversationId: string): Promise<Models.MessageConversation>;
|
|
1032
1033
|
getConversationsMessageCommunicationMessagesMediaMediaId(conversationId: string, communicationId: string, mediaId: string): Promise<Models.MessageMediaData>;
|
|
@@ -1490,7 +1491,7 @@ declare class GamificationApi {
|
|
|
1490
1491
|
postGamificationProfileMembersValidate(performanceProfileId: string, body: Models.ValidateAssignUsers): Promise<Models.AssignmentValidation>;
|
|
1491
1492
|
postGamificationProfileMetricLink(sourceProfileId: string, sourceMetricId: string, body: Models.TargetPerformanceProfile): Promise<Models.Metric>;
|
|
1492
1493
|
postGamificationProfileMetrics(profileId: string, body: Models.CreateMetric): Promise<Models.Metric>;
|
|
1493
|
-
postGamificationProfiles(body: Models.CreatePerformanceProfile): Promise<Models.
|
|
1494
|
+
postGamificationProfiles(body: Models.CreatePerformanceProfile, opts?: GamificationApi.postGamificationProfilesOptions): Promise<Models.PerformanceProfile>;
|
|
1494
1495
|
putGamificationMetric(metricId: string, body: Models.CreateMetric, opts?: GamificationApi.putGamificationMetricOptions): Promise<Models.Metric>;
|
|
1495
1496
|
putGamificationProfile(performanceProfileId: string, opts?: GamificationApi.putGamificationProfileOptions): Promise<Models.PerformanceProfile>;
|
|
1496
1497
|
putGamificationProfileMetric(profileId: string, metricId: string, body: Models.CreateMetric): Promise<Models.Metric>;
|
|
@@ -1557,6 +1558,9 @@ declare namespace GamificationApi {
|
|
|
1557
1558
|
"referenceWorkday"?: string;
|
|
1558
1559
|
"timeZone"?: string;
|
|
1559
1560
|
}
|
|
1561
|
+
export interface postGamificationProfilesOptions {
|
|
1562
|
+
"copyMetrics"?: boolean;
|
|
1563
|
+
}
|
|
1560
1564
|
export interface putGamificationMetricOptions {
|
|
1561
1565
|
"performanceProfileId"?: string;
|
|
1562
1566
|
}
|
|
@@ -2673,7 +2677,7 @@ declare class OutboundApi {
|
|
|
2673
2677
|
postOutboundContactlists(body: Models.ContactList): Promise<Models.ContactList>;
|
|
2674
2678
|
postOutboundConversationDnc(conversationId: string): Promise<void>;
|
|
2675
2679
|
postOutboundDnclistExport(dncListId: string): Promise<Models.DomainEntityRef>;
|
|
2676
|
-
postOutboundDnclistPhonenumbers(dncListId: string, body: Array<string
|
|
2680
|
+
postOutboundDnclistPhonenumbers(dncListId: string, body: Array<string>, opts?: OutboundApi.postOutboundDnclistPhonenumbersOptions): Promise<void>;
|
|
2677
2681
|
postOutboundDnclists(body: Models.DncListCreate): Promise<Models.DncList>;
|
|
2678
2682
|
postOutboundMessagingcampaigns(body: Models.MessagingCampaign): Promise<Models.MessagingCampaign>;
|
|
2679
2683
|
postOutboundMessagingcampaignsProgress(body: Array<string>): Promise<Array<Models.CampaignProgress>>;
|
|
@@ -2917,6 +2921,9 @@ declare namespace OutboundApi {
|
|
|
2917
2921
|
"clearSystemData"?: boolean;
|
|
2918
2922
|
"doNotQueue"?: boolean;
|
|
2919
2923
|
}
|
|
2924
|
+
export interface postOutboundDnclistPhonenumbersOptions {
|
|
2925
|
+
"expirationDateTime"?: string;
|
|
2926
|
+
}
|
|
2920
2927
|
}
|
|
2921
2928
|
|
|
2922
2929
|
declare class PresenceApi {
|
|
@@ -3220,10 +3227,12 @@ declare namespace RecordingApi {
|
|
|
3220
3227
|
"download"?: boolean;
|
|
3221
3228
|
"fileName"?: string;
|
|
3222
3229
|
"locale"?: string;
|
|
3230
|
+
"mediaFormats"?: Array<string>;
|
|
3223
3231
|
}
|
|
3224
3232
|
export interface getConversationRecordingsOptions {
|
|
3225
3233
|
"maxWaitMs"?: number;
|
|
3226
3234
|
"formatId"?: string;
|
|
3235
|
+
"mediaFormats"?: Array<string>;
|
|
3227
3236
|
}
|
|
3228
3237
|
export interface getOrphanrecordingMediaOptions {
|
|
3229
3238
|
"formatId"?: string;
|
|
@@ -3233,6 +3242,7 @@ declare namespace RecordingApi {
|
|
|
3233
3242
|
"download"?: boolean;
|
|
3234
3243
|
"fileName"?: string;
|
|
3235
3244
|
"locale"?: string;
|
|
3245
|
+
"mediaFormats"?: Array<string>;
|
|
3236
3246
|
}
|
|
3237
3247
|
export interface getOrphanrecordingsOptions {
|
|
3238
3248
|
"pageSize"?: number;
|
|
@@ -3382,7 +3392,7 @@ declare class RoutingApi {
|
|
|
3382
3392
|
getRoutingQueueEstimatedwaittime(queueId: string, opts?: RoutingApi.getRoutingQueueEstimatedwaittimeOptions): Promise<Models.EstimatedWaitTimePredictions>;
|
|
3383
3393
|
getRoutingQueueMediatypeEstimatedwaittime(queueId: string, mediaType: string): Promise<Models.EstimatedWaitTimePredictions>;
|
|
3384
3394
|
getRoutingQueueMembers(queueId: string, opts?: RoutingApi.getRoutingQueueMembersOptions): Promise<Models.QueueMemberEntityListing>;
|
|
3385
|
-
getRoutingQueueUsers(queueId: string, opts?: RoutingApi.getRoutingQueueUsersOptions): Promise<Models.
|
|
3395
|
+
getRoutingQueueUsers(queueId: string, opts?: RoutingApi.getRoutingQueueUsersOptions): Promise<Models.QueueMemberEntityListingV1>;
|
|
3386
3396
|
getRoutingQueueWrapupcodes(queueId: string, opts?: RoutingApi.getRoutingQueueWrapupcodesOptions): Promise<Models.WrapupCodeEntityListing>;
|
|
3387
3397
|
getRoutingQueues(opts?: RoutingApi.getRoutingQueuesOptions): Promise<Models.QueueEntityListing>;
|
|
3388
3398
|
getRoutingQueuesDivisionviews(opts?: RoutingApi.getRoutingQueuesDivisionviewsOptions): Promise<Models.QueueEntityListing>;
|
|
@@ -3412,7 +3422,7 @@ declare class RoutingApi {
|
|
|
3412
3422
|
patchRoutingQueueMember(queueId: string, memberId: string, body: Models.QueueMember): Promise<void>;
|
|
3413
3423
|
patchRoutingQueueMembers(queueId: string, body: Array<Models.QueueMember>): Promise<Models.QueueMemberEntityListing>;
|
|
3414
3424
|
patchRoutingQueueUser(queueId: string, memberId: string, body: Models.QueueMember): Promise<void>;
|
|
3415
|
-
patchRoutingQueueUsers(queueId: string, body: Array<Models.QueueMember>): Promise<Models.
|
|
3425
|
+
patchRoutingQueueUsers(queueId: string, body: Array<Models.QueueMember>): Promise<Models.QueueMemberEntityListingV1>;
|
|
3416
3426
|
patchRoutingSettingsContactcenter(body: Models.ContactCenterSettings): Promise<void>;
|
|
3417
3427
|
patchUserQueue(queueId: string, userId: string, body: Models.UserQueue): Promise<Models.UserQueue>;
|
|
3418
3428
|
patchUserQueues(userId: string, body: Array<Models.UserQueue>, opts?: RoutingApi.patchUserQueuesOptions): Promise<Models.UserQueueEntityListing>;
|
|
@@ -5468,6 +5478,7 @@ declare namespace Models {
|
|
|
5468
5478
|
"userId"?: string;
|
|
5469
5479
|
"queueId"?: string;
|
|
5470
5480
|
"wrapupCode"?: string;
|
|
5481
|
+
"wrapupNotes"?: string;
|
|
5471
5482
|
"wrapupDurationMs"?: number;
|
|
5472
5483
|
}
|
|
5473
5484
|
|
|
@@ -6101,6 +6112,7 @@ declare namespace Models {
|
|
|
6101
6112
|
"id"?: string;
|
|
6102
6113
|
"text"?: string;
|
|
6103
6114
|
"value"?: number;
|
|
6115
|
+
"assistanceConditions"?: Array<Models.AssistanceCondition>;
|
|
6104
6116
|
}
|
|
6105
6117
|
|
|
6106
6118
|
export interface ApiUsageQuery {
|
|
@@ -6469,6 +6481,11 @@ declare namespace Models {
|
|
|
6469
6481
|
"invalidMemberAssignments"?: Array<Models.InvalidAssignment>;
|
|
6470
6482
|
}
|
|
6471
6483
|
|
|
6484
|
+
export interface AssistanceCondition {
|
|
6485
|
+
"operator"?: string;
|
|
6486
|
+
"topicIds"?: Array<string>;
|
|
6487
|
+
}
|
|
6488
|
+
|
|
6472
6489
|
export interface AssociatedValueField {
|
|
6473
6490
|
"dataType": string;
|
|
6474
6491
|
"name": string;
|
|
@@ -6864,6 +6881,7 @@ declare namespace Models {
|
|
|
6864
6881
|
|
|
6865
6882
|
export interface AutomaticTimeZoneMappingSettings {
|
|
6866
6883
|
"callableWindows"?: Array<Models.CallableWindow>;
|
|
6884
|
+
"supportedCountries"?: Array<string>;
|
|
6867
6885
|
}
|
|
6868
6886
|
|
|
6869
6887
|
export interface AvailableLanguageList {
|
|
@@ -8159,8 +8177,10 @@ declare namespace Models {
|
|
|
8159
8177
|
"faxStatus"?: Models.FaxStatus;
|
|
8160
8178
|
"monitoredParticipantId"?: string;
|
|
8161
8179
|
"coachedParticipantId"?: string;
|
|
8180
|
+
"bargedParticipantId"?: string;
|
|
8162
8181
|
"consultParticipantId"?: string;
|
|
8163
8182
|
"uuiData"?: string;
|
|
8183
|
+
"bargedTime"?: string;
|
|
8164
8184
|
}
|
|
8165
8185
|
|
|
8166
8186
|
export interface CallMediaPolicy {
|
|
@@ -9191,6 +9211,13 @@ declare namespace Models {
|
|
|
9191
9211
|
"codes"?: Array<string>;
|
|
9192
9212
|
"property"?: string;
|
|
9193
9213
|
"propertyType"?: string;
|
|
9214
|
+
"dataAction"?: Models.DomainEntityRef;
|
|
9215
|
+
"dataNotFoundResolution"?: boolean;
|
|
9216
|
+
"contactIdField"?: string;
|
|
9217
|
+
"callAnalysisResultField"?: string;
|
|
9218
|
+
"agentWrapupField"?: string;
|
|
9219
|
+
"contactColumnToDataActionFieldMappings"?: Array<Models.ContactColumnToDataActionFieldMapping>;
|
|
9220
|
+
"predicates"?: Array<Models.DataActionConditionPredicate>;
|
|
9194
9221
|
}
|
|
9195
9222
|
|
|
9196
9223
|
export interface ConfigurationOverrides {
|
|
@@ -9285,6 +9312,11 @@ declare namespace Models {
|
|
|
9285
9312
|
"countryCode"?: string;
|
|
9286
9313
|
}
|
|
9287
9314
|
|
|
9315
|
+
export interface ContactAddressableEntityRef {
|
|
9316
|
+
"id"?: string;
|
|
9317
|
+
"selfUri"?: string;
|
|
9318
|
+
}
|
|
9319
|
+
|
|
9288
9320
|
export interface ContactCallbackRequest {
|
|
9289
9321
|
"campaignId": string;
|
|
9290
9322
|
"contactListId": string;
|
|
@@ -9303,6 +9335,29 @@ declare namespace Models {
|
|
|
9303
9335
|
}
|
|
9304
9336
|
|
|
9305
9337
|
export interface ContactColumnToDataActionFieldMapping {
|
|
9338
|
+
"contactColumnName": string;
|
|
9339
|
+
"dataActionField": string;
|
|
9340
|
+
}
|
|
9341
|
+
|
|
9342
|
+
export interface ContactDetailEventTopicContactUpdateEvent {
|
|
9343
|
+
"eventTime"?: number;
|
|
9344
|
+
"conversationId"?: string;
|
|
9345
|
+
"participantId"?: string;
|
|
9346
|
+
"sessionId"?: string;
|
|
9347
|
+
"mediaType"?: string;
|
|
9348
|
+
"externalOrganizationId"?: string;
|
|
9349
|
+
"externalContactId"?: string;
|
|
9350
|
+
"provider"?: string;
|
|
9351
|
+
"direction"?: string;
|
|
9352
|
+
"ani"?: string;
|
|
9353
|
+
"dnis"?: string;
|
|
9354
|
+
"addressTo"?: string;
|
|
9355
|
+
"addressFrom"?: string;
|
|
9356
|
+
"callbackUserName"?: string;
|
|
9357
|
+
"callbackNumbers"?: Array<string>;
|
|
9358
|
+
"callbackScheduledTime"?: number;
|
|
9359
|
+
"subject"?: string;
|
|
9360
|
+
"messageType"?: string;
|
|
9306
9361
|
}
|
|
9307
9362
|
|
|
9308
9363
|
export interface ContactList {
|
|
@@ -10957,6 +11012,10 @@ declare namespace Models {
|
|
|
10957
11012
|
"endTime"?: string;
|
|
10958
11013
|
}
|
|
10959
11014
|
|
|
11015
|
+
export interface ConversationEventTyping {
|
|
11016
|
+
"type": string;
|
|
11017
|
+
}
|
|
11018
|
+
|
|
10960
11019
|
export interface ConversationMessageContent {
|
|
10961
11020
|
"contentType": string;
|
|
10962
11021
|
"location"?: Models.ConversationContentLocation;
|
|
@@ -10971,6 +11030,7 @@ declare namespace Models {
|
|
|
10971
11030
|
export interface ConversationMessageEvent {
|
|
10972
11031
|
"eventType": string;
|
|
10973
11032
|
"coBrowse"?: Models.ConversationEventCoBrowse;
|
|
11033
|
+
"typing"?: Models.ConversationEventTyping;
|
|
10974
11034
|
}
|
|
10975
11035
|
|
|
10976
11036
|
export interface ConversationMessageEventTopicConversationRoutingData {
|
|
@@ -11175,6 +11235,7 @@ declare namespace Models {
|
|
|
11175
11235
|
"conversationInitiator"?: string;
|
|
11176
11236
|
"convertedFrom"?: string;
|
|
11177
11237
|
"convertedTo"?: string;
|
|
11238
|
+
"customerParticipation"?: boolean;
|
|
11178
11239
|
"deliveryStatus"?: string;
|
|
11179
11240
|
"destinationAddresses"?: Array<string>;
|
|
11180
11241
|
"direction"?: string;
|
|
@@ -12529,6 +12590,11 @@ declare namespace Models {
|
|
|
12529
12590
|
}
|
|
12530
12591
|
|
|
12531
12592
|
export interface DataActionConditionPredicate {
|
|
12593
|
+
"outputField": string;
|
|
12594
|
+
"outputOperator": string;
|
|
12595
|
+
"comparisonValue": string;
|
|
12596
|
+
"inverted": boolean;
|
|
12597
|
+
"outputFieldMissingResolution": boolean;
|
|
12532
12598
|
}
|
|
12533
12599
|
|
|
12534
12600
|
export interface DataAvailabilityResponse {
|
|
@@ -12870,6 +12936,11 @@ declare namespace Models {
|
|
|
12870
12936
|
"actionTypeName": string;
|
|
12871
12937
|
"updateOption"?: string;
|
|
12872
12938
|
"properties"?: { [key: string]: string; };
|
|
12939
|
+
"dataAction"?: Models.DomainEntityRef;
|
|
12940
|
+
"contactColumnToDataActionFieldMappings"?: Array<Models.ContactColumnToDataActionFieldMapping>;
|
|
12941
|
+
"contactIdField"?: string;
|
|
12942
|
+
"callAnalysisResultField"?: string;
|
|
12943
|
+
"agentWrapupField"?: string;
|
|
12873
12944
|
}
|
|
12874
12945
|
|
|
12875
12946
|
export interface DialerAttemptLimitsConfigChangeAttemptLimits {
|
|
@@ -13491,6 +13562,7 @@ declare namespace Models {
|
|
|
13491
13562
|
"importStatus"?: Models.ImportStatus;
|
|
13492
13563
|
"size"?: number;
|
|
13493
13564
|
"dncSourceType": string;
|
|
13565
|
+
"contactMethod"?: string;
|
|
13494
13566
|
"loginId"?: string;
|
|
13495
13567
|
"dncCodes"?: Array<string>;
|
|
13496
13568
|
"licenseId"?: string;
|
|
@@ -13507,6 +13579,7 @@ declare namespace Models {
|
|
|
13507
13579
|
"importStatus"?: Models.ImportStatus;
|
|
13508
13580
|
"size"?: number;
|
|
13509
13581
|
"dncSourceType": string;
|
|
13582
|
+
"contactMethod"?: string;
|
|
13510
13583
|
"loginId"?: string;
|
|
13511
13584
|
"dncCodes"?: Array<string>;
|
|
13512
13585
|
"licenseId"?: string;
|
|
@@ -13520,6 +13593,8 @@ declare namespace Models {
|
|
|
13520
13593
|
"division"?: Models.Division;
|
|
13521
13594
|
"importStatus"?: Models.ImportStatus;
|
|
13522
13595
|
"size"?: number;
|
|
13596
|
+
"dncSourceType"?: string;
|
|
13597
|
+
"contactMethod"?: string;
|
|
13523
13598
|
"selfUri"?: string;
|
|
13524
13599
|
}
|
|
13525
13600
|
|
|
@@ -14278,11 +14353,6 @@ declare namespace Models {
|
|
|
14278
14353
|
"pageCount"?: number;
|
|
14279
14354
|
}
|
|
14280
14355
|
|
|
14281
|
-
export interface EdgeIdNamePair {
|
|
14282
|
-
"id"?: string;
|
|
14283
|
-
"name"?: string;
|
|
14284
|
-
}
|
|
14285
|
-
|
|
14286
14356
|
export interface EdgeInterface {
|
|
14287
14357
|
"type"?: string;
|
|
14288
14358
|
"ipAddress"?: string;
|
|
@@ -14746,6 +14816,10 @@ declare namespace Models {
|
|
|
14746
14816
|
"rootDomain"?: string;
|
|
14747
14817
|
}
|
|
14748
14818
|
|
|
14819
|
+
export interface EmailsSettings {
|
|
14820
|
+
"sendingSizeLimit"?: number;
|
|
14821
|
+
}
|
|
14822
|
+
|
|
14749
14823
|
export interface EmbeddedIntegration {
|
|
14750
14824
|
"enableWhitelist"?: boolean;
|
|
14751
14825
|
"domainWhitelist"?: Array<string>;
|
|
@@ -14804,6 +14878,7 @@ declare namespace Models {
|
|
|
14804
14878
|
"keydataSummary"?: string;
|
|
14805
14879
|
"user"?: Models.User;
|
|
14806
14880
|
"localEncryptionConfiguration"?: Models.LocalEncryptionConfiguration;
|
|
14881
|
+
"keyConfigurationType"?: string;
|
|
14807
14882
|
"selfUri"?: string;
|
|
14808
14883
|
}
|
|
14809
14884
|
|
|
@@ -15095,8 +15170,8 @@ declare namespace Models {
|
|
|
15095
15170
|
"commentsRequired"?: boolean;
|
|
15096
15171
|
"visibilityCondition"?: Models.VisibilityCondition;
|
|
15097
15172
|
"answerOptions"?: Array<Models.AnswerOption>;
|
|
15098
|
-
"isKill"?: boolean;
|
|
15099
15173
|
"isCritical"?: boolean;
|
|
15174
|
+
"isKill"?: boolean;
|
|
15100
15175
|
}
|
|
15101
15176
|
|
|
15102
15177
|
export interface EvaluationQuestionGroup {
|
|
@@ -15135,6 +15210,7 @@ declare namespace Models {
|
|
|
15135
15210
|
"answerId"?: string;
|
|
15136
15211
|
"score"?: number;
|
|
15137
15212
|
"markedNA"?: boolean;
|
|
15213
|
+
"assistedAnswerId"?: string;
|
|
15138
15214
|
"failedKillQuestion"?: boolean;
|
|
15139
15215
|
"comments"?: string;
|
|
15140
15216
|
}
|
|
@@ -15147,6 +15223,7 @@ declare namespace Models {
|
|
|
15147
15223
|
"anyFailedKillQuestions"?: boolean;
|
|
15148
15224
|
"comments"?: string;
|
|
15149
15225
|
"agentComments"?: string;
|
|
15226
|
+
"transcriptTopics"?: Array<Models.TranscriptTopic>;
|
|
15150
15227
|
}
|
|
15151
15228
|
|
|
15152
15229
|
export interface EvaluatorActivity {
|
|
@@ -15222,7 +15299,7 @@ declare namespace Models {
|
|
|
15222
15299
|
}
|
|
15223
15300
|
|
|
15224
15301
|
export interface ExpiredEdgeListing {
|
|
15225
|
-
"entities"?: Array<Models.
|
|
15302
|
+
"entities"?: Array<Models.DomainEntityRef>;
|
|
15226
15303
|
}
|
|
15227
15304
|
|
|
15228
15305
|
export interface ExportScriptRequest {
|
|
@@ -15837,6 +15914,98 @@ declare namespace Models {
|
|
|
15837
15914
|
"selfUri"?: string;
|
|
15838
15915
|
}
|
|
15839
15916
|
|
|
15917
|
+
export interface FlowMetricsTopicConversationMetricRecord {
|
|
15918
|
+
"metric"?: string;
|
|
15919
|
+
"metricDate"?: string;
|
|
15920
|
+
"value"?: number;
|
|
15921
|
+
"recordId"?: string;
|
|
15922
|
+
"activeSkillIds"?: Array<string>;
|
|
15923
|
+
"addressFrom"?: string;
|
|
15924
|
+
"addressTo"?: string;
|
|
15925
|
+
"agentAssistantId"?: string;
|
|
15926
|
+
"agentBullseyeRing"?: number;
|
|
15927
|
+
"agentOwned"?: boolean;
|
|
15928
|
+
"ani"?: string;
|
|
15929
|
+
"assignerId"?: string;
|
|
15930
|
+
"authenticated"?: boolean;
|
|
15931
|
+
"conversationId"?: string;
|
|
15932
|
+
"conversationInitiator"?: string;
|
|
15933
|
+
"convertedFrom"?: string;
|
|
15934
|
+
"convertedTo"?: string;
|
|
15935
|
+
"customerParticipation"?: boolean;
|
|
15936
|
+
"deliveryStatus"?: string;
|
|
15937
|
+
"destinationAddresses"?: Array<string>;
|
|
15938
|
+
"direction"?: string;
|
|
15939
|
+
"disconnectType"?: string;
|
|
15940
|
+
"divisionIds"?: Array<string>;
|
|
15941
|
+
"dnis"?: string;
|
|
15942
|
+
"edgeId"?: string;
|
|
15943
|
+
"eligibleAgentCounts"?: Array<number>;
|
|
15944
|
+
"extendedDeliveryStatus"?: string;
|
|
15945
|
+
"externalContactId"?: string;
|
|
15946
|
+
"externalMediaCount"?: number;
|
|
15947
|
+
"externalOrganizationId"?: string;
|
|
15948
|
+
"externalTag"?: string;
|
|
15949
|
+
"firstQueue"?: boolean;
|
|
15950
|
+
"flaggedReason"?: string;
|
|
15951
|
+
"flowInType"?: string;
|
|
15952
|
+
"flowOutType"?: string;
|
|
15953
|
+
"groupId"?: string;
|
|
15954
|
+
"interactionType"?: string;
|
|
15955
|
+
"journeyActionId"?: string;
|
|
15956
|
+
"journeyActionMapId"?: string;
|
|
15957
|
+
"journeyActionMapVersion"?: number;
|
|
15958
|
+
"journeyCustomerId"?: string;
|
|
15959
|
+
"journeyCustomerIdType"?: string;
|
|
15960
|
+
"journeyCustomerSessionId"?: string;
|
|
15961
|
+
"journeyCustomerSessionIdType"?: string;
|
|
15962
|
+
"knowledgeBaseIds"?: Array<string>;
|
|
15963
|
+
"mediaCount"?: number;
|
|
15964
|
+
"mediaType"?: string;
|
|
15965
|
+
"messageType"?: string;
|
|
15966
|
+
"originatingDirection"?: string;
|
|
15967
|
+
"outboundCampaignId"?: string;
|
|
15968
|
+
"outboundContactId"?: string;
|
|
15969
|
+
"outboundContactListId"?: string;
|
|
15970
|
+
"participantName"?: string;
|
|
15971
|
+
"peerId"?: string;
|
|
15972
|
+
"provider"?: string;
|
|
15973
|
+
"purpose"?: string;
|
|
15974
|
+
"queueId"?: string;
|
|
15975
|
+
"remote"?: string;
|
|
15976
|
+
"removedSkillIds"?: Array<string>;
|
|
15977
|
+
"reoffered"?: boolean;
|
|
15978
|
+
"requestedLanguageId"?: string;
|
|
15979
|
+
"requestedRoutingSkillIds"?: Array<string>;
|
|
15980
|
+
"requestedRoutings"?: Array<string>;
|
|
15981
|
+
"roomId"?: string;
|
|
15982
|
+
"routingPriority"?: number;
|
|
15983
|
+
"routingRing"?: number;
|
|
15984
|
+
"selectedAgentId"?: string;
|
|
15985
|
+
"selectedAgentRank"?: number;
|
|
15986
|
+
"selfServed"?: boolean;
|
|
15987
|
+
"sessionDnis"?: string;
|
|
15988
|
+
"sessionId"?: string;
|
|
15989
|
+
"stationId"?: string;
|
|
15990
|
+
"teamId"?: string;
|
|
15991
|
+
"usedRouting"?: string;
|
|
15992
|
+
"userId"?: string;
|
|
15993
|
+
"waitingInteractionCounts"?: Array<number>;
|
|
15994
|
+
"wrapUpCode"?: string;
|
|
15995
|
+
"proposedAgents"?: Array<Models.FlowMetricsTopicConversationProposedAgent>;
|
|
15996
|
+
"scoredAgents"?: Array<Models.FlowMetricsTopicConversationScoredAgent>;
|
|
15997
|
+
}
|
|
15998
|
+
|
|
15999
|
+
export interface FlowMetricsTopicConversationProposedAgent {
|
|
16000
|
+
"agentRank"?: number;
|
|
16001
|
+
"proposedAgentId"?: string;
|
|
16002
|
+
}
|
|
16003
|
+
|
|
16004
|
+
export interface FlowMetricsTopicConversationScoredAgent {
|
|
16005
|
+
"agentScore"?: number;
|
|
16006
|
+
"scoredAgentId"?: string;
|
|
16007
|
+
}
|
|
16008
|
+
|
|
15840
16009
|
export interface FlowMilestone {
|
|
15841
16010
|
"id"?: string;
|
|
15842
16011
|
"name": string;
|
|
@@ -18361,6 +18530,14 @@ declare namespace Models {
|
|
|
18361
18530
|
"selfUri"?: string;
|
|
18362
18531
|
}
|
|
18363
18532
|
|
|
18533
|
+
export interface LearningModuleReassignSummary {
|
|
18534
|
+
"totalReassigned"?: number;
|
|
18535
|
+
"completedCount"?: number;
|
|
18536
|
+
"inProgressCount"?: number;
|
|
18537
|
+
"assignedCount"?: number;
|
|
18538
|
+
"notCompletedCount"?: number;
|
|
18539
|
+
}
|
|
18540
|
+
|
|
18364
18541
|
export interface LearningModuleRequest {
|
|
18365
18542
|
"name": string;
|
|
18366
18543
|
"description"?: string;
|
|
@@ -20766,6 +20943,7 @@ declare namespace Models {
|
|
|
20766
20943
|
"flaggedReason"?: string;
|
|
20767
20944
|
"startAcwTime"?: string;
|
|
20768
20945
|
"endAcwTime"?: string;
|
|
20946
|
+
"bargedParticipantId"?: string;
|
|
20769
20947
|
}
|
|
20770
20948
|
|
|
20771
20949
|
export interface ParticipantAttributes {
|
|
@@ -20818,6 +20996,7 @@ declare namespace Models {
|
|
|
20818
20996
|
"flaggedReason"?: string;
|
|
20819
20997
|
"startAcwTime"?: string;
|
|
20820
20998
|
"endAcwTime"?: string;
|
|
20999
|
+
"bargedParticipantId"?: string;
|
|
20821
21000
|
}
|
|
20822
21001
|
|
|
20823
21002
|
export interface ParticipantMetrics {
|
|
@@ -21466,6 +21645,7 @@ declare namespace Models {
|
|
|
21466
21645
|
}
|
|
21467
21646
|
|
|
21468
21647
|
export interface PredictiveRouting {
|
|
21648
|
+
"respectSkills"?: boolean;
|
|
21469
21649
|
}
|
|
21470
21650
|
|
|
21471
21651
|
export interface Predictor {
|
|
@@ -24038,6 +24218,16 @@ declare namespace Models {
|
|
|
24038
24218
|
}
|
|
24039
24219
|
|
|
24040
24220
|
export interface QueueMemberEntityListing {
|
|
24221
|
+
"entities"?: Array<Models.QueueMember>;
|
|
24222
|
+
"pageNumber"?: number;
|
|
24223
|
+
"pageSize"?: number;
|
|
24224
|
+
"firstUri"?: string;
|
|
24225
|
+
"selfUri"?: string;
|
|
24226
|
+
"nextUri"?: string;
|
|
24227
|
+
"previousUri"?: string;
|
|
24228
|
+
}
|
|
24229
|
+
|
|
24230
|
+
export interface QueueMemberEntityListingV1 {
|
|
24041
24231
|
"entities"?: Array<Models.QueueMember>;
|
|
24042
24232
|
"pageSize"?: number;
|
|
24043
24233
|
"pageNumber"?: number;
|
|
@@ -24893,6 +25083,7 @@ declare namespace Models {
|
|
|
24893
25083
|
"dateModified"?: string;
|
|
24894
25084
|
"version"?: number;
|
|
24895
25085
|
"responses": { [key: string]: Models.Reaction; };
|
|
25086
|
+
"beepDetectionEnabled"?: boolean;
|
|
24896
25087
|
"selfUri"?: string;
|
|
24897
25088
|
}
|
|
24898
25089
|
|
|
@@ -26886,6 +27077,7 @@ declare namespace Models {
|
|
|
26886
27077
|
"answerId"?: string;
|
|
26887
27078
|
"score"?: number;
|
|
26888
27079
|
"markedNA"?: boolean;
|
|
27080
|
+
"assistedAnswerId"?: string;
|
|
26889
27081
|
"npsScore"?: number;
|
|
26890
27082
|
"npsTextAnswer"?: string;
|
|
26891
27083
|
"freeTextAnswer"?: string;
|
|
@@ -27002,6 +27194,7 @@ declare namespace Models {
|
|
|
27002
27194
|
"name": string;
|
|
27003
27195
|
"division"?: Models.WritableDivision;
|
|
27004
27196
|
"description"?: string;
|
|
27197
|
+
"dateCreated"?: string;
|
|
27005
27198
|
"dateModified"?: string;
|
|
27006
27199
|
"memberCount"?: number;
|
|
27007
27200
|
"selfUri"?: string;
|
|
@@ -27405,6 +27598,10 @@ declare namespace Models {
|
|
|
27405
27598
|
"selfUri"?: string;
|
|
27406
27599
|
}
|
|
27407
27600
|
|
|
27601
|
+
export interface TopicDuration {
|
|
27602
|
+
"totalMilliseconds"?: number;
|
|
27603
|
+
}
|
|
27604
|
+
|
|
27408
27605
|
export interface TopicJob {
|
|
27409
27606
|
"id"?: string;
|
|
27410
27607
|
"state"?: string;
|
|
@@ -27538,6 +27735,16 @@ declare namespace Models {
|
|
|
27538
27735
|
"query"?: Array<Models.TranscriptSearchCriteria>;
|
|
27539
27736
|
}
|
|
27540
27737
|
|
|
27738
|
+
export interface TranscriptTopic {
|
|
27739
|
+
"id"?: string;
|
|
27740
|
+
"name"?: string;
|
|
27741
|
+
"topicPhrase"?: string;
|
|
27742
|
+
"transcriptPhrase"?: string;
|
|
27743
|
+
"confidence"?: number;
|
|
27744
|
+
"startTimeMilliseconds"?: number;
|
|
27745
|
+
"duration"?: Models.TopicDuration;
|
|
27746
|
+
}
|
|
27747
|
+
|
|
27541
27748
|
export interface TranscriptTopics {
|
|
27542
27749
|
"includes"?: Array<string>;
|
|
27543
27750
|
"excludes"?: Array<string>;
|
|
@@ -29123,6 +29330,7 @@ declare namespace Models {
|
|
|
29123
29330
|
"associatedDate"?: string;
|
|
29124
29331
|
"defaultUser"?: Models.User;
|
|
29125
29332
|
"providerInfo"?: { [key: string]: string; };
|
|
29333
|
+
"webRtcCallAppearances"?: number;
|
|
29126
29334
|
}
|
|
29127
29335
|
|
|
29128
29336
|
export interface UserStationChangeTopicUser {
|
|
@@ -29405,6 +29613,9 @@ declare namespace Models {
|
|
|
29405
29613
|
"journeyUrlNotContainsAllConditions"?: Array<string>;
|
|
29406
29614
|
"flowMilestoneIds"?: Array<string>;
|
|
29407
29615
|
"isAssessmentPassed"?: boolean;
|
|
29616
|
+
"conversationInitiator"?: string;
|
|
29617
|
+
"hasCustomerParticipated"?: boolean;
|
|
29618
|
+
"isAcdInteraction"?: boolean;
|
|
29408
29619
|
}
|
|
29409
29620
|
|
|
29410
29621
|
export interface VisibilityCondition {
|
|
@@ -31352,6 +31563,29 @@ declare namespace Models {
|
|
|
31352
31563
|
"pageCount"?: number;
|
|
31353
31564
|
}
|
|
31354
31565
|
|
|
31566
|
+
export interface WrapupDetailEventTopicWrapupEvent {
|
|
31567
|
+
"eventTime"?: number;
|
|
31568
|
+
"conversationId"?: string;
|
|
31569
|
+
"participantId"?: string;
|
|
31570
|
+
"sessionId"?: string;
|
|
31571
|
+
"mediaType"?: string;
|
|
31572
|
+
"provider"?: string;
|
|
31573
|
+
"direction"?: string;
|
|
31574
|
+
"ani"?: string;
|
|
31575
|
+
"dnis"?: string;
|
|
31576
|
+
"addressTo"?: string;
|
|
31577
|
+
"addressFrom"?: string;
|
|
31578
|
+
"callbackUserName"?: string;
|
|
31579
|
+
"callbackNumbers"?: Array<string>;
|
|
31580
|
+
"callbackScheduledTime"?: number;
|
|
31581
|
+
"subject"?: string;
|
|
31582
|
+
"messageType"?: string;
|
|
31583
|
+
"queueId"?: string;
|
|
31584
|
+
"wrapupCode"?: string;
|
|
31585
|
+
"wrapupNotes"?: string;
|
|
31586
|
+
"wrapupDurationMs"?: number;
|
|
31587
|
+
}
|
|
31588
|
+
|
|
31355
31589
|
export interface WritableDialerContact {
|
|
31356
31590
|
"id"?: string;
|
|
31357
31591
|
"contactListId": string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "purecloud-platform-client-v2",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "133.0.1",
|
|
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",
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"configparser": "^0.3.9",
|
|
34
|
-
"superagent": "^
|
|
35
|
-
"winston": "^3.
|
|
34
|
+
"superagent": "^7.1.1",
|
|
35
|
+
"winston": "^3.6.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"mocha": "~2.
|
|
39
|
-
"sinon": "
|
|
38
|
+
"mocha": "~9.2.0",
|
|
39
|
+
"sinon": "13.0.1",
|
|
40
40
|
"expect.js": "~0.3.1",
|
|
41
|
-
"rollup
|
|
42
|
-
"rollup
|
|
43
|
-
"rollup
|
|
41
|
+
"@rollup/plugin-commonjs": "^21.0.1",
|
|
42
|
+
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
43
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
44
44
|
"rollup-plugin-re": "^1.0.7",
|
|
45
45
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
46
|
-
"rollup-plugin-node-globals": "^1.
|
|
46
|
+
"rollup-plugin-node-globals": "^1.4.0"
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -3,7 +3,7 @@ import Configuration from './configuration.js';
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6
|
-
* @version
|
|
6
|
+
* @version 133.0.1
|
|
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': '
|
|
953
|
+
//request.set({ 'purecloud-sdk': '133.0.1' });
|
|
954
954
|
|
|
955
955
|
// set request timeout
|
|
956
956
|
request.timeout(that.timeout);
|