purecloud-platform-client-v2 136.1.0 → 137.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 +9544 -9538
- package/dist/web-amd/purecloud-platform-client-v2.js +9544 -9538
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +9544 -9538
- package/dist/web-cjs/purecloud-platform-client-v2.js +9544 -9538
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +5262 -74
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +14 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +56 -56
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +231 -231
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +534 -534
- package/src/purecloud-platform-client-v2/api/AuditApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/BillingApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/ChatApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +96 -96
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +192 -192
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +808 -808
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +337 -337
- package/src/purecloud-platform-client-v2/api/FaxApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +246 -246
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +88 -88
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +72 -72
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +171 -171
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +311 -311
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +146 -146
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +131 -131
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +151 -151
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +51 -51
- package/src/purecloud-platform-client-v2/api/LearningApi.js +107 -107
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +41 -41
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +43 -43
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +67 -67
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +50 -50
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +81 -81
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +162 -162
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +608 -608
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +64 -64
- package/src/purecloud-platform-client-v2/api/QualityApi.js +285 -285
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +302 -302
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +86 -86
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +536 -536
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +195 -195
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/SearchApi.js +96 -96
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +194 -194
- package/src/purecloud-platform-client-v2/api/StationsApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +657 -657
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +23 -23
- package/src/purecloud-platform-client-v2/api/TokensApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/UsageApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/UsersApi.js +413 -413
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +140 -140
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +97 -97
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +765 -765
- package/src/purecloud-platform-client-v2/index.js +145 -149
|
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* GeneralDataProtectionRegulation service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 137.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -34,13 +34,13 @@ class GeneralDataProtectionRegulationApi {
|
|
|
34
34
|
return this.apiClient.callApi(
|
|
35
35
|
'/api/v2/gdpr/requests/{requestId}',
|
|
36
36
|
'GET',
|
|
37
|
-
{ 'requestId': requestId },
|
|
38
|
-
{ },
|
|
39
|
-
{ },
|
|
40
|
-
{ },
|
|
37
|
+
{ 'requestId': requestId },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
41
|
null,
|
|
42
42
|
['PureCloud OAuth'],
|
|
43
|
-
['application/json'],
|
|
43
|
+
['application/json'],
|
|
44
44
|
['application/json']
|
|
45
45
|
);
|
|
46
46
|
}
|
|
@@ -59,13 +59,13 @@ class GeneralDataProtectionRegulationApi {
|
|
|
59
59
|
return this.apiClient.callApi(
|
|
60
60
|
'/api/v2/gdpr/requests',
|
|
61
61
|
'GET',
|
|
62
|
-
{ },
|
|
63
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
64
|
-
{ },
|
|
65
|
-
{ },
|
|
62
|
+
{ },
|
|
63
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
64
|
+
{ },
|
|
65
|
+
{ },
|
|
66
66
|
null,
|
|
67
67
|
['PureCloud OAuth'],
|
|
68
|
-
['application/json'],
|
|
68
|
+
['application/json'],
|
|
69
69
|
['application/json']
|
|
70
70
|
);
|
|
71
71
|
}
|
|
@@ -89,13 +89,13 @@ class GeneralDataProtectionRegulationApi {
|
|
|
89
89
|
return this.apiClient.callApi(
|
|
90
90
|
'/api/v2/gdpr/subjects',
|
|
91
91
|
'GET',
|
|
92
|
-
{ },
|
|
93
|
-
{ 'searchType': searchType,'searchValue': searchValue },
|
|
94
|
-
{ },
|
|
95
|
-
{ },
|
|
92
|
+
{ },
|
|
93
|
+
{ 'searchType': searchType,'searchValue': searchValue },
|
|
94
|
+
{ },
|
|
95
|
+
{ },
|
|
96
96
|
null,
|
|
97
97
|
['PureCloud OAuth'],
|
|
98
|
-
['application/json'],
|
|
98
|
+
['application/json'],
|
|
99
99
|
['application/json']
|
|
100
100
|
);
|
|
101
101
|
}
|
|
@@ -118,13 +118,13 @@ class GeneralDataProtectionRegulationApi {
|
|
|
118
118
|
return this.apiClient.callApi(
|
|
119
119
|
'/api/v2/gdpr/requests',
|
|
120
120
|
'POST',
|
|
121
|
-
{ },
|
|
122
|
-
{ 'deleteConfirmed': opts['deleteConfirmed'] },
|
|
123
|
-
{ },
|
|
124
|
-
{ },
|
|
121
|
+
{ },
|
|
122
|
+
{ 'deleteConfirmed': opts['deleteConfirmed'] },
|
|
123
|
+
{ },
|
|
124
|
+
{ },
|
|
125
125
|
body,
|
|
126
126
|
['PureCloud OAuth'],
|
|
127
|
-
['application/json'],
|
|
127
|
+
['application/json'],
|
|
128
128
|
['application/json']
|
|
129
129
|
);
|
|
130
130
|
}
|
|
@@ -5,7 +5,7 @@ class GeolocationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Geolocation service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 137.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -21,7 +21,7 @@ class GeolocationApi {
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Get a organization
|
|
24
|
+
* Get a organization's GeolocationSettings
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
getGeolocationsSettings() {
|
|
@@ -29,19 +29,19 @@ class GeolocationApi {
|
|
|
29
29
|
return this.apiClient.callApi(
|
|
30
30
|
'/api/v2/geolocations/settings',
|
|
31
31
|
'GET',
|
|
32
|
-
{ },
|
|
33
|
-
{ },
|
|
34
|
-
{ },
|
|
35
|
-
{ },
|
|
32
|
+
{ },
|
|
33
|
+
{ },
|
|
34
|
+
{ },
|
|
35
|
+
{ },
|
|
36
36
|
null,
|
|
37
37
|
['PureCloud OAuth'],
|
|
38
|
-
['application/json'],
|
|
38
|
+
['application/json'],
|
|
39
39
|
['application/json']
|
|
40
40
|
);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* Get a user
|
|
44
|
+
* Get a user's Geolocation
|
|
45
45
|
*
|
|
46
46
|
* @param {String} userId user Id
|
|
47
47
|
* @param {String} clientId client Id
|
|
@@ -59,19 +59,19 @@ class GeolocationApi {
|
|
|
59
59
|
return this.apiClient.callApi(
|
|
60
60
|
'/api/v2/users/{userId}/geolocations/{clientId}',
|
|
61
61
|
'GET',
|
|
62
|
-
{ 'userId': userId,'clientId': clientId },
|
|
63
|
-
{ },
|
|
64
|
-
{ },
|
|
65
|
-
{ },
|
|
62
|
+
{ 'userId': userId,'clientId': clientId },
|
|
63
|
+
{ },
|
|
64
|
+
{ },
|
|
65
|
+
{ },
|
|
66
66
|
null,
|
|
67
67
|
['PureCloud OAuth'],
|
|
68
|
-
['application/json'],
|
|
68
|
+
['application/json'],
|
|
69
69
|
['application/json']
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Patch a organization
|
|
74
|
+
* Patch a organization's GeolocationSettings
|
|
75
75
|
*
|
|
76
76
|
* @param {Object} body Geolocation settings
|
|
77
77
|
*/
|
|
@@ -84,20 +84,20 @@ class GeolocationApi {
|
|
|
84
84
|
return this.apiClient.callApi(
|
|
85
85
|
'/api/v2/geolocations/settings',
|
|
86
86
|
'PATCH',
|
|
87
|
-
{ },
|
|
88
|
-
{ },
|
|
89
|
-
{ },
|
|
90
|
-
{ },
|
|
87
|
+
{ },
|
|
88
|
+
{ },
|
|
89
|
+
{ },
|
|
90
|
+
{ },
|
|
91
91
|
body,
|
|
92
92
|
['PureCloud OAuth'],
|
|
93
|
-
['application/json'],
|
|
93
|
+
['application/json'],
|
|
94
94
|
['application/json']
|
|
95
95
|
);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
* Patch a user
|
|
100
|
-
* The geolocation object can be patched one of three ways. Option 1: Set the
|
|
99
|
+
* Patch a user's Geolocation
|
|
100
|
+
* The geolocation object can be patched one of three ways. Option 1: Set the primary property to true. This will set the client as the users primary geolocation source. Option 2: Provide the latitude and longitude values. This will enqueue an asynchronous update of the city, region, and country, generating a notification. A subsequent GET operation will include the new values for city, region and country. Option 3: Provide the city, region, country values. Option 1 can be combined with Option 2 or Option 3. For example, update the client as primary and provide latitude and longitude values.
|
|
101
101
|
* @param {String} userId user Id
|
|
102
102
|
* @param {String} clientId client Id
|
|
103
103
|
* @param {Object} body Geolocation
|
|
@@ -119,13 +119,13 @@ class GeolocationApi {
|
|
|
119
119
|
return this.apiClient.callApi(
|
|
120
120
|
'/api/v2/users/{userId}/geolocations/{clientId}',
|
|
121
121
|
'PATCH',
|
|
122
|
-
{ 'userId': userId,'clientId': clientId },
|
|
123
|
-
{ },
|
|
124
|
-
{ },
|
|
125
|
-
{ },
|
|
122
|
+
{ 'userId': userId,'clientId': clientId },
|
|
123
|
+
{ },
|
|
124
|
+
{ },
|
|
125
|
+
{ },
|
|
126
126
|
body,
|
|
127
127
|
['PureCloud OAuth'],
|
|
128
|
-
['application/json'],
|
|
128
|
+
['application/json'],
|
|
129
129
|
['application/json']
|
|
130
130
|
);
|
|
131
131
|
}
|
|
@@ -5,7 +5,7 @@ class GreetingsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Greetings service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 137.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -34,13 +34,13 @@ class GreetingsApi {
|
|
|
34
34
|
return this.apiClient.callApi(
|
|
35
35
|
'/api/v2/greetings/{greetingId}',
|
|
36
36
|
'DELETE',
|
|
37
|
-
{ 'greetingId': greetingId },
|
|
38
|
-
{ },
|
|
39
|
-
{ },
|
|
40
|
-
{ },
|
|
37
|
+
{ 'greetingId': greetingId },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
41
|
null,
|
|
42
42
|
['PureCloud OAuth'],
|
|
43
|
-
['application/json'],
|
|
43
|
+
['application/json'],
|
|
44
44
|
['application/json']
|
|
45
45
|
);
|
|
46
46
|
}
|
|
@@ -59,13 +59,13 @@ class GreetingsApi {
|
|
|
59
59
|
return this.apiClient.callApi(
|
|
60
60
|
'/api/v2/greetings/{greetingId}',
|
|
61
61
|
'GET',
|
|
62
|
-
{ 'greetingId': greetingId },
|
|
63
|
-
{ },
|
|
64
|
-
{ },
|
|
65
|
-
{ },
|
|
62
|
+
{ 'greetingId': greetingId },
|
|
63
|
+
{ },
|
|
64
|
+
{ },
|
|
65
|
+
{ },
|
|
66
66
|
null,
|
|
67
67
|
['PureCloud OAuth'],
|
|
68
|
-
['application/json'],
|
|
68
|
+
['application/json'],
|
|
69
69
|
['application/json']
|
|
70
70
|
);
|
|
71
71
|
}
|
|
@@ -88,19 +88,19 @@ class GreetingsApi {
|
|
|
88
88
|
return this.apiClient.callApi(
|
|
89
89
|
'/api/v2/greetings/{greetingId}/media',
|
|
90
90
|
'GET',
|
|
91
|
-
{ 'greetingId': greetingId },
|
|
92
|
-
{ 'formatId': opts['formatId'] },
|
|
93
|
-
{ },
|
|
94
|
-
{ },
|
|
91
|
+
{ 'greetingId': greetingId },
|
|
92
|
+
{ 'formatId': opts['formatId'] },
|
|
93
|
+
{ },
|
|
94
|
+
{ },
|
|
95
95
|
null,
|
|
96
96
|
['PureCloud OAuth'],
|
|
97
|
-
['application/json'],
|
|
97
|
+
['application/json'],
|
|
98
98
|
['application/json']
|
|
99
99
|
);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
|
-
* Gets an Organization
|
|
103
|
+
* Gets an Organization's Greetings
|
|
104
104
|
*
|
|
105
105
|
* @param {Object} opts Optional parameters
|
|
106
106
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
@@ -113,19 +113,19 @@ class GreetingsApi {
|
|
|
113
113
|
return this.apiClient.callApi(
|
|
114
114
|
'/api/v2/greetings',
|
|
115
115
|
'GET',
|
|
116
|
-
{ },
|
|
117
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
118
|
-
{ },
|
|
119
|
-
{ },
|
|
116
|
+
{ },
|
|
117
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
118
|
+
{ },
|
|
119
|
+
{ },
|
|
120
120
|
null,
|
|
121
121
|
['PureCloud OAuth'],
|
|
122
|
-
['application/json'],
|
|
122
|
+
['application/json'],
|
|
123
123
|
['application/json']
|
|
124
124
|
);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
|
-
* Get an Organization
|
|
128
|
+
* Get an Organization's DefaultGreetingList
|
|
129
129
|
*
|
|
130
130
|
*/
|
|
131
131
|
getGreetingsDefaults() {
|
|
@@ -133,19 +133,19 @@ class GreetingsApi {
|
|
|
133
133
|
return this.apiClient.callApi(
|
|
134
134
|
'/api/v2/greetings/defaults',
|
|
135
135
|
'GET',
|
|
136
|
-
{ },
|
|
137
|
-
{ },
|
|
138
|
-
{ },
|
|
139
|
-
{ },
|
|
136
|
+
{ },
|
|
137
|
+
{ },
|
|
138
|
+
{ },
|
|
139
|
+
{ },
|
|
140
140
|
null,
|
|
141
141
|
['PureCloud OAuth'],
|
|
142
|
-
['application/json'],
|
|
142
|
+
['application/json'],
|
|
143
143
|
['application/json']
|
|
144
144
|
);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
|
-
* Get a list of the Group
|
|
148
|
+
* Get a list of the Group's Greetings
|
|
149
149
|
*
|
|
150
150
|
* @param {String} groupId Group ID
|
|
151
151
|
* @param {Object} opts Optional parameters
|
|
@@ -163,19 +163,19 @@ class GreetingsApi {
|
|
|
163
163
|
return this.apiClient.callApi(
|
|
164
164
|
'/api/v2/groups/{groupId}/greetings',
|
|
165
165
|
'GET',
|
|
166
|
-
{ 'groupId': groupId },
|
|
167
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
168
|
-
{ },
|
|
169
|
-
{ },
|
|
166
|
+
{ 'groupId': groupId },
|
|
167
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
168
|
+
{ },
|
|
169
|
+
{ },
|
|
170
170
|
null,
|
|
171
171
|
['PureCloud OAuth'],
|
|
172
|
-
['application/json'],
|
|
172
|
+
['application/json'],
|
|
173
173
|
['application/json']
|
|
174
174
|
);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
|
-
* Grabs the list of Default Greetings given a Group
|
|
178
|
+
* Grabs the list of Default Greetings given a Group's ID
|
|
179
179
|
*
|
|
180
180
|
* @param {String} groupId Group ID
|
|
181
181
|
*/
|
|
@@ -188,19 +188,19 @@ class GreetingsApi {
|
|
|
188
188
|
return this.apiClient.callApi(
|
|
189
189
|
'/api/v2/groups/{groupId}/greetings/defaults',
|
|
190
190
|
'GET',
|
|
191
|
-
{ 'groupId': groupId },
|
|
192
|
-
{ },
|
|
193
|
-
{ },
|
|
194
|
-
{ },
|
|
191
|
+
{ 'groupId': groupId },
|
|
192
|
+
{ },
|
|
193
|
+
{ },
|
|
194
|
+
{ },
|
|
195
195
|
null,
|
|
196
196
|
['PureCloud OAuth'],
|
|
197
|
-
['application/json'],
|
|
197
|
+
['application/json'],
|
|
198
198
|
['application/json']
|
|
199
199
|
);
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
|
-
* Get a list of the User
|
|
203
|
+
* Get a list of the User's Greetings
|
|
204
204
|
*
|
|
205
205
|
* @param {String} userId User ID
|
|
206
206
|
* @param {Object} opts Optional parameters
|
|
@@ -218,19 +218,19 @@ class GreetingsApi {
|
|
|
218
218
|
return this.apiClient.callApi(
|
|
219
219
|
'/api/v2/users/{userId}/greetings',
|
|
220
220
|
'GET',
|
|
221
|
-
{ 'userId': userId },
|
|
222
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
223
|
-
{ },
|
|
224
|
-
{ },
|
|
221
|
+
{ 'userId': userId },
|
|
222
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
223
|
+
{ },
|
|
224
|
+
{ },
|
|
225
225
|
null,
|
|
226
226
|
['PureCloud OAuth'],
|
|
227
|
-
['application/json'],
|
|
227
|
+
['application/json'],
|
|
228
228
|
['application/json']
|
|
229
229
|
);
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
|
-
* Grabs the list of Default Greetings given a User
|
|
233
|
+
* Grabs the list of Default Greetings given a User's ID
|
|
234
234
|
*
|
|
235
235
|
* @param {String} userId User ID
|
|
236
236
|
*/
|
|
@@ -243,13 +243,13 @@ class GreetingsApi {
|
|
|
243
243
|
return this.apiClient.callApi(
|
|
244
244
|
'/api/v2/users/{userId}/greetings/defaults',
|
|
245
245
|
'GET',
|
|
246
|
-
{ 'userId': userId },
|
|
247
|
-
{ },
|
|
248
|
-
{ },
|
|
249
|
-
{ },
|
|
246
|
+
{ 'userId': userId },
|
|
247
|
+
{ },
|
|
248
|
+
{ },
|
|
249
|
+
{ },
|
|
250
250
|
null,
|
|
251
251
|
['PureCloud OAuth'],
|
|
252
|
-
['application/json'],
|
|
252
|
+
['application/json'],
|
|
253
253
|
['application/json']
|
|
254
254
|
);
|
|
255
255
|
}
|
|
@@ -268,13 +268,13 @@ class GreetingsApi {
|
|
|
268
268
|
return this.apiClient.callApi(
|
|
269
269
|
'/api/v2/greetings',
|
|
270
270
|
'POST',
|
|
271
|
-
{ },
|
|
272
|
-
{ },
|
|
273
|
-
{ },
|
|
274
|
-
{ },
|
|
271
|
+
{ },
|
|
272
|
+
{ },
|
|
273
|
+
{ },
|
|
274
|
+
{ },
|
|
275
275
|
body,
|
|
276
276
|
['PureCloud OAuth'],
|
|
277
|
-
['application/json'],
|
|
277
|
+
['application/json'],
|
|
278
278
|
['application/json']
|
|
279
279
|
);
|
|
280
280
|
}
|
|
@@ -298,13 +298,13 @@ class GreetingsApi {
|
|
|
298
298
|
return this.apiClient.callApi(
|
|
299
299
|
'/api/v2/groups/{groupId}/greetings',
|
|
300
300
|
'POST',
|
|
301
|
-
{ 'groupId': groupId },
|
|
302
|
-
{ },
|
|
303
|
-
{ },
|
|
304
|
-
{ },
|
|
301
|
+
{ 'groupId': groupId },
|
|
302
|
+
{ },
|
|
303
|
+
{ },
|
|
304
|
+
{ },
|
|
305
305
|
body,
|
|
306
306
|
['PureCloud OAuth'],
|
|
307
|
-
['application/json'],
|
|
307
|
+
['application/json'],
|
|
308
308
|
['application/json']
|
|
309
309
|
);
|
|
310
310
|
}
|
|
@@ -328,13 +328,13 @@ class GreetingsApi {
|
|
|
328
328
|
return this.apiClient.callApi(
|
|
329
329
|
'/api/v2/users/{userId}/greetings',
|
|
330
330
|
'POST',
|
|
331
|
-
{ 'userId': userId },
|
|
332
|
-
{ },
|
|
333
|
-
{ },
|
|
334
|
-
{ },
|
|
331
|
+
{ 'userId': userId },
|
|
332
|
+
{ },
|
|
333
|
+
{ },
|
|
334
|
+
{ },
|
|
335
335
|
body,
|
|
336
336
|
['PureCloud OAuth'],
|
|
337
|
-
['application/json'],
|
|
337
|
+
['application/json'],
|
|
338
338
|
['application/json']
|
|
339
339
|
);
|
|
340
340
|
}
|
|
@@ -358,19 +358,19 @@ class GreetingsApi {
|
|
|
358
358
|
return this.apiClient.callApi(
|
|
359
359
|
'/api/v2/greetings/{greetingId}',
|
|
360
360
|
'PUT',
|
|
361
|
-
{ 'greetingId': greetingId },
|
|
362
|
-
{ },
|
|
363
|
-
{ },
|
|
364
|
-
{ },
|
|
361
|
+
{ 'greetingId': greetingId },
|
|
362
|
+
{ },
|
|
363
|
+
{ },
|
|
364
|
+
{ },
|
|
365
365
|
body,
|
|
366
366
|
['PureCloud OAuth'],
|
|
367
|
-
['application/json'],
|
|
367
|
+
['application/json'],
|
|
368
368
|
['application/json']
|
|
369
369
|
);
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
/**
|
|
373
|
-
* Update an Organization
|
|
373
|
+
* Update an Organization's DefaultGreetingList
|
|
374
374
|
*
|
|
375
375
|
* @param {Object} body The updated defaultGreetingList
|
|
376
376
|
*/
|
|
@@ -383,13 +383,13 @@ class GreetingsApi {
|
|
|
383
383
|
return this.apiClient.callApi(
|
|
384
384
|
'/api/v2/greetings/defaults',
|
|
385
385
|
'PUT',
|
|
386
|
-
{ },
|
|
387
|
-
{ },
|
|
388
|
-
{ },
|
|
389
|
-
{ },
|
|
386
|
+
{ },
|
|
387
|
+
{ },
|
|
388
|
+
{ },
|
|
389
|
+
{ },
|
|
390
390
|
body,
|
|
391
391
|
['PureCloud OAuth'],
|
|
392
|
-
['application/json'],
|
|
392
|
+
['application/json'],
|
|
393
393
|
['application/json']
|
|
394
394
|
);
|
|
395
395
|
}
|
|
@@ -413,13 +413,13 @@ class GreetingsApi {
|
|
|
413
413
|
return this.apiClient.callApi(
|
|
414
414
|
'/api/v2/groups/{groupId}/greetings/defaults',
|
|
415
415
|
'PUT',
|
|
416
|
-
{ 'groupId': groupId },
|
|
417
|
-
{ },
|
|
418
|
-
{ },
|
|
419
|
-
{ },
|
|
416
|
+
{ 'groupId': groupId },
|
|
417
|
+
{ },
|
|
418
|
+
{ },
|
|
419
|
+
{ },
|
|
420
420
|
body,
|
|
421
421
|
['PureCloud OAuth'],
|
|
422
|
-
['application/json'],
|
|
422
|
+
['application/json'],
|
|
423
423
|
['application/json']
|
|
424
424
|
);
|
|
425
425
|
}
|
|
@@ -443,13 +443,13 @@ class GreetingsApi {
|
|
|
443
443
|
return this.apiClient.callApi(
|
|
444
444
|
'/api/v2/users/{userId}/greetings/defaults',
|
|
445
445
|
'PUT',
|
|
446
|
-
{ 'userId': userId },
|
|
447
|
-
{ },
|
|
448
|
-
{ },
|
|
449
|
-
{ },
|
|
446
|
+
{ 'userId': userId },
|
|
447
|
+
{ },
|
|
448
|
+
{ },
|
|
449
|
+
{ },
|
|
450
450
|
body,
|
|
451
451
|
['PureCloud OAuth'],
|
|
452
|
-
['application/json'],
|
|
452
|
+
['application/json'],
|
|
453
453
|
['application/json']
|
|
454
454
|
);
|
|
455
455
|
}
|