purecloud-platform-client-v2 183.0.0 → 184.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 (84) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +669 -88
  3. package/dist/web-amd/purecloud-platform-client-v2.js +669 -88
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +226 -83
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +226 -83
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +266 -21
  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 +109 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +7 -8
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +75 -0
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -8
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +401 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/index.js +7 -1
package/index.d.ts CHANGED
@@ -151,6 +151,8 @@ declare class AnalyticsApi {
151
151
  getAnalyticsDataretentionSettings(): Promise<Models.AnalyticsDataRetentionResponse>;
152
152
  getAnalyticsEvaluationsAggregatesJob(jobId: string): Promise<Models.AsyncQueryStatus>;
153
153
  getAnalyticsEvaluationsAggregatesJobResults(jobId: string, opts?: AnalyticsApi.getAnalyticsEvaluationsAggregatesJobResultsOptions): Promise<Models.EvaluationAsyncAggregateQueryResponse>;
154
+ getAnalyticsFlowexecutionsAggregatesJob(jobId: string): Promise<Models.AsyncQueryStatus>;
155
+ getAnalyticsFlowexecutionsAggregatesJobResults(jobId: string, opts?: AnalyticsApi.getAnalyticsFlowexecutionsAggregatesJobResultsOptions): Promise<Models.FlowExecutionAsyncAggregateQueryResponse>;
154
156
  getAnalyticsFlowsAggregatesJob(jobId: string): Promise<Models.AsyncQueryStatus>;
155
157
  getAnalyticsFlowsAggregatesJobResults(jobId: string, opts?: AnalyticsApi.getAnalyticsFlowsAggregatesJobResultsOptions): Promise<Models.FlowAsyncAggregateQueryResponse>;
156
158
  getAnalyticsJourneysAggregatesJob(jobId: string): Promise<Models.AsyncQueryStatus>;
@@ -196,6 +198,8 @@ declare class AnalyticsApi {
196
198
  postAnalyticsConversationsTranscriptsQuery(body: Models.TranscriptConversationDetailSearchRequest): Promise<Models.AnalyticsConversationWithoutAttributesMultiGetResponse>;
197
199
  postAnalyticsEvaluationsAggregatesJobs(body: Models.EvaluationAsyncAggregationQuery): Promise<Models.AsyncQueryResponse>;
198
200
  postAnalyticsEvaluationsAggregatesQuery(body: Models.EvaluationAggregationQuery): Promise<Models.EvaluationAggregateQueryResponse>;
201
+ postAnalyticsFlowexecutionsAggregatesJobs(body: Models.FlowExecutionAsyncAggregationQuery): Promise<Models.AsyncQueryResponse>;
202
+ postAnalyticsFlowexecutionsAggregatesQuery(body: Models.FlowExecutionAggregationQuery): Promise<Models.FlowExecutionAggregateQueryResponse>;
199
203
  postAnalyticsFlowsActivityQuery(body: Models.FlowActivityQuery, opts?: AnalyticsApi.postAnalyticsFlowsActivityQueryOptions): Promise<Models.FlowActivityResponse>;
200
204
  postAnalyticsFlowsAggregatesJobs(body: Models.FlowAsyncAggregationQuery): Promise<Models.AsyncQueryResponse>;
201
205
  postAnalyticsFlowsAggregatesQuery(body: Models.FlowAggregationQuery): Promise<Models.FlowAggregateQueryResponse>;
@@ -263,6 +267,9 @@ declare namespace AnalyticsApi {
263
267
  export interface getAnalyticsEvaluationsAggregatesJobResultsOptions {
264
268
  "cursor"?: string;
265
269
  }
270
+ export interface getAnalyticsFlowexecutionsAggregatesJobResultsOptions {
271
+ "cursor"?: string;
272
+ }
266
273
  export interface getAnalyticsFlowsAggregatesJobResultsOptions {
267
274
  "cursor"?: string;
268
275
  }
@@ -882,7 +889,7 @@ declare class AuthorizationApi {
882
889
  patchAuthorizationRole(roleId: string, body: Models.DomainOrganizationRole): Promise<Models.DomainOrganizationRole>;
883
890
  patchAuthorizationSettings(body: Models.AuthorizationSettings): Promise<Models.AuthorizationSettings>;
884
891
  postAuthorizationDivisionObject(divisionId: string, objectType: string, body: Array<string>): Promise<void>;
885
- postAuthorizationDivisionRestore(divisionId: string, body: Models.AuthzDivision): Promise<Models.AuthzDivision>;
892
+ postAuthorizationDivisionRestore(divisionId: string, opts?: AuthorizationApi.postAuthorizationDivisionRestoreOptions): Promise<Models.AuthzDivision>;
886
893
  postAuthorizationDivisions(body: Models.AuthzDivision): Promise<Models.AuthzDivision>;
887
894
  postAuthorizationRole(roleId: string, body: Models.SubjectDivisions, opts?: AuthorizationApi.postAuthorizationRoleOptions): Promise<void>;
888
895
  postAuthorizationRoleComparedefaultRightRoleId(leftRoleId: string, rightRoleId: string, body: Models.DomainOrganizationRole): Promise<Models.DomainOrgRoleDifference>;
@@ -971,6 +978,9 @@ declare namespace AuthorizationApi {
971
978
  export interface getAuthorizationSubjectsRolecountsOptions {
972
979
  "id"?: Array<string>;
973
980
  }
981
+ export interface postAuthorizationDivisionRestoreOptions {
982
+ "body"?: Models.AuthzDivision;
983
+ }
974
984
  export interface postAuthorizationRoleOptions {
975
985
  "subjectType"?: string;
976
986
  }
@@ -3296,6 +3306,17 @@ declare namespace LocationsApi {
3296
3306
  }
3297
3307
  }
3298
3308
 
3309
+ declare class LogCaptureApi {
3310
+ getDiagnosticsLogcaptureBrowserEntriesDownloadJob(jobId: string): Promise<Models.LogCaptureDownloadExecutionResponse>;
3311
+ postDiagnosticsLogcaptureBrowserEntriesDownloadJobs(opts?: LogCaptureApi.postDiagnosticsLogcaptureBrowserEntriesDownloadJobsOptions): Promise<Models.LogCaptureDownloadExecutionResponse>;
3312
+ }
3313
+
3314
+ declare namespace LogCaptureApi {
3315
+ export interface postDiagnosticsLogcaptureBrowserEntriesDownloadJobsOptions {
3316
+ "body"?: Models.LogCaptureQueryRequest;
3317
+ }
3318
+ }
3319
+
3299
3320
  declare class MessagingApi {
3300
3321
  deleteMessagingSetting(messageSettingId: string): Promise<void>;
3301
3322
  deleteMessagingSettingsDefault(): Promise<void>;
@@ -3410,7 +3431,7 @@ declare class ObjectsApi {
3410
3431
  getAuthorizationDivisionsHome(): Promise<Models.AuthzDivision>;
3411
3432
  getAuthorizationDivisionsLimit(): Promise<number>;
3412
3433
  postAuthorizationDivisionObject(divisionId: string, objectType: string, body: Array<string>): Promise<void>;
3413
- postAuthorizationDivisionRestore(divisionId: string, body: Models.AuthzDivision): Promise<Models.AuthzDivision>;
3434
+ postAuthorizationDivisionRestore(divisionId: string, opts?: ObjectsApi.postAuthorizationDivisionRestoreOptions): Promise<Models.AuthzDivision>;
3414
3435
  postAuthorizationDivisions(body: Models.AuthzDivision): Promise<Models.AuthzDivision>;
3415
3436
  putAuthorizationDivision(divisionId: string, body: Models.AuthzDivision): Promise<Models.AuthzDivision>;
3416
3437
  }
@@ -3433,6 +3454,9 @@ declare namespace ObjectsApi {
3433
3454
  "id"?: Array<string>;
3434
3455
  "name"?: string;
3435
3456
  }
3457
+ export interface postAuthorizationDivisionRestoreOptions {
3458
+ "body"?: Models.AuthzDivision;
3459
+ }
3436
3460
  }
3437
3461
 
3438
3462
  declare class OperationalEventsApi {
@@ -3585,11 +3609,15 @@ declare class OutboundApi {
3585
3609
  deleteOutboundContactlistContacts(contactListId: string, contactIds: Array<string>): Promise<void>;
3586
3610
  deleteOutboundContactlistfilter(contactListFilterId: string): Promise<void>;
3587
3611
  deleteOutboundContactlists(id: Array<string>): Promise<void>;
3612
+ deleteOutboundContactlisttemplate(contactListTemplateId: string): Promise<void>;
3613
+ deleteOutboundContactlisttemplates(id: Array<string>): Promise<void>;
3588
3614
  deleteOutboundDigitalruleset(digitalRuleSetId: string): Promise<void>;
3589
3615
  deleteOutboundDnclist(dncListId: string): Promise<void>;
3590
3616
  deleteOutboundDnclistCustomexclusioncolumns(dncListId: string, opts?: OutboundApi.deleteOutboundDnclistCustomexclusioncolumnsOptions): Promise<void>;
3591
3617
  deleteOutboundDnclistEmailaddresses(dncListId: string, opts?: OutboundApi.deleteOutboundDnclistEmailaddressesOptions): Promise<void>;
3592
3618
  deleteOutboundDnclistPhonenumbers(dncListId: string, opts?: OutboundApi.deleteOutboundDnclistPhonenumbersOptions): Promise<void>;
3619
+ deleteOutboundImporttemplate(importTemplateId: string): Promise<void>;
3620
+ deleteOutboundImporttemplates(id: Array<string>): Promise<void>;
3593
3621
  deleteOutboundMessagingcampaign(messagingCampaignId: string): Promise<Models.MessagingCampaign>;
3594
3622
  deleteOutboundMessagingcampaignProgress(messagingCampaignId: string): Promise<void>;
3595
3623
  deleteOutboundRuleset(ruleSetId: string): Promise<void>;
@@ -3627,6 +3655,8 @@ declare class OutboundApi {
3627
3655
  getOutboundContactlists(opts?: OutboundApi.getOutboundContactlistsOptions): Promise<Models.ContactListEntityListing>;
3628
3656
  getOutboundContactlistsDivisionview(contactListId: string, opts?: OutboundApi.getOutboundContactlistsDivisionviewOptions): Promise<Models.ContactListDivisionView>;
3629
3657
  getOutboundContactlistsDivisionviews(opts?: OutboundApi.getOutboundContactlistsDivisionviewsOptions): Promise<Models.ContactListDivisionViewListing>;
3658
+ getOutboundContactlisttemplate(contactListTemplateId: string): Promise<Models.ContactListTemplate>;
3659
+ getOutboundContactlisttemplates(opts?: OutboundApi.getOutboundContactlisttemplatesOptions): Promise<Models.ContactListTemplateEntityListing>;
3630
3660
  getOutboundDigitalruleset(digitalRuleSetId: string): Promise<Models.DigitalRuleSet>;
3631
3661
  getOutboundDigitalrulesets(opts?: OutboundApi.getOutboundDigitalrulesetsOptions): Promise<Models.DigitalRuleSetEntityListing>;
3632
3662
  getOutboundDnclist(dncListId: string, opts?: OutboundApi.getOutboundDnclistOptions): Promise<Models.DncList>;
@@ -3637,6 +3667,9 @@ declare class OutboundApi {
3637
3667
  getOutboundDnclistsDivisionviews(opts?: OutboundApi.getOutboundDnclistsDivisionviewsOptions): Promise<Models.DncListDivisionViewListing>;
3638
3668
  getOutboundEvent(eventId: string): Promise<Models.EventLog>;
3639
3669
  getOutboundEvents(opts?: OutboundApi.getOutboundEventsOptions): Promise<Models.DialerEventEntityListing>;
3670
+ getOutboundImporttemplate(importTemplateId: string): Promise<Models.ImportTemplate>;
3671
+ getOutboundImporttemplateImportstatus(importTemplateId: string, opts?: OutboundApi.getOutboundImporttemplateImportstatusOptions): Promise<Models.ImportStatus>;
3672
+ getOutboundImporttemplates(opts?: OutboundApi.getOutboundImporttemplatesOptions): Promise<Models.ImportTemplateEntityListing>;
3640
3673
  getOutboundMessagingcampaign(messagingCampaignId: string): Promise<Models.MessagingCampaign>;
3641
3674
  getOutboundMessagingcampaignDiagnostics(messagingCampaignId: string): Promise<Models.MessagingCampaignDiagnostics>;
3642
3675
  getOutboundMessagingcampaignProgress(messagingCampaignId: string): Promise<Models.CampaignProgress>;
@@ -3677,12 +3710,16 @@ declare class OutboundApi {
3677
3710
  postOutboundContactlistfilters(body: Models.ContactListFilter): Promise<Models.ContactListFilter>;
3678
3711
  postOutboundContactlistfiltersPreview(body: Models.ContactListFilter): Promise<Models.FilterPreviewResponse>;
3679
3712
  postOutboundContactlists(body: Models.ContactList): Promise<Models.ContactList>;
3713
+ postOutboundContactlisttemplates(body: Models.ContactListTemplate): Promise<Models.ContactListTemplate>;
3714
+ postOutboundContactlisttemplatesBulkAdd(body: Array<Models.ContactListTemplate>): Promise<Models.ContactListTemplateEntityListing>;
3680
3715
  postOutboundConversationDnc(conversationId: string): Promise<void>;
3681
3716
  postOutboundDigitalrulesets(body: Models.DigitalRuleSet): Promise<Models.DigitalRuleSet>;
3682
3717
  postOutboundDnclistEmailaddresses(dncListId: string, body: Array<string>): Promise<void>;
3683
3718
  postOutboundDnclistExport(dncListId: string): Promise<Models.DomainEntityRef>;
3684
3719
  postOutboundDnclistPhonenumbers(dncListId: string, body: Array<string>, opts?: OutboundApi.postOutboundDnclistPhonenumbersOptions): Promise<void>;
3685
3720
  postOutboundDnclists(body: Models.DncListCreate): Promise<Models.DncList>;
3721
+ postOutboundImporttemplates(body: Models.ImportTemplate): Promise<Models.ImportTemplate>;
3722
+ postOutboundImporttemplatesBulkAdd(body: Array<Models.ImportTemplate>): Promise<Models.ImportTemplateEntityListing>;
3686
3723
  postOutboundMessagingcampaigns(body: Models.MessagingCampaign): Promise<Models.MessagingCampaign>;
3687
3724
  postOutboundMessagingcampaignsProgress(body: Array<string>): Promise<Array<Models.CampaignProgress>>;
3688
3725
  postOutboundRulesets(body: Models.RuleSet): Promise<Models.RuleSet>;
@@ -3696,8 +3733,10 @@ declare class OutboundApi {
3696
3733
  putOutboundContactlist(contactListId: string, body: Models.ContactList): Promise<Models.ContactList>;
3697
3734
  putOutboundContactlistContact(contactListId: string, contactId: string, body: Models.DialerContact): Promise<Models.DialerContact>;
3698
3735
  putOutboundContactlistfilter(contactListFilterId: string, body: Models.ContactListFilter): Promise<Models.ContactListFilter>;
3736
+ putOutboundContactlisttemplate(contactListTemplateId: string, body: Models.ContactListTemplate): Promise<Models.ContactListTemplate>;
3699
3737
  putOutboundDigitalruleset(digitalRuleSetId: string, body: Models.DigitalRuleSet): Promise<Models.DigitalRuleSet>;
3700
3738
  putOutboundDnclist(dncListId: string, body: Models.DncList): Promise<Models.DncList>;
3739
+ putOutboundImporttemplate(importTemplateId: string, body: Models.ImportTemplate): Promise<Models.ImportTemplate>;
3701
3740
  putOutboundMessagingcampaign(messagingCampaignId: string, body: Models.MessagingCampaign): Promise<Models.MessagingCampaign>;
3702
3741
  putOutboundRuleset(ruleSetId: string, body: Models.RuleSet): Promise<Models.RuleSet>;
3703
3742
  putOutboundSchedulesCampaign(campaignId: string, body: Models.CampaignSchedule): Promise<Models.CampaignSchedule>;
@@ -3841,6 +3880,15 @@ declare namespace OutboundApi {
3841
3880
  "sortBy"?: string;
3842
3881
  "sortOrder"?: string;
3843
3882
  }
3883
+ export interface getOutboundContactlisttemplatesOptions {
3884
+ "pageSize"?: number;
3885
+ "pageNumber"?: number;
3886
+ "allowEmptyResult"?: boolean;
3887
+ "filterType"?: string;
3888
+ "name"?: string;
3889
+ "sortBy"?: string;
3890
+ "sortOrder"?: string;
3891
+ }
3844
3892
  export interface getOutboundDigitalrulesetsOptions {
3845
3893
  "pageSize"?: number;
3846
3894
  "pageNumber"?: number;
@@ -3894,6 +3942,19 @@ declare namespace OutboundApi {
3894
3942
  "sortBy"?: string;
3895
3943
  "sortOrder"?: string;
3896
3944
  }
3945
+ export interface getOutboundImporttemplateImportstatusOptions {
3946
+ "listNamePrefix"?: string;
3947
+ }
3948
+ export interface getOutboundImporttemplatesOptions {
3949
+ "pageSize"?: number;
3950
+ "pageNumber"?: number;
3951
+ "allowEmptyResult"?: boolean;
3952
+ "filterType"?: string;
3953
+ "name"?: string;
3954
+ "sortBy"?: string;
3955
+ "sortOrder"?: string;
3956
+ "contactListTemplateId"?: string;
3957
+ }
3897
3958
  export interface getOutboundMessagingcampaignsOptions {
3898
3959
  "pageSize"?: number;
3899
3960
  "pageNumber"?: number;
@@ -4553,8 +4614,8 @@ declare class RoutingApi {
4553
4614
  getRoutingSmsAvailablephonenumbers(countryCode: string, phoneNumberType: string, opts?: RoutingApi.getRoutingSmsAvailablephonenumbersOptions): Promise<Models.SMSAvailablePhoneNumberEntityListing>;
4554
4615
  getRoutingSmsPhonenumber(addressId: string, opts?: RoutingApi.getRoutingSmsPhonenumberOptions): Promise<Models.SmsPhoneNumber>;
4555
4616
  getRoutingSmsPhonenumbers(opts?: RoutingApi.getRoutingSmsPhonenumbersOptions): Promise<Models.SmsPhoneNumberEntityListing>;
4556
- getRoutingUserUtilization(userId: string): Promise<Models.AgentMaxUtilization>;
4557
- getRoutingUtilization(): Promise<Models.Utilization>;
4617
+ getRoutingUserUtilization(userId: string): Promise<Models.AgentMaxUtilizationResponse>;
4618
+ getRoutingUtilization(): Promise<Models.UtilizationResponse>;
4558
4619
  getRoutingUtilizationTag(tagId: string): Promise<Models.UtilizationTag>;
4559
4620
  getRoutingUtilizationTagAgents(tagId: string): Promise<Array<object>>;
4560
4621
  getRoutingUtilizationTags(opts?: RoutingApi.getRoutingUtilizationTagsOptions): Promise<Models.UtilizationTagEntityListing>;
@@ -4611,8 +4672,8 @@ declare class RoutingApi {
4611
4672
  putRoutingSettings(body: Models.RoutingSettings): Promise<Models.RoutingSettings>;
4612
4673
  putRoutingSettingsTranscription(body: Models.TranscriptionSettings): Promise<Models.TranscriptionSettings>;
4613
4674
  putRoutingSmsPhonenumber(addressId: string, body: Models.SmsPhoneNumber): Promise<Models.SmsPhoneNumber>;
4614
- putRoutingUserUtilization(userId: string, body: Models.Utilization): Promise<Models.AgentMaxUtilization>;
4615
- putRoutingUtilization(body: Models.Utilization): Promise<Models.Utilization>;
4675
+ putRoutingUserUtilization(userId: string, body: Models.UtilizationRequest): Promise<Models.AgentMaxUtilizationResponse>;
4676
+ putRoutingUtilization(body: Models.UtilizationRequest): Promise<Models.UtilizationResponse>;
4616
4677
  putRoutingWrapupcode(codeId: string, body: Models.WrapupCodeRequest): Promise<Models.WrapupCode>;
4617
4678
  putUserRoutingskill(userId: string, skillId: string, body: Models.UserRoutingSkill): Promise<Models.UserRoutingSkill>;
4618
4679
  putUserRoutingskillsBulk(userId: string, body: Array<Models.UserRoutingSkillPost>): Promise<Models.UserSkillEntityListing>;
@@ -5885,7 +5946,7 @@ declare class UsersApi {
5885
5946
  getAuthorizationSubjectsMe(): Promise<Models.AuthzSubject>;
5886
5947
  getFieldconfig(type: string): Promise<Models.FieldConfig>;
5887
5948
  getProfilesUsers(opts?: UsersApi.getProfilesUsersOptions): Promise<Models.UserProfileEntityListing>;
5888
- getRoutingUserUtilization(userId: string): Promise<Models.AgentMaxUtilization>;
5949
+ getRoutingUserUtilization(userId: string): Promise<Models.AgentMaxUtilizationResponse>;
5889
5950
  getUser(userId: string, opts?: UsersApi.getUserOptions): Promise<Models.User>;
5890
5951
  getUserAdjacents(userId: string, opts?: UsersApi.getUserAdjacentsOptions): Promise<Models.Adjacents>;
5891
5952
  getUserCallforwarding(userId: string): Promise<Models.CallForwarding>;
@@ -5943,7 +6004,7 @@ declare class UsersApi {
5943
6004
  postUsersSearchConversationTarget(body: Models.UserSearchRequest): Promise<Models.UsersSearchResponse>;
5944
6005
  postUsersSearchQueuemembersManage(body: Models.UserSearchRequest): Promise<Models.UsersSearchResponse>;
5945
6006
  postUsersSearchTeamsAssign(body: Models.UserSearchRequest): Promise<Models.UsersSearchResponse>;
5946
- putRoutingUserUtilization(userId: string, body: Models.Utilization): Promise<Models.AgentMaxUtilization>;
6007
+ putRoutingUserUtilization(userId: string, body: Models.UtilizationRequest): Promise<Models.AgentMaxUtilizationResponse>;
5947
6008
  putUserCallforwarding(userId: string, body: Models.CallForwarding): Promise<Models.CallForwarding>;
5948
6009
  putUserOutofoffice(userId: string, body: Models.OutOfOffice): Promise<Models.OutOfOffice>;
5949
6010
  putUserProfileskills(userId: string, body: Array<string>): Promise<Array<string>>;
@@ -7561,7 +7622,7 @@ declare namespace Models {
7561
7622
  "businessUnit"?: Models.BusinessUnitReference;
7562
7623
  }
7563
7624
 
7564
- export interface AgentMaxUtilization {
7625
+ export interface AgentMaxUtilizationResponse {
7565
7626
  "utilization"?: { [key: string]: Models.MediaUtilization; };
7566
7627
  "level"?: string;
7567
7628
  }
@@ -8196,7 +8257,6 @@ declare namespace Models {
8196
8257
  "screenName"?: string;
8197
8258
  "app"?: Models.JourneyApp;
8198
8259
  "device"?: Models.Device;
8199
- "ipAddress"?: string;
8200
8260
  "ipOrganization"?: string;
8201
8261
  "geolocation"?: Models.JourneyGeolocation;
8202
8262
  "sdkLibrary"?: Models.SdkLibrary;
@@ -8207,7 +8267,6 @@ declare namespace Models {
8207
8267
  "attributes"?: { [key: string]: Models.CustomEventAttribute; };
8208
8268
  "traits"?: { [key: string]: Models.CustomEventAttribute; };
8209
8269
  "createdDate"?: string;
8210
- "externalContact"?: Models.AddressableEntityRef;
8211
8270
  }
8212
8271
 
8213
8272
  export interface AppEventResponseSession {
@@ -12231,6 +12290,8 @@ declare namespace Models {
12231
12290
  "dateModified"?: string;
12232
12291
  "version"?: number;
12233
12292
  "contactList"?: Models.DomainEntityRef;
12293
+ "contactListTemplate"?: Models.DomainEntityRef;
12294
+ "sourceType"?: string;
12234
12295
  "clauses"?: Array<Models.ContactListFilterClause>;
12235
12296
  "filterType"?: string;
12236
12297
  "selfUri"?: string;
@@ -12271,6 +12332,38 @@ declare namespace Models {
12271
12332
  "inSet"?: Array<string>;
12272
12333
  }
12273
12334
 
12335
+ export interface ContactListTemplate {
12336
+ "id"?: string;
12337
+ "name"?: string;
12338
+ "dateCreated"?: string;
12339
+ "dateModified"?: string;
12340
+ "version"?: number;
12341
+ "columnNames": Array<string>;
12342
+ "phoneColumns"?: Array<Models.ContactPhoneNumberColumn>;
12343
+ "emailColumns"?: Array<Models.EmailColumn>;
12344
+ "previewModeColumnName"?: string;
12345
+ "previewModeAcceptedValues"?: Array<string>;
12346
+ "attemptLimits"?: Models.DomainEntityRef;
12347
+ "automaticTimeZoneMapping"?: boolean;
12348
+ "zipCodeColumnName"?: string;
12349
+ "columnDataTypeSpecifications"?: Array<Models.ColumnDataTypeSpecification>;
12350
+ "trimWhitespace"?: boolean;
12351
+ "selfUri"?: string;
12352
+ }
12353
+
12354
+ export interface ContactListTemplateEntityListing {
12355
+ "entities"?: Array<Models.ContactListTemplate>;
12356
+ "pageSize"?: number;
12357
+ "pageNumber"?: number;
12358
+ "total"?: number;
12359
+ "firstUri"?: string;
12360
+ "nextUri"?: string;
12361
+ "previousUri"?: string;
12362
+ "lastUri"?: string;
12363
+ "selfUri"?: string;
12364
+ "pageCount"?: number;
12365
+ }
12366
+
12274
12367
  export interface ContactListing {
12275
12368
  "entities"?: Array<Models.ExternalContact>;
12276
12369
  "pageSize"?: number;
@@ -17892,8 +17985,8 @@ declare namespace Models {
17892
17985
  "permissionPolicies"?: Array<Models.DomainPermissionPolicy>;
17893
17986
  "userCount"?: number;
17894
17987
  "roleNeedsUpdate"?: boolean;
17895
- "default"?: boolean;
17896
17988
  "base"?: boolean;
17989
+ "default"?: boolean;
17897
17990
  "selfUri"?: string;
17898
17991
  }
17899
17992
 
@@ -17907,8 +18000,8 @@ declare namespace Models {
17907
18000
  "permissionPolicies"?: Array<Models.DomainPermissionPolicy>;
17908
18001
  "userCount"?: number;
17909
18002
  "roleNeedsUpdate"?: boolean;
17910
- "default"?: boolean;
17911
18003
  "base"?: boolean;
18004
+ "default"?: boolean;
17912
18005
  "selfUri"?: string;
17913
18006
  }
17914
18007
 
@@ -17922,8 +18015,8 @@ declare namespace Models {
17922
18015
  "permissionPolicies"?: Array<Models.DomainPermissionPolicy>;
17923
18016
  "userCount"?: number;
17924
18017
  "roleNeedsUpdate"?: boolean;
17925
- "default"?: boolean;
17926
18018
  "base"?: boolean;
18019
+ "default"?: boolean;
17927
18020
  "selfUri"?: string;
17928
18021
  }
17929
18022
 
@@ -19489,6 +19582,7 @@ declare namespace Models {
19489
19582
  "id"?: string;
19490
19583
  "downloadUri"?: string;
19491
19584
  "failed"?: boolean;
19585
+ "statusCode"?: string;
19492
19586
  }
19493
19587
 
19494
19588
  export interface ExecutionDataRequest {
@@ -20566,6 +20660,71 @@ declare namespace Models {
20566
20660
  "pageCount"?: number;
20567
20661
  }
20568
20662
 
20663
+ export interface FlowExecutionAggregateDataContainer {
20664
+ "group"?: { [key: string]: string; };
20665
+ "data"?: Array<Models.StatisticalResponse>;
20666
+ }
20667
+
20668
+ export interface FlowExecutionAggregateQueryClause {
20669
+ "type": string;
20670
+ "predicates": Array<Models.FlowExecutionAggregateQueryPredicate>;
20671
+ }
20672
+
20673
+ export interface FlowExecutionAggregateQueryFilter {
20674
+ "type": string;
20675
+ "clauses"?: Array<Models.FlowExecutionAggregateQueryClause>;
20676
+ "predicates"?: Array<Models.FlowExecutionAggregateQueryPredicate>;
20677
+ }
20678
+
20679
+ export interface FlowExecutionAggregateQueryPredicate {
20680
+ "type"?: string;
20681
+ "dimension"?: string;
20682
+ "operator"?: string;
20683
+ "value"?: string;
20684
+ "range"?: Models.NumericRange;
20685
+ }
20686
+
20687
+ export interface FlowExecutionAggregateQueryResponse {
20688
+ "results"?: Array<Models.FlowExecutionAggregateDataContainer>;
20689
+ }
20690
+
20691
+ export interface FlowExecutionAggregationQuery {
20692
+ "interval": string;
20693
+ "granularity"?: string;
20694
+ "timeZone"?: string;
20695
+ "groupBy"?: Array<string>;
20696
+ "filter"?: Models.FlowExecutionAggregateQueryFilter;
20697
+ "metrics": Array<string>;
20698
+ "flattenMultivaluedDimensions"?: boolean;
20699
+ "views"?: Array<Models.FlowExecutionAggregationView>;
20700
+ "alternateTimeDimension"?: string;
20701
+ }
20702
+
20703
+ export interface FlowExecutionAggregationView {
20704
+ "target": string;
20705
+ "name": string;
20706
+ "function": string;
20707
+ "range"?: Models.AggregationRange;
20708
+ }
20709
+
20710
+ export interface FlowExecutionAsyncAggregateQueryResponse {
20711
+ "results"?: Array<Models.FlowExecutionAggregateDataContainer>;
20712
+ "cursor"?: string;
20713
+ }
20714
+
20715
+ export interface FlowExecutionAsyncAggregationQuery {
20716
+ "interval": string;
20717
+ "granularity"?: string;
20718
+ "timeZone"?: string;
20719
+ "groupBy"?: Array<string>;
20720
+ "filter"?: Models.FlowExecutionAggregateQueryFilter;
20721
+ "metrics": Array<string>;
20722
+ "flattenMultivaluedDimensions"?: boolean;
20723
+ "views"?: Array<Models.FlowExecutionAggregationView>;
20724
+ "alternateTimeDimension"?: string;
20725
+ "pageSize"?: number;
20726
+ }
20727
+
20569
20728
  export interface FlowExecutionDataQueryResult {
20570
20729
  "id"?: string;
20571
20730
  "name"?: string;
@@ -22130,12 +22289,42 @@ declare namespace Models {
22130
22289
  "completedRecords": number;
22131
22290
  "percentComplete": number;
22132
22291
  "failureReason"?: string;
22292
+ "targetContactListIds"?: Array<string>;
22293
+ "listNamePrefix"?: string;
22133
22294
  }
22134
22295
 
22135
22296
  export interface ImportStatusRequest {
22136
22297
  "status": string;
22137
22298
  }
22138
22299
 
22300
+ export interface ImportTemplate {
22301
+ "id"?: string;
22302
+ "name"?: string;
22303
+ "dateCreated"?: string;
22304
+ "dateModified"?: string;
22305
+ "version"?: number;
22306
+ "contactListTemplate": Models.DomainEntityRef;
22307
+ "contactListFilter"?: Models.DomainEntityRef;
22308
+ "useSplittingCriteria"?: boolean;
22309
+ "splittingInformation"?: Models.SplittingInformation;
22310
+ "listNameFormat"?: string;
22311
+ "customListNameFormatValue"?: string;
22312
+ "selfUri"?: string;
22313
+ }
22314
+
22315
+ export interface ImportTemplateEntityListing {
22316
+ "entities"?: Array<Models.ImportTemplate>;
22317
+ "pageSize"?: number;
22318
+ "pageNumber"?: number;
22319
+ "total"?: number;
22320
+ "firstUri"?: string;
22321
+ "nextUri"?: string;
22322
+ "previousUri"?: string;
22323
+ "lastUri"?: string;
22324
+ "selfUri"?: string;
22325
+ "pageCount"?: number;
22326
+ }
22327
+
22139
22328
  export interface InboundDomain {
22140
22329
  "id"?: string;
22141
22330
  "name"?: string;
@@ -24664,9 +24853,15 @@ declare namespace Models {
24664
24853
  "selfUri"?: string;
24665
24854
  }
24666
24855
 
24667
- export interface LabelUtilization {
24856
+ export interface LabelUtilizationRequest {
24857
+ "maximumCapacity"?: number;
24858
+ "interruptingLabelIds"?: Array<string>;
24859
+ }
24860
+
24861
+ export interface LabelUtilizationResponse {
24668
24862
  "maximumCapacity"?: number;
24669
24863
  "interruptingLabelIds"?: Array<string>;
24864
+ "labelName"?: string;
24670
24865
  }
24671
24866
 
24672
24867
  export interface Language {
@@ -25728,6 +25923,21 @@ declare namespace Models {
25728
25923
  "action"?: string;
25729
25924
  }
25730
25925
 
25926
+ export interface LogCaptureDownloadExecutionResponse {
25927
+ "id": string;
25928
+ "state": string;
25929
+ "dateStart": string;
25930
+ "fileUrl": string;
25931
+ "selfUri"?: string;
25932
+ "user": Models.AddressableEntityRef;
25933
+ }
25934
+
25935
+ export interface LogCaptureQueryRequest {
25936
+ "interval": string;
25937
+ "userId": string;
25938
+ "sortOrder"?: string;
25939
+ }
25940
+
25731
25941
  export interface LogCaptureUserConfiguration {
25732
25942
  "id"?: string;
25733
25943
  "dateExpired": string;
@@ -25886,6 +26096,7 @@ declare namespace Models {
25886
26096
  "user"?: Models.NamedEntity;
25887
26097
  "ice"?: Models.MediaIceStatistics;
25888
26098
  "rtp"?: Models.MediaRtpStatistics;
26099
+ "reconnectAttemptCount"?: number;
25889
26100
  }
25890
26101
 
25891
26102
  export interface MediaIceSelectedCandidate {
@@ -35177,6 +35388,13 @@ declare namespace Models {
35177
35388
  "agentEmpathyEnabled"?: boolean;
35178
35389
  }
35179
35390
 
35391
+ export interface SplittingInformation {
35392
+ "criteria"?: string;
35393
+ "criteriaValue"?: string;
35394
+ "createRemainderContactList"?: boolean;
35395
+ "useWaterfallRule"?: boolean;
35396
+ }
35397
+
35180
35398
  export interface StarrableDivision {
35181
35399
  "id"?: string;
35182
35400
  "name"?: string;
@@ -38236,9 +38454,23 @@ declare namespace Models {
38236
38454
  "granularity"?: string;
38237
38455
  "comparativePeriod"?: Models.WorkdayPeriod;
38238
38456
  "primaryPeriod"?: Models.WorkdayPeriod;
38239
- "entities"?: Array<Models.InsightsTrendMetricItem>;
38240
- "total"?: Models.InsightsTrendTotalItem;
38241
38457
  "user"?: Models.UserReference;
38458
+ "entities"?: Array<Models.UserInsightsTrendMetricItem>;
38459
+ "total"?: Models.UserInsightsTrendTotalItem;
38460
+ }
38461
+
38462
+ export interface UserInsightsTrendMetricItem {
38463
+ "metric"?: Models.AddressableEntityRef;
38464
+ "trends"?: Models.UserInsightsTrends;
38465
+ }
38466
+
38467
+ export interface UserInsightsTrendTotalItem {
38468
+ "trends"?: Models.UserInsightsTrends;
38469
+ }
38470
+
38471
+ export interface UserInsightsTrends {
38472
+ "comparativePeriod"?: Array<Models.UserTrendData>;
38473
+ "primaryPeriod"?: Array<Models.UserTrendData>;
38242
38474
  }
38243
38475
 
38244
38476
  export interface UserLanguageEntityListing {
@@ -38818,6 +39050,15 @@ declare namespace Models {
38818
39050
  "destinationUserId": string;
38819
39051
  }
38820
39052
 
39053
+ export interface UserTrendData {
39054
+ "dateStartWorkday"?: string;
39055
+ "dateEndWorkday"?: string;
39056
+ "percentOfGoal"?: number;
39057
+ "averageValue"?: number;
39058
+ "rankTotalPoints"?: number;
39059
+ "rankPercentagePoints"?: number;
39060
+ }
39061
+
38821
39062
  export interface UsersSearchResponse {
38822
39063
  "total": number;
38823
39064
  "pageCount": number;
@@ -38830,16 +39071,20 @@ declare namespace Models {
38830
39071
  "results": Array<Models.User>;
38831
39072
  }
38832
39073
 
38833
- export interface Utilization {
38834
- "utilization"?: { [key: string]: Models.MediaUtilization; };
38835
- }
38836
-
38837
39074
  export interface UtilizationLabel {
38838
39075
  "id"?: string;
38839
39076
  "name"?: string;
38840
39077
  "selfUri"?: string;
38841
39078
  }
38842
39079
 
39080
+ export interface UtilizationRequest {
39081
+ "utilization"?: { [key: string]: Models.MediaUtilization; };
39082
+ }
39083
+
39084
+ export interface UtilizationResponse {
39085
+ "utilization"?: { [key: string]: Models.MediaUtilization; };
39086
+ }
39087
+
38843
39088
  export interface UtilizationTag {
38844
39089
  "id"?: string;
38845
39090
  "name"?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "183.0.0",
3
+ "version": "184.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 183.0.0
7
+ * @version 184.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 183.0.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**