purecloud-platform-client-v2 163.0.0 → 165.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 (78) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +206 -169
  3. package/dist/web-amd/purecloud-platform-client-v2.js +206 -169
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +206 -169
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +206 -169
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +84 -66
  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 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +2 -2
  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/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +41 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
  56. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +2 -97
  65. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UsageApi.js +90 -1
  69. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UsersApi.js +5 -3
  71. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/index.js +1 -1
package/index.d.ts CHANGED
@@ -1088,6 +1088,7 @@ declare class ConversationsApi {
1088
1088
  patchConversationParticipant(conversationId: string, participantId: string, body: Models.MediaParticipantRequest): Promise<void>;
1089
1089
  patchConversationParticipantAttributes(conversationId: string, participantId: string, body: Models.ParticipantAttributes): Promise<void>;
1090
1090
  patchConversationSecureattributes(conversationId: string, body: Models.ConversationSecureAttributes): Promise<string>;
1091
+ patchConversationsAftercallworkConversationIdParticipantCommunication(conversationId: string, participantId: string, communicationId: string, body: Models.AfterCallWorkUpdate): Promise<Models.AfterCallWorkUpdate>;
1091
1092
  patchConversationsCall(conversationId: string, body: Models.Conversation): Promise<Models.Conversation>;
1092
1093
  patchConversationsCallParticipant(conversationId: string, participantId: string, body: Models.MediaParticipantRequest): Promise<void>;
1093
1094
  patchConversationsCallParticipantAttributes(conversationId: string, participantId: string, body: Models.ParticipantAttributes): Promise<void>;
@@ -1364,22 +1365,22 @@ declare namespace ConversationsApi {
1364
1365
  "body"?: Models.CreateSecureSession;
1365
1366
  }
1366
1367
  export interface postConversationsCallParticipantCommunicationWrapupOptions {
1367
- "body"?: Models.ExtendedWrapup;
1368
+ "body"?: Models.WrapupInput;
1368
1369
  }
1369
1370
  export interface postConversationsCallbackParticipantCommunicationWrapupOptions {
1370
- "body"?: Models.ExtendedWrapup;
1371
+ "body"?: Models.WrapupInput;
1371
1372
  }
1372
1373
  export interface postConversationsChatParticipantCommunicationWrapupOptions {
1373
- "body"?: Models.ExtendedWrapup;
1374
+ "body"?: Models.WrapupInput;
1374
1375
  }
1375
1376
  export interface postConversationsCobrowsesessionParticipantCommunicationWrapupOptions {
1376
- "body"?: Models.ExtendedWrapup;
1377
+ "body"?: Models.WrapupInput;
1377
1378
  }
1378
1379
  export interface postConversationsCobrowsesessionParticipantReplaceOptions {
1379
1380
  "body"?: Models.TransferRequest;
1380
1381
  }
1381
1382
  export interface postConversationsEmailParticipantCommunicationWrapupOptions {
1382
- "body"?: Models.ExtendedWrapup;
1383
+ "body"?: Models.WrapupInput;
1383
1384
  }
1384
1385
  export interface postConversationsMessageCommunicationMessagesOptions {
1385
1386
  "useNormalizedMessage"?: boolean;
@@ -1389,16 +1390,16 @@ declare namespace ConversationsApi {
1389
1390
  "body"?: Array<string>;
1390
1391
  }
1391
1392
  export interface postConversationsMessageParticipantCommunicationWrapupOptions {
1392
- "body"?: Models.ExtendedWrapup;
1393
+ "body"?: Models.WrapupInput;
1393
1394
  }
1394
1395
  export interface postConversationsScreenshareParticipantCommunicationWrapupOptions {
1395
- "body"?: Models.ExtendedWrapup;
1396
+ "body"?: Models.WrapupInput;
1396
1397
  }
1397
1398
  export interface postConversationsSocialParticipantCommunicationWrapupOptions {
1398
- "body"?: Models.ExtendedWrapup;
1399
+ "body"?: Models.WrapupInput;
1399
1400
  }
1400
1401
  export interface postConversationsVideoParticipantCommunicationWrapupOptions {
1401
- "body"?: Models.ExtendedWrapup;
1402
+ "body"?: Models.WrapupInput;
1402
1403
  }
1403
1404
  }
1404
1405
 
@@ -4170,6 +4171,7 @@ declare namespace RoutingApi {
4170
4171
  "pageNumber"?: number;
4171
4172
  "sortBy"?: string;
4172
4173
  "sortOrder"?: string;
4174
+ "id"?: Array<string>;
4173
4175
  "name"?: string;
4174
4176
  "divisionId"?: Array<string>;
4175
4177
  }
@@ -4682,8 +4684,6 @@ declare class TelephonyProvidersEdgeApi {
4682
4684
  getTelephonyProvidersEdgeDiagnosticPing(edgeId: string): Promise<Models.EdgeNetworkDiagnosticResponse>;
4683
4685
  getTelephonyProvidersEdgeDiagnosticRoute(edgeId: string): Promise<Models.EdgeNetworkDiagnosticResponse>;
4684
4686
  getTelephonyProvidersEdgeDiagnosticTracepath(edgeId: string): Promise<Models.EdgeNetworkDiagnosticResponse>;
4685
- getTelephonyProvidersEdgeLine(edgeId: string, lineId: string): Promise<Models.EdgeLine>;
4686
- getTelephonyProvidersEdgeLines(edgeId: string, opts?: TelephonyProvidersEdgeApi.getTelephonyProvidersEdgeLinesOptions): Promise<Models.EdgeLineEntityListing>;
4687
4687
  getTelephonyProvidersEdgeLogicalinterface(edgeId: string, interfaceId: string, opts?: TelephonyProvidersEdgeApi.getTelephonyProvidersEdgeLogicalinterfaceOptions): Promise<Models.DomainLogicalInterface>;
4688
4688
  getTelephonyProvidersEdgeLogicalinterfaces(edgeId: string, opts?: TelephonyProvidersEdgeApi.getTelephonyProvidersEdgeLogicalinterfacesOptions): Promise<Models.LogicalInterfaceEntityListing>;
4689
4689
  getTelephonyProvidersEdgeLogsJob(edgeId: string, jobId: string): Promise<Models.EdgeLogsJob>;
@@ -4772,7 +4772,6 @@ declare class TelephonyProvidersEdgeApi {
4772
4772
  postTelephonyProvidersEdgesSites(body: Models.Site): Promise<Models.Site>;
4773
4773
  postTelephonyProvidersEdgesTrunkbasesettings(body: Models.TrunkBase): Promise<Models.TrunkBase>;
4774
4774
  putTelephonyProvidersEdge(edgeId: string, body: Models.Edge): Promise<Models.Edge>;
4775
- putTelephonyProvidersEdgeLine(edgeId: string, lineId: string, body: Models.EdgeLine): Promise<Models.EdgeLine>;
4776
4775
  putTelephonyProvidersEdgeLogicalinterface(edgeId: string, interfaceId: string, body: Models.DomainLogicalInterface): Promise<Models.DomainLogicalInterface>;
4777
4776
  putTelephonyProvidersEdgesCertificateauthority(certificateId: string, body: Models.DomainCertificateAuthority): Promise<Models.DomainCertificateAuthority>;
4778
4777
  putTelephonyProvidersEdgesDid(didId: string, body: Models.DID): Promise<Models.DID>;
@@ -4809,10 +4808,6 @@ declare namespace TelephonyProvidersEdgeApi {
4809
4808
  export interface getTelephonyProvidersEdgeOptions {
4810
4809
  "expand"?: Array<string>;
4811
4810
  }
4812
- export interface getTelephonyProvidersEdgeLinesOptions {
4813
- "pageSize"?: number;
4814
- "pageNumber"?: number;
4815
- }
4816
4811
  export interface getTelephonyProvidersEdgeLogicalinterfaceOptions {
4817
4812
  "expand"?: Array<string>;
4818
4813
  }
@@ -5040,11 +5035,17 @@ declare namespace UploadsApi {
5040
5035
  }
5041
5036
 
5042
5037
  declare class UsageApi {
5038
+ getOauthClientUsageQueryResult(executionId: string, clientId: string): Promise<Models.ApiUsageQueryResult>;
5039
+ getOauthClientUsageSummary(clientId: string, opts?: UsageApi.getOauthClientUsageSummaryOptions): Promise<Models.UsageExecutionResult>;
5043
5040
  getUsageQueryExecutionIdResults(executionId: string): Promise<Models.ApiUsageQueryResult>;
5041
+ postOauthClientUsageQuery(clientId: string, body: Models.ApiUsageQuery): Promise<Models.UsageExecutionResult>;
5044
5042
  postUsageQuery(body: Models.ApiUsageQuery): Promise<Models.UsageExecutionResult>;
5045
5043
  }
5046
5044
 
5047
5045
  declare namespace UsageApi {
5046
+ export interface getOauthClientUsageSummaryOptions {
5047
+ "days"?: string;
5048
+ }
5048
5049
  }
5049
5050
 
5050
5051
  declare class UserRecordingsApi {
@@ -5249,6 +5250,7 @@ declare namespace UsersApi {
5249
5250
  "interval"?: string;
5250
5251
  "completionInterval"?: string;
5251
5252
  "overdue"?: string;
5253
+ "pass"?: string;
5252
5254
  "pageSize"?: number;
5253
5255
  "pageNumber"?: number;
5254
5256
  "sortOrder"?: string;
@@ -5261,6 +5263,7 @@ declare namespace UsersApi {
5261
5263
  "interval"?: string;
5262
5264
  "completionInterval"?: string;
5263
5265
  "overdue"?: string;
5266
+ "pass"?: string;
5264
5267
  "pageSize"?: number;
5265
5268
  "pageNumber"?: number;
5266
5269
  "sortOrder"?: string;
@@ -6488,6 +6491,10 @@ declare namespace Models {
6488
6491
  "state"?: string;
6489
6492
  }
6490
6493
 
6494
+ export interface AfterCallWorkUpdate {
6495
+ "afterCallWorkRequired": boolean;
6496
+ }
6497
+
6491
6498
  export interface Agent {
6492
6499
  "stage"?: string;
6493
6500
  }
@@ -6782,6 +6789,7 @@ declare namespace Models {
6782
6789
  }
6783
6790
 
6784
6791
  export interface AnalyticsEvaluation {
6792
+ "assigneeId"?: string;
6785
6793
  "calibrationId"?: string;
6786
6794
  "contextId"?: string;
6787
6795
  "deleted"?: boolean;
@@ -7440,6 +7448,7 @@ declare namespace Models {
7440
7448
  "informSteps"?: Array<Models.LearningModuleInformStep>;
7441
7449
  "assessmentForm"?: Models.AssessmentForm;
7442
7450
  "summaryData"?: Models.LearningModuleSummary;
7451
+ "reassignSummaryData"?: Models.LearningModuleReassignSummary;
7443
7452
  "coverArt"?: Models.LearningModuleCoverArtResponse;
7444
7453
  "archivalMode"?: string;
7445
7454
  }
@@ -10807,9 +10816,9 @@ declare namespace Models {
10807
10816
  "partialResults"?: boolean;
10808
10817
  "firstUri"?: string;
10809
10818
  "nextUri"?: string;
10819
+ "selfUri"?: string;
10810
10820
  "previousUri"?: string;
10811
10821
  "lastUri"?: string;
10812
- "selfUri"?: string;
10813
10822
  "pageCount"?: number;
10814
10823
  }
10815
10824
 
@@ -12322,6 +12331,7 @@ declare namespace Models {
12322
12331
  "afterCallWork"?: Models.ConversationEventTopicAfterCallWork;
12323
12332
  "afterCallWorkRequired"?: boolean;
12324
12333
  "agentAssistantId"?: string;
12334
+ "byoSmsIntegrationId"?: string;
12325
12335
  }
12326
12336
 
12327
12337
  export interface ConversationEventTopicMessageDetails {
@@ -12670,6 +12680,7 @@ declare namespace Models {
12670
12680
  "type"?: string;
12671
12681
  "recipientCountry"?: string;
12672
12682
  "recipientType"?: string;
12683
+ "byoSmsIntegrationId"?: string;
12673
12684
  }
12674
12685
 
12675
12686
  export interface ConversationMessageEventTopicMessageMetadata {
@@ -12874,6 +12885,7 @@ declare namespace Models {
12874
12885
  "isFinalReceipt"?: boolean;
12875
12886
  "direction"?: string;
12876
12887
  "metadata"?: { [key: string]: string; };
12888
+ "byoSmsIntegrationId"?: string;
12877
12889
  }
12878
12890
 
12879
12891
  export interface ConversationNotificationTemplateBody {
@@ -14506,6 +14518,8 @@ declare namespace Models {
14506
14518
  "percentageScore"?: number;
14507
14519
  "isPassed"?: boolean;
14508
14520
  "isLatest"?: boolean;
14521
+ "isModuleArchived"?: boolean;
14522
+ "archivalMode"?: string;
14509
14523
  "selfUri"?: string;
14510
14524
  "name"?: string;
14511
14525
  "type"?: string;
@@ -15250,6 +15264,7 @@ declare namespace Models {
15250
15264
  "lastAttemptOverallConditionSettings"?: Models.LastAttemptOverallConditionSettings;
15251
15265
  "lastResultByColumnConditionSettings"?: Models.LastResultByColumnConditionSettings;
15252
15266
  "lastResultOverallConditionSettings"?: Models.LastResultOverallConditionSettings;
15267
+ "dataActionConditionSettings"?: Models.DataActionConditionSettings;
15253
15268
  }
15254
15269
 
15255
15270
  export interface DigitalDataActionConditionPredicate {
@@ -16317,43 +16332,6 @@ declare namespace Models {
16317
16332
  "addressFamilyId"?: string;
16318
16333
  }
16319
16334
 
16320
- export interface EdgeLine {
16321
- "id"?: string;
16322
- "name": string;
16323
- "division"?: Models.Division;
16324
- "description"?: string;
16325
- "version"?: number;
16326
- "dateCreated"?: string;
16327
- "dateModified"?: string;
16328
- "modifiedBy"?: string;
16329
- "createdBy"?: string;
16330
- "state"?: string;
16331
- "modifiedByApp"?: string;
16332
- "createdByApp"?: string;
16333
- "schema"?: Models.DomainEntityRef;
16334
- "properties"?: { [key: string]: object; };
16335
- "edge"?: Models.Edge;
16336
- "edgeGroup"?: Models.EdgeGroup;
16337
- "lineType"?: string;
16338
- "endpoint"?: Models.Endpoint;
16339
- "ipAddress"?: string;
16340
- "logicalInterfaceId"?: string;
16341
- "selfUri"?: string;
16342
- }
16343
-
16344
- export interface EdgeLineEntityListing {
16345
- "entities"?: Array<Models.EdgeLine>;
16346
- "pageSize"?: number;
16347
- "pageNumber"?: number;
16348
- "total"?: number;
16349
- "firstUri"?: string;
16350
- "nextUri"?: string;
16351
- "previousUri"?: string;
16352
- "lastUri"?: string;
16353
- "selfUri"?: string;
16354
- "pageCount"?: number;
16355
- }
16356
-
16357
16335
  export interface EdgeLogicalInterfacesChangeTopicDomainLogicalInterfaceChange {
16358
16336
  "id"?: string;
16359
16337
  "errorInfo"?: Models.EdgeLogicalInterfacesChangeTopicErrorInfo;
@@ -17019,6 +16997,7 @@ declare namespace Models {
17019
16997
  "conversationDate"?: string;
17020
16998
  "conversationEndDate"?: string;
17021
16999
  "neverRelease"?: boolean;
17000
+ "assigned"?: boolean;
17022
17001
  "resourceId"?: string;
17023
17002
  "resourceType"?: string;
17024
17003
  "redacted"?: boolean;
@@ -17265,6 +17244,11 @@ declare namespace Models {
17265
17244
  "comments"?: string;
17266
17245
  }
17267
17246
 
17247
+ export interface EvaluationReference {
17248
+ "id"?: string;
17249
+ "selfUri"?: string;
17250
+ }
17251
+
17268
17252
  export interface EvaluationResponse {
17269
17253
  "id"?: string;
17270
17254
  "name"?: string;
@@ -17286,6 +17270,7 @@ declare namespace Models {
17286
17270
  "conversationDate"?: string;
17287
17271
  "conversationEndDate"?: string;
17288
17272
  "neverRelease"?: boolean;
17273
+ "assigned"?: boolean;
17289
17274
  "resourceId"?: string;
17290
17275
  "resourceType"?: string;
17291
17276
  "redacted"?: boolean;
@@ -17420,6 +17405,7 @@ declare namespace Models {
17420
17405
  "description"?: string;
17421
17406
  "allowAllDomains"?: boolean;
17422
17407
  "allowedDomains"?: Array<string>;
17408
+ "supportedContentProfile"?: Models.SupportedContentProfile;
17423
17409
  "snippet"?: string;
17424
17410
  "dateCreated"?: string;
17425
17411
  "dateModified"?: string;
@@ -17459,17 +17445,6 @@ declare namespace Models {
17459
17445
  "exportTimestamp"?: string;
17460
17446
  }
17461
17447
 
17462
- export interface ExtendedWrapup {
17463
- "code"?: string;
17464
- "name"?: string;
17465
- "notes"?: string;
17466
- "tags"?: Array<string>;
17467
- "durationSeconds"?: number;
17468
- "endTime"?: string;
17469
- "provisional"?: boolean;
17470
- "disableEndTimeUpdates"?: boolean;
17471
- }
17472
-
17473
17448
  export interface Extension {
17474
17449
  "id"?: string;
17475
17450
  "name": string;
@@ -18154,6 +18129,8 @@ declare namespace Models {
18154
18129
  }
18155
18130
 
18156
18131
  export interface FileUploadSettings {
18132
+ "enableAttachments"?: boolean;
18133
+ "useSupportedContentProfile"?: boolean;
18157
18134
  "modes"?: Array<Models.FileUploadMode>;
18158
18135
  }
18159
18136
 
@@ -21567,6 +21544,7 @@ declare namespace Models {
21567
21544
  "isRule"?: boolean;
21568
21545
  "isManual"?: boolean;
21569
21546
  "isPassed"?: boolean;
21547
+ "isLatest"?: boolean;
21570
21548
  "selfUri"?: string;
21571
21549
  "state"?: string;
21572
21550
  "dateRecommendedForCompletion"?: string;
@@ -21778,6 +21756,7 @@ declare namespace Models {
21778
21756
  "informSteps"?: Array<Models.LearningModuleInformStep>;
21779
21757
  "assessmentForm"?: Models.AssessmentForm;
21780
21758
  "summaryData"?: Models.LearningModuleSummary;
21759
+ "reassignSummaryData"?: Models.LearningModuleReassignSummary;
21781
21760
  "coverArt"?: Models.LearningModuleCoverArtResponse;
21782
21761
  "archivalMode"?: string;
21783
21762
  }
@@ -22568,7 +22547,7 @@ declare namespace Models {
22568
22547
  }
22569
22548
 
22570
22549
  export interface MediaParticipantRequest {
22571
- "wrapup"?: Models.ExtendedWrapup;
22550
+ "wrapup"?: Models.WrapupInput;
22572
22551
  "state"?: string;
22573
22552
  "recording"?: boolean;
22574
22553
  "muted"?: boolean;
@@ -22699,6 +22678,7 @@ declare namespace Models {
22699
22678
  "afterCallWork"?: Models.AfterCallWork;
22700
22679
  "afterCallWorkRequired"?: boolean;
22701
22680
  "agentAssistantId"?: string;
22681
+ "byoSmsIntegrationId"?: string;
22702
22682
  }
22703
22683
 
22704
22684
  export interface MessageContent {
@@ -22865,6 +22845,7 @@ declare namespace Models {
22865
22845
  "recipientCountry"?: string;
22866
22846
  "recipientType"?: string;
22867
22847
  "authenticated"?: boolean;
22848
+ "monitoredParticipantId"?: string;
22868
22849
  }
22869
22850
 
22870
22851
  export interface MessageMediaPolicy {
@@ -24053,6 +24034,17 @@ declare namespace Models {
24053
24034
  "selfUri"?: string;
24054
24035
  }
24055
24036
 
24037
+ export interface OrganizationPresenceDefinition {
24038
+ "id"?: string;
24039
+ "name"?: string;
24040
+ "type"?: string;
24041
+ "languageLabels": { [key: string]: string; };
24042
+ "systemPresence"?: string;
24043
+ "divisionId"?: string;
24044
+ "deactivated"?: boolean;
24045
+ "selfUri"?: string;
24046
+ }
24047
+
24056
24048
  export interface OrganizationPresenceEntityListing {
24057
24049
  "entities"?: Array<Models.OrganizationPresence>;
24058
24050
  "pageSize"?: number;
@@ -26775,6 +26767,7 @@ declare namespace Models {
26775
26767
  "afterCallWork"?: Models.QueueConversationEventTopicAfterCallWork;
26776
26768
  "afterCallWorkRequired"?: boolean;
26777
26769
  "agentAssistantId"?: string;
26770
+ "byoSmsIntegrationId"?: string;
26778
26771
  }
26779
26772
 
26780
26773
  export interface QueueConversationEventTopicMessageDetails {
@@ -27097,6 +27090,7 @@ declare namespace Models {
27097
27090
  "type"?: string;
27098
27091
  "recipientCountry"?: string;
27099
27092
  "recipientType"?: string;
27093
+ "byoSmsIntegrationId"?: string;
27100
27094
  }
27101
27095
 
27102
27096
  export interface QueueConversationMessageEventTopicMessageMetadata {
@@ -27522,6 +27516,7 @@ declare namespace Models {
27522
27516
  "afterCallWork"?: Models.QueueConversationSocialExpressionEventTopicAfterCallWork;
27523
27517
  "afterCallWorkRequired"?: boolean;
27524
27518
  "agentAssistantId"?: string;
27519
+ "byoSmsIntegrationId"?: string;
27525
27520
  }
27526
27521
 
27527
27522
  export interface QueueConversationSocialExpressionEventTopicMessageDetails {
@@ -27976,6 +27971,7 @@ declare namespace Models {
27976
27971
  "afterCallWork"?: Models.QueueConversationVideoEventTopicAfterCallWork;
27977
27972
  "afterCallWorkRequired"?: boolean;
27978
27973
  "agentAssistantId"?: string;
27974
+ "byoSmsIntegrationId"?: string;
27979
27975
  }
27980
27976
 
27981
27977
  export interface QueueConversationVideoEventTopicMessageDetails {
@@ -28836,6 +28832,7 @@ declare namespace Models {
28836
28832
  "emailErrorDescription"?: string;
28837
28833
  "scheduleExpression"?: string;
28838
28834
  "scheduleStaticLinkUrl"?: string;
28835
+ "exportAllowedToRerun"?: boolean;
28839
28836
  }
28840
28837
 
28841
28838
  export interface ReportingExportJobListing {
@@ -31297,6 +31294,10 @@ declare namespace Models {
31297
31294
  "pageCount"?: number;
31298
31295
  }
31299
31296
 
31297
+ export interface SupportedContentProfile {
31298
+ "id"?: string;
31299
+ }
31300
+
31300
31301
  export interface SupportedContentReference {
31301
31302
  "id": string;
31302
31303
  "name"?: string;
@@ -33702,6 +33703,7 @@ declare namespace Models {
33702
33703
  "geolocationSettings"?: Models.GeolocationSettings;
33703
33704
  "organization"?: Models.Organization;
33704
33705
  "presenceDefinitions"?: Array<Models.OrganizationPresence>;
33706
+ "divisionedPresenceDefinitions"?: Array<Models.OrganizationPresenceDefinition>;
33705
33707
  "locationDefinitions"?: Array<Models.LocationDefinition>;
33706
33708
  "orgAuthorization"?: Array<Models.DomainOrganizationRole>;
33707
33709
  "favorites"?: Array<Models.User>;
@@ -34888,6 +34890,10 @@ declare namespace Models {
34888
34890
  "alertRuleIds"?: Array<string>;
34889
34891
  "evaluationFormContextIds"?: Array<string>;
34890
34892
  "evaluationStatuses"?: Array<string>;
34893
+ "isAnalyzedForSensitiveData"?: boolean;
34894
+ "hasSensitiveData"?: boolean;
34895
+ "subPath"?: string;
34896
+ "userState"?: string;
34891
34897
  }
34892
34898
 
34893
34899
  export interface VisibilityCondition {
@@ -35233,6 +35239,7 @@ declare namespace Models {
35233
35239
  "description"?: string;
35234
35240
  "allowAllDomains"?: boolean;
35235
35241
  "allowedDomains"?: Array<string>;
35242
+ "supportedContentProfile"?: Models.SupportedContentProfile;
35236
35243
  "snippet"?: string;
35237
35244
  "dateCreated"?: string;
35238
35245
  "dateModified"?: string;
@@ -37321,6 +37328,17 @@ declare namespace Models {
37321
37328
  "wrapupDurationMs"?: number;
37322
37329
  }
37323
37330
 
37331
+ export interface WrapupInput {
37332
+ "code"?: string;
37333
+ "name"?: string;
37334
+ "notes"?: string;
37335
+ "tags"?: Array<string>;
37336
+ "durationSeconds"?: number;
37337
+ "endTime"?: string;
37338
+ "provisional"?: boolean;
37339
+ "disableEndTimeUpdates"?: boolean;
37340
+ }
37341
+
37324
37342
  export interface WritableDialerContact {
37325
37343
  "id"?: string;
37326
37344
  "contactListId": string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "163.0.0",
3
+ "version": "165.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 163.0.0
7
+ * @version 165.0.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 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -91,7 +91,7 @@ class AuditApi {
91
91
  * @param {String} transactionId Transaction ID
92
92
  * @param {Object} opts Optional parameters
93
93
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
94
- * @param {Number} opts.pageSize Page size (default to 25)
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
96
  */
97
97
  getAuditsQueryTransactionIdResults(transactionId, opts) {
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -2582,6 +2582,46 @@ class ConversationsApi {
2582
2582
  );
2583
2583
  }
2584
2584
 
2585
+ /**
2586
+ * Update after-call work for this conversation communication.
2587
+ *
2588
+ * @param {String} conversationId conversationId
2589
+ * @param {String} participantId participantId
2590
+ * @param {String} communicationId communicationId
2591
+ * @param {Object} body AfterCallWorkUpdate
2592
+ */
2593
+ patchConversationsAftercallworkConversationIdParticipantCommunication(conversationId, participantId, communicationId, body) {
2594
+ // verify the required parameter 'conversationId' is set
2595
+ if (conversationId === undefined || conversationId === null) {
2596
+ throw 'Missing the required parameter "conversationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
2597
+ }
2598
+ // verify the required parameter 'participantId' is set
2599
+ if (participantId === undefined || participantId === null) {
2600
+ throw 'Missing the required parameter "participantId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
2601
+ }
2602
+ // verify the required parameter 'communicationId' is set
2603
+ if (communicationId === undefined || communicationId === null) {
2604
+ throw 'Missing the required parameter "communicationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
2605
+ }
2606
+ // verify the required parameter 'body' is set
2607
+ if (body === undefined || body === null) {
2608
+ throw 'Missing the required parameter "body" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
2609
+ }
2610
+
2611
+ return this.apiClient.callApi(
2612
+ '/api/v2/conversations/aftercallwork/{conversationId}/participants/{participantId}/communications/{communicationId}',
2613
+ 'PATCH',
2614
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
2615
+ { },
2616
+ { },
2617
+ { },
2618
+ body,
2619
+ ['PureCloud OAuth'],
2620
+ ['application/json'],
2621
+ ['application/json']
2622
+ );
2623
+ }
2624
+
2585
2625
  /**
2586
2626
  * Update a conversation by setting its recording state, merging in other conversations to create a conference, or disconnecting all of the participants
2587
2627
  *
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.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 163.0.0
8
+ * @version 165.0.0
9
9
  */
10
10
 
11
11
  /**