purecloud-platform-client-v2 129.0.0 → 130.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 +83 -77
- package/dist/web-amd/purecloud-platform-client-v2.js +83 -77
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +83 -77
- package/dist/web-cjs/purecloud-platform-client-v2.js +83 -77
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +137 -12
- package/package.json +1 -1
- 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 +5 -3
- 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/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/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/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/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +8 -4
- 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 +2 -2
- 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
|
@@ -800,6 +800,7 @@ declare namespace CoachingApi {
|
|
|
800
800
|
"relationships"?: Array<string>;
|
|
801
801
|
"completionInterval"?: string;
|
|
802
802
|
"overdue"?: string;
|
|
803
|
+
"intervalCondition"?: string;
|
|
803
804
|
}
|
|
804
805
|
export interface getCoachingAppointmentsMeOptions {
|
|
805
806
|
"interval"?: string;
|
|
@@ -811,6 +812,7 @@ declare namespace CoachingApi {
|
|
|
811
812
|
"relationships"?: Array<string>;
|
|
812
813
|
"completionInterval"?: string;
|
|
813
814
|
"overdue"?: string;
|
|
815
|
+
"intervalCondition"?: string;
|
|
814
816
|
}
|
|
815
817
|
export interface getCoachingNotificationOptions {
|
|
816
818
|
"expand"?: Array<string>;
|
|
@@ -1466,17 +1468,17 @@ declare class GamificationApi {
|
|
|
1466
1468
|
getGamificationStatus(): Promise<Models.GamificationStatus>;
|
|
1467
1469
|
getGamificationTemplate(templateId: string): Promise<Models.ObjectiveTemplate>;
|
|
1468
1470
|
getGamificationTemplates(): Promise<Models.GetTemplatesResponse>;
|
|
1469
|
-
postGamificationMetrics(body: Models.
|
|
1471
|
+
postGamificationMetrics(body: Models.CreateMetric): Promise<Models.Metric>;
|
|
1470
1472
|
postGamificationProfileActivate(performanceProfileId: string): Promise<Models.PerformanceProfile>;
|
|
1471
1473
|
postGamificationProfileDeactivate(performanceProfileId: string): Promise<Models.PerformanceProfile>;
|
|
1472
1474
|
postGamificationProfileMembers(performanceProfileId: string, body: Models.AssignUsers): Promise<Models.Assignment>;
|
|
1473
1475
|
postGamificationProfileMembersValidate(performanceProfileId: string, body: Models.ValidateAssignUsers): Promise<Models.AssignmentValidation>;
|
|
1474
1476
|
postGamificationProfileMetricLink(sourceProfileId: string, sourceMetricId: string, body: Models.TargetPerformanceProfile): Promise<Models.Metric>;
|
|
1475
|
-
postGamificationProfileMetrics(profileId: string, body: Models.
|
|
1477
|
+
postGamificationProfileMetrics(profileId: string, body: Models.CreateMetric): Promise<Models.Metric>;
|
|
1476
1478
|
postGamificationProfiles(body: Models.CreatePerformanceProfile): Promise<Models.GetProfilesResponse>;
|
|
1477
|
-
putGamificationMetric(metricId: string, body: Models.
|
|
1479
|
+
putGamificationMetric(metricId: string, body: Models.CreateMetric, opts?: GamificationApi.putGamificationMetricOptions): Promise<Models.Metric>;
|
|
1478
1480
|
putGamificationProfile(performanceProfileId: string, opts?: GamificationApi.putGamificationProfileOptions): Promise<Models.PerformanceProfile>;
|
|
1479
|
-
putGamificationProfileMetric(profileId: string, metricId: string, body: Models.
|
|
1481
|
+
putGamificationProfileMetric(profileId: string, metricId: string, body: Models.CreateMetric): Promise<Models.Metric>;
|
|
1480
1482
|
putGamificationStatus(status: Models.GamificationStatus): Promise<Models.GamificationStatus>;
|
|
1481
1483
|
}
|
|
1482
1484
|
|
|
@@ -3538,10 +3540,14 @@ declare namespace RoutingApi {
|
|
|
3538
3540
|
}
|
|
3539
3541
|
export interface getRoutingSmsPhonenumbersOptions {
|
|
3540
3542
|
"phoneNumber"?: string;
|
|
3541
|
-
"phoneNumberType"?: string
|
|
3542
|
-
"phoneNumberStatus"?: string
|
|
3543
|
+
"phoneNumberType"?: Array<string>;
|
|
3544
|
+
"phoneNumberStatus"?: Array<string>;
|
|
3545
|
+
"countryCode"?: Array<string>;
|
|
3543
3546
|
"pageSize"?: number;
|
|
3544
3547
|
"pageNumber"?: number;
|
|
3548
|
+
"sortBy"?: string;
|
|
3549
|
+
"sortOrder"?: string;
|
|
3550
|
+
"language"?: string;
|
|
3545
3551
|
}
|
|
3546
3552
|
export interface getRoutingWrapupcodesOptions {
|
|
3547
3553
|
"pageSize"?: number;
|
|
@@ -5720,6 +5726,7 @@ declare namespace Models {
|
|
|
5720
5726
|
export interface AnalyticsConversation {
|
|
5721
5727
|
"conversationEnd"?: string;
|
|
5722
5728
|
"conversationId"?: string;
|
|
5729
|
+
"conversationInitiator"?: string;
|
|
5723
5730
|
"conversationStart"?: string;
|
|
5724
5731
|
"divisionIds"?: Array<string>;
|
|
5725
5732
|
"externalTag"?: string;
|
|
@@ -5777,6 +5784,7 @@ declare namespace Models {
|
|
|
5777
5784
|
export interface AnalyticsConversationWithoutAttributes {
|
|
5778
5785
|
"conversationEnd"?: string;
|
|
5779
5786
|
"conversationId"?: string;
|
|
5787
|
+
"conversationInitiator"?: string;
|
|
5780
5788
|
"conversationStart"?: string;
|
|
5781
5789
|
"divisionIds"?: Array<string>;
|
|
5782
5790
|
"externalTag"?: string;
|
|
@@ -5942,6 +5950,7 @@ declare namespace Models {
|
|
|
5942
5950
|
"dnis"?: string;
|
|
5943
5951
|
"edgeId"?: string;
|
|
5944
5952
|
"eligibleAgentCounts"?: Array<number>;
|
|
5953
|
+
"extendedDeliveryStatus"?: string;
|
|
5945
5954
|
"flowInType"?: string;
|
|
5946
5955
|
"flowOutType"?: string;
|
|
5947
5956
|
"journeyActionId"?: string;
|
|
@@ -8865,6 +8874,9 @@ declare namespace Models {
|
|
|
8865
8874
|
"conversations"?: Array<Models.ConversationReference>;
|
|
8866
8875
|
"documents"?: Array<Models.DocumentReference>;
|
|
8867
8876
|
"isOverdue"?: boolean;
|
|
8877
|
+
"wfmSchedule"?: Models.WfmScheduleReference;
|
|
8878
|
+
"dateCompleted"?: string;
|
|
8879
|
+
"externalLinks"?: Array<string>;
|
|
8868
8880
|
"selfUri"?: string;
|
|
8869
8881
|
}
|
|
8870
8882
|
|
|
@@ -9688,6 +9700,11 @@ declare namespace Models {
|
|
|
9688
9700
|
"range"?: Models.AggregationRange;
|
|
9689
9701
|
}
|
|
9690
9702
|
|
|
9703
|
+
export interface ConversationAppSettings {
|
|
9704
|
+
"showAgentTypingIndicator"?: boolean;
|
|
9705
|
+
"showUserTypingIndicator"?: boolean;
|
|
9706
|
+
}
|
|
9707
|
+
|
|
9691
9708
|
export interface ConversationAssociation {
|
|
9692
9709
|
"externalContactId"?: string;
|
|
9693
9710
|
"conversationId": string;
|
|
@@ -11722,8 +11739,10 @@ declare namespace Models {
|
|
|
11722
11739
|
"lengthInMinutes": number;
|
|
11723
11740
|
"facilitatorId"?: string;
|
|
11724
11741
|
"attendeeIds": Array<string>;
|
|
11725
|
-
"conversationIds"
|
|
11726
|
-
"documentIds"
|
|
11742
|
+
"conversationIds"?: Array<string>;
|
|
11743
|
+
"documentIds"?: Array<string>;
|
|
11744
|
+
"wfmSchedule"?: Models.WfmScheduleReference;
|
|
11745
|
+
"externalLinks"?: Array<string>;
|
|
11727
11746
|
}
|
|
11728
11747
|
|
|
11729
11748
|
export interface CreateEmailRequest {
|
|
@@ -11769,6 +11788,24 @@ declare namespace Models {
|
|
|
11769
11788
|
"shiftTrading"?: Models.ShiftTradeSettings;
|
|
11770
11789
|
}
|
|
11771
11790
|
|
|
11791
|
+
export interface CreateMetric {
|
|
11792
|
+
"metricDefinitionId"?: string;
|
|
11793
|
+
"externalMetricDefinitionId"?: string;
|
|
11794
|
+
"objective"?: Models.CreateObjective;
|
|
11795
|
+
"performanceProfileId"?: string;
|
|
11796
|
+
"name": string;
|
|
11797
|
+
}
|
|
11798
|
+
|
|
11799
|
+
export interface CreateObjective {
|
|
11800
|
+
"id"?: string;
|
|
11801
|
+
"templateId"?: string;
|
|
11802
|
+
"zones"?: Array<Models.ObjectiveZone>;
|
|
11803
|
+
"enabled"?: boolean;
|
|
11804
|
+
"topicIds"?: Array<string>;
|
|
11805
|
+
"topicIdsFilterType"?: string;
|
|
11806
|
+
"dateStart"?: string;
|
|
11807
|
+
}
|
|
11808
|
+
|
|
11772
11809
|
export interface CreateOutboundMessagingConversationRequest {
|
|
11773
11810
|
"queueId": string;
|
|
11774
11811
|
"toAddress": string;
|
|
@@ -12474,6 +12511,8 @@ declare namespace Models {
|
|
|
12474
12511
|
"templateId"?: string;
|
|
12475
12512
|
"zones"?: Array<Models.ObjectiveZone>;
|
|
12476
12513
|
"enabled"?: boolean;
|
|
12514
|
+
"topics"?: Array<Models.AddressableEntityRef>;
|
|
12515
|
+
"topicIdsFilterType"?: string;
|
|
12477
12516
|
}
|
|
12478
12517
|
|
|
12479
12518
|
export interface DeletableUserReference {
|
|
@@ -13947,7 +13986,13 @@ declare namespace Models {
|
|
|
13947
13986
|
|
|
13948
13987
|
export interface DraftRequest {
|
|
13949
13988
|
"intents"?: Array<Models.DraftIntents>;
|
|
13950
|
-
|
|
13989
|
+
}
|
|
13990
|
+
|
|
13991
|
+
export interface DraftTopicRequest {
|
|
13992
|
+
"id": string;
|
|
13993
|
+
"name": string;
|
|
13994
|
+
"phrases": Array<string>;
|
|
13995
|
+
"selfUri"?: string;
|
|
13951
13996
|
}
|
|
13952
13997
|
|
|
13953
13998
|
export interface DraftTopics {
|
|
@@ -15307,6 +15352,15 @@ declare namespace Models {
|
|
|
15307
15352
|
|
|
15308
15353
|
export interface FailedRecordingEntityListing {
|
|
15309
15354
|
"entities"?: Array<Models.RecordingJobFailedRecording>;
|
|
15355
|
+
"pageSize"?: number;
|
|
15356
|
+
"pageNumber"?: number;
|
|
15357
|
+
"total"?: number;
|
|
15358
|
+
"firstUri"?: string;
|
|
15359
|
+
"selfUri"?: string;
|
|
15360
|
+
"nextUri"?: string;
|
|
15361
|
+
"previousUri"?: string;
|
|
15362
|
+
"lastUri"?: string;
|
|
15363
|
+
"pageCount"?: number;
|
|
15310
15364
|
}
|
|
15311
15365
|
|
|
15312
15366
|
export interface FaxDocument {
|
|
@@ -15553,8 +15607,10 @@ declare namespace Models {
|
|
|
15553
15607
|
"name": string;
|
|
15554
15608
|
"division"?: Models.WritableDivision;
|
|
15555
15609
|
"type"?: string;
|
|
15610
|
+
"description"?: string;
|
|
15556
15611
|
"inputSchema"?: Models.JsonSchemaDocument;
|
|
15557
15612
|
"outputSchema"?: Models.JsonSchemaDocument;
|
|
15613
|
+
"supportedLanguages"?: Array<Models.SupportedLanguage>;
|
|
15558
15614
|
"publishedVersion"?: Models.FlowVersion;
|
|
15559
15615
|
"debugVersion"?: Models.FlowVersion;
|
|
15560
15616
|
"selfUri"?: string;
|
|
@@ -16464,10 +16520,10 @@ declare namespace Models {
|
|
|
16464
16520
|
"system"?: boolean;
|
|
16465
16521
|
"started"?: string;
|
|
16466
16522
|
"completed"?: string;
|
|
16467
|
-
"entities"?: Array<Models.HistoryEntry>;
|
|
16468
|
-
"pageNumber"?: number;
|
|
16469
16523
|
"pageSize"?: number;
|
|
16524
|
+
"pageNumber"?: number;
|
|
16470
16525
|
"total"?: number;
|
|
16526
|
+
"entities"?: Array<Models.HistoryEntry>;
|
|
16471
16527
|
"pageCount"?: number;
|
|
16472
16528
|
}
|
|
16473
16529
|
|
|
@@ -19210,6 +19266,7 @@ declare namespace Models {
|
|
|
19210
19266
|
}
|
|
19211
19267
|
|
|
19212
19268
|
export interface MessengerApps {
|
|
19269
|
+
"conversations"?: Models.ConversationAppSettings;
|
|
19213
19270
|
"knowledge"?: Models.Knowledge;
|
|
19214
19271
|
}
|
|
19215
19272
|
|
|
@@ -19812,6 +19869,8 @@ declare namespace Models {
|
|
|
19812
19869
|
"templateId"?: string;
|
|
19813
19870
|
"zones"?: Array<Models.ObjectiveZone>;
|
|
19814
19871
|
"enabled"?: boolean;
|
|
19872
|
+
"topics"?: Array<Models.AddressableEntityRef>;
|
|
19873
|
+
"topicIdsFilterType"?: string;
|
|
19815
19874
|
"dateStart"?: string;
|
|
19816
19875
|
}
|
|
19817
19876
|
|
|
@@ -20177,6 +20236,8 @@ declare namespace Models {
|
|
|
20177
20236
|
export interface OrphanUpdateRequest {
|
|
20178
20237
|
"archiveDate"?: string;
|
|
20179
20238
|
"deleteDate"?: string;
|
|
20239
|
+
"exportDate"?: string;
|
|
20240
|
+
"integrationId"?: string;
|
|
20180
20241
|
"conversationId"?: string;
|
|
20181
20242
|
}
|
|
20182
20243
|
|
|
@@ -24090,6 +24151,15 @@ declare namespace Models {
|
|
|
24090
24151
|
|
|
24091
24152
|
export interface RecordingJobEntityListing {
|
|
24092
24153
|
"entities"?: Array<Models.RecordingJob>;
|
|
24154
|
+
"pageSize"?: number;
|
|
24155
|
+
"pageNumber"?: number;
|
|
24156
|
+
"total"?: number;
|
|
24157
|
+
"firstUri"?: string;
|
|
24158
|
+
"selfUri"?: string;
|
|
24159
|
+
"nextUri"?: string;
|
|
24160
|
+
"previousUri"?: string;
|
|
24161
|
+
"lastUri"?: string;
|
|
24162
|
+
"pageCount"?: number;
|
|
24093
24163
|
}
|
|
24094
24164
|
|
|
24095
24165
|
export interface RecordingJobFailedRecording {
|
|
@@ -24510,6 +24580,11 @@ declare namespace Models {
|
|
|
24510
24580
|
"value"?: string;
|
|
24511
24581
|
}
|
|
24512
24582
|
|
|
24583
|
+
export interface RequestScoredAgent {
|
|
24584
|
+
"id"?: string;
|
|
24585
|
+
"score"?: number;
|
|
24586
|
+
}
|
|
24587
|
+
|
|
24513
24588
|
export interface ReschedulingManagementUnitResponse {
|
|
24514
24589
|
"managementUnit"?: Models.ManagementUnitReference;
|
|
24515
24590
|
"applied"?: boolean;
|
|
@@ -24732,12 +24807,14 @@ declare namespace Models {
|
|
|
24732
24807
|
"priority"?: number;
|
|
24733
24808
|
"skillIds"?: Array<string>;
|
|
24734
24809
|
"languageId"?: string;
|
|
24810
|
+
"requestScoredAgents"?: Array<Models.RequestScoredAgent>;
|
|
24735
24811
|
}
|
|
24736
24812
|
|
|
24737
24813
|
export interface RoutingConversationAttributesResponse {
|
|
24738
24814
|
"priority"?: number;
|
|
24739
24815
|
"skills"?: Array<Models.RoutingSkill>;
|
|
24740
24816
|
"language"?: Models.Language;
|
|
24817
|
+
"scoredAgents"?: Array<Models.ScoredAgent>;
|
|
24741
24818
|
}
|
|
24742
24819
|
|
|
24743
24820
|
export interface RoutingData {
|
|
@@ -25346,7 +25423,7 @@ declare namespace Models {
|
|
|
25346
25423
|
}
|
|
25347
25424
|
|
|
25348
25425
|
export interface ScoredAgent {
|
|
25349
|
-
"agent"?: Models.
|
|
25426
|
+
"agent"?: Models.DomainEntityRef;
|
|
25350
25427
|
"score"?: number;
|
|
25351
25428
|
}
|
|
25352
25429
|
|
|
@@ -26106,6 +26183,10 @@ declare namespace Models {
|
|
|
26106
26183
|
"addressId"?: Models.SmsAddress;
|
|
26107
26184
|
"shortCodeBillingType"?: string;
|
|
26108
26185
|
"provisioningStatus"?: Models.SmsProvisioningStatus;
|
|
26186
|
+
"country"?: string;
|
|
26187
|
+
"supportsSms"?: boolean;
|
|
26188
|
+
"supportsMms"?: boolean;
|
|
26189
|
+
"supportsVoice"?: boolean;
|
|
26109
26190
|
"selfUri"?: string;
|
|
26110
26191
|
}
|
|
26111
26192
|
|
|
@@ -27938,6 +28019,8 @@ declare namespace Models {
|
|
|
27938
28019
|
"conversationIds"?: Array<string>;
|
|
27939
28020
|
"documentIds"?: Array<string>;
|
|
27940
28021
|
"status"?: string;
|
|
28022
|
+
"wfmSchedule"?: Models.WfmScheduleReference;
|
|
28023
|
+
"externalLinks"?: Array<string>;
|
|
27941
28024
|
}
|
|
27942
28025
|
|
|
27943
28026
|
export interface UpdateDraftInput {
|
|
@@ -29549,6 +29632,17 @@ declare namespace Models {
|
|
|
29549
29632
|
"generic"?: Models.WebMessagingGeneric;
|
|
29550
29633
|
}
|
|
29551
29634
|
|
|
29635
|
+
export interface WebMessagingEvent {
|
|
29636
|
+
"eventType": string;
|
|
29637
|
+
"coBrowse"?: Models.WebMessagingEventCoBrowse;
|
|
29638
|
+
}
|
|
29639
|
+
|
|
29640
|
+
export interface WebMessagingEventCoBrowse {
|
|
29641
|
+
"type": string;
|
|
29642
|
+
"sessionId"?: string;
|
|
29643
|
+
"sessionJoinToken"?: string;
|
|
29644
|
+
}
|
|
29645
|
+
|
|
29552
29646
|
export interface WebMessagingGeneric {
|
|
29553
29647
|
"title"?: string;
|
|
29554
29648
|
"description"?: string;
|
|
@@ -29563,6 +29657,7 @@ declare namespace Models {
|
|
|
29563
29657
|
"type"?: string;
|
|
29564
29658
|
"text"?: string;
|
|
29565
29659
|
"content"?: Array<Models.WebMessagingContent>;
|
|
29660
|
+
"events"?: Array<Models.WebMessagingEvent>;
|
|
29566
29661
|
"direction"?: string;
|
|
29567
29662
|
"originatingEntity"?: string;
|
|
29568
29663
|
}
|
|
@@ -30427,10 +30522,19 @@ declare namespace Models {
|
|
|
30427
30522
|
"markedAsRead"?: boolean;
|
|
30428
30523
|
}
|
|
30429
30524
|
|
|
30525
|
+
export interface WfmUserScheduleAdherenceUpdatedMuTopicActivityCodeReference {
|
|
30526
|
+
"id"?: string;
|
|
30527
|
+
"secondaryPresences"?: Array<Models.WfmUserScheduleAdherenceUpdatedMuTopicSecondaryPresenceReference>;
|
|
30528
|
+
}
|
|
30529
|
+
|
|
30430
30530
|
export interface WfmUserScheduleAdherenceUpdatedMuTopicQueueReference {
|
|
30431
30531
|
"id"?: string;
|
|
30432
30532
|
}
|
|
30433
30533
|
|
|
30534
|
+
export interface WfmUserScheduleAdherenceUpdatedMuTopicSecondaryPresenceReference {
|
|
30535
|
+
"id"?: string;
|
|
30536
|
+
}
|
|
30537
|
+
|
|
30434
30538
|
export interface WfmUserScheduleAdherenceUpdatedMuTopicUriReference {
|
|
30435
30539
|
"id"?: string;
|
|
30436
30540
|
"name"?: string;
|
|
@@ -30445,6 +30549,7 @@ declare namespace Models {
|
|
|
30445
30549
|
"managementUnitId"?: string;
|
|
30446
30550
|
"team"?: Models.WfmUserScheduleAdherenceUpdatedMuTopicUriReference;
|
|
30447
30551
|
"scheduledActivityCategory"?: string;
|
|
30552
|
+
"scheduledActivityCode"?: Models.WfmUserScheduleAdherenceUpdatedMuTopicActivityCodeReference;
|
|
30448
30553
|
"systemPresence"?: string;
|
|
30449
30554
|
"organizationSecondaryPresenceId"?: string;
|
|
30450
30555
|
"routingStatus"?: string;
|
|
@@ -30459,10 +30564,19 @@ declare namespace Models {
|
|
|
30459
30564
|
"removedFromManagementUnit"?: boolean;
|
|
30460
30565
|
}
|
|
30461
30566
|
|
|
30567
|
+
export interface WfmUserScheduleAdherenceUpdatedTeamTopicActivityCodeReference {
|
|
30568
|
+
"id"?: string;
|
|
30569
|
+
"secondaryPresences"?: Array<Models.WfmUserScheduleAdherenceUpdatedTeamTopicSecondaryPresenceReference>;
|
|
30570
|
+
}
|
|
30571
|
+
|
|
30462
30572
|
export interface WfmUserScheduleAdherenceUpdatedTeamTopicQueueReference {
|
|
30463
30573
|
"id"?: string;
|
|
30464
30574
|
}
|
|
30465
30575
|
|
|
30576
|
+
export interface WfmUserScheduleAdherenceUpdatedTeamTopicSecondaryPresenceReference {
|
|
30577
|
+
"id"?: string;
|
|
30578
|
+
}
|
|
30579
|
+
|
|
30466
30580
|
export interface WfmUserScheduleAdherenceUpdatedTeamTopicUriReference {
|
|
30467
30581
|
"id"?: string;
|
|
30468
30582
|
"name"?: string;
|
|
@@ -30477,6 +30591,7 @@ declare namespace Models {
|
|
|
30477
30591
|
"managementUnitId"?: string;
|
|
30478
30592
|
"team"?: Models.WfmUserScheduleAdherenceUpdatedTeamTopicUriReference;
|
|
30479
30593
|
"scheduledActivityCategory"?: string;
|
|
30594
|
+
"scheduledActivityCode"?: Models.WfmUserScheduleAdherenceUpdatedTeamTopicActivityCodeReference;
|
|
30480
30595
|
"systemPresence"?: string;
|
|
30481
30596
|
"organizationSecondaryPresenceId"?: string;
|
|
30482
30597
|
"routingStatus"?: string;
|
|
@@ -30491,10 +30606,19 @@ declare namespace Models {
|
|
|
30491
30606
|
"removedFromManagementUnit"?: boolean;
|
|
30492
30607
|
}
|
|
30493
30608
|
|
|
30609
|
+
export interface WfmUserScheduleAdherenceUpdatedTopicActivityCodeReference {
|
|
30610
|
+
"id"?: string;
|
|
30611
|
+
"secondaryPresences"?: Array<Models.WfmUserScheduleAdherenceUpdatedTopicSecondaryPresenceReference>;
|
|
30612
|
+
}
|
|
30613
|
+
|
|
30494
30614
|
export interface WfmUserScheduleAdherenceUpdatedTopicQueueReference {
|
|
30495
30615
|
"id"?: string;
|
|
30496
30616
|
}
|
|
30497
30617
|
|
|
30618
|
+
export interface WfmUserScheduleAdherenceUpdatedTopicSecondaryPresenceReference {
|
|
30619
|
+
"id"?: string;
|
|
30620
|
+
}
|
|
30621
|
+
|
|
30498
30622
|
export interface WfmUserScheduleAdherenceUpdatedTopicUriReference {
|
|
30499
30623
|
"id"?: string;
|
|
30500
30624
|
"name"?: string;
|
|
@@ -30509,6 +30633,7 @@ declare namespace Models {
|
|
|
30509
30633
|
"managementUnitId"?: string;
|
|
30510
30634
|
"team"?: Models.WfmUserScheduleAdherenceUpdatedTopicUriReference;
|
|
30511
30635
|
"scheduledActivityCategory"?: string;
|
|
30636
|
+
"scheduledActivityCode"?: Models.WfmUserScheduleAdherenceUpdatedTopicActivityCodeReference;
|
|
30512
30637
|
"systemPresence"?: string;
|
|
30513
30638
|
"organizationSecondaryPresenceId"?: string;
|
|
30514
30639
|
"routingStatus"?: string;
|
package/package.json
CHANGED
|
@@ -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 130.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': '130.0.0' });
|
|
954
954
|
|
|
955
955
|
// set request timeout
|
|
956
956
|
request.timeout(that.timeout);
|
|
@@ -5,7 +5,7 @@ class CoachingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Coaching service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 130.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -204,6 +204,7 @@ class CoachingApi {
|
|
|
204
204
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
205
205
|
* @param {String} opts.completionInterval Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
206
206
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
207
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
207
208
|
*/
|
|
208
209
|
getCoachingAppointments(userIds, opts) {
|
|
209
210
|
opts = opts || {};
|
|
@@ -217,7 +218,7 @@ class CoachingApi {
|
|
|
217
218
|
'/api/v2/coaching/appointments',
|
|
218
219
|
'GET',
|
|
219
220
|
{ },
|
|
220
|
-
{ 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'] },
|
|
221
|
+
{ 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'intervalCondition': opts['intervalCondition'] },
|
|
221
222
|
{ },
|
|
222
223
|
{ },
|
|
223
224
|
null,
|
|
@@ -240,6 +241,7 @@ class CoachingApi {
|
|
|
240
241
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
241
242
|
* @param {String} opts.completionInterval Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
242
243
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
244
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
243
245
|
*/
|
|
244
246
|
getCoachingAppointmentsMe(opts) {
|
|
245
247
|
opts = opts || {};
|
|
@@ -249,7 +251,7 @@ class CoachingApi {
|
|
|
249
251
|
'/api/v2/coaching/appointments/me',
|
|
250
252
|
'GET',
|
|
251
253
|
{ },
|
|
252
|
-
{ 'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'] },
|
|
254
|
+
{ 'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'intervalCondition': opts['intervalCondition'] },
|
|
253
255
|
{ },
|
|
254
256
|
{ },
|
|
255
257
|
null,
|