purecloud-platform-client-v2 167.0.0 → 168.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +336 -126
- package/dist/web-amd/purecloud-platform-client-v2.js +336 -126
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +336 -126
- package/dist/web-cjs/purecloud-platform-client-v2.js +336 -126
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +212 -12
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +75 -0
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +32 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +69 -4
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -46
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +64 -6
- package/src/purecloud-platform-client-v2/index.js +7 -1
package/index.d.ts
CHANGED
|
@@ -770,6 +770,17 @@ declare namespace BillingApi {
|
|
|
770
770
|
}
|
|
771
771
|
}
|
|
772
772
|
|
|
773
|
+
declare class CarrierServicesApi {
|
|
774
|
+
getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber: string): Promise<Models.EmergencyLocation>;
|
|
775
|
+
postCarrierservicesIntegrationsEmergencylocationsMe(opts?: CarrierServicesApi.postCarrierservicesIntegrationsEmergencylocationsMeOptions): Promise<Models.EmergencyLocation>;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
declare namespace CarrierServicesApi {
|
|
779
|
+
export interface postCarrierservicesIntegrationsEmergencylocationsMeOptions {
|
|
780
|
+
"body"?: Models.EmergencyLocation;
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
|
|
773
784
|
declare class ChatApi {
|
|
774
785
|
getChatSettings(): Promise<Models.ChatSettings>;
|
|
775
786
|
getChatsSettings(): Promise<Models.ChatSettings>;
|
|
@@ -1108,6 +1119,7 @@ declare class ConversationsApi {
|
|
|
1108
1119
|
patchConversationsCobrowsesessionParticipantAttributes(conversationId: string, participantId: string, opts?: ConversationsApi.patchConversationsCobrowsesessionParticipantAttributesOptions): Promise<void>;
|
|
1109
1120
|
patchConversationsCobrowsesessionParticipantCommunication(conversationId: string, participantId: string, communicationId: string, body: Models.MediaParticipantRequest): Promise<object>;
|
|
1110
1121
|
patchConversationsEmail(conversationId: string, body: Models.Conversation): Promise<Models.Conversation>;
|
|
1122
|
+
patchConversationsEmailMessagesDraft(conversationId: string, opts?: ConversationsApi.patchConversationsEmailMessagesDraftOptions): Promise<Models.EmailMessage>;
|
|
1111
1123
|
patchConversationsEmailParticipant(conversationId: string, participantId: string, body: Models.MediaParticipantRequest): Promise<void>;
|
|
1112
1124
|
patchConversationsEmailParticipantAttributes(conversationId: string, participantId: string, body: Models.ParticipantAttributes): Promise<void>;
|
|
1113
1125
|
patchConversationsEmailParticipantCommunication(conversationId: string, participantId: string, communicationId: string, body: Models.MediaParticipantRequest): Promise<object>;
|
|
@@ -1349,6 +1361,11 @@ declare namespace ConversationsApi {
|
|
|
1349
1361
|
export interface patchConversationsCobrowsesessionParticipantAttributesOptions {
|
|
1350
1362
|
"body"?: Models.ParticipantAttributes;
|
|
1351
1363
|
}
|
|
1364
|
+
export interface patchConversationsEmailMessagesDraftOptions {
|
|
1365
|
+
"autoFill"?: boolean;
|
|
1366
|
+
"discard"?: boolean;
|
|
1367
|
+
"body"?: Models.DraftManipulationRequest;
|
|
1368
|
+
}
|
|
1352
1369
|
export interface patchConversationsMessageParticipantOptions {
|
|
1353
1370
|
"body"?: Models.MediaParticipantRequest;
|
|
1354
1371
|
}
|
|
@@ -1931,12 +1948,29 @@ declare namespace IdentityProviderApi {
|
|
|
1931
1948
|
}
|
|
1932
1949
|
|
|
1933
1950
|
declare class InfrastructureAsCodeApi {
|
|
1951
|
+
getInfrastructureascodeAccelerator(acceleratorId: string, opts?: InfrastructureAsCodeApi.getInfrastructureascodeAcceleratorOptions): Promise<Models.AcceleratorSpecification>;
|
|
1952
|
+
getInfrastructureascodeAccelerators(opts?: InfrastructureAsCodeApi.getInfrastructureascodeAcceleratorsOptions): Promise<Models.AcceleratorList>;
|
|
1934
1953
|
getInfrastructureascodeJob(jobId: string, opts?: InfrastructureAsCodeApi.getInfrastructureascodeJobOptions): Promise<Models.InfrastructureascodeJob>;
|
|
1935
1954
|
getInfrastructureascodeJobs(opts?: InfrastructureAsCodeApi.getInfrastructureascodeJobsOptions): Promise<Models.InfrastructureascodeJob>;
|
|
1936
1955
|
postInfrastructureascodeJobs(body: Models.AcceleratorInput): Promise<Models.InfrastructureascodeJob>;
|
|
1937
1956
|
}
|
|
1938
1957
|
|
|
1939
1958
|
declare namespace InfrastructureAsCodeApi {
|
|
1959
|
+
export interface getInfrastructureascodeAcceleratorOptions {
|
|
1960
|
+
"preferredLanguage"?: string;
|
|
1961
|
+
}
|
|
1962
|
+
export interface getInfrastructureascodeAcceleratorsOptions {
|
|
1963
|
+
"pageSize"?: number;
|
|
1964
|
+
"pageNumber"?: number;
|
|
1965
|
+
"sortBy"?: string;
|
|
1966
|
+
"sortOrder"?: string;
|
|
1967
|
+
"name"?: string;
|
|
1968
|
+
"description"?: string;
|
|
1969
|
+
"origin"?: string;
|
|
1970
|
+
"type"?: string;
|
|
1971
|
+
"classification"?: string;
|
|
1972
|
+
"tags"?: string;
|
|
1973
|
+
}
|
|
1940
1974
|
export interface getInfrastructureascodeJobOptions {
|
|
1941
1975
|
"details"?: boolean;
|
|
1942
1976
|
}
|
|
@@ -1945,6 +1979,9 @@ declare namespace InfrastructureAsCodeApi {
|
|
|
1945
1979
|
"includeErrors"?: boolean;
|
|
1946
1980
|
"sortBy"?: string;
|
|
1947
1981
|
"sortOrder"?: string;
|
|
1982
|
+
"acceleratorId"?: string;
|
|
1983
|
+
"submittedBy"?: string;
|
|
1984
|
+
"status"?: string;
|
|
1948
1985
|
}
|
|
1949
1986
|
}
|
|
1950
1987
|
|
|
@@ -3091,6 +3128,7 @@ declare class OutboundApi {
|
|
|
3091
3128
|
getOutboundEvent(eventId: string): Promise<Models.EventLog>;
|
|
3092
3129
|
getOutboundEvents(opts?: OutboundApi.getOutboundEventsOptions): Promise<Models.DialerEventEntityListing>;
|
|
3093
3130
|
getOutboundMessagingcampaign(messagingCampaignId: string): Promise<Models.MessagingCampaign>;
|
|
3131
|
+
getOutboundMessagingcampaignDiagnostics(messagingCampaignId: string): Promise<Models.MessagingCampaignDiagnostics>;
|
|
3094
3132
|
getOutboundMessagingcampaignProgress(messagingCampaignId: string): Promise<Models.CampaignProgress>;
|
|
3095
3133
|
getOutboundMessagingcampaigns(opts?: OutboundApi.getOutboundMessagingcampaignsOptions): Promise<Models.MessagingCampaignEntityListing>;
|
|
3096
3134
|
getOutboundMessagingcampaignsDivisionview(messagingCampaignId: string): Promise<Models.MessagingCampaignDivisionView>;
|
|
@@ -3875,6 +3913,7 @@ declare namespace ResponseManagementApi {
|
|
|
3875
3913
|
"pageNumber"?: number;
|
|
3876
3914
|
"pageSize"?: number;
|
|
3877
3915
|
"messagingTemplateFilter"?: string;
|
|
3916
|
+
"libraryPrefix"?: string;
|
|
3878
3917
|
}
|
|
3879
3918
|
export interface getResponsemanagementResponseOptions {
|
|
3880
3919
|
"expand"?: string;
|
|
@@ -4594,9 +4633,7 @@ declare namespace SpeechTextAnalyticsApi {
|
|
|
4594
4633
|
declare class StationsApi {
|
|
4595
4634
|
deleteStationAssociateduser(stationId: string): Promise<void>;
|
|
4596
4635
|
getStation(stationId: string): Promise<Models.Station>;
|
|
4597
|
-
getStations(opts?: StationsApi.getStationsOptions): Promise<Models.StationEntityListing>;
|
|
4598
|
-
getStationsSettings(): Promise<Models.StationSettings>;
|
|
4599
|
-
patchStationsSettings(body: Models.StationSettings): Promise<Models.StationSettings>;
|
|
4636
|
+
getStations(opts?: StationsApi.getStationsOptions): Promise<Models.StationEntityListing>;
|
|
4600
4637
|
}
|
|
4601
4638
|
|
|
4602
4639
|
declare namespace StationsApi {
|
|
@@ -5616,6 +5653,8 @@ declare class WorkforceManagementApi {
|
|
|
5616
5653
|
postWorkforcemanagementManagementunits(opts?: WorkforceManagementApi.postWorkforcemanagementManagementunitsOptions): Promise<Models.ManagementUnit>;
|
|
5617
5654
|
postWorkforcemanagementNotificationsUpdate(opts?: WorkforceManagementApi.postWorkforcemanagementNotificationsUpdateOptions): Promise<Models.UpdateNotificationsResponse>;
|
|
5618
5655
|
postWorkforcemanagementSchedules(opts?: WorkforceManagementApi.postWorkforcemanagementSchedulesOptions): Promise<Models.UserScheduleContainer>;
|
|
5656
|
+
postWorkforcemanagementTeamAdherenceHistorical(teamId: string, opts?: WorkforceManagementApi.postWorkforcemanagementTeamAdherenceHistoricalOptions): Promise<Models.WfmHistoricalAdherenceResponse>;
|
|
5657
|
+
postWorkforcemanagementTeamShrinkageJobs(teamId: string, opts?: WorkforceManagementApi.postWorkforcemanagementTeamShrinkageJobsOptions): Promise<Models.WfmHistoricalShrinkageResponse>;
|
|
5619
5658
|
postWorkforcemanagementTimeofflimitsAvailableQuery(opts?: WorkforceManagementApi.postWorkforcemanagementTimeofflimitsAvailableQueryOptions): Promise<Models.AvailableTimeOffResponse>;
|
|
5620
5659
|
postWorkforcemanagementTimeoffrequests(opts?: WorkforceManagementApi.postWorkforcemanagementTimeoffrequestsOptions): Promise<Models.TimeOffRequestResponse>;
|
|
5621
5660
|
putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId: string, timeOffLimitId: string, opts?: WorkforceManagementApi.putWorkforcemanagementManagementunitTimeofflimitValuesOptions): Promise<Models.TimeOffLimit>;
|
|
@@ -5861,6 +5900,12 @@ declare namespace WorkforceManagementApi {
|
|
|
5861
5900
|
export interface postWorkforcemanagementSchedulesOptions {
|
|
5862
5901
|
"body"?: Models.CurrentUserScheduleRequestBody;
|
|
5863
5902
|
}
|
|
5903
|
+
export interface postWorkforcemanagementTeamAdherenceHistoricalOptions {
|
|
5904
|
+
"body"?: Models.WfmHistoricalAdherenceQueryForTeams;
|
|
5905
|
+
}
|
|
5906
|
+
export interface postWorkforcemanagementTeamShrinkageJobsOptions {
|
|
5907
|
+
"body"?: Models.WfmHistoricalShrinkageTeamsRequest;
|
|
5908
|
+
}
|
|
5864
5909
|
export interface postWorkforcemanagementTimeofflimitsAvailableQueryOptions {
|
|
5865
5910
|
"body"?: Models.AvailableTimeOffRequest;
|
|
5866
5911
|
}
|
|
@@ -5893,11 +5938,51 @@ declare namespace Models {
|
|
|
5893
5938
|
"parameters"?: Array<Models.AcceleratorParameter>;
|
|
5894
5939
|
}
|
|
5895
5940
|
|
|
5941
|
+
export interface AcceleratorList {
|
|
5942
|
+
"entities"?: Array<Models.AcceleratorMetadata>;
|
|
5943
|
+
"pageSize"?: number;
|
|
5944
|
+
"pageNumber"?: number;
|
|
5945
|
+
"total"?: number;
|
|
5946
|
+
"firstUri"?: string;
|
|
5947
|
+
"nextUri"?: string;
|
|
5948
|
+
"previousUri"?: string;
|
|
5949
|
+
"lastUri"?: string;
|
|
5950
|
+
"selfUri"?: string;
|
|
5951
|
+
"pageCount"?: number;
|
|
5952
|
+
}
|
|
5953
|
+
|
|
5954
|
+
export interface AcceleratorMetadata {
|
|
5955
|
+
"id"?: string;
|
|
5956
|
+
"name"?: string;
|
|
5957
|
+
"description"?: string;
|
|
5958
|
+
"origin"?: string;
|
|
5959
|
+
"type"?: string;
|
|
5960
|
+
"classification"?: string;
|
|
5961
|
+
"tags"?: Array<string>;
|
|
5962
|
+
"selfUri"?: string;
|
|
5963
|
+
}
|
|
5964
|
+
|
|
5896
5965
|
export interface AcceleratorParameter {
|
|
5897
5966
|
"name": string;
|
|
5898
5967
|
"value": string;
|
|
5899
5968
|
}
|
|
5900
5969
|
|
|
5970
|
+
export interface AcceleratorSpecification {
|
|
5971
|
+
"id"?: string;
|
|
5972
|
+
"name"?: string;
|
|
5973
|
+
"description"?: string;
|
|
5974
|
+
"origin"?: string;
|
|
5975
|
+
"type"?: string;
|
|
5976
|
+
"classification"?: string;
|
|
5977
|
+
"tags"?: Array<string>;
|
|
5978
|
+
"permissions"?: Array<string>;
|
|
5979
|
+
"products"?: Array<string>;
|
|
5980
|
+
"documentation"?: Array<Models.MetadataDocumentation>;
|
|
5981
|
+
"presentation"?: Array<Models.MetadataPresentation>;
|
|
5982
|
+
"results"?: Models.MetadataResults;
|
|
5983
|
+
"selfUri"?: string;
|
|
5984
|
+
}
|
|
5985
|
+
|
|
5901
5986
|
export interface AcdEndDetailEventTopicAcdEndEvent {
|
|
5902
5987
|
"eventTime"?: number;
|
|
5903
5988
|
"conversationId"?: string;
|
|
@@ -6067,6 +6152,7 @@ declare namespace Models {
|
|
|
6067
6152
|
"triggerWithSegments": Array<string>;
|
|
6068
6153
|
"triggerWithEventConditions"?: Array<Models.EventCondition>;
|
|
6069
6154
|
"triggerWithOutcomeProbabilityConditions"?: Array<Models.OutcomeProbabilityCondition>;
|
|
6155
|
+
"triggerWithOutcomePercentileConditions"?: Array<Models.OutcomePercentileCondition>;
|
|
6070
6156
|
"pageUrlConditions": Array<Models.UrlCondition>;
|
|
6071
6157
|
"activation"?: Models.Activation;
|
|
6072
6158
|
"weight"?: number;
|
|
@@ -6702,6 +6788,7 @@ declare namespace Models {
|
|
|
6702
6788
|
}
|
|
6703
6789
|
|
|
6704
6790
|
export interface AnalyticsConversation {
|
|
6791
|
+
"conferenceStart"?: string;
|
|
6705
6792
|
"conversationEnd"?: string;
|
|
6706
6793
|
"conversationId"?: string;
|
|
6707
6794
|
"conversationInitiator"?: string;
|
|
@@ -6761,6 +6848,7 @@ declare namespace Models {
|
|
|
6761
6848
|
}
|
|
6762
6849
|
|
|
6763
6850
|
export interface AnalyticsConversationWithoutAttributes {
|
|
6851
|
+
"conferenceStart"?: string;
|
|
6764
6852
|
"conversationEnd"?: string;
|
|
6765
6853
|
"conversationId"?: string;
|
|
6766
6854
|
"conversationInitiator"?: string;
|
|
@@ -9633,6 +9721,7 @@ declare namespace Models {
|
|
|
9633
9721
|
"ruleSetDiagnostics"?: Array<Models.RuleSetDiagnostic>;
|
|
9634
9722
|
"outstandingInteractionsCount"?: number;
|
|
9635
9723
|
"scheduledInteractionsCount"?: number;
|
|
9724
|
+
"timeZoneRescheduledCallsCount"?: number;
|
|
9636
9725
|
}
|
|
9637
9726
|
|
|
9638
9727
|
export interface CampaignDivisionView {
|
|
@@ -9814,6 +9903,7 @@ declare namespace Models {
|
|
|
9814
9903
|
"adjustedCallsPerAgent"?: number;
|
|
9815
9904
|
"outstandingCalls"?: number;
|
|
9816
9905
|
"scheduledCalls"?: number;
|
|
9906
|
+
"timeZoneRescheduledCalls"?: number;
|
|
9817
9907
|
}
|
|
9818
9908
|
|
|
9819
9909
|
export interface CampaignTimeSlot {
|
|
@@ -11209,6 +11299,7 @@ declare namespace Models {
|
|
|
11209
11299
|
"autoStart"?: Models.AutoStart;
|
|
11210
11300
|
"markdown"?: Models.Markdown;
|
|
11211
11301
|
"conversationDisconnect"?: Models.ConversationDisconnectSettings;
|
|
11302
|
+
"conversationClear"?: Models.ConversationClearSettings;
|
|
11212
11303
|
"humanize"?: Models.Humanize;
|
|
11213
11304
|
}
|
|
11214
11305
|
|
|
@@ -11674,6 +11765,10 @@ declare namespace Models {
|
|
|
11674
11765
|
"endTime"?: string;
|
|
11675
11766
|
}
|
|
11676
11767
|
|
|
11768
|
+
export interface ConversationClearSettings {
|
|
11769
|
+
"enabled"?: boolean;
|
|
11770
|
+
}
|
|
11771
|
+
|
|
11677
11772
|
export interface ConversationCobrowseEventTopicCobrowseConversation {
|
|
11678
11773
|
"id"?: string;
|
|
11679
11774
|
"name"?: string;
|
|
@@ -15270,6 +15365,7 @@ declare namespace Models {
|
|
|
15270
15365
|
"markContactUncontactableActionSettings"?: Models.MarkContactUncontactableActionSettings;
|
|
15271
15366
|
"markContactAddressUncontactableActionSettings"?: object;
|
|
15272
15367
|
"setContentTemplateActionSettings"?: Models.SetContentTemplateActionSettings;
|
|
15368
|
+
"setSmsPhoneNumberActionSettings"?: Models.SetSmsPhoneNumberActionSettings;
|
|
15273
15369
|
}
|
|
15274
15370
|
|
|
15275
15371
|
export interface DigitalCondition {
|
|
@@ -16169,6 +16265,11 @@ declare namespace Models {
|
|
|
16169
16265
|
"previousUri"?: string;
|
|
16170
16266
|
}
|
|
16171
16267
|
|
|
16268
|
+
export interface DraftManipulationRequest {
|
|
16269
|
+
"translate"?: Models.HistoryHeadersTranslation;
|
|
16270
|
+
"draftType"?: string;
|
|
16271
|
+
}
|
|
16272
|
+
|
|
16172
16273
|
export interface DraftRequest {
|
|
16173
16274
|
"intents"?: Array<Models.DraftIntents>;
|
|
16174
16275
|
"topics"?: Array<Models.DraftTopicRequest>;
|
|
@@ -16838,6 +16939,15 @@ declare namespace Models {
|
|
|
16838
16939
|
"pageCount"?: number;
|
|
16839
16940
|
}
|
|
16840
16941
|
|
|
16942
|
+
export interface EmergencyLocation {
|
|
16943
|
+
"id"?: string;
|
|
16944
|
+
"name"?: string;
|
|
16945
|
+
"address": Models.LocationAddress;
|
|
16946
|
+
"did": string;
|
|
16947
|
+
"source": string;
|
|
16948
|
+
"selfUri"?: string;
|
|
16949
|
+
}
|
|
16950
|
+
|
|
16841
16951
|
export interface EmployerInfo {
|
|
16842
16952
|
"officialName"?: string;
|
|
16843
16953
|
"employeeId"?: string;
|
|
@@ -18668,6 +18778,12 @@ declare namespace Models {
|
|
|
18668
18778
|
"entities"?: Array<Models.ForecastPlanningGroupResponse>;
|
|
18669
18779
|
}
|
|
18670
18780
|
|
|
18781
|
+
export interface ForecastServiceGoalTemplateImpactOverrideResponse {
|
|
18782
|
+
"serviceLevel"?: Models.WfmServiceGoalImpact;
|
|
18783
|
+
"averageSpeedOfAnswer"?: Models.WfmServiceGoalImpact;
|
|
18784
|
+
"abandonRate"?: Models.WfmServiceGoalImpact;
|
|
18785
|
+
}
|
|
18786
|
+
|
|
18671
18787
|
export interface ForecastServiceGoalTemplateResponse {
|
|
18672
18788
|
"serviceLevel"?: Models.ForecastServiceLevelResponse;
|
|
18673
18789
|
"averageSpeedOfAnswer"?: Models.ForecastAverageSpeedOfAnswerResponse;
|
|
@@ -18698,11 +18814,6 @@ declare namespace Models {
|
|
|
18698
18814
|
"captureDataOnFormSubmit": boolean;
|
|
18699
18815
|
}
|
|
18700
18816
|
|
|
18701
|
-
export interface FreeSeatingConfiguration {
|
|
18702
|
-
"freeSeatingState"?: string;
|
|
18703
|
-
"ttlMinutes"?: number;
|
|
18704
|
-
}
|
|
18705
|
-
|
|
18706
18817
|
export interface FromEmailAddress {
|
|
18707
18818
|
"domain": Models.DomainEntityRef;
|
|
18708
18819
|
"friendlyName"?: string;
|
|
@@ -19353,6 +19464,17 @@ declare namespace Models {
|
|
|
19353
19464
|
"secure"?: boolean;
|
|
19354
19465
|
}
|
|
19355
19466
|
|
|
19467
|
+
export interface HistoryHeadersTranslation {
|
|
19468
|
+
"from": string;
|
|
19469
|
+
"to": string;
|
|
19470
|
+
"cc": string;
|
|
19471
|
+
"subject": string;
|
|
19472
|
+
"replyPrefix": string;
|
|
19473
|
+
"forwardPrefix": string;
|
|
19474
|
+
"sent": string;
|
|
19475
|
+
"language": string;
|
|
19476
|
+
}
|
|
19477
|
+
|
|
19356
19478
|
export interface HistoryListing {
|
|
19357
19479
|
"id"?: string;
|
|
19358
19480
|
"complete"?: boolean;
|
|
@@ -19654,6 +19776,7 @@ declare namespace Models {
|
|
|
19654
19776
|
export interface InfrastructureascodeJob {
|
|
19655
19777
|
"id"?: string;
|
|
19656
19778
|
"dryRun": boolean;
|
|
19779
|
+
"acceleratorId"?: string;
|
|
19657
19780
|
"dateSubmitted"?: string;
|
|
19658
19781
|
"submittedBy"?: Models.UserReference;
|
|
19659
19782
|
"status"?: string;
|
|
@@ -20918,6 +21041,7 @@ declare namespace Models {
|
|
|
20918
21041
|
"id"?: string;
|
|
20919
21042
|
"name"?: string;
|
|
20920
21043
|
"optimizationType"?: string;
|
|
21044
|
+
"problemType"?: string;
|
|
20921
21045
|
"dateCreated"?: string;
|
|
20922
21046
|
"dateModified"?: string;
|
|
20923
21047
|
"description"?: string;
|
|
@@ -21949,6 +22073,8 @@ declare namespace Models {
|
|
|
21949
22073
|
"sharingUri"?: string;
|
|
21950
22074
|
"contentType"?: string;
|
|
21951
22075
|
"order": number;
|
|
22076
|
+
"displayName"?: string;
|
|
22077
|
+
"description"?: string;
|
|
21952
22078
|
}
|
|
21953
22079
|
|
|
21954
22080
|
export interface LearningModuleInformStepRequest {
|
|
@@ -21958,6 +22084,8 @@ declare namespace Models {
|
|
|
21958
22084
|
"sharingUri"?: string;
|
|
21959
22085
|
"contentType"?: string;
|
|
21960
22086
|
"order": number;
|
|
22087
|
+
"displayName"?: string;
|
|
22088
|
+
"description"?: string;
|
|
21961
22089
|
}
|
|
21962
22090
|
|
|
21963
22091
|
export interface LearningModuleJobRequest {
|
|
@@ -23071,6 +23199,10 @@ declare namespace Models {
|
|
|
23071
23199
|
"selfUri"?: string;
|
|
23072
23200
|
}
|
|
23073
23201
|
|
|
23202
|
+
export interface MessagingCampaignDiagnostics {
|
|
23203
|
+
"timeZoneRescheduledContactsCount"?: number;
|
|
23204
|
+
}
|
|
23205
|
+
|
|
23074
23206
|
export interface MessagingCampaignDivisionView {
|
|
23075
23207
|
"id"?: string;
|
|
23076
23208
|
"name"?: string;
|
|
@@ -23267,6 +23399,42 @@ declare namespace Models {
|
|
|
23267
23399
|
"selfUri"?: string;
|
|
23268
23400
|
}
|
|
23269
23401
|
|
|
23402
|
+
export interface MetadataDocumentation {
|
|
23403
|
+
"description"?: string;
|
|
23404
|
+
"location"?: string;
|
|
23405
|
+
}
|
|
23406
|
+
|
|
23407
|
+
export interface MetadataPresentation {
|
|
23408
|
+
"title"?: string;
|
|
23409
|
+
"schema"?: Models.MetadataSchema;
|
|
23410
|
+
}
|
|
23411
|
+
|
|
23412
|
+
export interface MetadataProperty {
|
|
23413
|
+
"type"?: string;
|
|
23414
|
+
"description"?: string;
|
|
23415
|
+
"help"?: string;
|
|
23416
|
+
"default"?: string;
|
|
23417
|
+
"enum"?: Array<string>;
|
|
23418
|
+
}
|
|
23419
|
+
|
|
23420
|
+
export interface MetadataResultEntity {
|
|
23421
|
+
"type"?: string;
|
|
23422
|
+
"description"?: string;
|
|
23423
|
+
"visibility"?: string;
|
|
23424
|
+
}
|
|
23425
|
+
|
|
23426
|
+
export interface MetadataResults {
|
|
23427
|
+
"entities"?: Array<Models.MetadataResultEntity>;
|
|
23428
|
+
}
|
|
23429
|
+
|
|
23430
|
+
export interface MetadataSchema {
|
|
23431
|
+
"title"?: string;
|
|
23432
|
+
"description"?: string;
|
|
23433
|
+
"type"?: string;
|
|
23434
|
+
"properties"?: Array<{ [key: string]: Models.MetadataProperty; }>;
|
|
23435
|
+
"required"?: Array<string>;
|
|
23436
|
+
}
|
|
23437
|
+
|
|
23270
23438
|
export interface MeteredAssignmentByAgent {
|
|
23271
23439
|
"evaluationContextId"?: string;
|
|
23272
23440
|
"evaluators"?: Array<Models.User>;
|
|
@@ -24531,6 +24699,7 @@ declare namespace Models {
|
|
|
24531
24699
|
"abandonSeconds"?: number;
|
|
24532
24700
|
"complianceAbandonRateDenominator"?: string;
|
|
24533
24701
|
"automaticTimeZoneMapping"?: Models.AutomaticTimeZoneMappingSettings;
|
|
24702
|
+
"rescheduleTimeZoneSkippedContacts"?: boolean;
|
|
24534
24703
|
"selfUri"?: string;
|
|
24535
24704
|
}
|
|
24536
24705
|
|
|
@@ -24579,6 +24748,12 @@ declare namespace Models {
|
|
|
24579
24748
|
"pageCount"?: number;
|
|
24580
24749
|
}
|
|
24581
24750
|
|
|
24751
|
+
export interface OutcomePercentileCondition {
|
|
24752
|
+
"outcomeId": string;
|
|
24753
|
+
"maximumPercentile": number;
|
|
24754
|
+
"fallbackPercentile"?: number;
|
|
24755
|
+
}
|
|
24756
|
+
|
|
24582
24757
|
export interface OutcomePredictor {
|
|
24583
24758
|
"id"?: string;
|
|
24584
24759
|
"outcome"?: Models.OutcomeRef;
|
|
@@ -24803,6 +24978,7 @@ declare namespace Models {
|
|
|
24803
24978
|
"triggerWithSegments": Array<string>;
|
|
24804
24979
|
"triggerWithEventConditions"?: Array<Models.EventCondition>;
|
|
24805
24980
|
"triggerWithOutcomeProbabilityConditions"?: Array<Models.OutcomeProbabilityCondition>;
|
|
24981
|
+
"triggerWithOutcomePercentileConditions"?: Array<Models.OutcomePercentileCondition>;
|
|
24806
24982
|
"pageUrlConditions": Array<Models.UrlCondition>;
|
|
24807
24983
|
"activation"?: Models.Activation;
|
|
24808
24984
|
"weight"?: number;
|
|
@@ -29063,6 +29239,7 @@ declare namespace Models {
|
|
|
29063
29239
|
"selectedColumns"?: Array<Models.SelectedColumns>;
|
|
29064
29240
|
"hasCustomParticipantAttributes"?: boolean;
|
|
29065
29241
|
"recipientEmails"?: Array<string>;
|
|
29242
|
+
"includeDurationFormatInHeader"?: boolean;
|
|
29066
29243
|
}
|
|
29067
29244
|
|
|
29068
29245
|
export interface ReportingExportJobResponse {
|
|
@@ -29094,6 +29271,7 @@ declare namespace Models {
|
|
|
29094
29271
|
"recipientEmails"?: Array<string>;
|
|
29095
29272
|
"emailStatuses"?: { [key: string]: string; };
|
|
29096
29273
|
"emailErrorDescription"?: string;
|
|
29274
|
+
"includeDurationFormatInHeader"?: boolean;
|
|
29097
29275
|
"enabled"?: boolean;
|
|
29098
29276
|
"selfUri"?: string;
|
|
29099
29277
|
}
|
|
@@ -30588,6 +30766,7 @@ declare namespace Models {
|
|
|
30588
30766
|
export interface Settings {
|
|
30589
30767
|
"communicationBasedACW"?: boolean;
|
|
30590
30768
|
"includeNonAgentConversationSummary"?: boolean;
|
|
30769
|
+
"allowCallbackQueueSelection"?: boolean;
|
|
30591
30770
|
}
|
|
30592
30771
|
|
|
30593
30772
|
export interface Share {
|
|
@@ -31269,10 +31448,6 @@ declare namespace Models {
|
|
|
31269
31448
|
"pageCount"?: number;
|
|
31270
31449
|
}
|
|
31271
31450
|
|
|
31272
|
-
export interface StationSettings {
|
|
31273
|
-
"freeSeatingConfiguration"?: Models.FreeSeatingConfiguration;
|
|
31274
|
-
}
|
|
31275
|
-
|
|
31276
31451
|
export interface StatisticalResponse {
|
|
31277
31452
|
"interval"?: string;
|
|
31278
31453
|
"metrics"?: Array<Models.AggregateMetricData>;
|
|
@@ -32578,10 +32753,16 @@ declare namespace Models {
|
|
|
32578
32753
|
"state"?: string;
|
|
32579
32754
|
"dateIssued"?: string;
|
|
32580
32755
|
"initiator"?: Models.TransferInitiator;
|
|
32756
|
+
"modifiedBy"?: Models.TransferResponseModifiedBy;
|
|
32581
32757
|
"destination"?: Models.TransferDestination;
|
|
32582
32758
|
"transferType"?: string;
|
|
32583
32759
|
}
|
|
32584
32760
|
|
|
32761
|
+
export interface TransferResponseModifiedBy {
|
|
32762
|
+
"id"?: string;
|
|
32763
|
+
"selfUri"?: string;
|
|
32764
|
+
}
|
|
32765
|
+
|
|
32585
32766
|
export interface TrendData {
|
|
32586
32767
|
"dateStartWorkday"?: string;
|
|
32587
32768
|
"dateEndWorkday"?: string;
|
|
@@ -35111,6 +35292,9 @@ declare namespace Models {
|
|
|
35111
35292
|
"hasSensitiveData"?: boolean;
|
|
35112
35293
|
"subPath"?: string;
|
|
35113
35294
|
"userState"?: string;
|
|
35295
|
+
"isClearedByCustomer"?: boolean;
|
|
35296
|
+
"evaluationAssigneeIds"?: Array<string>;
|
|
35297
|
+
"evaluationAssigned"?: boolean;
|
|
35114
35298
|
}
|
|
35115
35299
|
|
|
35116
35300
|
export interface VisibilityCondition {
|
|
@@ -36360,6 +36544,14 @@ declare namespace Models {
|
|
|
36360
36544
|
"teamIds"?: Array<string>;
|
|
36361
36545
|
}
|
|
36362
36546
|
|
|
36547
|
+
export interface WfmHistoricalAdherenceQueryForTeams {
|
|
36548
|
+
"startDate": string;
|
|
36549
|
+
"endDate"?: string;
|
|
36550
|
+
"timeZone": string;
|
|
36551
|
+
"userIds"?: Array<string>;
|
|
36552
|
+
"includeExceptions"?: boolean;
|
|
36553
|
+
}
|
|
36554
|
+
|
|
36363
36555
|
export interface WfmHistoricalAdherenceQueryForUsers {
|
|
36364
36556
|
"startDate": string;
|
|
36365
36557
|
"endDate"?: string;
|
|
@@ -36418,6 +36610,13 @@ declare namespace Models {
|
|
|
36418
36610
|
"state"?: string;
|
|
36419
36611
|
}
|
|
36420
36612
|
|
|
36613
|
+
export interface WfmHistoricalShrinkageTeamsRequest {
|
|
36614
|
+
"startDate": string;
|
|
36615
|
+
"endDate"?: string;
|
|
36616
|
+
"timeZone": string;
|
|
36617
|
+
"granularity"?: string;
|
|
36618
|
+
}
|
|
36619
|
+
|
|
36421
36620
|
export interface WfmIntegrationsHrisTimeOffTypesJobTopicErrorBody {
|
|
36422
36621
|
"status"?: number;
|
|
36423
36622
|
"code"?: string;
|
|
@@ -37195,6 +37394,7 @@ declare namespace Models {
|
|
|
37195
37394
|
"metric"?: Models.Metric;
|
|
37196
37395
|
"objective"?: Models.Objective;
|
|
37197
37396
|
"points"?: number;
|
|
37397
|
+
"maxPoints"?: number;
|
|
37198
37398
|
"value"?: number;
|
|
37199
37399
|
"punctualityEvents"?: Array<Models.PunctualityEvent>;
|
|
37200
37400
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import ApiClient from '../ApiClient.js';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class CarrierServicesApi {
|
|
5
|
+
/**
|
|
6
|
+
* CarrierServices service.
|
|
7
|
+
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8
|
+
* @version 168.1.0
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Constructs a new CarrierServicesApi.
|
|
13
|
+
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
14
|
+
* @class
|
|
15
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
16
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
17
|
+
*/
|
|
18
|
+
constructor(apiClient) {
|
|
19
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Get location for the logged in user
|
|
25
|
+
*
|
|
26
|
+
* @param {String} phoneNumber Phone number in E164 format
|
|
27
|
+
*/
|
|
28
|
+
getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber) {
|
|
29
|
+
// verify the required parameter 'phoneNumber' is set
|
|
30
|
+
if (phoneNumber === undefined || phoneNumber === null) {
|
|
31
|
+
throw 'Missing the required parameter "phoneNumber" when calling getCarrierservicesIntegrationsEmergencylocationsMe';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return this.apiClient.callApi(
|
|
35
|
+
'/api/v2/carrierservices/integrations/emergencylocations/me',
|
|
36
|
+
'GET',
|
|
37
|
+
{ },
|
|
38
|
+
{ 'phoneNumber': phoneNumber },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
|
+
null,
|
|
42
|
+
['PureCloud OAuth'],
|
|
43
|
+
['application/json'],
|
|
44
|
+
['application/json']
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Set current location for the logged in user
|
|
50
|
+
*
|
|
51
|
+
* @param {Object} opts Optional parameters
|
|
52
|
+
* @param {Object} opts.body
|
|
53
|
+
*/
|
|
54
|
+
postCarrierservicesIntegrationsEmergencylocationsMe(opts) {
|
|
55
|
+
opts = opts || {};
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
return this.apiClient.callApi(
|
|
59
|
+
'/api/v2/carrierservices/integrations/emergencylocations/me',
|
|
60
|
+
'POST',
|
|
61
|
+
{ },
|
|
62
|
+
{ },
|
|
63
|
+
{ },
|
|
64
|
+
{ },
|
|
65
|
+
opts['body'],
|
|
66
|
+
['PureCloud OAuth'],
|
|
67
|
+
['application/json'],
|
|
68
|
+
['application/json']
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
export default CarrierServicesApi;
|