purecloud-platform-client-v2 218.0.0 → 219.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 (91) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1362 -94
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1362 -94
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +396 -97
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +396 -97
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +701 -1
  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/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -4
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +61 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +54 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +36 -1
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmailsApi.js +65 -1
  29. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +396 -2
  32. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GamificationApi.js +366 -1
  35. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +31 -1
  42. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +54 -1
  55. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OutboundApi.js +60 -1
  59. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +6 -4
  65. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SettingsApi.js +65 -1
  70. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +66 -1
  75. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -1
  81. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +7 -5
  91. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -110,6 +110,31 @@ class ObjectsApi {
110
110
  );
111
111
  }
112
112
 
113
+ /**
114
+ * Get a list of soft deleted divisions for the org
115
+ *
116
+ * @param {Object} opts Optional parameters
117
+ * @param {Number} opts.pageNumber Page number (default to 1)
118
+ * @param {Number} opts.pageSize Page size (default to 25)
119
+ */
120
+ getAuthorizationDivisionsDeleted(opts) {
121
+ opts = opts || {};
122
+
123
+
124
+ return this.apiClient.callApi(
125
+ '/api/v2/authorization/divisions/deleted',
126
+ 'GET',
127
+ { },
128
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
129
+ { },
130
+ { },
131
+ null,
132
+ ['PureCloud OAuth'],
133
+ ['application/json'],
134
+ ['application/json']
135
+ );
136
+ }
137
+
113
138
  /**
114
139
  * Retrieve the home division for the organization.
115
140
  * Will not include object counts.
@@ -150,6 +175,34 @@ class ObjectsApi {
150
175
  );
151
176
  }
152
177
 
178
+ /**
179
+ * Retrieve a list of all divisions defined for the organization with cursor
180
+ * Use "after" and "before" param to fetch next/previous page}
181
+ * @param {Object} opts Optional parameters
182
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
183
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
184
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
185
+ * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
186
+ * @param {String} opts.name Optionally request specific divisions by division name
187
+ */
188
+ getAuthorizationDivisionsQuery(opts) {
189
+ opts = opts || {};
190
+
191
+
192
+ return this.apiClient.callApi(
193
+ '/api/v2/authorization/divisions/query',
194
+ 'GET',
195
+ { },
196
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'] },
197
+ { },
198
+ { },
199
+ null,
200
+ ['PureCloud OAuth'],
201
+ ['application/json'],
202
+ ['application/json']
203
+ );
204
+ }
205
+
153
206
  /**
154
207
  * Assign a list of objects to a division
155
208
  * Set the division of a specified list of objects. The objects must all be of the same type, one of: CAMPAIGN, MANAGEMENTUNIT, FLOW, QUEUE, DATATABLES or USER. The body of the request is a list of object IDs, which are expected to be GUIDs, e.g. ["206ce31f-61ec-40ed-a8b1-be6f06303998","250a754e-f5e4-4f51-800f-a92f09d3bf8c"]
@@ -5,7 +5,7 @@ class OperationalEventsApi {
5
5
  /**
6
6
  * OperationalEvents service.
7
7
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -492,6 +492,35 @@ class OutboundApi {
492
492
  );
493
493
  }
494
494
 
495
+ /**
496
+ * Deletes all or expired whatsApp numbers from a DNC list.
497
+ * This operation is only for Internal DNC lists of whatsApp numbers
498
+ * @param {String} dncListId DncList ID
499
+ * @param {Object} opts Optional parameters
500
+ * @param {Boolean} opts.expiredOnly Set to true to only remove DNC whatsApp numbers that are expired (default to false)
501
+ */
502
+ deleteOutboundDnclistWhatsappnumbers(dncListId, opts) {
503
+ opts = opts || {};
504
+
505
+ // verify the required parameter 'dncListId' is set
506
+ if (dncListId === undefined || dncListId === null) {
507
+ throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistWhatsappnumbers';
508
+ }
509
+
510
+ return this.apiClient.callApi(
511
+ '/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers',
512
+ 'DELETE',
513
+ { 'dncListId': dncListId },
514
+ { 'expiredOnly': opts['expiredOnly'] },
515
+ { },
516
+ { },
517
+ null,
518
+ ['PureCloud OAuth'],
519
+ ['application/json'],
520
+ ['application/json']
521
+ );
522
+ }
523
+
495
524
  /**
496
525
  * Delete File Specification Template
497
526
  *
@@ -2830,6 +2859,36 @@ class OutboundApi {
2830
2859
  );
2831
2860
  }
2832
2861
 
2862
+ /**
2863
+ * Add entries to or delete entries from a DNC list.
2864
+ * Only Internal DNC lists may be deleted from
2865
+ * @param {String} dncListId DncList ID
2866
+ * @param {Object} body DNC whatsApp numbers
2867
+ */
2868
+ patchOutboundDnclistWhatsappnumbers(dncListId, body) {
2869
+ // verify the required parameter 'dncListId' is set
2870
+ if (dncListId === undefined || dncListId === null) {
2871
+ throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistWhatsappnumbers';
2872
+ }
2873
+ // verify the required parameter 'body' is set
2874
+ if (body === undefined || body === null) {
2875
+ throw 'Missing the required parameter "body" when calling patchOutboundDnclistWhatsappnumbers';
2876
+ }
2877
+
2878
+ return this.apiClient.callApi(
2879
+ '/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers',
2880
+ 'PATCH',
2881
+ { 'dncListId': dncListId },
2882
+ { },
2883
+ { },
2884
+ { },
2885
+ body,
2886
+ ['PureCloud OAuth'],
2887
+ ['application/json'],
2888
+ ['application/json']
2889
+ );
2890
+ }
2891
+
2833
2892
  /**
2834
2893
  * Update the outbound settings for this organization
2835
2894
  *
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -312,7 +312,7 @@ class RecordingApi {
312
312
  }
313
313
 
314
314
  /**
315
- * Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if either recording:recording:view or recording:annotation:view permission is missing.
315
+ * Get recording metadata for a conversation. Does not return playable media nor system annotations. Bookmark annotations will be excluded if either recording:recording:view or recording:annotation:view permission is missing.
316
316
  *
317
317
  * @param {String} conversationId Conversation ID
318
318
  */
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -915,7 +915,7 @@ class RoutingApi {
915
915
  * @param {Number} opts.pageSize Page size (default to 25)
916
916
  * @param {Number} opts.pageNumber Page number (default to 1)
917
917
  * @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
918
- * @param {String} opts.filter Optional search filter
918
+ * @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
919
919
  */
920
920
  getRoutingEmailDomains(opts) {
921
921
  opts = opts || {};
@@ -1014,7 +1014,9 @@ class RoutingApi {
1014
1014
  * Get outbound domains
1015
1015
  *
1016
1016
  * @param {Object} opts Optional parameters
1017
- * @param {String} opts.filter Optional search filter
1017
+ * @param {Number} opts.pageSize Page size (default to 25)
1018
+ * @param {Number} opts.pageNumber Page number (default to 1)
1019
+ * @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
1018
1020
  */
1019
1021
  getRoutingEmailOutboundDomains(opts) {
1020
1022
  opts = opts || {};
@@ -1024,7 +1026,7 @@ class RoutingApi {
1024
1026
  '/api/v2/routing/email/outbound/domains',
1025
1027
  'GET',
1026
1028
  { },
1027
- { 'filter': opts['filter'] },
1029
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'filter': opts['filter'] },
1028
1030
  { },
1029
1031
  { },
1030
1032
  null,
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScreenRecordingApi {
5
5
  /**
6
6
  * ScreenRecording service.
7
7
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SettingsApi {
5
5
  /**
6
6
  * Settings service.
7
7
  * @module purecloud-platform-client-v2/api/SettingsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -20,6 +20,26 @@ class SettingsApi {
20
20
  }
21
21
 
22
22
 
23
+ /**
24
+ * Reset email threading settings to default
25
+ *
26
+ */
27
+ deleteEmailsSettingsThreading() {
28
+
29
+ return this.apiClient.callApi(
30
+ '/api/v2/emails/settings/threading',
31
+ 'DELETE',
32
+ { },
33
+ { },
34
+ { },
35
+ { },
36
+ null,
37
+ ['PureCloud OAuth'],
38
+ ['application/json'],
39
+ ['application/json']
40
+ );
41
+ }
42
+
23
43
  /**
24
44
  * Delete agent auto answer settings
25
45
  *
@@ -65,6 +85,26 @@ class SettingsApi {
65
85
  );
66
86
  }
67
87
 
88
+ /**
89
+ * Get email threading settings
90
+ *
91
+ */
92
+ getEmailsSettingsThreading() {
93
+
94
+ return this.apiClient.callApi(
95
+ '/api/v2/emails/settings/threading',
96
+ 'GET',
97
+ { },
98
+ { },
99
+ { },
100
+ { },
101
+ null,
102
+ ['PureCloud OAuth'],
103
+ ['application/json'],
104
+ ['application/json']
105
+ );
106
+ }
107
+
68
108
  /**
69
109
  * Get the execution history enabled setting.
70
110
  * Get the execution history enabled setting.
@@ -134,6 +174,30 @@ class SettingsApi {
134
174
  );
135
175
  }
136
176
 
177
+ /**
178
+ * Patch email threading settings
179
+ *
180
+ * @param {Object} opts Optional parameters
181
+ * @param {Object} opts.body
182
+ */
183
+ patchEmailsSettingsThreading(opts) {
184
+ opts = opts || {};
185
+
186
+
187
+ return this.apiClient.callApi(
188
+ '/api/v2/emails/settings/threading',
189
+ 'PATCH',
190
+ { },
191
+ { },
192
+ { },
193
+ { },
194
+ opts['body'],
195
+ ['PureCloud OAuth'],
196
+ ['application/json'],
197
+ ['application/json']
198
+ );
199
+ }
200
+
137
201
  /**
138
202
  * Edit the execution history on off setting.
139
203
  * Edit the execution history on off setting.
@@ -5,7 +5,7 @@ class SocialMediaApi {
5
5
  /**
6
6
  * SocialMedia service.
7
7
  * @module purecloud-platform-client-v2/api/SocialMediaApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TaskManagementApi {
5
5
  /**
6
6
  * TaskManagement service.
7
7
  * @module purecloud-platform-client-v2/api/TaskManagementApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -880,6 +880,71 @@ class TaskManagementApi {
880
880
  );
881
881
  }
882
882
 
883
+ /**
884
+ * Get the core types from which all schemas are built.
885
+ *
886
+ * @param {String} coreTypeName Name of the core type
887
+ */
888
+ getTaskmanagementWorkitemsSchemasCoretype(coreTypeName) {
889
+ // verify the required parameter 'coreTypeName' is set
890
+ if (coreTypeName === undefined || coreTypeName === null) {
891
+ throw 'Missing the required parameter "coreTypeName" when calling getTaskmanagementWorkitemsSchemasCoretype';
892
+ }
893
+
894
+ return this.apiClient.callApi(
895
+ '/api/v2/taskmanagement/workitems/schemas/coretypes/{coreTypeName}',
896
+ 'GET',
897
+ { 'coreTypeName': coreTypeName },
898
+ { },
899
+ { },
900
+ { },
901
+ null,
902
+ ['PureCloud OAuth'],
903
+ ['application/json'],
904
+ ['application/json']
905
+ );
906
+ }
907
+
908
+ /**
909
+ * Get the core types from which all schemas are built.
910
+ *
911
+ */
912
+ getTaskmanagementWorkitemsSchemasCoretypes() {
913
+
914
+ return this.apiClient.callApi(
915
+ '/api/v2/taskmanagement/workitems/schemas/coretypes',
916
+ 'GET',
917
+ { },
918
+ { },
919
+ { },
920
+ { },
921
+ null,
922
+ ['PureCloud OAuth'],
923
+ ['application/json'],
924
+ ['application/json']
925
+ );
926
+ }
927
+
928
+ /**
929
+ * Get quantitative limits on schemas
930
+ *
931
+ */
932
+ getTaskmanagementWorkitemsSchemasLimits() {
933
+
934
+ return this.apiClient.callApi(
935
+ '/api/v2/taskmanagement/workitems/schemas/limits',
936
+ 'GET',
937
+ { },
938
+ { },
939
+ { },
940
+ { },
941
+ null,
942
+ ['PureCloud OAuth'],
943
+ ['application/json'],
944
+ ['application/json']
945
+ );
946
+ }
947
+
883
948
  /**
884
949
  * Get a worktype
885
950
  *
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -50,6 +50,31 @@ class UploadsApi {
50
50
  );
51
51
  }
52
52
 
53
+ /**
54
+ * Generates pre-signed URL to upload a prize image for gamification contests
55
+ *
56
+ * @param {Object} body query
57
+ */
58
+ postGamificationContestsUploadsPrizeimages(body) {
59
+ // verify the required parameter 'body' is set
60
+ if (body === undefined || body === null) {
61
+ throw 'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';
62
+ }
63
+
64
+ return this.apiClient.callApi(
65
+ '/api/v2/gamification/contests/uploads/prizeimages',
66
+ 'POST',
67
+ { },
68
+ { },
69
+ { },
70
+ { },
71
+ body,
72
+ ['PureCloud OAuth'],
73
+ ['application/json'],
74
+ ['application/json']
75
+ );
76
+ }
77
+
53
78
  /**
54
79
  * Create upload presigned URL for draft function package file.
55
80
  *
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**