purecloud-platform-client-v2 161.0.1 → 162.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.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +153 -77
- package/dist/web-amd/purecloud-platform-client-v2.js +153 -77
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +153 -77
- package/dist/web-cjs/purecloud-platform-client-v2.js +153 -77
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +36 -7
- 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 +2 -2
- 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 +3 -2
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +74 -4
- 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 +1 -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 +1 -1
- 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 +1 -1
- 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 +1 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +9 -4
- 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 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/index.d.ts
CHANGED
|
@@ -710,6 +710,7 @@ declare namespace AuthorizationApi {
|
|
|
710
710
|
"query"?: string;
|
|
711
711
|
}
|
|
712
712
|
export interface getAuthorizationRoleOptions {
|
|
713
|
+
"userCount"?: boolean;
|
|
713
714
|
"expand"?: Array<string>;
|
|
714
715
|
}
|
|
715
716
|
export interface getAuthorizationRoleSubjectgrantsOptions {
|
|
@@ -770,8 +771,11 @@ declare namespace BillingApi {
|
|
|
770
771
|
|
|
771
772
|
declare class ChatApi {
|
|
772
773
|
getChatSettings(): Promise<Models.ChatSettings>;
|
|
774
|
+
getChatsSettings(): Promise<Models.ChatSettings>;
|
|
773
775
|
patchChatSettings(body: Models.ChatSettings): Promise<Models.ChatSettings>;
|
|
774
|
-
|
|
776
|
+
patchChatsSettings(body: Models.ChatSettings): Promise<Models.ChatSettings>;
|
|
777
|
+
putChatSettings(body: Models.ChatSettings): Promise<Models.ChatSettings>;
|
|
778
|
+
putChatsSettings(body: Models.ChatSettings): Promise<Models.ChatSettings>;
|
|
775
779
|
}
|
|
776
780
|
|
|
777
781
|
declare namespace ChatApi {
|
|
@@ -3904,7 +3908,7 @@ declare class RoutingApi {
|
|
|
3904
3908
|
getRoutingEmailOutboundDomain(domainId: string): Promise<Models.OutboundDomain>;
|
|
3905
3909
|
getRoutingEmailOutboundDomainActivation(domainId: string): Promise<Models.EmailOutboundDomainResult>;
|
|
3906
3910
|
getRoutingEmailOutboundDomainSearch(domainId: string): Promise<Models.OutboundDomain>;
|
|
3907
|
-
getRoutingEmailOutboundDomains(): Promise<Models.OutboundDomainEntityListing>;
|
|
3911
|
+
getRoutingEmailOutboundDomains(opts?: RoutingApi.getRoutingEmailOutboundDomainsOptions): Promise<Models.OutboundDomainEntityListing>;
|
|
3908
3912
|
getRoutingEmailSetup(): Promise<Models.EmailSetup>;
|
|
3909
3913
|
getRoutingLanguage(languageId: string): Promise<Models.Language>;
|
|
3910
3914
|
getRoutingLanguages(opts?: RoutingApi.getRoutingLanguagesOptions): Promise<Models.LanguageEntityListing>;
|
|
@@ -4023,6 +4027,10 @@ declare namespace RoutingApi {
|
|
|
4023
4027
|
"pageSize"?: number;
|
|
4024
4028
|
"pageNumber"?: number;
|
|
4025
4029
|
"excludeStatus"?: boolean;
|
|
4030
|
+
"filter"?: string;
|
|
4031
|
+
}
|
|
4032
|
+
export interface getRoutingEmailOutboundDomainsOptions {
|
|
4033
|
+
"filter"?: string;
|
|
4026
4034
|
}
|
|
4027
4035
|
export interface getRoutingLanguagesOptions {
|
|
4028
4036
|
"pageSize"?: number;
|
|
@@ -9557,6 +9565,13 @@ declare namespace Models {
|
|
|
9557
9565
|
"callbackScheduledTime"?: string;
|
|
9558
9566
|
}
|
|
9559
9567
|
|
|
9568
|
+
export interface CallbackMediaSettings {
|
|
9569
|
+
"enableAutoAnswer"?: boolean;
|
|
9570
|
+
"alertingTimeoutSeconds"?: number;
|
|
9571
|
+
"serviceLevel"?: Models.ServiceLevel;
|
|
9572
|
+
"subTypeSettings"?: { [key: string]: Models.BaseMediaSettings; };
|
|
9573
|
+
}
|
|
9574
|
+
|
|
9560
9575
|
export interface Campaign {
|
|
9561
9576
|
"id"?: string;
|
|
9562
9577
|
"name": string;
|
|
@@ -13637,7 +13652,7 @@ declare namespace Models {
|
|
|
13637
13652
|
"memberCount"?: number;
|
|
13638
13653
|
"userMemberCount"?: number;
|
|
13639
13654
|
"joinedMemberCount"?: number;
|
|
13640
|
-
"mediaSettings"?:
|
|
13655
|
+
"mediaSettings"?: Models.QueueMediaSettings;
|
|
13641
13656
|
"routingRules"?: Array<Models.RoutingRule>;
|
|
13642
13657
|
"bullseye"?: Models.Bullseye;
|
|
13643
13658
|
"acwSettings"?: Models.AcwSettings;
|
|
@@ -18041,6 +18056,7 @@ declare namespace Models {
|
|
|
18041
18056
|
"name"?: string;
|
|
18042
18057
|
"uploadDestinationUri"?: string;
|
|
18043
18058
|
"uploadMethodType"?: string;
|
|
18059
|
+
"headers"?: { [key: string]: string; };
|
|
18044
18060
|
"selfUri"?: string;
|
|
18045
18061
|
}
|
|
18046
18062
|
|
|
@@ -22578,7 +22594,7 @@ declare namespace Models {
|
|
|
22578
22594
|
"waveformData"?: Array<number>;
|
|
22579
22595
|
}
|
|
22580
22596
|
|
|
22581
|
-
export interface
|
|
22597
|
+
export interface MediaSettings {
|
|
22582
22598
|
"enableAutoAnswer"?: boolean;
|
|
22583
22599
|
"alertingTimeoutSeconds"?: number;
|
|
22584
22600
|
"serviceLevel"?: Models.ServiceLevel;
|
|
@@ -25805,7 +25821,7 @@ declare namespace Models {
|
|
|
25805
25821
|
"memberCount"?: number;
|
|
25806
25822
|
"userMemberCount"?: number;
|
|
25807
25823
|
"joinedMemberCount"?: number;
|
|
25808
|
-
"mediaSettings"?:
|
|
25824
|
+
"mediaSettings"?: Models.QueueMediaSettings;
|
|
25809
25825
|
"routingRules"?: Array<Models.RoutingRule>;
|
|
25810
25826
|
"bullseye"?: Models.Bullseye;
|
|
25811
25827
|
"acwSettings"?: Models.AcwSettings;
|
|
@@ -28168,6 +28184,14 @@ declare namespace Models {
|
|
|
28168
28184
|
"pageCount"?: number;
|
|
28169
28185
|
}
|
|
28170
28186
|
|
|
28187
|
+
export interface QueueMediaSettings {
|
|
28188
|
+
"call"?: Models.MediaSettings;
|
|
28189
|
+
"callback"?: Models.CallbackMediaSettings;
|
|
28190
|
+
"chat"?: Models.MediaSettings;
|
|
28191
|
+
"email"?: Models.MediaSettings;
|
|
28192
|
+
"message"?: Models.MediaSettings;
|
|
28193
|
+
}
|
|
28194
|
+
|
|
28171
28195
|
export interface QueueMember {
|
|
28172
28196
|
"id"?: string;
|
|
28173
28197
|
"name"?: string;
|
|
@@ -28258,7 +28282,7 @@ declare namespace Models {
|
|
|
28258
28282
|
"memberCount"?: number;
|
|
28259
28283
|
"userMemberCount"?: number;
|
|
28260
28284
|
"joinedMemberCount"?: number;
|
|
28261
|
-
"mediaSettings"?:
|
|
28285
|
+
"mediaSettings"?: Models.QueueMediaSettings;
|
|
28262
28286
|
"routingRules"?: Array<Models.RoutingRule>;
|
|
28263
28287
|
"bullseye"?: Models.Bullseye;
|
|
28264
28288
|
"acwSettings"?: Models.AcwSettings;
|
|
@@ -30276,6 +30300,11 @@ declare namespace Models {
|
|
|
30276
30300
|
"selfUri"?: string;
|
|
30277
30301
|
}
|
|
30278
30302
|
|
|
30303
|
+
export interface ServiceGoalTemplateImpactOverride {
|
|
30304
|
+
"enabled": boolean;
|
|
30305
|
+
"impact": Models.WfmServiceGoalImpactSettings;
|
|
30306
|
+
}
|
|
30307
|
+
|
|
30279
30308
|
export interface ServiceGoalTemplateList {
|
|
30280
30309
|
"entities"?: Array<Models.ServiceGoalTemplate>;
|
|
30281
30310
|
}
|
|
@@ -33788,7 +33817,7 @@ declare namespace Models {
|
|
|
33788
33817
|
"memberCount"?: number;
|
|
33789
33818
|
"userMemberCount"?: number;
|
|
33790
33819
|
"joinedMemberCount"?: number;
|
|
33791
|
-
"mediaSettings"?:
|
|
33820
|
+
"mediaSettings"?: Models.QueueMediaSettings;
|
|
33792
33821
|
"routingRules"?: Array<Models.RoutingRule>;
|
|
33793
33822
|
"bullseye"?: Models.Bullseye;
|
|
33794
33823
|
"acwSettings"?: Models.AcwSettings;
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ class AnalyticsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Analytics service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 162.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -97,7 +97,7 @@ class AnalyticsApi {
|
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
99
|
* Get Reporting Turns.
|
|
100
|
-
*
|
|
100
|
+
* Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list.
|
|
101
101
|
* @param {String} botFlowId ID of the bot flow.
|
|
102
102
|
* @param {Object} opts Optional parameters
|
|
103
103
|
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
@@ -5,7 +5,7 @@ class AuthorizationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Authorization service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 162.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -386,6 +386,7 @@ class AuthorizationApi {
|
|
|
386
386
|
* Get the organization role specified by its ID.
|
|
387
387
|
* @param {String} roleId Role ID
|
|
388
388
|
* @param {Object} opts Optional parameters
|
|
389
|
+
* @param {Object} opts.userCount Fetch the count of users who have this role granted in at least one division (default to true)
|
|
389
390
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand. unusedPermissions returns the permissions not used for the role
|
|
390
391
|
*/
|
|
391
392
|
getAuthorizationRole(roleId, opts) {
|
|
@@ -400,7 +401,7 @@ class AuthorizationApi {
|
|
|
400
401
|
'/api/v2/authorization/roles/{roleId}',
|
|
401
402
|
'GET',
|
|
402
403
|
{ 'roleId': roleId },
|
|
403
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
404
|
+
{ 'userCount': opts['userCount'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
404
405
|
{ },
|
|
405
406
|
{ },
|
|
406
407
|
null,
|
|
@@ -5,7 +5,7 @@ class ChatApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Chat service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 162.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -22,7 +22,7 @@ class ChatApi {
|
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Get Chat Settings.
|
|
25
|
-
*
|
|
25
|
+
* This route is deprecated, please use /chats/settings instead
|
|
26
26
|
*/
|
|
27
27
|
getChatSettings() {
|
|
28
28
|
|
|
@@ -41,8 +41,28 @@ class ChatApi {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Get Chat Settings.
|
|
45
45
|
*
|
|
46
|
+
*/
|
|
47
|
+
getChatsSettings() {
|
|
48
|
+
|
|
49
|
+
return this.apiClient.callApi(
|
|
50
|
+
'/api/v2/chats/settings',
|
|
51
|
+
'GET',
|
|
52
|
+
{ },
|
|
53
|
+
{ },
|
|
54
|
+
{ },
|
|
55
|
+
{ },
|
|
56
|
+
null,
|
|
57
|
+
['PureCloud OAuth'],
|
|
58
|
+
['application/json'],
|
|
59
|
+
['application/json']
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Patch Chat Settings.
|
|
65
|
+
* This route is deprecated, please use /chats/settings instead
|
|
46
66
|
* @param {Object} body Chat
|
|
47
67
|
*/
|
|
48
68
|
patchChatSettings(body) {
|
|
@@ -66,10 +86,35 @@ class ChatApi {
|
|
|
66
86
|
}
|
|
67
87
|
|
|
68
88
|
/**
|
|
69
|
-
*
|
|
89
|
+
* Patch Chat Settings.
|
|
70
90
|
*
|
|
71
91
|
* @param {Object} body Chat
|
|
72
92
|
*/
|
|
93
|
+
patchChatsSettings(body) {
|
|
94
|
+
// verify the required parameter 'body' is set
|
|
95
|
+
if (body === undefined || body === null) {
|
|
96
|
+
throw 'Missing the required parameter "body" when calling patchChatsSettings';
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return this.apiClient.callApi(
|
|
100
|
+
'/api/v2/chats/settings',
|
|
101
|
+
'PATCH',
|
|
102
|
+
{ },
|
|
103
|
+
{ },
|
|
104
|
+
{ },
|
|
105
|
+
{ },
|
|
106
|
+
body,
|
|
107
|
+
['PureCloud OAuth'],
|
|
108
|
+
['application/json'],
|
|
109
|
+
['application/json']
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Update Chat Settings.
|
|
115
|
+
* This route is deprecated, please use /chats/settings instead
|
|
116
|
+
* @param {Object} body Chat
|
|
117
|
+
*/
|
|
73
118
|
putChatSettings(body) {
|
|
74
119
|
// verify the required parameter 'body' is set
|
|
75
120
|
if (body === undefined || body === null) {
|
|
@@ -90,6 +135,31 @@ class ChatApi {
|
|
|
90
135
|
);
|
|
91
136
|
}
|
|
92
137
|
|
|
138
|
+
/**
|
|
139
|
+
* Update Chat Settings.
|
|
140
|
+
*
|
|
141
|
+
* @param {Object} body Chat
|
|
142
|
+
*/
|
|
143
|
+
putChatsSettings(body) {
|
|
144
|
+
// verify the required parameter 'body' is set
|
|
145
|
+
if (body === undefined || body === null) {
|
|
146
|
+
throw 'Missing the required parameter "body" when calling putChatsSettings';
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
return this.apiClient.callApi(
|
|
150
|
+
'/api/v2/chats/settings',
|
|
151
|
+
'PUT',
|
|
152
|
+
{ },
|
|
153
|
+
{ },
|
|
154
|
+
{ },
|
|
155
|
+
{ },
|
|
156
|
+
body,
|
|
157
|
+
['PureCloud OAuth'],
|
|
158
|
+
['application/json'],
|
|
159
|
+
['application/json']
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
|
|
93
163
|
}
|
|
94
164
|
|
|
95
165
|
|