purecloud-platform-client-v2 188.0.1 → 188.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +426 -83
  3. package/dist/web-amd/purecloud-platform-client-v2.js +426 -83
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +166 -84
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +166 -84
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +200 -1
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -2
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +5 -5
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +187 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +161 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -3
  74. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/index.js +1 -1
package/index.d.ts CHANGED
@@ -2637,6 +2637,7 @@ declare class JourneyApi {
2637
2637
  deleteJourneyOutcome(outcomeId: string): Promise<void>;
2638
2638
  deleteJourneyOutcomesPredictor(predictorId: string): Promise<void>;
2639
2639
  deleteJourneySegment(segmentId: string): Promise<void>;
2640
+ deleteJourneyView(viewId: string): Promise<void>;
2640
2641
  getAnalyticsJourneysAggregatesJob(jobId: string): Promise<Models.AsyncQueryStatus>;
2641
2642
  getAnalyticsJourneysAggregatesJobResults(jobId: string, opts?: JourneyApi.getAnalyticsJourneysAggregatesJobResultsOptions): Promise<Models.JourneyAsyncAggregateQueryResponse>;
2642
2643
  getExternalcontactsContactJourneySessions(contactId: string, opts?: JourneyApi.getExternalcontactsContactJourneySessionsOptions): Promise<Models.SessionListing>;
@@ -2660,6 +2661,9 @@ declare class JourneyApi {
2660
2661
  getJourneySession(sessionId: string): Promise<Models.Session>;
2661
2662
  getJourneySessionEvents(sessionId: string, opts?: JourneyApi.getJourneySessionEventsOptions): Promise<Models.EventListing>;
2662
2663
  getJourneySessionOutcomescores(sessionId: string): Promise<Models.OutcomeScoresResult>;
2664
+ getJourneyView(viewId: string): Promise<Models.JourneyView>;
2665
+ getJourneyViewVersion(viewId: string, versionId: string): Promise<Models.JourneyView>;
2666
+ getJourneyViews(): Promise<Models.AddressableEntityListing>;
2663
2667
  patchJourneyActionmap(actionMapId: string, opts?: JourneyApi.patchJourneyActionmapOptions): Promise<Models.ActionMap>;
2664
2668
  patchJourneyActiontarget(actionTargetId: string, opts?: JourneyApi.patchJourneyActiontargetOptions): Promise<Models.ActionTarget>;
2665
2669
  patchJourneyActiontemplate(actionTemplateId: string, opts?: JourneyApi.patchJourneyActiontemplateOptions): Promise<Models.ActionTemplate>;
@@ -2672,10 +2676,13 @@ declare class JourneyApi {
2672
2676
  postJourneyActiontemplates(opts?: JourneyApi.postJourneyActiontemplatesOptions): Promise<Models.ActionTemplate>;
2673
2677
  postJourneyDeploymentActionevent(deploymentId: string, body: Models.ActionEventRequest): Promise<void>;
2674
2678
  postJourneyDeploymentAppevents(deploymentId: string, opts?: JourneyApi.postJourneyDeploymentAppeventsOptions): Promise<Models.AppEventResponse>;
2679
+ postJourneyFlowsPathsQuery(opts?: JourneyApi.postJourneyFlowsPathsQueryOptions): Promise<Models.FlowPaths>;
2675
2680
  postJourneyOutcomes(opts?: JourneyApi.postJourneyOutcomesOptions): Promise<Models.Outcome>;
2676
2681
  postJourneyOutcomesAttributionsJobs(opts?: JourneyApi.postJourneyOutcomesAttributionsJobsOptions): Promise<Models.OutcomeAttributionAsyncResponse>;
2677
2682
  postJourneyOutcomesPredictors(opts?: JourneyApi.postJourneyOutcomesPredictorsOptions): Promise<Models.OutcomePredictor>;
2678
- postJourneySegments(opts?: JourneyApi.postJourneySegmentsOptions): Promise<Models.JourneySegment>;
2683
+ postJourneySegments(opts?: JourneyApi.postJourneySegmentsOptions): Promise<Models.JourneySegment>;
2684
+ postJourneyViewVersions(viewId: string, body: Models.JourneyView): Promise<Models.JourneyView>;
2685
+ postJourneyViews(body: Models.JourneyView): Promise<Models.JourneyView>;
2679
2686
  }
2680
2687
 
2681
2688
  declare namespace JourneyApi {
@@ -2765,6 +2772,9 @@ declare namespace JourneyApi {
2765
2772
  export interface postJourneyDeploymentAppeventsOptions {
2766
2773
  "body"?: Models.AppEventRequest;
2767
2774
  }
2775
+ export interface postJourneyFlowsPathsQueryOptions {
2776
+ "body"?: Models.FlowPathsQuery;
2777
+ }
2768
2778
  export interface postJourneyOutcomesOptions {
2769
2779
  "body"?: Models.OutcomeRequest;
2770
2780
  }
@@ -2841,11 +2851,15 @@ declare class KnowledgeApi {
2841
2851
  patchKnowledgeKnowledgebaseParseJob(knowledgeBaseId: string, parseJobId: string, body: Models.KnowledgeParseJobRequestPatch): Promise<void>;
2842
2852
  patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(knowledgeBaseId: string, groupId: string, phraseGroupId: string, body: Models.UnansweredPhraseGroupPatchRequestBody): Promise<Models.UnansweredPhraseGroupUpdateResponse>;
2843
2853
  postKnowledgeDocumentuploads(body: Models.UploadUrlRequest): Promise<Models.UploadUrlResponse>;
2854
+ postKnowledgeGuestSessionDocumentCopies(sessionId: string, documentId: string, opts?: KnowledgeApi.postKnowledgeGuestSessionDocumentCopiesOptions): Promise<void>;
2844
2855
  postKnowledgeGuestSessionDocumentFeedback(sessionId: string, documentId: string, opts?: KnowledgeApi.postKnowledgeGuestSessionDocumentFeedbackOptions): Promise<Models.KnowledgeGuestDocumentFeedback>;
2856
+ postKnowledgeGuestSessionDocumentViews(sessionId: string, documentId: string, opts?: KnowledgeApi.postKnowledgeGuestSessionDocumentViewsOptions): Promise<void>;
2857
+ postKnowledgeGuestSessionDocumentsPresentations(sessionId: string, opts?: KnowledgeApi.postKnowledgeGuestSessionDocumentsPresentationsOptions): Promise<void>;
2845
2858
  postKnowledgeGuestSessionDocumentsSearch(sessionId: string, opts?: KnowledgeApi.postKnowledgeGuestSessionDocumentsSearchOptions): Promise<Models.KnowledgeDocumentGuestSearch>;
2846
2859
  postKnowledgeGuestSessionDocumentsSearchSuggestions(sessionId: string, opts?: KnowledgeApi.postKnowledgeGuestSessionDocumentsSearchSuggestionsOptions): Promise<Models.KnowledgeGuestDocumentSuggestion>;
2847
2860
  postKnowledgeGuestSessions(body: Models.KnowledgeGuestSession): Promise<Models.KnowledgeGuestSession>;
2848
2861
  postKnowledgeKnowledgebaseCategories(knowledgeBaseId: string, body: Models.CategoryCreateRequest): Promise<Models.CategoryResponse>;
2862
+ postKnowledgeKnowledgebaseDocumentCopies(knowledgeBaseId: string, documentId: string, opts?: KnowledgeApi.postKnowledgeKnowledgebaseDocumentCopiesOptions): Promise<void>;
2849
2863
  postKnowledgeKnowledgebaseDocumentFeedback(knowledgeBaseId: string, documentId: string, opts?: KnowledgeApi.postKnowledgeKnowledgebaseDocumentFeedbackOptions): Promise<Models.KnowledgeDocumentFeedbackResponse>;
2850
2864
  postKnowledgeKnowledgebaseDocumentVariations(knowledgeBaseId: string, documentId: string, body: Models.DocumentVariation): Promise<Models.DocumentVariation>;
2851
2865
  postKnowledgeKnowledgebaseDocumentVersions(knowledgeBaseId: string, documentId: string, body: Models.KnowledgeDocumentVersion): Promise<Models.KnowledgeDocumentVersion>;
@@ -2853,6 +2867,7 @@ declare class KnowledgeApi {
2853
2867
  postKnowledgeKnowledgebaseDocuments(knowledgeBaseId: string, body: Models.KnowledgeDocumentReq): Promise<Models.KnowledgeDocumentResponse>;
2854
2868
  postKnowledgeKnowledgebaseDocumentsBulkRemove(knowledgeBaseId: string, body: Models.KnowledgeDocumentBulkRemoveRequest): Promise<Models.BulkResponse>;
2855
2869
  postKnowledgeKnowledgebaseDocumentsBulkUpdate(knowledgeBaseId: string, body: Models.KnowledgeDocumentBulkUpdateRequest): Promise<Models.BulkResponse>;
2870
+ postKnowledgeKnowledgebaseDocumentsPresentations(knowledgeBaseId: string, opts?: KnowledgeApi.postKnowledgeKnowledgebaseDocumentsPresentationsOptions): Promise<void>;
2856
2871
  postKnowledgeKnowledgebaseDocumentsSearch(knowledgeBaseId: string, opts?: KnowledgeApi.postKnowledgeKnowledgebaseDocumentsSearchOptions): Promise<Models.KnowledgeDocumentSearch>;
2857
2872
  postKnowledgeKnowledgebaseDocumentsSearchSuggestions(knowledgeBaseId: string, opts?: KnowledgeApi.postKnowledgeKnowledgebaseDocumentsSearchSuggestionsOptions): Promise<Models.KnowledgeDocumentSuggestion>;
2858
2873
  postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd(knowledgeBaseId: string, body: Models.KnowledgeDocumentBulkVersionAddRequest): Promise<Models.BulkResponse>;
@@ -3028,9 +3043,18 @@ declare namespace KnowledgeApi {
3028
3043
  export interface patchKnowledgeKnowledgebaseDocumentsSearchSearchIdOptions {
3029
3044
  "body"?: Models.SearchUpdateRequest;
3030
3045
  }
3046
+ export interface postKnowledgeGuestSessionDocumentCopiesOptions {
3047
+ "body"?: Models.KnowledgeGuestDocumentCopy;
3048
+ }
3031
3049
  export interface postKnowledgeGuestSessionDocumentFeedbackOptions {
3032
3050
  "body"?: Models.KnowledgeGuestDocumentFeedback;
3033
3051
  }
3052
+ export interface postKnowledgeGuestSessionDocumentViewsOptions {
3053
+ "body"?: Models.KnowledgeGuestDocumentView;
3054
+ }
3055
+ export interface postKnowledgeGuestSessionDocumentsPresentationsOptions {
3056
+ "body"?: Models.KnowledgeGuestDocumentPresentation;
3057
+ }
3034
3058
  export interface postKnowledgeGuestSessionDocumentsSearchOptions {
3035
3059
  "expand"?: Array<string>;
3036
3060
  "body"?: Models.KnowledgeDocumentGuestSearchRequest;
@@ -3038,12 +3062,18 @@ declare namespace KnowledgeApi {
3038
3062
  export interface postKnowledgeGuestSessionDocumentsSearchSuggestionsOptions {
3039
3063
  "body"?: Models.KnowledgeGuestDocumentSuggestionRequest;
3040
3064
  }
3065
+ export interface postKnowledgeKnowledgebaseDocumentCopiesOptions {
3066
+ "body"?: Models.KnowledgeDocumentCopy;
3067
+ }
3041
3068
  export interface postKnowledgeKnowledgebaseDocumentFeedbackOptions {
3042
3069
  "body"?: Models.KnowledgeDocumentFeedback;
3043
3070
  }
3044
3071
  export interface postKnowledgeKnowledgebaseDocumentViewsOptions {
3045
3072
  "body"?: Models.KnowledgeDocumentView;
3046
3073
  }
3074
+ export interface postKnowledgeKnowledgebaseDocumentsPresentationsOptions {
3075
+ "body"?: Models.KnowledgeDocumentPresentation;
3076
+ }
3047
3077
  export interface postKnowledgeKnowledgebaseDocumentsSearchOptions {
3048
3078
  "expand"?: Array<string>;
3049
3079
  "body"?: Models.KnowledgeDocumentSearchRequest;
@@ -7512,6 +7542,19 @@ declare namespace Models {
7512
7542
  "selfUri"?: string;
7513
7543
  }
7514
7544
 
7545
+ export interface AddressableEntityListing {
7546
+ "entities"?: Array<Models.AddressableEntity>;
7547
+ "pageSize"?: number;
7548
+ "pageNumber"?: number;
7549
+ "total"?: number;
7550
+ "firstUri"?: string;
7551
+ "nextUri"?: string;
7552
+ "previousUri"?: string;
7553
+ "lastUri"?: string;
7554
+ "selfUri"?: string;
7555
+ "pageCount"?: number;
7556
+ }
7557
+
7515
7558
  export interface AddressableEntityRef {
7516
7559
  "id"?: string;
7517
7560
  "selfUri"?: string;
@@ -9446,6 +9489,7 @@ declare namespace Models {
9446
9489
  "queues"?: Array<Models.AddressableEntityRef>;
9447
9490
  "kpiAssessments"?: Array<Models.KeyPerformanceIndicatorAssessment>;
9448
9491
  "state"?: string;
9492
+ "jobId"?: string;
9449
9493
  "dateCreated"?: string;
9450
9494
  "dateModified"?: string;
9451
9495
  "selfUri"?: string;
@@ -10106,12 +10150,14 @@ declare namespace Models {
10106
10150
  "messageSeverities"?: Array<Models.SchedulerMessageTypeSeverity>;
10107
10151
  "syncTimeOffProperties"?: Models.SetWrapperSyncTimeOffProperty;
10108
10152
  "serviceGoalImpact"?: Models.WfmServiceGoalImpactSettings;
10153
+ "allowWorkPlanPerMinuteGranularity"?: boolean;
10109
10154
  }
10110
10155
 
10111
10156
  export interface BuSchedulingSettingsResponse {
10112
10157
  "messageSeverities"?: Array<Models.SchedulerMessageTypeSeverity>;
10113
10158
  "syncTimeOffProperties"?: Array<string>;
10114
10159
  "serviceGoalImpact"?: Models.WfmServiceGoalImpactSettings;
10160
+ "allowWorkPlanPerMinuteGranularity"?: boolean;
10115
10161
  }
10116
10162
 
10117
10163
  export interface BuSearchAgentSchedulesRequest {
@@ -11324,6 +11370,11 @@ declare namespace Models {
11324
11370
  "day": number;
11325
11371
  }
11326
11372
 
11373
+ export interface CannedResponseLibraries {
11374
+ "libraryIds"?: Array<string>;
11375
+ "mode"?: string;
11376
+ }
11377
+
11327
11378
  export interface Card {
11328
11379
  "title"?: string;
11329
11380
  "description"?: string;
@@ -11590,6 +11641,7 @@ declare namespace Models {
11590
11641
  "attachmentDeleted"?: boolean;
11591
11642
  "fileUri"?: string;
11592
11643
  "thread": Models.Entity;
11644
+ "parentThread"?: Models.Entity;
11593
11645
  "user"?: Models.AddressableEntityRef;
11594
11646
  "toUser"?: Models.AddressableEntityRef;
11595
11647
  "reactions"?: Array<Models.ChatReaction>;
@@ -21560,6 +21612,37 @@ declare namespace Models {
21560
21612
  "pageCount"?: number;
21561
21613
  }
21562
21614
 
21615
+ export interface FlowPaths {
21616
+ "category": string;
21617
+ "elements": { [key: string]: Models.FlowPathsElement; };
21618
+ }
21619
+
21620
+ export interface FlowPathsElement {
21621
+ "parentId"?: string;
21622
+ "type": string;
21623
+ "count": number;
21624
+ "flows": Array<Models.FlowPathsFlowDetails>;
21625
+ "flowOutcomeValue"?: string;
21626
+ "flowMilestone"?: Models.AddressableEntityRef;
21627
+ "flowOutcome"?: Models.AddressableEntityRef;
21628
+ }
21629
+
21630
+ export interface FlowPathsFlowDetails {
21631
+ "version": string;
21632
+ "type": string;
21633
+ "count": number;
21634
+ "flow": Models.AddressableEntityRef;
21635
+ }
21636
+
21637
+ export interface FlowPathsFlowFilter {
21638
+ "id": string;
21639
+ }
21640
+
21641
+ export interface FlowPathsQuery {
21642
+ "category": string;
21643
+ "flows": Array<Models.FlowPathsFlowFilter>;
21644
+ }
21645
+
21563
21646
  export interface FlowResultEntityListing {
21564
21647
  "entities"?: Array<Models.FlowExecutionDataQueryResult>;
21565
21648
  "pageSize"?: number;
@@ -24140,6 +24223,66 @@ declare namespace Models {
24140
24223
  "isMandatory"?: boolean;
24141
24224
  }
24142
24225
 
24226
+ export interface JourneyView {
24227
+ "id"?: string;
24228
+ "name"?: string;
24229
+ "description"?: string;
24230
+ "version"?: number;
24231
+ "createdBy"?: Models.JourneyViewUser;
24232
+ "modifiedBy"?: Models.JourneyViewUser;
24233
+ "interval"?: string;
24234
+ "duration"?: string;
24235
+ "elements": Array<Models.JourneyViewElement>;
24236
+ "dateCreated"?: string;
24237
+ "dateModified"?: string;
24238
+ "selfUri"?: string;
24239
+ }
24240
+
24241
+ export interface JourneyViewElement {
24242
+ "id": string;
24243
+ "name": string;
24244
+ "attributes": Models.JourneyViewElementAttributes;
24245
+ "filter"?: Models.JourneyViewElementFilter;
24246
+ "followedBy"?: Array<Models.JourneyViewLink>;
24247
+ }
24248
+
24249
+ export interface JourneyViewElementAttributes {
24250
+ "type": string;
24251
+ "id"?: string;
24252
+ "source"?: string;
24253
+ }
24254
+
24255
+ export interface JourneyViewElementFilter {
24256
+ "type": string;
24257
+ "predicates": Array<Models.JourneyViewElementFilterPredicate>;
24258
+ }
24259
+
24260
+ export interface JourneyViewElementFilterPredicate {
24261
+ "dimension": string;
24262
+ "values": Array<string>;
24263
+ "operator"?: string;
24264
+ "noValue"?: boolean;
24265
+ }
24266
+
24267
+ export interface JourneyViewLink {
24268
+ "id": string;
24269
+ "constraintWithin"?: Models.JourneyViewLinkTimeConstraint;
24270
+ "constraintAfter"?: Models.JourneyViewLinkTimeConstraint;
24271
+ "eventCountType"?: string;
24272
+ "joinAttributes"?: Array<string>;
24273
+ }
24274
+
24275
+ export interface JourneyViewLinkTimeConstraint {
24276
+ "unit"?: string;
24277
+ "value"?: number;
24278
+ }
24279
+
24280
+ export interface JourneyViewUser {
24281
+ "id"?: string;
24282
+ "emailAddress"?: string;
24283
+ "selfUri"?: string;
24284
+ }
24285
+
24143
24286
  export interface JourneyWebActionEventsNotificationActionMap {
24144
24287
  "id"?: string;
24145
24288
  "selfUri"?: string;
@@ -24861,6 +25004,16 @@ declare namespace Models {
24861
25004
  "selfUri"?: string;
24862
25005
  }
24863
25006
 
25007
+ export interface KnowledgeDocumentCopy {
25008
+ "documentVariationId": string;
25009
+ "documentVersionId": string;
25010
+ "searchId"?: string;
25011
+ "queryType"?: string;
25012
+ "sessionId"?: string;
25013
+ "conversationContext"?: Models.KnowledgeConversationContext;
25014
+ "application": Models.KnowledgeSearchClientApplication;
25015
+ }
25016
+
24864
25017
  export interface KnowledgeDocumentFeedback {
24865
25018
  "id"?: string;
24866
25019
  "documentVariation": Models.EntityReference;
@@ -24933,6 +25086,15 @@ declare namespace Models {
24933
25086
  "document"?: Models.KnowledgeGuestDocument;
24934
25087
  }
24935
25088
 
25089
+ export interface KnowledgeDocumentPresentation {
25090
+ "documents": Array<Models.KnowledgeDocumentVersionVariationReference>;
25091
+ "searchId"?: string;
25092
+ "queryType"?: string;
25093
+ "sessionId"?: string;
25094
+ "conversationContext"?: Models.KnowledgeConversationContext;
25095
+ "application": Models.KnowledgeSearchClientApplication;
25096
+ }
25097
+
24936
25098
  export interface KnowledgeDocumentReference {
24937
25099
  "id": string;
24938
25100
  "knowledgeBase": Models.KnowledgeBaseReference;
@@ -24998,6 +25160,7 @@ declare namespace Models {
24998
25160
  "results"?: Array<Models.KnowledgeDocumentSearchResult>;
24999
25161
  "application"?: Models.KnowledgeSearchClientApplication;
25000
25162
  "conversationContext"?: Models.KnowledgeConversationContextResponse;
25163
+ "confidenceThreshold"?: number;
25001
25164
  }
25002
25165
 
25003
25166
  export interface KnowledgeDocumentSearchRequest {
@@ -25015,6 +25178,7 @@ declare namespace Models {
25015
25178
  "sortBy"?: string;
25016
25179
  "application"?: Models.KnowledgeSearchClientApplication;
25017
25180
  "conversationContext"?: Models.KnowledgeConversationContext;
25181
+ "confidenceThreshold"?: number;
25018
25182
  }
25019
25183
 
25020
25184
  export interface KnowledgeDocumentSearchResult {
@@ -25089,6 +25253,12 @@ declare namespace Models {
25089
25253
  "previousUri"?: string;
25090
25254
  }
25091
25255
 
25256
+ export interface KnowledgeDocumentVersionVariationReference {
25257
+ "documentId": string;
25258
+ "documentVariationId": string;
25259
+ "documentVersionId": string;
25260
+ }
25261
+
25092
25262
  export interface KnowledgeDocumentView {
25093
25263
  "documentVariationId": string;
25094
25264
  "documentVersionId": string;
@@ -25170,6 +25340,15 @@ declare namespace Models {
25170
25340
  "selfUri"?: string;
25171
25341
  }
25172
25342
 
25343
+ export interface KnowledgeGuestDocumentCopy {
25344
+ "documentVariationId": string;
25345
+ "documentVersionId": string;
25346
+ "searchId"?: string;
25347
+ "queryType"?: string;
25348
+ "sessionId"?: string;
25349
+ "application"?: Models.KnowledgeGuestSearchClientApplication;
25350
+ }
25351
+
25173
25352
  export interface KnowledgeGuestDocumentFeedback {
25174
25353
  "id"?: string;
25175
25354
  "documentVariation": Models.EntityReference;
@@ -25185,6 +25364,14 @@ declare namespace Models {
25185
25364
  "application"?: Models.KnowledgeGuestSearchClientApplication;
25186
25365
  }
25187
25366
 
25367
+ export interface KnowledgeGuestDocumentPresentation {
25368
+ "documents": Array<Models.KnowledgeDocumentVersionVariationReference>;
25369
+ "searchId"?: string;
25370
+ "queryType"?: string;
25371
+ "sessionId"?: string;
25372
+ "application"?: Models.KnowledgeGuestSearchClientApplication;
25373
+ }
25374
+
25188
25375
  export interface KnowledgeGuestDocumentResponseListing {
25189
25376
  "entities"?: Array<Models.KnowledgeGuestDocument>;
25190
25377
  "nextUri"?: string;
@@ -25230,6 +25417,13 @@ declare namespace Models {
25230
25417
  "versionId": string;
25231
25418
  }
25232
25419
 
25420
+ export interface KnowledgeGuestDocumentView {
25421
+ "documentVariationId": string;
25422
+ "documentVersionId": string;
25423
+ "searchId"?: string;
25424
+ "queryType"?: string;
25425
+ }
25426
+
25233
25427
  export interface KnowledgeGuestSearchClientApplication {
25234
25428
  "type": string;
25235
25429
  "deployment"?: Models.EntityReference;
@@ -33723,6 +33917,7 @@ declare namespace Models {
33723
33917
  "includeScreenRecordings"?: boolean;
33724
33918
  "clearExport"?: boolean;
33725
33919
  "conversationQuery"?: Models.AsyncConversationQuery;
33920
+ "agedConversationInterval"?: string;
33726
33921
  }
33727
33922
 
33728
33923
  export interface RecordingMessagingMessage {
@@ -44052,6 +44247,7 @@ declare namespace Models {
44052
44247
  "defaultSkills"?: Array<Models.RoutingSkillReference>;
44053
44248
  "assignmentEnabled"?: boolean;
44054
44249
  "schema"?: Models.WorkitemSchema;
44250
+ "serviceLevelTarget"?: number;
44055
44251
  "selfUri"?: string;
44056
44252
  }
44057
44253
 
@@ -44073,6 +44269,7 @@ declare namespace Models {
44073
44269
  "defaultTtlSeconds"?: number;
44074
44270
  "assignmentEnabled"?: boolean;
44075
44271
  "schemaId"?: string;
44272
+ "serviceLevelTarget"?: number;
44076
44273
  "description"?: string;
44077
44274
  "divisionId"?: string;
44078
44275
  "disableDefaultStatusCreation"?: boolean;
@@ -44142,6 +44339,7 @@ declare namespace Models {
44142
44339
  "defaultTtlSeconds"?: number;
44143
44340
  "assignmentEnabled"?: boolean;
44144
44341
  "schemaId"?: string;
44342
+ "serviceLevelTarget"?: number;
44145
44343
  "description"?: string;
44146
44344
  "defaultStatusId"?: string;
44147
44345
  "schemaVersion"?: number;
@@ -44171,6 +44369,7 @@ declare namespace Models {
44171
44369
  "defaultSkills"?: Array<Models.RoutingSkillReference>;
44172
44370
  "assignmentEnabled"?: boolean;
44173
44371
  "schema"?: Models.WorkitemSchema;
44372
+ "serviceLevelTarget"?: number;
44174
44373
  "version"?: number;
44175
44374
  "selfUri"?: string;
44176
44375
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "188.0.1",
3
+ "version": "188.1.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",
@@ -4,7 +4,7 @@ import { default as qs } from 'qs';
4
4
 
5
5
  /**
6
6
  * @module purecloud-platform-client-v2/ApiClient
7
- * @version 188.0.1
7
+ * @version 188.1.0
8
8
  */
9
9
  class ApiClient {
10
10
  /**
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -2009,7 +2009,6 @@ class AnalyticsApi {
2009
2009
  * Query for knowledge aggregates
2010
2010
  *
2011
2011
  * @param {Object} body query
2012
- * postAnalyticsKnowledgeAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2013
2012
  */
2014
2013
  postAnalyticsKnowledgeAggregatesQuery(body) {
2015
2014
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuditApi {
5
5
  /**
6
6
  * Audit service.
7
7
  * @module purecloud-platform-client-v2/api/AuditApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CarrierServicesApi {
5
5
  /**
6
6
  * CarrierServices service.
7
7
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ChatApi {
5
5
  /**
6
6
  * Chat service.
7
7
  * @module purecloud-platform-client-v2/api/ChatApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ContentManagementApi {
5
5
  /**
6
6
  * ContentManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ConversationsApi {
5
5
  /**
6
6
  * Conversations service.
7
7
  * @module purecloud-platform-client-v2/api/ConversationsApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DownloadsApi {
5
5
  /**
6
6
  * Downloads service.
7
7
  * @module purecloud-platform-client-v2/api/DownloadsApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmailsApi {
5
5
  /**
6
6
  * Emails service.
7
7
  * @module purecloud-platform-client-v2/api/EmailsApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EventsApi {
5
5
  /**
6
6
  * Events service.
7
7
  * @module purecloud-platform-client-v2/api/EventsApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ExternalContactsApi {
5
5
  /**
6
6
  * ExternalContacts service.
7
7
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -866,7 +866,7 @@ class ExternalContactsApi {
866
866
  * Scan for external contacts using paging
867
867
  *
868
868
  * @param {Object} opts Optional parameters
869
- * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100)
869
+ * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
870
870
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
871
871
  */
872
872
  getExternalcontactsScanContacts(opts) {
@@ -891,7 +891,7 @@ class ExternalContactsApi {
891
891
  * Scan for notes using paging
892
892
  *
893
893
  * @param {Object} opts Optional parameters
894
- * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100)
894
+ * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
895
895
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
896
896
  */
897
897
  getExternalcontactsScanNotes(opts) {
@@ -916,7 +916,7 @@ class ExternalContactsApi {
916
916
  * Scan for external organizations using paging
917
917
  *
918
918
  * @param {Object} opts Optional parameters
919
- * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100)
919
+ * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
920
920
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
921
921
  */
922
922
  getExternalcontactsScanOrganizations(opts) {
@@ -941,7 +941,7 @@ class ExternalContactsApi {
941
941
  * Scan for relationships
942
942
  *
943
943
  * @param {Object} opts Optional parameters
944
- * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100)
944
+ * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
945
945
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
946
946
  */
947
947
  getExternalcontactsScanRelationships(opts) {
@@ -5,7 +5,7 @@ class FaxApi {
5
5
  /**
6
6
  * Fax service.
7
7
  * @module purecloud-platform-client-v2/api/FaxApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FlowsApi {
5
5
  /**
6
6
  * Flows service.
7
7
  * @module purecloud-platform-client-v2/api/FlowsApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 188.0.1
8
+ * @version 188.1.0
9
9
  */
10
10
 
11
11
  /**