purecloud-platform-client-v2 198.0.0 → 200.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.
Files changed (87) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +388 -91
  3. package/dist/web-amd/purecloud-platform-client-v2.js +388 -91
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +150 -89
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +150 -89
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +82 -23
  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/AgentUIApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -2
  16. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -3
  23. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/JourneyApi.js +10 -3
  40. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/QualityApi.js +8 -8
  59. package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -2
  60. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/RoutingApi.js +146 -1
  62. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UsersApi.js +146 -1
  80. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/index.js +1 -1
package/index.d.ts CHANGED
@@ -941,6 +941,7 @@ declare namespace AuditApi {
941
941
  "cursor"?: string;
942
942
  "pageSize"?: number;
943
943
  "expand"?: Array<string>;
944
+ "allowRedirect"?: boolean;
944
945
  }
945
946
  export interface postAuditsQueryRealtimeOptions {
946
947
  "expand"?: Array<string>;
@@ -2781,7 +2782,7 @@ declare class JourneyApi {
2781
2782
  getJourneyViewVersionJob(viewId: string, journeyVersionId: string, jobId: string): Promise<Models.JourneyViewJob>;
2782
2783
  getJourneyViewVersionJobResults(viewId: string, journeyViewVersion: string, jobId: string): Promise<Models.JourneyViewResult>;
2783
2784
  getJourneyViewVersionJobsLatest(viewId: string, journeyVersionId: string): Promise<Models.JourneyViewJob>;
2784
- getJourneyViews(): Promise<Models.JourneyViewListing>;
2785
+ getJourneyViews(opts?: JourneyApi.getJourneyViewsOptions): Promise<Models.JourneyViewListing>;
2785
2786
  getJourneyViewsEventdefinition(eventDefinitionId: string): Promise<Models.JourneyEventDefinition>;
2786
2787
  getJourneyViewsEventdefinitions(): Promise<Models.JourneyEventDefinitionListing>;
2787
2788
  getJourneyViewsJobs(opts?: JourneyApi.getJourneyViewsJobsOptions): Promise<Models.JourneyViewJobListing>;
@@ -2873,6 +2874,12 @@ declare namespace JourneyApi {
2873
2874
  "after"?: string;
2874
2875
  "eventType"?: string;
2875
2876
  }
2877
+ export interface getJourneyViewsOptions {
2878
+ "pageNumber"?: number;
2879
+ "pageSize"?: number;
2880
+ "nameOrCreatedBy"?: string;
2881
+ "expand"?: string;
2882
+ }
2876
2883
  export interface getJourneyViewsJobsOptions {
2877
2884
  "pageNumber"?: number;
2878
2885
  "pageSize"?: number;
@@ -4429,7 +4436,7 @@ declare class QualityApi {
4429
4436
  putQualityConversationEvaluation(conversationId: string, evaluationId: string, body: Models.Evaluation, opts?: QualityApi.putQualityConversationEvaluationOptions): Promise<Models.EvaluationResponse>;
4430
4437
  putQualityForm(formId: string, body: Models.EvaluationForm): Promise<Models.EvaluationFormResponse>;
4431
4438
  putQualityFormsEvaluation(formId: string, body: Models.EvaluationForm): Promise<Models.EvaluationFormResponse>;
4432
- putQualityFormsEvaluationPredictivescoringSettings(formId: string, body: Models.PredictiveScoringSettings): Promise<Models.PredictiveScoringSettings>;
4439
+ putQualityFormsEvaluationAiscoringSettings(formId: string, body: Models.AiScoringSettings): Promise<Models.AiScoringSettings>;
4433
4440
  putQualityFormsSurvey(formId: string, body: Models.SurveyForm): Promise<Models.SurveyForm>;
4434
4441
  putQualitySurveysScorable(customerSurveyUrl: string, body: Models.ScorableSurvey): Promise<Models.ScorableSurvey>;
4435
4442
  }
@@ -4812,6 +4819,7 @@ declare namespace ResponseManagementApi {
4812
4819
 
4813
4820
  declare class RoutingApi {
4814
4821
  deleteRoutingAssessment(assessmentId: string): Promise<void>;
4822
+ deleteRoutingDirectroutingbackupSettingsMe(): Promise<void>;
4815
4823
  deleteRoutingEmailDomain(domainId: string): Promise<void>;
4816
4824
  deleteRoutingEmailDomainRoute(domainName: string, routeId: string): Promise<void>;
4817
4825
  deleteRoutingEmailOutboundDomain(domainId: string): Promise<void>;
@@ -4826,6 +4834,7 @@ declare class RoutingApi {
4826
4834
  deleteRoutingSkillgroup(skillGroupId: string): Promise<void>;
4827
4835
  deleteRoutingSmsAddress(addressId: string): Promise<void>;
4828
4836
  deleteRoutingSmsPhonenumber(addressId: string): Promise<void>;
4837
+ deleteRoutingUserDirectroutingbackupSettings(userId: string): Promise<void>;
4829
4838
  deleteRoutingUserUtilization(userId: string): Promise<void>;
4830
4839
  deleteRoutingUtilization(): Promise<void>;
4831
4840
  deleteRoutingUtilizationLabel(labelId: string, opts?: RoutingApi.deleteRoutingUtilizationLabelOptions): Promise<void>;
@@ -4838,6 +4847,7 @@ declare class RoutingApi {
4838
4847
  getRoutingAssessmentsJob(jobId: string): Promise<Models.BenefitAssessmentJob>;
4839
4848
  getRoutingAssessmentsJobs(opts?: RoutingApi.getRoutingAssessmentsJobsOptions): Promise<Models.AssessmentJobListing>;
4840
4849
  getRoutingAvailablemediatypes(): Promise<Models.AvailableMediaTypeEntityListing>;
4850
+ getRoutingDirectroutingbackupSettingsMe(): Promise<Models.AgentDirectRoutingBackupSettings>;
4841
4851
  getRoutingEmailDomain(domainId: string): Promise<Models.InboundDomain>;
4842
4852
  getRoutingEmailDomainRoute(domainName: string, routeId: string): Promise<Models.InboundRoute>;
4843
4853
  getRoutingEmailDomainRoutes(domainName: string, opts?: RoutingApi.getRoutingEmailDomainRoutesOptions): Promise<Models.InboundRouteEntityListing>;
@@ -4882,6 +4892,7 @@ declare class RoutingApi {
4882
4892
  getRoutingSmsAvailablephonenumbers(countryCode: string, phoneNumberType: string, opts?: RoutingApi.getRoutingSmsAvailablephonenumbersOptions): Promise<Models.SMSAvailablePhoneNumberEntityListing>;
4883
4893
  getRoutingSmsPhonenumber(addressId: string, opts?: RoutingApi.getRoutingSmsPhonenumberOptions): Promise<Models.SmsPhoneNumber>;
4884
4894
  getRoutingSmsPhonenumbers(opts?: RoutingApi.getRoutingSmsPhonenumbersOptions): Promise<Models.SmsPhoneNumberEntityListing>;
4895
+ getRoutingUserDirectroutingbackupSettings(userId: string): Promise<Models.AgentDirectRoutingBackupSettings>;
4885
4896
  getRoutingUserUtilization(userId: string): Promise<Models.AgentMaxUtilizationResponse>;
4886
4897
  getRoutingUtilization(): Promise<Models.UtilizationResponse>;
4887
4898
  getRoutingUtilizationLabel(labelId: string): Promise<Models.UtilizationLabel>;
@@ -4941,6 +4952,7 @@ declare class RoutingApi {
4941
4952
  postRoutingWrapupcodes(body: Models.WrapupCodeRequest): Promise<Models.WrapupCode>;
4942
4953
  postUserRoutinglanguages(userId: string, body: Models.UserRoutingLanguagePost): Promise<Models.UserRoutingLanguage>;
4943
4954
  postUserRoutingskills(userId: string, body: Models.UserRoutingSkillPost): Promise<Models.UserRoutingSkill>;
4955
+ putRoutingDirectroutingbackupSettingsMe(body: Models.AgentDirectRoutingBackupSettings): Promise<Models.AgentDirectRoutingBackupSettings>;
4944
4956
  putRoutingEmailDomainRoute(domainName: string, routeId: string, body: Models.InboundRoute): Promise<Models.InboundRoute>;
4945
4957
  putRoutingEmailOutboundDomainActivation(domainId: string): Promise<Models.EmailOutboundDomainResult>;
4946
4958
  putRoutingMessageRecipient(recipientId: string, body: Models.RecipientRequest): Promise<Models.Recipient>;
@@ -4948,6 +4960,7 @@ declare class RoutingApi {
4948
4960
  putRoutingSettings(body: Models.RoutingSettings): Promise<Models.RoutingSettings>;
4949
4961
  putRoutingSettingsTranscription(body: Models.TranscriptionSettings): Promise<Models.TranscriptionSettings>;
4950
4962
  putRoutingSmsPhonenumber(addressId: string, body: Models.SmsPhoneNumber): Promise<Models.SmsPhoneNumber>;
4963
+ putRoutingUserDirectroutingbackupSettings(userId: string, body: Models.AgentDirectRoutingBackupSettings): Promise<Models.AgentDirectRoutingBackupSettings>;
4951
4964
  putRoutingUserUtilization(userId: string, body: Models.UtilizationRequest): Promise<Models.AgentMaxUtilizationResponse>;
4952
4965
  putRoutingUtilization(body: Models.UtilizationRequest): Promise<Models.UtilizationResponse>;
4953
4966
  putRoutingUtilizationLabel(labelId: string, body: Models.UpdateUtilizationLabelRequest): Promise<Models.UtilizationLabel>;
@@ -6269,6 +6282,8 @@ declare namespace UserRecordingsApi {
6269
6282
  declare class UsersApi {
6270
6283
  deleteAnalyticsUsersDetailsJob(jobId: string): Promise<void>;
6271
6284
  deleteAuthorizationSubjectDivisionRole(subjectId: string, divisionId: string, roleId: string): Promise<void>;
6285
+ deleteRoutingDirectroutingbackupSettingsMe(): Promise<void>;
6286
+ deleteRoutingUserDirectroutingbackupSettings(userId: string): Promise<void>;
6272
6287
  deleteRoutingUserUtilization(userId: string): Promise<void>;
6273
6288
  deleteUser(userId: string): Promise<object>;
6274
6289
  deleteUserRoutinglanguage(userId: string, languageId: string): Promise<void>;
@@ -6288,6 +6303,8 @@ declare class UsersApi {
6288
6303
  getAuthorizationSubjectsMe(opts?: UsersApi.getAuthorizationSubjectsMeOptions): Promise<Models.AuthzSubject>;
6289
6304
  getFieldconfig(type: string): Promise<Models.FieldConfig>;
6290
6305
  getProfilesUsers(opts?: UsersApi.getProfilesUsersOptions): Promise<Models.UserProfileEntityListing>;
6306
+ getRoutingDirectroutingbackupSettingsMe(): Promise<Models.AgentDirectRoutingBackupSettings>;
6307
+ getRoutingUserDirectroutingbackupSettings(userId: string): Promise<Models.AgentDirectRoutingBackupSettings>;
6291
6308
  getRoutingUserUtilization(userId: string): Promise<Models.AgentMaxUtilizationResponse>;
6292
6309
  getUser(userId: string, opts?: UsersApi.getUserOptions): Promise<Models.User>;
6293
6310
  getUserAdjacents(userId: string, opts?: UsersApi.getUserAdjacentsOptions): Promise<Models.Adjacents>;
@@ -6346,6 +6363,8 @@ declare class UsersApi {
6346
6363
  postUsersSearchConversationTarget(body: Models.UserSearchRequest): Promise<Models.UsersSearchResponse>;
6347
6364
  postUsersSearchQueuemembersManage(body: Models.UserSearchRequest): Promise<Models.UsersSearchResponse>;
6348
6365
  postUsersSearchTeamsAssign(body: Models.UserSearchRequest): Promise<Models.UsersSearchResponse>;
6366
+ putRoutingDirectroutingbackupSettingsMe(body: Models.AgentDirectRoutingBackupSettings): Promise<Models.AgentDirectRoutingBackupSettings>;
6367
+ putRoutingUserDirectroutingbackupSettings(userId: string, body: Models.AgentDirectRoutingBackupSettings): Promise<Models.AgentDirectRoutingBackupSettings>;
6349
6368
  putRoutingUserUtilization(userId: string, body: Models.UtilizationRequest): Promise<Models.AgentMaxUtilizationResponse>;
6350
6369
  putUserCallforwarding(userId: string, body: Models.CallForwarding): Promise<Models.CallForwarding>;
6351
6370
  putUserOutofoffice(userId: string, body: Models.OutOfOffice): Promise<Models.OutOfOffice>;
@@ -7711,6 +7730,12 @@ declare namespace Models {
7711
7730
  "selfUri"?: string;
7712
7731
  }
7713
7732
 
7733
+ export interface ActivityCodesReference {
7734
+ "id"?: string;
7735
+ "ids"?: Array<string>;
7736
+ "selfUri"?: string;
7737
+ }
7738
+
7714
7739
  export interface ActivityPlanAbandonRateImpactOverride {
7715
7740
  "increaseByPercent": number;
7716
7741
  }
@@ -8217,6 +8242,14 @@ declare namespace Models {
8217
8242
  "pageSize"?: number;
8218
8243
  }
8219
8244
 
8245
+ export interface AgentDirectRoutingBackupSettings {
8246
+ "queueId"?: string;
8247
+ "userId"?: string;
8248
+ "waitForAgent"?: boolean;
8249
+ "agentWaitSeconds"?: number;
8250
+ "backedUpUsers"?: Array<string>;
8251
+ }
8252
+
8220
8253
  export interface AgentEvaluatorActivity {
8221
8254
  "id"?: string;
8222
8255
  "name"?: string;
@@ -8384,6 +8417,25 @@ declare namespace Models {
8384
8417
  "lt"?: number;
8385
8418
  }
8386
8419
 
8420
+ export interface AiAnswer {
8421
+ "answerId"?: string;
8422
+ "explanation"?: string;
8423
+ "failureType"?: string;
8424
+ }
8425
+
8426
+ export interface AiScoring {
8427
+ }
8428
+
8429
+ export interface AiScoringSetting {
8430
+ "enabled"?: boolean;
8431
+ }
8432
+
8433
+ export interface AiScoringSettings {
8434
+ "id"?: string;
8435
+ "questionGroupSettings"?: Array<Models.QuestionGroupSettings>;
8436
+ "selfUri"?: string;
8437
+ }
8438
+
8387
8439
  export interface AlertListing {
8388
8440
  "entities"?: Array<Models.CommonAlert>;
8389
8441
  "pageSize"?: number;
@@ -9570,6 +9622,13 @@ declare namespace Models {
9570
9622
  "actions"?: Array<string>;
9571
9623
  }
9572
9624
 
9625
+ export interface AuditQueryExecutionLargeResultsResponse {
9626
+ "id"?: string;
9627
+ "pageSize"?: number;
9628
+ "cursor"?: string;
9629
+ "downloadUrl"?: string;
9630
+ }
9631
+
9573
9632
  export interface AuditQueryExecutionResultsResponse {
9574
9633
  "id"?: string;
9575
9634
  "pageSize"?: number;
@@ -16440,6 +16499,7 @@ declare namespace Models {
16440
16499
  "toAddressMessengerType": string;
16441
16500
  "useExistingConversation"?: boolean;
16442
16501
  "externalContactId"?: string;
16502
+ "useUserFromAddress"?: boolean;
16443
16503
  }
16444
16504
 
16445
16505
  export interface CreateOutboundMessagingConversationResponse {
@@ -24171,6 +24231,12 @@ declare namespace Models {
24171
24231
  "pageCount"?: number;
24172
24232
  }
24173
24233
 
24234
+ export interface IdentityResolutionConfig {
24235
+ "id"?: string;
24236
+ "resolveIdentities": boolean;
24237
+ "selfUri"?: string;
24238
+ }
24239
+
24174
24240
  export interface IdleEventTrigger {
24175
24241
  "eventName": string;
24176
24242
  "idleAfterSeconds"?: number;
@@ -24392,6 +24458,7 @@ declare namespace Models {
24392
24458
  "status"?: string;
24393
24459
  "errorInfo"?: Models.ErrorInfo;
24394
24460
  "results"?: string;
24461
+ "rollbackResults"?: string;
24395
24462
  "selfUri"?: string;
24396
24463
  }
24397
24464
 
@@ -25690,9 +25757,16 @@ declare namespace Models {
25690
25757
  }
25691
25758
 
25692
25759
  export interface JourneyViewListing {
25693
- "total"?: number;
25694
25760
  "entities"?: Array<Models.JourneyView>;
25761
+ "pageSize"?: number;
25762
+ "pageNumber"?: number;
25763
+ "total"?: number;
25764
+ "lastUri"?: string;
25765
+ "firstUri"?: string;
25695
25766
  "selfUri"?: string;
25767
+ "nextUri"?: string;
25768
+ "previousUri"?: string;
25769
+ "pageCount"?: number;
25696
25770
  }
25697
25771
 
25698
25772
  export interface JourneyViewResult {
@@ -32290,15 +32364,6 @@ declare namespace Models {
32290
32364
  "nuanceMixDlg"?: { [key: string]: object; };
32291
32365
  }
32292
32366
 
32293
- export interface PredictedAnswer {
32294
- "answerId"?: string;
32295
- "explanation"?: string;
32296
- "failureType"?: string;
32297
- }
32298
-
32299
- export interface PredictedScoring {
32300
- }
32301
-
32302
32367
  export interface PredictionResults {
32303
32368
  "intent"?: string;
32304
32369
  "formula": string;
@@ -32310,16 +32375,6 @@ declare namespace Models {
32310
32375
  "enableConversationScoreBiasing"?: boolean;
32311
32376
  }
32312
32377
 
32313
- export interface PredictiveScoringSetting {
32314
- "enabled"?: boolean;
32315
- }
32316
-
32317
- export interface PredictiveScoringSettings {
32318
- "id"?: string;
32319
- "questionGroupSettings"?: Array<Models.QuestionGroupSettings>;
32320
- "selfUri"?: string;
32321
- }
32322
-
32323
32378
  export interface Predictor {
32324
32379
  "id"?: string;
32325
32380
  "queues": Array<Models.AddressableEntityRef>;
@@ -32884,7 +32939,7 @@ declare namespace Models {
32884
32939
 
32885
32940
  export interface QuestionSettings {
32886
32941
  "questionIndex"?: number;
32887
- "settings"?: Models.PredictiveScoringSetting;
32942
+ "settings"?: Models.AiScoringSetting;
32888
32943
  }
32889
32944
 
32890
32945
  export interface Queue {
@@ -40908,6 +40963,8 @@ declare namespace Models {
40908
40963
  "id"?: string;
40909
40964
  "enabled": boolean;
40910
40965
  "usesDefaultRole"?: boolean;
40966
+ "hasFullAccess"?: boolean;
40967
+ "isTrustedUser"?: boolean;
40911
40968
  "dateCreated"?: string;
40912
40969
  "dateExpired"?: string;
40913
40970
  "createdBy"?: Models.OrgUser;
@@ -43343,6 +43400,7 @@ declare namespace Models {
43343
43400
  "read"?: boolean;
43344
43401
  "audioRecordingDurationSeconds"?: number;
43345
43402
  "audioRecordingSizeBytes"?: number;
43403
+ "transcription"?: string;
43346
43404
  "createdDate"?: string;
43347
43405
  "modifiedDate"?: string;
43348
43406
  "deletedDate"?: string;
@@ -45409,6 +45467,7 @@ declare namespace Models {
45409
45467
  "showTimeInStatus"?: boolean;
45410
45468
  "showOfflineAgents"?: boolean;
45411
45469
  "selectedStatuses"?: Array<string>;
45470
+ "agentInteractionSortOrder"?: string;
45412
45471
  }
45413
45472
 
45414
45473
  export interface WidgetClientConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "198.0.0",
3
+ "version": "200.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",
@@ -4,7 +4,7 @@ import { default as qs } from 'qs';
4
4
 
5
5
  /**
6
6
  * @module purecloud-platform-client-v2/ApiClient
7
- * @version 198.0.0
7
+ * @version 200.0.0
8
8
  */
9
9
  class ApiClient {
10
10
  /**
@@ -5,7 +5,7 @@ class AgentUIApi {
5
5
  /**
6
6
  * AgentUI service.
7
7
  * @module purecloud-platform-client-v2/api/AgentUIApi
8
- * @version 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -93,6 +93,7 @@ class AuditApi {
93
93
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
94
94
  * @param {Number} opts.pageSize Indicates maximum number of results in response. Default page size is 25 results. The maximum page size is 500. (default to 25)
95
95
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
96
+ * @param {Boolean} opts.allowRedirect Result sets with large amounts of data will respond with a download url
96
97
  */
97
98
  getAuditsQueryTransactionIdResults(transactionId, opts) {
98
99
  opts = opts || {};
@@ -106,7 +107,7 @@ class AuditApi {
106
107
  '/api/v2/audits/query/{transactionId}/results',
107
108
  'GET',
108
109
  { 'transactionId': transactionId },
109
- { 'cursor': opts['cursor'],'pageSize': opts['pageSize'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
110
+ { 'cursor': opts['cursor'],'pageSize': opts['pageSize'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'allowRedirect': opts['allowRedirect'] },
110
111
  { },
111
112
  { },
112
113
  null,
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -4324,7 +4324,6 @@ class ConversationsApi {
4324
4324
  * Barge a conversation creating a barged in conference of connected participants.
4325
4325
  *
4326
4326
  * @param {String} conversationId conversation ID
4327
- * postConversationBarge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4328
4327
  */
4329
4328
  postConversationBarge(conversationId) {
4330
4329
  // verify the required parameter 'conversationId' is set
@@ -4772,7 +4771,6 @@ class ConversationsApi {
4772
4771
  *
4773
4772
  * @param {String} conversationId conversationId
4774
4773
  * @param {String} participantId participantId
4775
- * postConversationsCallParticipantBarge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4776
4774
  */
4777
4775
  postConversationsCallParticipantBarge(conversationId, participantId) {
4778
4776
  // verify the required parameter 'conversationId' is set
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmployeeEngagementApi {
5
5
  /**
6
6
  * EmployeeEngagement service.
7
7
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
8
- * @version 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FaxApi {
5
5
  /**
6
6
  * Fax service.
7
7
  * @module purecloud-platform-client-v2/api/FaxApi
8
- * @version 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.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 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeolocationApi {
5
5
  /**
6
6
  * Geolocation service.
7
7
  * @module purecloud-platform-client-v2/api/GeolocationApi
8
- * @version 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GreetingsApi {
5
5
  /**
6
6
  * Greetings service.
7
7
  * @module purecloud-platform-client-v2/api/GreetingsApi
8
- * @version 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GroupsApi {
5
5
  /**
6
6
  * Groups service.
7
7
  * @module purecloud-platform-client-v2/api/GroupsApi
8
- * @version 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IdentityProviderApi {
5
5
  /**
6
6
  * IdentityProvider service.
7
7
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
8
- * @version 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class InfrastructureAsCodeApi {
5
5
  /**
6
6
  * InfrastructureAsCode service.
7
7
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
8
- * @version 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IntegrationsApi {
5
5
  /**
6
6
  * Integrations service.
7
7
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8
- * @version 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 198.0.0
8
+ * @version 200.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -961,15 +961,22 @@ class JourneyApi {
961
961
  /**
962
962
  * Get a list of Journey Views
963
963
  *
964
+ * @param {Object} opts Optional parameters
965
+ * @param {Number} opts.pageNumber Page number (default to 1)
966
+ * @param {Number} opts.pageSize Page size (default to 25)
967
+ * @param {String} opts.nameOrCreatedBy Journey View Name or Created By
968
+ * @param {Object} opts.expand Parameter to request additional data to return in Journey payload
964
969
  * getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
965
970
  */
966
- getJourneyViews() {
971
+ getJourneyViews(opts) {
972
+ opts = opts || {};
973
+
967
974
 
968
975
  return this.apiClient.callApi(
969
976
  '/api/v2/journey/views',
970
977
  'GET',
971
978
  { },
972
- { },
979
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'nameOrCreatedBy': opts['nameOrCreatedBy'],'expand': opts['expand'] },
973
980
  { },
974
981
  { },
975
982
  null,