purecloud-platform-client-v2 224.0.0 → 225.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 (94) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +2705 -2649
  3. package/dist/web-amd/purecloud-platform-client-v2.js +2705 -2649
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +2636 -2630
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +2636 -2630
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +95 -0
  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/AIStudioApi.js +16 -16
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +45 -45
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +121 -121
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +29 -29
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +342 -342
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +16 -16
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +80 -80
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +119 -119
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -7
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +95 -95
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +93 -93
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +16 -16
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +317 -317
  93. package/src/purecloud-platform-client-v2/configuration.js +80 -23
  94. package/src/purecloud-platform-client-v2/index.js +1 -1
package/index.d.ts CHANGED
@@ -84,6 +84,7 @@ declare class Configuration {
84
84
  setEnvironment(environment: string): void;
85
85
  setGateway(gateway: GatewayConfiguration): void;
86
86
  getConfUrl(pathType: string, regionUrl: string): string;
87
+ setConfigPath(path: string): void;
87
88
  }
88
89
 
89
90
  declare class HttpRequestOptions {
@@ -16459,6 +16460,7 @@ declare namespace Models {
16459
16460
  "otherMediaUris"?: Array<string>;
16460
16461
  "address"?: string;
16461
16462
  "utilizationLabelId"?: string;
16463
+ "inactivityTimeout"?: string;
16462
16464
  "divisions"?: Array<Models.ConversationCallEventTopicConversationDivisionMembership>;
16463
16465
  "recordingState"?: string;
16464
16466
  "securePause"?: boolean;
@@ -16651,6 +16653,7 @@ declare namespace Models {
16651
16653
  "otherMediaUris"?: Array<string>;
16652
16654
  "address"?: string;
16653
16655
  "utilizationLabelId"?: string;
16656
+ "inactivityTimeout"?: string;
16654
16657
  "divisions"?: Array<Models.ConversationCallbackEventTopicConversationDivisionMembership>;
16655
16658
  }
16656
16659
 
@@ -16892,6 +16895,7 @@ declare namespace Models {
16892
16895
  "otherMediaUris"?: Array<string>;
16893
16896
  "address"?: string;
16894
16897
  "utilizationLabelId"?: string;
16898
+ "inactivityTimeout"?: string;
16895
16899
  "divisions"?: Array<Models.ConversationChatEventTopicConversationDivisionMembership>;
16896
16900
  }
16897
16901
 
@@ -17054,6 +17058,7 @@ declare namespace Models {
17054
17058
  "otherMediaUris"?: Array<string>;
17055
17059
  "address"?: string;
17056
17060
  "utilizationLabelId"?: string;
17061
+ "inactivityTimeout"?: string;
17057
17062
  "divisions"?: Array<Models.ConversationCobrowseEventTopicConversationDivisionMembership>;
17058
17063
  }
17059
17064
 
@@ -17508,6 +17513,7 @@ declare namespace Models {
17508
17513
  "otherMediaUris"?: Array<string>;
17509
17514
  "address"?: string;
17510
17515
  "utilizationLabelId"?: string;
17516
+ "inactivityTimeout"?: string;
17511
17517
  "divisions"?: Array<Models.ConversationEmailEventTopicConversationDivisionMembership>;
17512
17518
  }
17513
17519
 
@@ -17824,6 +17830,7 @@ declare namespace Models {
17824
17830
  "externalTag"?: string;
17825
17831
  "utilizationLabelId"?: string;
17826
17832
  "securePause"?: boolean;
17833
+ "inactivityTimeout"?: string;
17827
17834
  "divisions"?: Array<Models.ConversationEventTopicConversationDivisionMembership>;
17828
17835
  }
17829
17836
 
@@ -18371,6 +18378,7 @@ declare namespace Models {
18371
18378
  "otherMediaUris"?: Array<string>;
18372
18379
  "address"?: string;
18373
18380
  "utilizationLabelId"?: string;
18381
+ "inactivityTimeout"?: string;
18374
18382
  "divisions"?: Array<Models.ConversationMessageEventTopicConversationDivisionMembership>;
18375
18383
  }
18376
18384
 
@@ -18898,6 +18906,7 @@ declare namespace Models {
18898
18906
  "otherMediaUris"?: Array<string>;
18899
18907
  "address"?: string;
18900
18908
  "utilizationLabelId"?: string;
18909
+ "inactivityTimeout"?: string;
18901
18910
  "divisions"?: Array<Models.ConversationScreenShareEventTopicConversationDivisionMembership>;
18902
18911
  }
18903
18912
 
@@ -19079,6 +19088,7 @@ declare namespace Models {
19079
19088
  "otherMediaUris"?: Array<string>;
19080
19089
  "address"?: string;
19081
19090
  "utilizationLabelId"?: string;
19091
+ "inactivityTimeout"?: string;
19082
19092
  "divisions"?: Array<Models.ConversationSocialExpressionEventTopicConversationDivisionMembership>;
19083
19093
  }
19084
19094
 
@@ -19479,6 +19489,7 @@ declare namespace Models {
19479
19489
  "otherMediaUris"?: Array<string>;
19480
19490
  "address"?: string;
19481
19491
  "utilizationLabelId"?: string;
19492
+ "inactivityTimeout"?: string;
19482
19493
  "divisions"?: Array<Models.ConversationVideoEventTopicConversationDivisionMembership>;
19483
19494
  }
19484
19495
 
@@ -39035,6 +39046,7 @@ declare namespace Models {
39035
39046
  "otherMediaUris"?: Array<string>;
39036
39047
  "address"?: string;
39037
39048
  "utilizationLabelId"?: string;
39049
+ "inactivityTimeout"?: string;
39038
39050
  "divisions"?: Array<Models.QueueConversationCallEventTopicConversationDivisionMembership>;
39039
39051
  "recordingState"?: string;
39040
39052
  "securePause"?: boolean;
@@ -39227,6 +39239,7 @@ declare namespace Models {
39227
39239
  "otherMediaUris"?: Array<string>;
39228
39240
  "address"?: string;
39229
39241
  "utilizationLabelId"?: string;
39242
+ "inactivityTimeout"?: string;
39230
39243
  "divisions"?: Array<Models.QueueConversationCallbackEventTopicConversationDivisionMembership>;
39231
39244
  }
39232
39245
 
@@ -39410,6 +39423,7 @@ declare namespace Models {
39410
39423
  "otherMediaUris"?: Array<string>;
39411
39424
  "address"?: string;
39412
39425
  "utilizationLabelId"?: string;
39426
+ "inactivityTimeout"?: string;
39413
39427
  "divisions"?: Array<Models.QueueConversationChatEventTopicConversationDivisionMembership>;
39414
39428
  }
39415
39429
 
@@ -39568,6 +39582,7 @@ declare namespace Models {
39568
39582
  "otherMediaUris"?: Array<string>;
39569
39583
  "address"?: string;
39570
39584
  "utilizationLabelId"?: string;
39585
+ "inactivityTimeout"?: string;
39571
39586
  "divisions"?: Array<Models.QueueConversationCobrowseEventTopicConversationDivisionMembership>;
39572
39587
  }
39573
39588
 
@@ -39768,6 +39783,7 @@ declare namespace Models {
39768
39783
  "otherMediaUris"?: Array<string>;
39769
39784
  "address"?: string;
39770
39785
  "utilizationLabelId"?: string;
39786
+ "inactivityTimeout"?: string;
39771
39787
  "divisions"?: Array<Models.QueueConversationEmailEventTopicConversationDivisionMembership>;
39772
39788
  }
39773
39789
 
@@ -40032,6 +40048,7 @@ declare namespace Models {
40032
40048
  "externalTag"?: string;
40033
40049
  "utilizationLabelId"?: string;
40034
40050
  "securePause"?: boolean;
40051
+ "inactivityTimeout"?: string;
40035
40052
  "divisions"?: Array<Models.QueueConversationEventTopicConversationDivisionMembership>;
40036
40053
  }
40037
40054
 
@@ -40513,6 +40530,7 @@ declare namespace Models {
40513
40530
  "otherMediaUris"?: Array<string>;
40514
40531
  "address"?: string;
40515
40532
  "utilizationLabelId"?: string;
40533
+ "inactivityTimeout"?: string;
40516
40534
  "divisions"?: Array<Models.QueueConversationMessageEventTopicConversationDivisionMembership>;
40517
40535
  }
40518
40536
 
@@ -40728,6 +40746,7 @@ declare namespace Models {
40728
40746
  "otherMediaUris"?: Array<string>;
40729
40747
  "address"?: string;
40730
40748
  "utilizationLabelId"?: string;
40749
+ "inactivityTimeout"?: string;
40731
40750
  "divisions"?: Array<Models.QueueConversationScreenShareEventTopicConversationDivisionMembership>;
40732
40751
  }
40733
40752
 
@@ -40930,6 +40949,7 @@ declare namespace Models {
40930
40949
  "externalTag"?: string;
40931
40950
  "utilizationLabelId"?: string;
40932
40951
  "securePause"?: boolean;
40952
+ "inactivityTimeout"?: string;
40933
40953
  "divisions"?: Array<Models.QueueConversationSocialExpressionEventTopicConversationDivisionMembership>;
40934
40954
  }
40935
40955
 
@@ -41456,6 +41476,7 @@ declare namespace Models {
41456
41476
  "externalTag"?: string;
41457
41477
  "utilizationLabelId"?: string;
41458
41478
  "securePause"?: boolean;
41479
+ "inactivityTimeout"?: string;
41459
41480
  "divisions"?: Array<Models.QueueConversationVideoEventTopicConversationDivisionMembership>;
41460
41481
  }
41461
41482
 
@@ -50439,18 +50460,69 @@ declare namespace Models {
50439
50460
  "waitBetweenNotificationMs"?: number;
50440
50461
  }
50441
50462
 
50463
+ export interface V2QueueObservationMetricData {
50464
+ "metric"?: string;
50465
+ "observations"?: Array<Models.V2QueueObservationObservation>;
50466
+ "truncated"?: boolean;
50467
+ "stats"?: Models.V2QueueObservationMetricStats;
50468
+ }
50469
+
50470
+ export interface V2QueueObservationMetricGroup {
50471
+ "group"?: { [key: string]: string; };
50472
+ "data"?: Models.V2QueueObservationMetricData;
50473
+ }
50474
+
50475
+ export interface V2QueueObservationMetricStats {
50476
+ "count"?: number;
50477
+ "calculatedMetricValue"?: number;
50478
+ }
50479
+
50480
+ export interface V2QueueObservationObservation {
50481
+ "observationDate"?: string;
50482
+ "conversationId"?: string;
50483
+ "sessionId"?: string;
50484
+ "requestedRoutingSkillIds"?: Array<string>;
50485
+ "requestedLanguageId"?: string;
50486
+ "routingPriority"?: number;
50487
+ "participantName"?: string;
50488
+ "userId"?: string;
50489
+ "direction"?: string;
50490
+ "convertedFrom"?: string;
50491
+ "convertedTo"?: string;
50492
+ "addressFrom"?: string;
50493
+ "addressTo"?: string;
50494
+ "ani"?: string;
50495
+ "dnis"?: string;
50496
+ "teamId"?: string;
50497
+ "scoredAgents"?: Array<Models.V2QueueObservationScoredAgent>;
50498
+ "requestedRoutings"?: Array<string>;
50499
+ "usedRouting"?: string;
50500
+ }
50501
+
50502
+ export interface V2QueueObservationObservationNotification {
50503
+ "results"?: Array<Models.V2QueueObservationMetricGroup>;
50504
+ }
50505
+
50506
+ export interface V2QueueObservationScoredAgent {
50507
+ "scoredAgentId"?: string;
50508
+ "agentScore"?: number;
50509
+ }
50510
+
50442
50511
  export interface V2SessionConversationsSummarySettingsPreviewEventConversationFollowupAction {
50443
50512
  "text"?: string;
50513
+ "description"?: string;
50444
50514
  "score"?: number;
50445
50515
  }
50446
50516
 
50447
50517
  export interface V2SessionConversationsSummarySettingsPreviewEventConversationReasonMessage {
50448
50518
  "text"?: string;
50519
+ "description"?: string;
50449
50520
  "score"?: number;
50450
50521
  }
50451
50522
 
50452
50523
  export interface V2SessionConversationsSummarySettingsPreviewEventConversationResolutionMessage {
50453
50524
  "text"?: string;
50525
+ "description"?: string;
50454
50526
  "score"?: number;
50455
50527
  }
50456
50528
 
@@ -50481,6 +50553,29 @@ declare namespace Models {
50481
50553
  "durationMs"?: number;
50482
50554
  }
50483
50555
 
50556
+ export interface V2StaTopicsDetectedTopicParticipant {
50557
+ "userId"?: string;
50558
+ "queueId"?: string;
50559
+ "divisionId"?: string;
50560
+ "purpose"?: string;
50561
+ }
50562
+
50563
+ export interface V2StaTopicsDetectedTopicTopicDetected {
50564
+ "participant"?: string;
50565
+ "topicId"?: string;
50566
+ "topicName"?: string;
50567
+ }
50568
+
50569
+ export interface V2StaTopicsDetectedTopicTopicsDetectedMessage {
50570
+ "conversationId"?: string;
50571
+ "communicationId"?: string;
50572
+ "recordingId"?: string;
50573
+ "transcriptId"?: string;
50574
+ "mediaType"?: string;
50575
+ "topics"?: Array<Models.V2StaTopicsDetectedTopicTopicDetected>;
50576
+ "participants"?: Array<Models.V2StaTopicsDetectedTopicParticipant>;
50577
+ }
50578
+
50484
50579
  export interface V2WebMessagingUndeliveredMessageTopicMessage {
50485
50580
  "id"?: string;
50486
50581
  "eventTimeMs"?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "224.0.0",
3
+ "version": "225.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",
@@ -6,7 +6,7 @@ import { default as qs } from 'qs';
6
6
 
7
7
  /**
8
8
  * @module purecloud-platform-client-v2/ApiClient
9
- * @version 224.0.0
9
+ * @version 225.0.0
10
10
  */
11
11
  class ApiClient {
12
12
  /**
@@ -5,7 +5,7 @@ class AIStudioApi {
5
5
  /**
6
6
  * AIStudio service.
7
7
  * @module purecloud-platform-client-v2/api/AIStudioApi
8
- * @version 224.0.0
8
+ * @version 225.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -28,7 +28,7 @@ class AIStudioApi {
28
28
  */
29
29
  deleteGuideJobs(guideId) {
30
30
  // verify the required parameter 'guideId' is set
31
- if (guideId === undefined || guideId === null) {
31
+ if (guideId === undefined || guideId === null || guideId === '') {
32
32
  throw 'Missing the required parameter "guideId" when calling deleteGuideJobs';
33
33
  }
34
34
 
@@ -54,7 +54,7 @@ class AIStudioApi {
54
54
  */
55
55
  getGuide(guideId) {
56
56
  // verify the required parameter 'guideId' is set
57
- if (guideId === undefined || guideId === null) {
57
+ if (guideId === undefined || guideId === null || guideId === '') {
58
58
  throw 'Missing the required parameter "guideId" when calling getGuide';
59
59
  }
60
60
 
@@ -81,11 +81,11 @@ class AIStudioApi {
81
81
  */
82
82
  getGuideJob(guideId, jobId) {
83
83
  // verify the required parameter 'guideId' is set
84
- if (guideId === undefined || guideId === null) {
84
+ if (guideId === undefined || guideId === null || guideId === '') {
85
85
  throw 'Missing the required parameter "guideId" when calling getGuideJob';
86
86
  }
87
87
  // verify the required parameter 'jobId' is set
88
- if (jobId === undefined || jobId === null) {
88
+ if (jobId === undefined || jobId === null || jobId === '') {
89
89
  throw 'Missing the required parameter "jobId" when calling getGuideJob';
90
90
  }
91
91
 
@@ -112,11 +112,11 @@ class AIStudioApi {
112
112
  */
113
113
  getGuideVersion(guideId, versionId) {
114
114
  // verify the required parameter 'guideId' is set
115
- if (guideId === undefined || guideId === null) {
115
+ if (guideId === undefined || guideId === null || guideId === '') {
116
116
  throw 'Missing the required parameter "guideId" when calling getGuideVersion';
117
117
  }
118
118
  // verify the required parameter 'versionId' is set
119
- if (versionId === undefined || versionId === null) {
119
+ if (versionId === undefined || versionId === null || versionId === '') {
120
120
  throw 'Missing the required parameter "versionId" when calling getGuideVersion';
121
121
  }
122
122
 
@@ -144,15 +144,15 @@ class AIStudioApi {
144
144
  */
145
145
  getGuideVersionJob(guideId, versionId, jobId) {
146
146
  // verify the required parameter 'guideId' is set
147
- if (guideId === undefined || guideId === null) {
147
+ if (guideId === undefined || guideId === null || guideId === '') {
148
148
  throw 'Missing the required parameter "guideId" when calling getGuideVersionJob';
149
149
  }
150
150
  // verify the required parameter 'versionId' is set
151
- if (versionId === undefined || versionId === null) {
151
+ if (versionId === undefined || versionId === null || versionId === '') {
152
152
  throw 'Missing the required parameter "versionId" when calling getGuideVersionJob';
153
153
  }
154
154
  // verify the required parameter 'jobId' is set
155
- if (jobId === undefined || jobId === null) {
155
+ if (jobId === undefined || jobId === null || jobId === '') {
156
156
  throw 'Missing the required parameter "jobId" when calling getGuideVersionJob';
157
157
  }
158
158
 
@@ -209,7 +209,7 @@ class AIStudioApi {
209
209
  */
210
210
  getGuidesJob(jobId) {
211
211
  // verify the required parameter 'jobId' is set
212
- if (jobId === undefined || jobId === null) {
212
+ if (jobId === undefined || jobId === null || jobId === '') {
213
213
  throw 'Missing the required parameter "jobId" when calling getGuidesJob';
214
214
  }
215
215
 
@@ -237,11 +237,11 @@ class AIStudioApi {
237
237
  */
238
238
  patchGuideVersion(guideId, versionId, body) {
239
239
  // verify the required parameter 'guideId' is set
240
- if (guideId === undefined || guideId === null) {
240
+ if (guideId === undefined || guideId === null || guideId === '') {
241
241
  throw 'Missing the required parameter "guideId" when calling patchGuideVersion';
242
242
  }
243
243
  // verify the required parameter 'versionId' is set
244
- if (versionId === undefined || versionId === null) {
244
+ if (versionId === undefined || versionId === null || versionId === '') {
245
245
  throw 'Missing the required parameter "versionId" when calling patchGuideVersion';
246
246
  }
247
247
  // verify the required parameter 'body' is set
@@ -273,11 +273,11 @@ class AIStudioApi {
273
273
  */
274
274
  postGuideVersionJobs(guideId, versionId, body) {
275
275
  // verify the required parameter 'guideId' is set
276
- if (guideId === undefined || guideId === null) {
276
+ if (guideId === undefined || guideId === null || guideId === '') {
277
277
  throw 'Missing the required parameter "guideId" when calling postGuideVersionJobs';
278
278
  }
279
279
  // verify the required parameter 'versionId' is set
280
- if (versionId === undefined || versionId === null) {
280
+ if (versionId === undefined || versionId === null || versionId === '') {
281
281
  throw 'Missing the required parameter "versionId" when calling postGuideVersionJobs';
282
282
  }
283
283
  // verify the required parameter 'body' is set
@@ -311,7 +311,7 @@ class AIStudioApi {
311
311
  opts = opts || {};
312
312
 
313
313
  // verify the required parameter 'guideId' is set
314
- if (guideId === undefined || guideId === null) {
314
+ if (guideId === undefined || guideId === null || guideId === '') {
315
315
  throw 'Missing the required parameter "guideId" when calling postGuideVersions';
316
316
  }
317
317
 
@@ -5,7 +5,7 @@ class AgentAssistantsApi {
5
5
  /**
6
6
  * AgentAssistants service.
7
7
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
8
- * @version 224.0.0
8
+ * @version 225.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class AgentAssistantsApi {
27
27
  */
28
28
  deleteAssistant(assistantId) {
29
29
  // verify the required parameter 'assistantId' is set
30
- if (assistantId === undefined || assistantId === null) {
30
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
31
31
  throw 'Missing the required parameter "assistantId" when calling deleteAssistant';
32
32
  }
33
33
 
@@ -53,11 +53,11 @@ class AgentAssistantsApi {
53
53
  */
54
54
  deleteAssistantQueue(assistantId, queueId) {
55
55
  // verify the required parameter 'assistantId' is set
56
- if (assistantId === undefined || assistantId === null) {
56
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
57
57
  throw 'Missing the required parameter "assistantId" when calling deleteAssistantQueue';
58
58
  }
59
59
  // verify the required parameter 'queueId' is set
60
- if (queueId === undefined || queueId === null) {
60
+ if (queueId === undefined || queueId === null || queueId === '') {
61
61
  throw 'Missing the required parameter "queueId" when calling deleteAssistantQueue';
62
62
  }
63
63
 
@@ -86,7 +86,7 @@ class AgentAssistantsApi {
86
86
  opts = opts || {};
87
87
 
88
88
  // verify the required parameter 'assistantId' is set
89
- if (assistantId === undefined || assistantId === null) {
89
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
90
90
  throw 'Missing the required parameter "assistantId" when calling deleteAssistantQueues';
91
91
  }
92
92
 
@@ -115,7 +115,7 @@ class AgentAssistantsApi {
115
115
  opts = opts || {};
116
116
 
117
117
  // verify the required parameter 'assistantId' is set
118
- if (assistantId === undefined || assistantId === null) {
118
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
119
119
  throw 'Missing the required parameter "assistantId" when calling getAssistant';
120
120
  }
121
121
 
@@ -145,11 +145,11 @@ class AgentAssistantsApi {
145
145
  opts = opts || {};
146
146
 
147
147
  // verify the required parameter 'assistantId' is set
148
- if (assistantId === undefined || assistantId === null) {
148
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
149
149
  throw 'Missing the required parameter "assistantId" when calling getAssistantQueue';
150
150
  }
151
151
  // verify the required parameter 'queueId' is set
152
- if (queueId === undefined || queueId === null) {
152
+ if (queueId === undefined || queueId === null || queueId === '') {
153
153
  throw 'Missing the required parameter "queueId" when calling getAssistantQueue';
154
154
  }
155
155
 
@@ -181,7 +181,7 @@ class AgentAssistantsApi {
181
181
  opts = opts || {};
182
182
 
183
183
  // verify the required parameter 'assistantId' is set
184
- if (assistantId === undefined || assistantId === null) {
184
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
185
185
  throw 'Missing the required parameter "assistantId" when calling getAssistantQueues';
186
186
  }
187
187
 
@@ -264,7 +264,7 @@ class AgentAssistantsApi {
264
264
  */
265
265
  patchAssistant(assistantId, body) {
266
266
  // verify the required parameter 'assistantId' is set
267
- if (assistantId === undefined || assistantId === null) {
267
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
268
268
  throw 'Missing the required parameter "assistantId" when calling patchAssistant';
269
269
  }
270
270
  // verify the required parameter 'body' is set
@@ -294,7 +294,7 @@ class AgentAssistantsApi {
294
294
  */
295
295
  patchAssistantQueues(assistantId, body) {
296
296
  // verify the required parameter 'assistantId' is set
297
- if (assistantId === undefined || assistantId === null) {
297
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
298
298
  throw 'Missing the required parameter "assistantId" when calling patchAssistantQueues';
299
299
  }
300
300
  // verify the required parameter 'body' is set
@@ -350,11 +350,11 @@ class AgentAssistantsApi {
350
350
  */
351
351
  putAssistantQueue(assistantId, queueId, body) {
352
352
  // verify the required parameter 'assistantId' is set
353
- if (assistantId === undefined || assistantId === null) {
353
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
354
354
  throw 'Missing the required parameter "assistantId" when calling putAssistantQueue';
355
355
  }
356
356
  // verify the required parameter 'queueId' is set
357
- if (queueId === undefined || queueId === null) {
357
+ if (queueId === undefined || queueId === null || queueId === '') {
358
358
  throw 'Missing the required parameter "queueId" when calling putAssistantQueue';
359
359
  }
360
360
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class AgentCopilotApi {
5
5
  /**
6
6
  * AgentCopilot service.
7
7
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
8
- * @version 224.0.0
8
+ * @version 225.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class AgentCopilotApi {
27
27
  */
28
28
  getAssistantCopilot(assistantId) {
29
29
  // verify the required parameter 'assistantId' is set
30
- if (assistantId === undefined || assistantId === null) {
30
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
31
31
  throw 'Missing the required parameter "assistantId" when calling getAssistantCopilot';
32
32
  }
33
33
 
@@ -53,7 +53,7 @@ class AgentCopilotApi {
53
53
  */
54
54
  putAssistantCopilot(assistantId, body) {
55
55
  // verify the required parameter 'assistantId' is set
56
- if (assistantId === undefined || assistantId === null) {
56
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
57
57
  throw 'Missing the required parameter "assistantId" when calling putAssistantCopilot';
58
58
  }
59
59
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class AgentUIApi {
5
5
  /**
6
6
  * AgentUI service.
7
7
  * @module purecloud-platform-client-v2/api/AgentUIApi
8
- * @version 224.0.0
8
+ * @version 225.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class AgentUIApi {
27
27
  */
28
28
  deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId) {
29
29
  // verify the required parameter 'agentId' is set
30
- if (agentId === undefined || agentId === null) {
30
+ if (agentId === undefined || agentId === null || agentId === '') {
31
31
  throw 'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';
32
32
  }
33
33
 
@@ -52,7 +52,7 @@ class AgentUIApi {
52
52
  */
53
53
  getUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId) {
54
54
  // verify the required parameter 'agentId' is set
55
- if (agentId === undefined || agentId === null) {
55
+ if (agentId === undefined || agentId === null || agentId === '') {
56
56
  throw 'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';
57
57
  }
58
58
 
@@ -78,7 +78,7 @@ class AgentUIApi {
78
78
  */
79
79
  patchUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId, body) {
80
80
  // verify the required parameter 'agentId' is set
81
- if (agentId === undefined || agentId === null) {
81
+ if (agentId === undefined || agentId === null || agentId === '') {
82
82
  throw 'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';
83
83
  }
84
84
  // verify the required parameter 'body' is set
@@ -108,7 +108,7 @@ class AgentUIApi {
108
108
  */
109
109
  putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId, body) {
110
110
  // verify the required parameter 'agentId' is set
111
- if (agentId === undefined || agentId === null) {
111
+ if (agentId === undefined || agentId === null || agentId === '') {
112
112
  throw 'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';
113
113
  }
114
114
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 224.0.0
8
+ * @version 225.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class AlertingApi {
27
27
  */
28
28
  deleteAlertingAlert(alertId) {
29
29
  // verify the required parameter 'alertId' is set
30
- if (alertId === undefined || alertId === null) {
30
+ if (alertId === undefined || alertId === null || alertId === '') {
31
31
  throw 'Missing the required parameter "alertId" when calling deleteAlertingAlert';
32
32
  }
33
33
 
@@ -72,7 +72,7 @@ class AlertingApi {
72
72
  */
73
73
  deleteAlertingRule(ruleId) {
74
74
  // verify the required parameter 'ruleId' is set
75
- if (ruleId === undefined || ruleId === null) {
75
+ if (ruleId === undefined || ruleId === null || ruleId === '') {
76
76
  throw 'Missing the required parameter "ruleId" when calling deleteAlertingRule';
77
77
  }
78
78
 
@@ -97,7 +97,7 @@ class AlertingApi {
97
97
  */
98
98
  getAlertingAlert(alertId) {
99
99
  // verify the required parameter 'alertId' is set
100
- if (alertId === undefined || alertId === null) {
100
+ if (alertId === undefined || alertId === null || alertId === '') {
101
101
  throw 'Missing the required parameter "alertId" when calling getAlertingAlert';
102
102
  }
103
103
 
@@ -122,7 +122,7 @@ class AlertingApi {
122
122
  */
123
123
  getAlertingRule(ruleId) {
124
124
  // verify the required parameter 'ruleId' is set
125
- if (ruleId === undefined || ruleId === null) {
125
+ if (ruleId === undefined || ruleId === null || ruleId === '') {
126
126
  throw 'Missing the required parameter "ruleId" when calling getAlertingRule';
127
127
  }
128
128
 
@@ -151,7 +151,7 @@ class AlertingApi {
151
151
  opts = opts || {};
152
152
 
153
153
  // verify the required parameter 'alertId' is set
154
- if (alertId === undefined || alertId === null) {
154
+ if (alertId === undefined || alertId === null || alertId === '') {
155
155
  throw 'Missing the required parameter "alertId" when calling patchAlertingAlert';
156
156
  }
157
157
 
@@ -352,7 +352,7 @@ class AlertingApi {
352
352
  opts = opts || {};
353
353
 
354
354
  // verify the required parameter 'alertId' is set
355
- if (alertId === undefined || alertId === null) {
355
+ if (alertId === undefined || alertId === null || alertId === '') {
356
356
  throw 'Missing the required parameter "alertId" when calling putAlertingAlert';
357
357
  }
358
358
 
@@ -378,7 +378,7 @@ class AlertingApi {
378
378
  */
379
379
  putAlertingRule(ruleId, body) {
380
380
  // verify the required parameter 'ruleId' is set
381
- if (ruleId === undefined || ruleId === null) {
381
+ if (ruleId === undefined || ruleId === null || ruleId === '') {
382
382
  throw 'Missing the required parameter "ruleId" when calling putAlertingRule';
383
383
  }
384
384
  // verify the required parameter 'body' is set