purecloud-platform-client-v2 131.1.0 → 132.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 +94 -81
- package/dist/web-amd/purecloud-platform-client-v2.js +95 -82
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +100 -87
- package/dist/web-cjs/purecloud-platform-client-v2.js +3747 -942
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +65 -10
- 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 +2 -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 +2 -2
- 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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/index.d.ts
CHANGED
|
@@ -1490,7 +1490,7 @@ declare class GamificationApi {
|
|
|
1490
1490
|
postGamificationProfileMembersValidate(performanceProfileId: string, body: Models.ValidateAssignUsers): Promise<Models.AssignmentValidation>;
|
|
1491
1491
|
postGamificationProfileMetricLink(sourceProfileId: string, sourceMetricId: string, body: Models.TargetPerformanceProfile): Promise<Models.Metric>;
|
|
1492
1492
|
postGamificationProfileMetrics(profileId: string, body: Models.CreateMetric): Promise<Models.Metric>;
|
|
1493
|
-
postGamificationProfiles(body: Models.CreatePerformanceProfile): Promise<Models.GetProfilesResponse>;
|
|
1493
|
+
postGamificationProfiles(body: Models.CreatePerformanceProfile, opts?: GamificationApi.postGamificationProfilesOptions): Promise<Models.GetProfilesResponse>;
|
|
1494
1494
|
putGamificationMetric(metricId: string, body: Models.CreateMetric, opts?: GamificationApi.putGamificationMetricOptions): Promise<Models.Metric>;
|
|
1495
1495
|
putGamificationProfile(performanceProfileId: string, opts?: GamificationApi.putGamificationProfileOptions): Promise<Models.PerformanceProfile>;
|
|
1496
1496
|
putGamificationProfileMetric(profileId: string, metricId: string, body: Models.CreateMetric): Promise<Models.Metric>;
|
|
@@ -1557,6 +1557,9 @@ declare namespace GamificationApi {
|
|
|
1557
1557
|
"referenceWorkday"?: string;
|
|
1558
1558
|
"timeZone"?: string;
|
|
1559
1559
|
}
|
|
1560
|
+
export interface postGamificationProfilesOptions {
|
|
1561
|
+
"copyMetrics"?: boolean;
|
|
1562
|
+
}
|
|
1560
1563
|
export interface putGamificationMetricOptions {
|
|
1561
1564
|
"performanceProfileId"?: string;
|
|
1562
1565
|
}
|
|
@@ -2673,7 +2676,7 @@ declare class OutboundApi {
|
|
|
2673
2676
|
postOutboundContactlists(body: Models.ContactList): Promise<Models.ContactList>;
|
|
2674
2677
|
postOutboundConversationDnc(conversationId: string): Promise<void>;
|
|
2675
2678
|
postOutboundDnclistExport(dncListId: string): Promise<Models.DomainEntityRef>;
|
|
2676
|
-
postOutboundDnclistPhonenumbers(dncListId: string, body: Array<string
|
|
2679
|
+
postOutboundDnclistPhonenumbers(dncListId: string, body: Array<string>, opts?: OutboundApi.postOutboundDnclistPhonenumbersOptions): Promise<void>;
|
|
2677
2680
|
postOutboundDnclists(body: Models.DncListCreate): Promise<Models.DncList>;
|
|
2678
2681
|
postOutboundMessagingcampaigns(body: Models.MessagingCampaign): Promise<Models.MessagingCampaign>;
|
|
2679
2682
|
postOutboundMessagingcampaignsProgress(body: Array<string>): Promise<Array<Models.CampaignProgress>>;
|
|
@@ -2917,6 +2920,9 @@ declare namespace OutboundApi {
|
|
|
2917
2920
|
"clearSystemData"?: boolean;
|
|
2918
2921
|
"doNotQueue"?: boolean;
|
|
2919
2922
|
}
|
|
2923
|
+
export interface postOutboundDnclistPhonenumbersOptions {
|
|
2924
|
+
"expirationDateTime"?: string;
|
|
2925
|
+
}
|
|
2920
2926
|
}
|
|
2921
2927
|
|
|
2922
2928
|
declare class PresenceApi {
|
|
@@ -3220,10 +3226,12 @@ declare namespace RecordingApi {
|
|
|
3220
3226
|
"download"?: boolean;
|
|
3221
3227
|
"fileName"?: string;
|
|
3222
3228
|
"locale"?: string;
|
|
3229
|
+
"mediaFormats"?: Array<string>;
|
|
3223
3230
|
}
|
|
3224
3231
|
export interface getConversationRecordingsOptions {
|
|
3225
3232
|
"maxWaitMs"?: number;
|
|
3226
3233
|
"formatId"?: string;
|
|
3234
|
+
"mediaFormats"?: Array<string>;
|
|
3227
3235
|
}
|
|
3228
3236
|
export interface getOrphanrecordingMediaOptions {
|
|
3229
3237
|
"formatId"?: string;
|
|
@@ -3233,6 +3241,7 @@ declare namespace RecordingApi {
|
|
|
3233
3241
|
"download"?: boolean;
|
|
3234
3242
|
"fileName"?: string;
|
|
3235
3243
|
"locale"?: string;
|
|
3244
|
+
"mediaFormats"?: Array<string>;
|
|
3236
3245
|
}
|
|
3237
3246
|
export interface getOrphanrecordingsOptions {
|
|
3238
3247
|
"pageSize"?: number;
|
|
@@ -3382,7 +3391,7 @@ declare class RoutingApi {
|
|
|
3382
3391
|
getRoutingQueueEstimatedwaittime(queueId: string, opts?: RoutingApi.getRoutingQueueEstimatedwaittimeOptions): Promise<Models.EstimatedWaitTimePredictions>;
|
|
3383
3392
|
getRoutingQueueMediatypeEstimatedwaittime(queueId: string, mediaType: string): Promise<Models.EstimatedWaitTimePredictions>;
|
|
3384
3393
|
getRoutingQueueMembers(queueId: string, opts?: RoutingApi.getRoutingQueueMembersOptions): Promise<Models.QueueMemberEntityListing>;
|
|
3385
|
-
getRoutingQueueUsers(queueId: string, opts?: RoutingApi.getRoutingQueueUsersOptions): Promise<Models.
|
|
3394
|
+
getRoutingQueueUsers(queueId: string, opts?: RoutingApi.getRoutingQueueUsersOptions): Promise<Models.QueueMemberEntityListingV1>;
|
|
3386
3395
|
getRoutingQueueWrapupcodes(queueId: string, opts?: RoutingApi.getRoutingQueueWrapupcodesOptions): Promise<Models.WrapupCodeEntityListing>;
|
|
3387
3396
|
getRoutingQueues(opts?: RoutingApi.getRoutingQueuesOptions): Promise<Models.QueueEntityListing>;
|
|
3388
3397
|
getRoutingQueuesDivisionviews(opts?: RoutingApi.getRoutingQueuesDivisionviewsOptions): Promise<Models.QueueEntityListing>;
|
|
@@ -3412,7 +3421,7 @@ declare class RoutingApi {
|
|
|
3412
3421
|
patchRoutingQueueMember(queueId: string, memberId: string, body: Models.QueueMember): Promise<void>;
|
|
3413
3422
|
patchRoutingQueueMembers(queueId: string, body: Array<Models.QueueMember>): Promise<Models.QueueMemberEntityListing>;
|
|
3414
3423
|
patchRoutingQueueUser(queueId: string, memberId: string, body: Models.QueueMember): Promise<void>;
|
|
3415
|
-
patchRoutingQueueUsers(queueId: string, body: Array<Models.QueueMember>): Promise<Models.
|
|
3424
|
+
patchRoutingQueueUsers(queueId: string, body: Array<Models.QueueMember>): Promise<Models.QueueMemberEntityListingV1>;
|
|
3416
3425
|
patchRoutingSettingsContactcenter(body: Models.ContactCenterSettings): Promise<void>;
|
|
3417
3426
|
patchUserQueue(queueId: string, userId: string, body: Models.UserQueue): Promise<Models.UserQueue>;
|
|
3418
3427
|
patchUserQueues(userId: string, body: Array<Models.UserQueue>, opts?: RoutingApi.patchUserQueuesOptions): Promise<Models.UserQueueEntityListing>;
|
|
@@ -6101,6 +6110,7 @@ declare namespace Models {
|
|
|
6101
6110
|
"id"?: string;
|
|
6102
6111
|
"text"?: string;
|
|
6103
6112
|
"value"?: number;
|
|
6113
|
+
"assistanceConditions"?: Array<Models.AssistanceCondition>;
|
|
6104
6114
|
}
|
|
6105
6115
|
|
|
6106
6116
|
export interface ApiUsageQuery {
|
|
@@ -6469,6 +6479,11 @@ declare namespace Models {
|
|
|
6469
6479
|
"invalidMemberAssignments"?: Array<Models.InvalidAssignment>;
|
|
6470
6480
|
}
|
|
6471
6481
|
|
|
6482
|
+
export interface AssistanceCondition {
|
|
6483
|
+
"operator"?: string;
|
|
6484
|
+
"topicIds"?: Array<string>;
|
|
6485
|
+
}
|
|
6486
|
+
|
|
6472
6487
|
export interface AssociatedValueField {
|
|
6473
6488
|
"dataType": string;
|
|
6474
6489
|
"name": string;
|
|
@@ -6864,6 +6879,7 @@ declare namespace Models {
|
|
|
6864
6879
|
|
|
6865
6880
|
export interface AutomaticTimeZoneMappingSettings {
|
|
6866
6881
|
"callableWindows"?: Array<Models.CallableWindow>;
|
|
6882
|
+
"supportedCountries"?: Array<string>;
|
|
6867
6883
|
}
|
|
6868
6884
|
|
|
6869
6885
|
export interface AvailableLanguageList {
|
|
@@ -10957,6 +10973,10 @@ declare namespace Models {
|
|
|
10957
10973
|
"endTime"?: string;
|
|
10958
10974
|
}
|
|
10959
10975
|
|
|
10976
|
+
export interface ConversationEventTyping {
|
|
10977
|
+
"type": string;
|
|
10978
|
+
}
|
|
10979
|
+
|
|
10960
10980
|
export interface ConversationMessageContent {
|
|
10961
10981
|
"contentType": string;
|
|
10962
10982
|
"location"?: Models.ConversationContentLocation;
|
|
@@ -10971,6 +10991,7 @@ declare namespace Models {
|
|
|
10971
10991
|
export interface ConversationMessageEvent {
|
|
10972
10992
|
"eventType": string;
|
|
10973
10993
|
"coBrowse"?: Models.ConversationEventCoBrowse;
|
|
10994
|
+
"typing"?: Models.ConversationEventTyping;
|
|
10974
10995
|
}
|
|
10975
10996
|
|
|
10976
10997
|
export interface ConversationMessageEventTopicConversationRoutingData {
|
|
@@ -13520,6 +13541,7 @@ declare namespace Models {
|
|
|
13520
13541
|
"division"?: Models.Division;
|
|
13521
13542
|
"importStatus"?: Models.ImportStatus;
|
|
13522
13543
|
"size"?: number;
|
|
13544
|
+
"dncSourceType"?: string;
|
|
13523
13545
|
"selfUri"?: string;
|
|
13524
13546
|
}
|
|
13525
13547
|
|
|
@@ -14278,11 +14300,6 @@ declare namespace Models {
|
|
|
14278
14300
|
"pageCount"?: number;
|
|
14279
14301
|
}
|
|
14280
14302
|
|
|
14281
|
-
export interface EdgeIdNamePair {
|
|
14282
|
-
"id"?: string;
|
|
14283
|
-
"name"?: string;
|
|
14284
|
-
}
|
|
14285
|
-
|
|
14286
14303
|
export interface EdgeInterface {
|
|
14287
14304
|
"type"?: string;
|
|
14288
14305
|
"ipAddress"?: string;
|
|
@@ -15135,6 +15152,7 @@ declare namespace Models {
|
|
|
15135
15152
|
"answerId"?: string;
|
|
15136
15153
|
"score"?: number;
|
|
15137
15154
|
"markedNA"?: boolean;
|
|
15155
|
+
"assistedAnswerId"?: string;
|
|
15138
15156
|
"failedKillQuestion"?: boolean;
|
|
15139
15157
|
"comments"?: string;
|
|
15140
15158
|
}
|
|
@@ -15147,6 +15165,7 @@ declare namespace Models {
|
|
|
15147
15165
|
"anyFailedKillQuestions"?: boolean;
|
|
15148
15166
|
"comments"?: string;
|
|
15149
15167
|
"agentComments"?: string;
|
|
15168
|
+
"transcriptTopics"?: Array<Models.TranscriptTopic>;
|
|
15150
15169
|
}
|
|
15151
15170
|
|
|
15152
15171
|
export interface EvaluatorActivity {
|
|
@@ -15222,7 +15241,7 @@ declare namespace Models {
|
|
|
15222
15241
|
}
|
|
15223
15242
|
|
|
15224
15243
|
export interface ExpiredEdgeListing {
|
|
15225
|
-
"entities"?: Array<Models.
|
|
15244
|
+
"entities"?: Array<Models.DomainEntityRef>;
|
|
15226
15245
|
}
|
|
15227
15246
|
|
|
15228
15247
|
export interface ExportScriptRequest {
|
|
@@ -18361,6 +18380,14 @@ declare namespace Models {
|
|
|
18361
18380
|
"selfUri"?: string;
|
|
18362
18381
|
}
|
|
18363
18382
|
|
|
18383
|
+
export interface LearningModuleReassignSummary {
|
|
18384
|
+
"totalReassigned"?: number;
|
|
18385
|
+
"completedCount"?: number;
|
|
18386
|
+
"inProgressCount"?: number;
|
|
18387
|
+
"assignedCount"?: number;
|
|
18388
|
+
"notCompletedCount"?: number;
|
|
18389
|
+
}
|
|
18390
|
+
|
|
18364
18391
|
export interface LearningModuleRequest {
|
|
18365
18392
|
"name": string;
|
|
18366
18393
|
"description"?: string;
|
|
@@ -21466,6 +21493,7 @@ declare namespace Models {
|
|
|
21466
21493
|
}
|
|
21467
21494
|
|
|
21468
21495
|
export interface PredictiveRouting {
|
|
21496
|
+
"respectSkills"?: boolean;
|
|
21469
21497
|
}
|
|
21470
21498
|
|
|
21471
21499
|
export interface Predictor {
|
|
@@ -24038,6 +24066,16 @@ declare namespace Models {
|
|
|
24038
24066
|
}
|
|
24039
24067
|
|
|
24040
24068
|
export interface QueueMemberEntityListing {
|
|
24069
|
+
"entities"?: Array<Models.QueueMember>;
|
|
24070
|
+
"pageNumber"?: number;
|
|
24071
|
+
"pageSize"?: number;
|
|
24072
|
+
"firstUri"?: string;
|
|
24073
|
+
"selfUri"?: string;
|
|
24074
|
+
"nextUri"?: string;
|
|
24075
|
+
"previousUri"?: string;
|
|
24076
|
+
}
|
|
24077
|
+
|
|
24078
|
+
export interface QueueMemberEntityListingV1 {
|
|
24041
24079
|
"entities"?: Array<Models.QueueMember>;
|
|
24042
24080
|
"pageSize"?: number;
|
|
24043
24081
|
"pageNumber"?: number;
|
|
@@ -26886,6 +26924,7 @@ declare namespace Models {
|
|
|
26886
26924
|
"answerId"?: string;
|
|
26887
26925
|
"score"?: number;
|
|
26888
26926
|
"markedNA"?: boolean;
|
|
26927
|
+
"assistedAnswerId"?: string;
|
|
26889
26928
|
"npsScore"?: number;
|
|
26890
26929
|
"npsTextAnswer"?: string;
|
|
26891
26930
|
"freeTextAnswer"?: string;
|
|
@@ -27002,6 +27041,7 @@ declare namespace Models {
|
|
|
27002
27041
|
"name": string;
|
|
27003
27042
|
"division"?: Models.WritableDivision;
|
|
27004
27043
|
"description"?: string;
|
|
27044
|
+
"dateCreated"?: string;
|
|
27005
27045
|
"dateModified"?: string;
|
|
27006
27046
|
"memberCount"?: number;
|
|
27007
27047
|
"selfUri"?: string;
|
|
@@ -27405,6 +27445,10 @@ declare namespace Models {
|
|
|
27405
27445
|
"selfUri"?: string;
|
|
27406
27446
|
}
|
|
27407
27447
|
|
|
27448
|
+
export interface TopicDuration {
|
|
27449
|
+
"totalMilliseconds"?: number;
|
|
27450
|
+
}
|
|
27451
|
+
|
|
27408
27452
|
export interface TopicJob {
|
|
27409
27453
|
"id"?: string;
|
|
27410
27454
|
"state"?: string;
|
|
@@ -27538,6 +27582,16 @@ declare namespace Models {
|
|
|
27538
27582
|
"query"?: Array<Models.TranscriptSearchCriteria>;
|
|
27539
27583
|
}
|
|
27540
27584
|
|
|
27585
|
+
export interface TranscriptTopic {
|
|
27586
|
+
"id"?: string;
|
|
27587
|
+
"name"?: string;
|
|
27588
|
+
"topicPhrase"?: string;
|
|
27589
|
+
"transcriptPhrase"?: string;
|
|
27590
|
+
"confidence"?: number;
|
|
27591
|
+
"startTimeMilliseconds"?: number;
|
|
27592
|
+
"duration"?: Models.TopicDuration;
|
|
27593
|
+
}
|
|
27594
|
+
|
|
27541
27595
|
export interface TranscriptTopics {
|
|
27542
27596
|
"includes"?: Array<string>;
|
|
27543
27597
|
"excludes"?: Array<string>;
|
|
@@ -29123,6 +29177,7 @@ declare namespace Models {
|
|
|
29123
29177
|
"associatedDate"?: string;
|
|
29124
29178
|
"defaultUser"?: Models.User;
|
|
29125
29179
|
"providerInfo"?: { [key: string]: string; };
|
|
29180
|
+
"webRtcCallAppearances"?: number;
|
|
29126
29181
|
}
|
|
29127
29182
|
|
|
29128
29183
|
export interface UserStationChangeTopicUser {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "purecloud-platform-client-v2",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "132.0.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",
|
|
@@ -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 132.0.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': '
|
|
953
|
+
//request.set({ 'purecloud-sdk': '132.0.0' });
|
|
954
954
|
|
|
955
955
|
// set request timeout
|
|
956
956
|
request.timeout(that.timeout);
|
|
@@ -5,7 +5,7 @@ class ConversationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Conversations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 132.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -4155,7 +4155,7 @@ class ConversationsApi {
|
|
|
4155
4155
|
|
|
4156
4156
|
/**
|
|
4157
4157
|
* Send an agentless outbound message
|
|
4158
|
-
* Send an
|
|
4158
|
+
* Send an agentless (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will generate a new Conversation, if there is an existing active Conversation between the fromAddress and toAddress already, then this POST will fail.
|
|
4159
4159
|
* @param {Object} body Create agentless outbound messaging request
|
|
4160
4160
|
*/
|
|
4161
4161
|
postConversationsMessagesAgentless(body) {
|
|
@@ -5,7 +5,7 @@ class GamificationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Gamification service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 132.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1281,8 +1281,12 @@ class GamificationApi {
|
|
|
1281
1281
|
* Create a new custom performance profile
|
|
1282
1282
|
*
|
|
1283
1283
|
* @param {Object} body performanceProfile
|
|
1284
|
+
* @param {Object} opts Optional parameters
|
|
1285
|
+
* @param {Boolean} opts.copyMetrics Flag to copy metrics. If set to false, there will be no metrics associated with the new profile. If set to true or is absent (the default behavior), all metrics from the default profile will be copied over into the new profile. (default to true)
|
|
1284
1286
|
*/
|
|
1285
|
-
postGamificationProfiles(body) {
|
|
1287
|
+
postGamificationProfiles(body, opts) {
|
|
1288
|
+
opts = opts || {};
|
|
1289
|
+
|
|
1286
1290
|
// verify the required parameter 'body' is set
|
|
1287
1291
|
if (body === undefined || body === null) {
|
|
1288
1292
|
throw 'Missing the required parameter "body" when calling postGamificationProfiles';
|
|
@@ -1292,7 +1296,7 @@ class GamificationApi {
|
|
|
1292
1296
|
'/api/v2/gamification/profiles',
|
|
1293
1297
|
'POST',
|
|
1294
1298
|
{ },
|
|
1295
|
-
{
|
|
1299
|
+
{ 'copyMetrics': opts['copyMetrics'] },
|
|
1296
1300
|
{ },
|
|
1297
1301
|
{ },
|
|
1298
1302
|
body,
|