purecloud-platform-client-v2 245.0.0 → 246.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 (96) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1071 -103
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1071 -103
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +334 -104
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +388 -123
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +623 -263
  9. package/package.json +2 -2
  10. package/src/purecloud-platform-client-v2/ApiClient.js +6 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +661 -3
  29. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/RoutingApi.js +31 -1
  70. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
  73. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +248 -1
  75. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -10
  89. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -6
  93. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  95. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  96. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -748,7 +748,7 @@ class Configuration {
748
748
 
749
749
  /**
750
750
  * @module purecloud-platform-client-v2/ApiClient
751
- * @version 245.0.0
751
+ * @version 246.0.0
752
752
  */
753
753
  class ApiClient {
754
754
  /**
@@ -2260,12 +2260,17 @@ class ApiClient {
2260
2260
  request.headers = this.addHeaders(request.headers, data);
2261
2261
  } else {
2262
2262
  request.setParams(this.serialize(data));
2263
+ request.headers = this.addHeaders(request.headers, {});
2263
2264
  }
2265
+ } else {
2266
+ request.headers = this.addHeaders(request.headers, {});
2264
2267
  }
2265
2268
  break;
2266
2269
  case 'oauth2':
2267
2270
  if (auth.accessToken) {
2268
2271
  request.headers = this.addHeaders(request.headers, {'Authorization': `Bearer ${auth.accessToken}`});
2272
+ } else {
2273
+ request.headers = this.addHeaders(request.headers, {});
2269
2274
  }
2270
2275
  break;
2271
2276
  default:
@@ -2407,7 +2412,7 @@ class AIStudioApi {
2407
2412
  /**
2408
2413
  * AIStudio service.
2409
2414
  * @module purecloud-platform-client-v2/api/AIStudioApi
2410
- * @version 245.0.0
2415
+ * @version 246.0.0
2411
2416
  */
2412
2417
 
2413
2418
  /**
@@ -3026,7 +3031,7 @@ class AgentAssistantsApi {
3026
3031
  /**
3027
3032
  * AgentAssistants service.
3028
3033
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
3029
- * @version 245.0.0
3034
+ * @version 246.0.0
3030
3035
  */
3031
3036
 
3032
3037
  /**
@@ -3739,7 +3744,7 @@ class AgentCopilotApi {
3739
3744
  /**
3740
3745
  * AgentCopilot service.
3741
3746
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
3742
- * @version 245.0.0
3747
+ * @version 246.0.0
3743
3748
  */
3744
3749
 
3745
3750
  /**
@@ -3839,7 +3844,7 @@ class AgentUIApi {
3839
3844
  /**
3840
3845
  * AgentUI service.
3841
3846
  * @module purecloud-platform-client-v2/api/AgentUIApi
3842
- * @version 245.0.0
3847
+ * @version 246.0.0
3843
3848
  */
3844
3849
 
3845
3850
  /**
@@ -3970,7 +3975,7 @@ class AlertingApi {
3970
3975
  /**
3971
3976
  * Alerting service.
3972
3977
  * @module purecloud-platform-client-v2/api/AlertingApi
3973
- * @version 245.0.0
3978
+ * @version 246.0.0
3974
3979
  */
3975
3980
 
3976
3981
  /**
@@ -4371,7 +4376,7 @@ class AnalyticsApi {
4371
4376
  /**
4372
4377
  * Analytics service.
4373
4378
  * @module purecloud-platform-client-v2/api/AnalyticsApi
4374
- * @version 245.0.0
4379
+ * @version 246.0.0
4375
4380
  */
4376
4381
 
4377
4382
  /**
@@ -7808,7 +7813,7 @@ class ArchitectApi {
7808
7813
  /**
7809
7814
  * Architect service.
7810
7815
  * @module purecloud-platform-client-v2/api/ArchitectApi
7811
- * @version 245.0.0
7816
+ * @version 246.0.0
7812
7817
  */
7813
7818
 
7814
7819
  /**
@@ -12103,7 +12108,7 @@ class AssistantCopilotVariationsApi {
12103
12108
  /**
12104
12109
  * AssistantCopilotVariations service.
12105
12110
  * @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
12106
- * @version 245.0.0
12111
+ * @version 246.0.0
12107
12112
  */
12108
12113
 
12109
12114
  /**
@@ -12274,7 +12279,7 @@ class AuditApi {
12274
12279
  /**
12275
12280
  * Audit service.
12276
12281
  * @module purecloud-platform-client-v2/api/AuditApi
12277
- * @version 245.0.0
12282
+ * @version 246.0.0
12278
12283
  */
12279
12284
 
12280
12285
  /**
@@ -12475,7 +12480,7 @@ class AuthorizationApi {
12475
12480
  /**
12476
12481
  * Authorization service.
12477
12482
  * @module purecloud-platform-client-v2/api/AuthorizationApi
12478
- * @version 245.0.0
12483
+ * @version 246.0.0
12479
12484
  */
12480
12485
 
12481
12486
  /**
@@ -14189,7 +14194,7 @@ class BackgroundAssistantApi {
14189
14194
  /**
14190
14195
  * BackgroundAssistant service.
14191
14196
  * @module purecloud-platform-client-v2/api/BackgroundAssistantApi
14192
- * @version 245.0.0
14197
+ * @version 246.0.0
14193
14198
  */
14194
14199
 
14195
14200
  /**
@@ -14259,7 +14264,7 @@ class BillingApi {
14259
14264
  /**
14260
14265
  * Billing service.
14261
14266
  * @module purecloud-platform-client-v2/api/BillingApi
14262
- * @version 245.0.0
14267
+ * @version 246.0.0
14263
14268
  */
14264
14269
 
14265
14270
  /**
@@ -14515,7 +14520,7 @@ class BusinessRulesApi {
14515
14520
  /**
14516
14521
  * BusinessRules service.
14517
14522
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
14518
- * @version 245.0.0
14523
+ * @version 246.0.0
14519
14524
  */
14520
14525
 
14521
14526
  /**
@@ -15402,7 +15407,7 @@ class CarrierServicesApi {
15402
15407
  /**
15403
15408
  * CarrierServices service.
15404
15409
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
15405
- * @version 245.0.0
15410
+ * @version 246.0.0
15406
15411
  */
15407
15412
 
15408
15413
  /**
@@ -15472,7 +15477,7 @@ class ChatApi {
15472
15477
  /**
15473
15478
  * Chat service.
15474
15479
  * @module purecloud-platform-client-v2/api/ChatApi
15475
- * @version 245.0.0
15480
+ * @version 246.0.0
15476
15481
  */
15477
15482
 
15478
15483
  /**
@@ -16453,7 +16458,7 @@ class CoachingApi {
16453
16458
  /**
16454
16459
  * Coaching service.
16455
16460
  * @module purecloud-platform-client-v2/api/CoachingApi
16456
- * @version 245.0.0
16461
+ * @version 246.0.0
16457
16462
  */
16458
16463
 
16459
16464
  /**
@@ -17080,7 +17085,7 @@ class ContentManagementApi {
17080
17085
  /**
17081
17086
  * ContentManagement service.
17082
17087
  * @module purecloud-platform-client-v2/api/ContentManagementApi
17083
- * @version 245.0.0
17088
+ * @version 246.0.0
17084
17089
  */
17085
17090
 
17086
17091
  /**
@@ -18161,7 +18166,7 @@ class ConversationsApi {
18161
18166
  /**
18162
18167
  * Conversations service.
18163
18168
  * @module purecloud-platform-client-v2/api/ConversationsApi
18164
- * @version 245.0.0
18169
+ * @version 246.0.0
18165
18170
  */
18166
18171
 
18167
18172
  /**
@@ -18252,6 +18257,36 @@ class ConversationsApi {
18252
18257
  );
18253
18258
  }
18254
18259
 
18260
+ /**
18261
+ * Delete a custom attributes record.
18262
+ *
18263
+ * @param {String} conversationId conversation ID
18264
+ * @param {String} attributesId attributesId
18265
+ */
18266
+ deleteConversationCustomattribute(conversationId, attributesId) {
18267
+ // verify the required parameter 'conversationId' is set
18268
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
18269
+ throw 'Missing the required parameter "conversationId" when calling deleteConversationCustomattribute';
18270
+ }
18271
+ // verify the required parameter 'attributesId' is set
18272
+ if (attributesId === undefined || attributesId === null || attributesId === '') {
18273
+ throw 'Missing the required parameter "attributesId" when calling deleteConversationCustomattribute';
18274
+ }
18275
+
18276
+ return this.apiClient.callApi(
18277
+ '/api/v2/conversations/{conversationId}/customattributes/{attributesId}',
18278
+ 'DELETE',
18279
+ { 'conversationId': conversationId,'attributesId': attributesId },
18280
+ { },
18281
+ { },
18282
+ { },
18283
+ null,
18284
+ ['PureCloud OAuth'],
18285
+ ['application/json'],
18286
+ ['application/json']
18287
+ );
18288
+ }
18289
+
18255
18290
  /**
18256
18291
  * Delete a code used to add a communication to this participant
18257
18292
  *
@@ -18512,6 +18547,32 @@ class ConversationsApi {
18512
18547
  );
18513
18548
  }
18514
18549
 
18550
+ /**
18551
+ * Delete an Open messaging integration with the Google Business Profile extension
18552
+ * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
18553
+ * @param {String} integrationId Integration ID
18554
+ * deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18555
+ */
18556
+ deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId) {
18557
+ // verify the required parameter 'integrationId' is set
18558
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
18559
+ throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';
18560
+ }
18561
+
18562
+ return this.apiClient.callApi(
18563
+ '/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}',
18564
+ 'DELETE',
18565
+ { 'integrationId': integrationId },
18566
+ { },
18567
+ { },
18568
+ { },
18569
+ null,
18570
+ ['PureCloud OAuth'],
18571
+ ['application/json'],
18572
+ ['application/json']
18573
+ );
18574
+ }
18575
+
18515
18576
  /**
18516
18577
  * Delete an Open messaging integration
18517
18578
  * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
@@ -19037,6 +19098,61 @@ class ConversationsApi {
19037
19098
  );
19038
19099
  }
19039
19100
 
19101
+ /**
19102
+ * Get custom attributes by id
19103
+ *
19104
+ * @param {String} conversationId conversation ID
19105
+ * @param {String} attributesId attributesId
19106
+ */
19107
+ getConversationCustomattribute(conversationId, attributesId) {
19108
+ // verify the required parameter 'conversationId' is set
19109
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
19110
+ throw 'Missing the required parameter "conversationId" when calling getConversationCustomattribute';
19111
+ }
19112
+ // verify the required parameter 'attributesId' is set
19113
+ if (attributesId === undefined || attributesId === null || attributesId === '') {
19114
+ throw 'Missing the required parameter "attributesId" when calling getConversationCustomattribute';
19115
+ }
19116
+
19117
+ return this.apiClient.callApi(
19118
+ '/api/v2/conversations/{conversationId}/customattributes/{attributesId}',
19119
+ 'GET',
19120
+ { 'conversationId': conversationId,'attributesId': attributesId },
19121
+ { },
19122
+ { },
19123
+ { },
19124
+ null,
19125
+ ['PureCloud OAuth'],
19126
+ ['application/json'],
19127
+ ['application/json']
19128
+ );
19129
+ }
19130
+
19131
+ /**
19132
+ * Get a list of custom attributes for a conversation.
19133
+ *
19134
+ * @param {String} conversationId conversation ID
19135
+ */
19136
+ getConversationCustomattributes(conversationId) {
19137
+ // verify the required parameter 'conversationId' is set
19138
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
19139
+ throw 'Missing the required parameter "conversationId" when calling getConversationCustomattributes';
19140
+ }
19141
+
19142
+ return this.apiClient.callApi(
19143
+ '/api/v2/conversations/{conversationId}/customattributes',
19144
+ 'GET',
19145
+ { 'conversationId': conversationId },
19146
+ { },
19147
+ { },
19148
+ { },
19149
+ null,
19150
+ ['PureCloud OAuth'],
19151
+ ['application/json'],
19152
+ ['application/json']
19153
+ );
19154
+ }
19155
+
19040
19156
  /**
19041
19157
  * Fetch info on a secure session
19042
19158
  *
@@ -20014,6 +20130,171 @@ class ConversationsApi {
20014
20130
  );
20015
20131
  }
20016
20132
 
20133
+ /**
20134
+ * Get a schema
20135
+ *
20136
+ * @param {String} schemaId Schema ID
20137
+ */
20138
+ getConversationsCustomattributesSchema(schemaId) {
20139
+ // verify the required parameter 'schemaId' is set
20140
+ if (schemaId === undefined || schemaId === null || schemaId === '') {
20141
+ throw 'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchema';
20142
+ }
20143
+
20144
+ return this.apiClient.callApi(
20145
+ '/api/v2/conversations/customattributes/schemas/{schemaId}',
20146
+ 'GET',
20147
+ { 'schemaId': schemaId },
20148
+ { },
20149
+ { },
20150
+ { },
20151
+ null,
20152
+ ['PureCloud OAuth'],
20153
+ ['application/json'],
20154
+ ['application/json']
20155
+ );
20156
+ }
20157
+
20158
+ /**
20159
+ * Get a specific version of a schema
20160
+ *
20161
+ * @param {String} schemaId Schema ID
20162
+ * @param {String} versionId Schema version
20163
+ */
20164
+ getConversationsCustomattributesSchemaVersion(schemaId, versionId) {
20165
+ // verify the required parameter 'schemaId' is set
20166
+ if (schemaId === undefined || schemaId === null || schemaId === '') {
20167
+ throw 'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersion';
20168
+ }
20169
+ // verify the required parameter 'versionId' is set
20170
+ if (versionId === undefined || versionId === null || versionId === '') {
20171
+ throw 'Missing the required parameter "versionId" when calling getConversationsCustomattributesSchemaVersion';
20172
+ }
20173
+
20174
+ return this.apiClient.callApi(
20175
+ '/api/v2/conversations/customattributes/schemas/{schemaId}/versions/{versionId}',
20176
+ 'GET',
20177
+ { 'schemaId': schemaId,'versionId': versionId },
20178
+ { },
20179
+ { },
20180
+ { },
20181
+ null,
20182
+ ['PureCloud OAuth'],
20183
+ ['application/json'],
20184
+ ['application/json']
20185
+ );
20186
+ }
20187
+
20188
+ /**
20189
+ * Get all versions of a CCA schema
20190
+ *
20191
+ * @param {String} schemaId Schema ID
20192
+ */
20193
+ getConversationsCustomattributesSchemaVersions(schemaId) {
20194
+ // verify the required parameter 'schemaId' is set
20195
+ if (schemaId === undefined || schemaId === null || schemaId === '') {
20196
+ throw 'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersions';
20197
+ }
20198
+
20199
+ return this.apiClient.callApi(
20200
+ '/api/v2/conversations/customattributes/schemas/{schemaId}/versions',
20201
+ 'GET',
20202
+ { 'schemaId': schemaId },
20203
+ { },
20204
+ { },
20205
+ { },
20206
+ null,
20207
+ ['PureCloud OAuth'],
20208
+ ['application/json'],
20209
+ ['application/json']
20210
+ );
20211
+ }
20212
+
20213
+ /**
20214
+ * Get a list of schemas.
20215
+ *
20216
+ */
20217
+ getConversationsCustomattributesSchemas() {
20218
+
20219
+ return this.apiClient.callApi(
20220
+ '/api/v2/conversations/customattributes/schemas',
20221
+ 'GET',
20222
+ { },
20223
+ { },
20224
+ { },
20225
+ { },
20226
+ null,
20227
+ ['PureCloud OAuth'],
20228
+ ['application/json'],
20229
+ ['application/json']
20230
+ );
20231
+ }
20232
+
20233
+ /**
20234
+ * Get the core types from which all schemas are built.
20235
+ *
20236
+ * @param {String} coreTypeName Name of the core type
20237
+ */
20238
+ getConversationsCustomattributesSchemasCoretype(coreTypeName) {
20239
+ // verify the required parameter 'coreTypeName' is set
20240
+ if (coreTypeName === undefined || coreTypeName === null || coreTypeName === '') {
20241
+ throw 'Missing the required parameter "coreTypeName" when calling getConversationsCustomattributesSchemasCoretype';
20242
+ }
20243
+
20244
+ return this.apiClient.callApi(
20245
+ '/api/v2/conversations/customattributes/schemas/coretypes/{coreTypeName}',
20246
+ 'GET',
20247
+ { 'coreTypeName': coreTypeName },
20248
+ { },
20249
+ { },
20250
+ { },
20251
+ null,
20252
+ ['PureCloud OAuth'],
20253
+ ['application/json'],
20254
+ ['application/json']
20255
+ );
20256
+ }
20257
+
20258
+ /**
20259
+ * Get the list of core types enabled for a specific namespace.
20260
+ *
20261
+ */
20262
+ getConversationsCustomattributesSchemasCoretypes() {
20263
+
20264
+ return this.apiClient.callApi(
20265
+ '/api/v2/conversations/customattributes/schemas/coretypes',
20266
+ 'GET',
20267
+ { },
20268
+ { },
20269
+ { },
20270
+ { },
20271
+ null,
20272
+ ['PureCloud OAuth'],
20273
+ ['application/json'],
20274
+ ['application/json']
20275
+ );
20276
+ }
20277
+
20278
+ /**
20279
+ * Get quantitative limits on schemas
20280
+ *
20281
+ */
20282
+ getConversationsCustomattributesSchemasLimits() {
20283
+
20284
+ return this.apiClient.callApi(
20285
+ '/api/v2/conversations/customattributes/schemas/limits',
20286
+ 'GET',
20287
+ { },
20288
+ { },
20289
+ { },
20290
+ { },
20291
+ null,
20292
+ ['PureCloud OAuth'],
20293
+ ['application/json'],
20294
+ ['application/json']
20295
+ );
20296
+ }
20297
+
20017
20298
  /**
20018
20299
  * Get email conversation
20019
20300
  *
@@ -20420,7 +20701,7 @@ class ConversationsApi {
20420
20701
 
20421
20702
  /**
20422
20703
  * Get media
20423
- * See https://developer.genesys.cloud/api/rest/v2/conversations/messaging-media-upload for example usage.
20704
+ * See https://developer.genesys.cloud/commdigital/digital/messagemediaupload/ for example usage.
20424
20705
  * @param {String} conversationId conversationId
20425
20706
  * @param {String} communicationId communicationId
20426
20707
  * @param {String} mediaId mediaId
@@ -21132,6 +21413,109 @@ class ConversationsApi {
21132
21413
  );
21133
21414
  }
21134
21415
 
21416
+ /**
21417
+ * Get an Open messaging integration with the Google Business Profile extension
21418
+ * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
21419
+ * @param {String} integrationId Integration ID
21420
+ * @param {Object} opts Optional parameters
21421
+ * @param {Object} opts.expand Expand instructions for the return value.
21422
+ * getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21423
+ */
21424
+ getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId, opts) {
21425
+ opts = opts || {};
21426
+
21427
+ // verify the required parameter 'integrationId' is set
21428
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
21429
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';
21430
+ }
21431
+
21432
+ return this.apiClient.callApi(
21433
+ '/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}',
21434
+ 'GET',
21435
+ { 'integrationId': integrationId },
21436
+ { 'expand': opts['expand'] },
21437
+ { },
21438
+ { },
21439
+ null,
21440
+ ['PureCloud OAuth'],
21441
+ ['application/json'],
21442
+ ['application/json']
21443
+ );
21444
+ }
21445
+
21446
+ /**
21447
+ * Get Google Business Profile OAuth 2 settings
21448
+ * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
21449
+ * getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21450
+ */
21451
+ getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings() {
21452
+
21453
+ return this.apiClient.callApi(
21454
+ '/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/oauth/settings',
21455
+ 'GET',
21456
+ { },
21457
+ { },
21458
+ { },
21459
+ { },
21460
+ null,
21461
+ ['PureCloud OAuth'],
21462
+ ['application/json'],
21463
+ ['application/json']
21464
+ );
21465
+ }
21466
+
21467
+ /**
21468
+ * Get a Google Auth Token
21469
+ * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
21470
+ * @param {String} tokenId Token ID
21471
+ * getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21472
+ */
21473
+ getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken(tokenId) {
21474
+ // verify the required parameter 'tokenId' is set
21475
+ if (tokenId === undefined || tokenId === null || tokenId === '') {
21476
+ throw 'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken';
21477
+ }
21478
+
21479
+ return this.apiClient.callApi(
21480
+ '/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}',
21481
+ 'GET',
21482
+ { 'tokenId': tokenId },
21483
+ { },
21484
+ { },
21485
+ { },
21486
+ null,
21487
+ ['PureCloud OAuth'],
21488
+ ['application/json'],
21489
+ ['application/json']
21490
+ );
21491
+ }
21492
+
21493
+ /**
21494
+ * Get Google Business Profile accounts
21495
+ * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
21496
+ * @param {String} tokenId Token ID
21497
+ * getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21498
+ */
21499
+ getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts(tokenId) {
21500
+ // verify the required parameter 'tokenId' is set
21501
+ if (tokenId === undefined || tokenId === null || tokenId === '') {
21502
+ throw 'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts';
21503
+ }
21504
+
21505
+ return this.apiClient.callApi(
21506
+ '/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}/accounts',
21507
+ 'GET',
21508
+ { 'tokenId': tokenId },
21509
+ { },
21510
+ { },
21511
+ { },
21512
+ null,
21513
+ ['PureCloud OAuth'],
21514
+ ['application/json'],
21515
+ ['application/json']
21516
+ );
21517
+ }
21518
+
21135
21519
  /**
21136
21520
  * Get an Open messaging integration
21137
21521
  * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
@@ -21678,6 +22062,64 @@ class ConversationsApi {
21678
22062
  );
21679
22063
  }
21680
22064
 
22065
+ /**
22066
+ * Update a single custom attributes record by amending the data with only the provided fields.
22067
+ *
22068
+ * @param {String} conversationId conversation ID
22069
+ * @param {Object} opts Optional parameters
22070
+ * @param {Object} opts.body
22071
+ */
22072
+ patchConversationCustomattributes(conversationId, opts) {
22073
+ opts = opts || {};
22074
+
22075
+ // verify the required parameter 'conversationId' is set
22076
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
22077
+ throw 'Missing the required parameter "conversationId" when calling patchConversationCustomattributes';
22078
+ }
22079
+
22080
+ return this.apiClient.callApi(
22081
+ '/api/v2/conversations/{conversationId}/customattributes',
22082
+ 'PATCH',
22083
+ { 'conversationId': conversationId },
22084
+ { },
22085
+ { },
22086
+ { },
22087
+ opts['body'],
22088
+ ['PureCloud OAuth'],
22089
+ ['application/json'],
22090
+ ['application/json']
22091
+ );
22092
+ }
22093
+
22094
+ /**
22095
+ * Update a list of custom attributes record by amending the data with only the provided fields.
22096
+ *
22097
+ * @param {String} conversationId conversation ID
22098
+ * @param {Object} opts Optional parameters
22099
+ * @param {Array.<Object>} opts.body
22100
+ */
22101
+ patchConversationCustomattributesBulk(conversationId, opts) {
22102
+ opts = opts || {};
22103
+
22104
+ // verify the required parameter 'conversationId' is set
22105
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
22106
+ throw 'Missing the required parameter "conversationId" when calling patchConversationCustomattributesBulk';
22107
+ }
22108
+
22109
+ return this.apiClient.callApi(
22110
+ '/api/v2/conversations/{conversationId}/customattributes/bulk',
22111
+ 'PATCH',
22112
+ { 'conversationId': conversationId },
22113
+ { },
22114
+ { },
22115
+ { },
22116
+ opts['body'],
22117
+ ['PureCloud OAuth'],
22118
+ ['application/json'],
22119
+ ['application/json']
22120
+ );
22121
+ }
22122
+
21681
22123
  /**
21682
22124
  * Update a participant.
21683
22125
  * Update conversation participant.
@@ -23115,6 +23557,37 @@ class ConversationsApi {
23115
23557
  );
23116
23558
  }
23117
23559
 
23560
+ /**
23561
+ * Update an Open messaging integration with the Google Business Profile extension
23562
+ * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
23563
+ * @param {String} integrationId Integration ID
23564
+ * @param {Object} body GoogleBusinessProfileOpenIntegrationUpdateRequest
23565
+ * patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
23566
+ */
23567
+ patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId, body) {
23568
+ // verify the required parameter 'integrationId' is set
23569
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
23570
+ throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';
23571
+ }
23572
+ // verify the required parameter 'body' is set
23573
+ if (body === undefined || body === null) {
23574
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';
23575
+ }
23576
+
23577
+ return this.apiClient.callApi(
23578
+ '/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}',
23579
+ 'PATCH',
23580
+ { 'integrationId': integrationId },
23581
+ { },
23582
+ { },
23583
+ { },
23584
+ body,
23585
+ ['PureCloud OAuth'],
23586
+ ['application/json'],
23587
+ ['application/json']
23588
+ );
23589
+ }
23590
+
23118
23591
  /**
23119
23592
  * Update an Open messaging integration
23120
23593
  * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
@@ -25144,6 +25617,56 @@ class ConversationsApi {
25144
25617
  );
25145
25618
  }
25146
25619
 
25620
+ /**
25621
+ * Create a schema
25622
+ *
25623
+ * @param {Object} body Schema create request body
25624
+ */
25625
+ postConversationsCustomattributesSchemas(body) {
25626
+ // verify the required parameter 'body' is set
25627
+ if (body === undefined || body === null) {
25628
+ throw 'Missing the required parameter "body" when calling postConversationsCustomattributesSchemas';
25629
+ }
25630
+
25631
+ return this.apiClient.callApi(
25632
+ '/api/v2/conversations/customattributes/schemas',
25633
+ 'POST',
25634
+ { },
25635
+ { },
25636
+ { },
25637
+ { },
25638
+ body,
25639
+ ['PureCloud OAuth'],
25640
+ ['application/json'],
25641
+ ['application/json']
25642
+ );
25643
+ }
25644
+
25645
+ /**
25646
+ * Search resources.
25647
+ *
25648
+ * @param {Object} body Search request options
25649
+ */
25650
+ postConversationsCustomattributesSearch(body) {
25651
+ // verify the required parameter 'body' is set
25652
+ if (body === undefined || body === null) {
25653
+ throw 'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';
25654
+ }
25655
+
25656
+ return this.apiClient.callApi(
25657
+ '/api/v2/conversations/customattributes/search',
25658
+ 'POST',
25659
+ { },
25660
+ { },
25661
+ { },
25662
+ { },
25663
+ body,
25664
+ ['PureCloud OAuth'],
25665
+ ['application/json'],
25666
+ ['application/json']
25667
+ );
25668
+ }
25669
+
25147
25670
  /**
25148
25671
  * Send an email to an external conversation. An external conversation is one where the provider is not PureCloud based. This endpoint allows the sender of the external email to reply or send a new message to the existing conversation. The new message will be treated as part of the existing conversation and chained to it.
25149
25672
  *
@@ -25530,7 +26053,7 @@ class ConversationsApi {
25530
26053
 
25531
26054
  /**
25532
26055
  * Create a URL to upload a message media file
25533
- * See https://developer.genesys.cloud/api/rest/v2/conversations/messaging-media-upload for example usage.
26056
+ * See https://developer.genesys.cloud/commdigital/digital/messagemediaupload/ for example usage.
25534
26057
  * @param {String} conversationId conversationId
25535
26058
  * @param {String} communicationId communicationId
25536
26059
  * @param {Object} body request
@@ -26071,6 +26594,58 @@ class ConversationsApi {
26071
26594
  );
26072
26595
  }
26073
26596
 
26597
+ /**
26598
+ * Create an Open messaging integration with the Google Business Profile extension
26599
+ * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
26600
+ * @param {Object} body GoogleBusinessProfileOpenIntegrationRequest
26601
+ * postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26602
+ */
26603
+ postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile(body) {
26604
+ // verify the required parameter 'body' is set
26605
+ if (body === undefined || body === null) {
26606
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile';
26607
+ }
26608
+
26609
+ return this.apiClient.callApi(
26610
+ '/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile',
26611
+ 'POST',
26612
+ { },
26613
+ { },
26614
+ { },
26615
+ { },
26616
+ body,
26617
+ ['PureCloud OAuth'],
26618
+ ['application/json'],
26619
+ ['application/json']
26620
+ );
26621
+ }
26622
+
26623
+ /**
26624
+ * Create a Google Auth Token by exchanging the one-time auth code retrieved from Google
26625
+ * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
26626
+ * @param {Object} body GoogleAuthTokenRequest
26627
+ * postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26628
+ */
26629
+ postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens(body) {
26630
+ // verify the required parameter 'body' is set
26631
+ if (body === undefined || body === null) {
26632
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens';
26633
+ }
26634
+
26635
+ return this.apiClient.callApi(
26636
+ '/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens',
26637
+ 'POST',
26638
+ { },
26639
+ { },
26640
+ { },
26641
+ { },
26642
+ body,
26643
+ ['PureCloud OAuth'],
26644
+ ['application/json'],
26645
+ ['application/json']
26646
+ );
26647
+ }
26648
+
26074
26649
  /**
26075
26650
  * Create Twitter Integration
26076
26651
  *
@@ -26396,6 +26971,64 @@ class ConversationsApi {
26396
26971
  );
26397
26972
  }
26398
26973
 
26974
+ /**
26975
+ * Create or update a single custom attributes record. Updating replaces all data with the provided fields.
26976
+ *
26977
+ * @param {String} conversationId conversation ID
26978
+ * @param {Object} opts Optional parameters
26979
+ * @param {Object} opts.body
26980
+ */
26981
+ putConversationCustomattributes(conversationId, opts) {
26982
+ opts = opts || {};
26983
+
26984
+ // verify the required parameter 'conversationId' is set
26985
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
26986
+ throw 'Missing the required parameter "conversationId" when calling putConversationCustomattributes';
26987
+ }
26988
+
26989
+ return this.apiClient.callApi(
26990
+ '/api/v2/conversations/{conversationId}/customattributes',
26991
+ 'PUT',
26992
+ { 'conversationId': conversationId },
26993
+ { },
26994
+ { },
26995
+ { },
26996
+ opts['body'],
26997
+ ['PureCloud OAuth'],
26998
+ ['application/json'],
26999
+ ['application/json']
27000
+ );
27001
+ }
27002
+
27003
+ /**
27004
+ * Create or update a list of custom attributes records. Updating replaces all data with the provided fields.
27005
+ *
27006
+ * @param {String} conversationId conversation ID
27007
+ * @param {Object} opts Optional parameters
27008
+ * @param {Array.<Object>} opts.body
27009
+ */
27010
+ putConversationCustomattributesBulk(conversationId, opts) {
27011
+ opts = opts || {};
27012
+
27013
+ // verify the required parameter 'conversationId' is set
27014
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
27015
+ throw 'Missing the required parameter "conversationId" when calling putConversationCustomattributesBulk';
27016
+ }
27017
+
27018
+ return this.apiClient.callApi(
27019
+ '/api/v2/conversations/{conversationId}/customattributes/bulk',
27020
+ 'PUT',
27021
+ { 'conversationId': conversationId },
27022
+ { },
27023
+ { },
27024
+ { },
27025
+ opts['body'],
27026
+ ['PureCloud OAuth'],
27027
+ ['application/json'],
27028
+ ['application/json']
27029
+ );
27030
+ }
27031
+
26399
27032
  /**
26400
27033
  * Set flagged reason on conversation participant to indicate bad conversation quality.
26401
27034
  *
@@ -26648,6 +27281,36 @@ class ConversationsApi {
26648
27281
  );
26649
27282
  }
26650
27283
 
27284
+ /**
27285
+ * Update a schema
27286
+ *
27287
+ * @param {String} schemaId Schema ID
27288
+ * @param {Object} body Schema update request body
27289
+ */
27290
+ putConversationsCustomattributesSchema(schemaId, body) {
27291
+ // verify the required parameter 'schemaId' is set
27292
+ if (schemaId === undefined || schemaId === null || schemaId === '') {
27293
+ throw 'Missing the required parameter "schemaId" when calling putConversationsCustomattributesSchema';
27294
+ }
27295
+ // verify the required parameter 'body' is set
27296
+ if (body === undefined || body === null) {
27297
+ throw 'Missing the required parameter "body" when calling putConversationsCustomattributesSchema';
27298
+ }
27299
+
27300
+ return this.apiClient.callApi(
27301
+ '/api/v2/conversations/customattributes/schemas/{schemaId}',
27302
+ 'PUT',
27303
+ { 'schemaId': schemaId },
27304
+ { },
27305
+ { },
27306
+ { },
27307
+ body,
27308
+ ['PureCloud OAuth'],
27309
+ ['application/json'],
27310
+ ['application/json']
27311
+ );
27312
+ }
27313
+
26651
27314
  /**
26652
27315
  * Update conversation draft reply
26653
27316
  *
@@ -27120,7 +27783,7 @@ class DataExtensionsApi {
27120
27783
  /**
27121
27784
  * DataExtensions service.
27122
27785
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
27123
- * @version 245.0.0
27786
+ * @version 246.0.0
27124
27787
  */
27125
27788
 
27126
27789
  /**
@@ -27206,7 +27869,7 @@ class DataPrivacyApi {
27206
27869
  /**
27207
27870
  * DataPrivacy service.
27208
27871
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
27209
- * @version 245.0.0
27872
+ * @version 246.0.0
27210
27873
  */
27211
27874
 
27212
27875
  /**
@@ -27376,7 +28039,7 @@ class DownloadsApi {
27376
28039
  /**
27377
28040
  * Downloads service.
27378
28041
  * @module purecloud-platform-client-v2/api/DownloadsApi
27379
- * @version 245.0.0
28042
+ * @version 246.0.0
27380
28043
  */
27381
28044
 
27382
28045
  /**
@@ -27428,7 +28091,7 @@ class EmailsApi {
27428
28091
  /**
27429
28092
  * Emails service.
27430
28093
  * @module purecloud-platform-client-v2/api/EmailsApi
27431
- * @version 245.0.0
28094
+ * @version 246.0.0
27432
28095
  */
27433
28096
 
27434
28097
  /**
@@ -27557,7 +28220,7 @@ class EmployeeEngagementApi {
27557
28220
  /**
27558
28221
  * EmployeeEngagement service.
27559
28222
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
27560
- * @version 245.0.0
28223
+ * @version 246.0.0
27561
28224
  */
27562
28225
 
27563
28226
  /**
@@ -27737,7 +28400,7 @@ class EventsApi {
27737
28400
  /**
27738
28401
  * Events service.
27739
28402
  * @module purecloud-platform-client-v2/api/EventsApi
27740
- * @version 245.0.0
28403
+ * @version 246.0.0
27741
28404
  */
27742
28405
 
27743
28406
  /**
@@ -27833,7 +28496,7 @@ class ExternalContactsApi {
27833
28496
  /**
27834
28497
  * ExternalContacts service.
27835
28498
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
27836
- * @version 245.0.0
28499
+ * @version 246.0.0
27837
28500
  */
27838
28501
 
27839
28502
  /**
@@ -31080,7 +31743,7 @@ class FaxApi {
31080
31743
  /**
31081
31744
  * Fax service.
31082
31745
  * @module purecloud-platform-client-v2/api/FaxApi
31083
- * @version 245.0.0
31746
+ * @version 246.0.0
31084
31747
  */
31085
31748
 
31086
31749
  /**
@@ -31295,7 +31958,7 @@ class FlowsApi {
31295
31958
  /**
31296
31959
  * Flows service.
31297
31960
  * @module purecloud-platform-client-v2/api/FlowsApi
31298
- * @version 245.0.0
31961
+ * @version 246.0.0
31299
31962
  */
31300
31963
 
31301
31964
  /**
@@ -31504,7 +32167,7 @@ class GamificationApi {
31504
32167
  /**
31505
32168
  * Gamification service.
31506
32169
  * @module purecloud-platform-client-v2/api/GamificationApi
31507
- * @version 245.0.0
32170
+ * @version 246.0.0
31508
32171
  */
31509
32172
 
31510
32173
  /**
@@ -34062,7 +34725,7 @@ class GeneralDataProtectionRegulationApi {
34062
34725
  /**
34063
34726
  * GeneralDataProtectionRegulation service.
34064
34727
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
34065
- * @version 245.0.0
34728
+ * @version 246.0.0
34066
34729
  */
34067
34730
 
34068
34731
  /**
@@ -34192,7 +34855,7 @@ class GeolocationApi {
34192
34855
  /**
34193
34856
  * Geolocation service.
34194
34857
  * @module purecloud-platform-client-v2/api/GeolocationApi
34195
- * @version 245.0.0
34858
+ * @version 246.0.0
34196
34859
  */
34197
34860
 
34198
34861
  /**
@@ -34323,7 +34986,7 @@ class GreetingsApi {
34323
34986
  /**
34324
34987
  * Greetings service.
34325
34988
  * @module purecloud-platform-client-v2/api/GreetingsApi
34326
- * @version 245.0.0
34989
+ * @version 246.0.0
34327
34990
  */
34328
34991
 
34329
34992
  /**
@@ -34865,7 +35528,7 @@ class GroupsApi {
34865
35528
  /**
34866
35529
  * Groups service.
34867
35530
  * @module purecloud-platform-client-v2/api/GroupsApi
34868
- * @version 245.0.0
35531
+ * @version 246.0.0
34869
35532
  */
34870
35533
 
34871
35534
  /**
@@ -35384,7 +36047,7 @@ class IdentityProviderApi {
35384
36047
  /**
35385
36048
  * IdentityProvider service.
35386
36049
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
35387
- * @version 245.0.0
36050
+ * @version 246.0.0
35388
36051
  */
35389
36052
 
35390
36053
  /**
@@ -36245,7 +36908,7 @@ class InfrastructureAsCodeApi {
36245
36908
  /**
36246
36909
  * InfrastructureAsCode service.
36247
36910
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
36248
- * @version 245.0.0
36911
+ * @version 246.0.0
36249
36912
  */
36250
36913
 
36251
36914
  /**
@@ -36412,7 +37075,7 @@ class IntegrationsApi {
36412
37075
  /**
36413
37076
  * Integrations service.
36414
37077
  * @module purecloud-platform-client-v2/api/IntegrationsApi
36415
- * @version 245.0.0
37078
+ * @version 246.0.0
36416
37079
  */
36417
37080
 
36418
37081
  /**
@@ -39062,7 +39725,7 @@ class IntentsApi {
39062
39725
  /**
39063
39726
  * Intents service.
39064
39727
  * @module purecloud-platform-client-v2/api/IntentsApi
39065
- * @version 245.0.0
39728
+ * @version 246.0.0
39066
39729
  */
39067
39730
 
39068
39731
  /**
@@ -39529,7 +40192,7 @@ class JourneyApi {
39529
40192
  /**
39530
40193
  * Journey service.
39531
40194
  * @module purecloud-platform-client-v2/api/JourneyApi
39532
- * @version 245.0.0
40195
+ * @version 246.0.0
39533
40196
  */
39534
40197
 
39535
40198
  /**
@@ -41626,7 +42289,7 @@ class KnowledgeApi {
41626
42289
  /**
41627
42290
  * Knowledge service.
41628
42291
  * @module purecloud-platform-client-v2/api/KnowledgeApi
41629
- * @version 245.0.0
42292
+ * @version 246.0.0
41630
42293
  */
41631
42294
 
41632
42295
  /**
@@ -44743,7 +45406,7 @@ class LanguageUnderstandingApi {
44743
45406
  /**
44744
45407
  * LanguageUnderstanding service.
44745
45408
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
44746
- * @version 245.0.0
45409
+ * @version 246.0.0
44747
45410
  */
44748
45411
 
44749
45412
  /**
@@ -45962,7 +46625,7 @@ class LanguagesApi {
45962
46625
  /**
45963
46626
  * Languages service.
45964
46627
  * @module purecloud-platform-client-v2/api/LanguagesApi
45965
- * @version 245.0.0
46628
+ * @version 246.0.0
45966
46629
  */
45967
46630
 
45968
46631
  /**
@@ -46184,7 +46847,7 @@ class LearningApi {
46184
46847
  /**
46185
46848
  * Learning service.
46186
46849
  * @module purecloud-platform-client-v2/api/LearningApi
46187
- * @version 245.0.0
46850
+ * @version 246.0.0
46188
46851
  */
46189
46852
 
46190
46853
  /**
@@ -47293,7 +47956,7 @@ class LicenseApi {
47293
47956
  /**
47294
47957
  * License service.
47295
47958
  * @module purecloud-platform-client-v2/api/LicenseApi
47296
- * @version 245.0.0
47959
+ * @version 246.0.0
47297
47960
  */
47298
47961
 
47299
47962
  /**
@@ -47531,7 +48194,7 @@ class LocationsApi {
47531
48194
  /**
47532
48195
  * Locations service.
47533
48196
  * @module purecloud-platform-client-v2/api/LocationsApi
47534
- * @version 245.0.0
48197
+ * @version 246.0.0
47535
48198
  */
47536
48199
 
47537
48200
  /**
@@ -47767,7 +48430,7 @@ class LogCaptureApi {
47767
48430
  /**
47768
48431
  * LogCapture service.
47769
48432
  * @module purecloud-platform-client-v2/api/LogCaptureApi
47770
- * @version 245.0.0
48433
+ * @version 246.0.0
47771
48434
  */
47772
48435
 
47773
48436
  /**
@@ -47966,7 +48629,7 @@ class MessagingApi {
47966
48629
  /**
47967
48630
  * Messaging service.
47968
48631
  * @module purecloud-platform-client-v2/api/MessagingApi
47969
- * @version 245.0.0
48632
+ * @version 246.0.0
47970
48633
  */
47971
48634
 
47972
48635
  /**
@@ -48325,7 +48988,7 @@ class MobileDevicesApi {
48325
48988
  /**
48326
48989
  * MobileDevices service.
48327
48990
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
48328
- * @version 245.0.0
48991
+ * @version 246.0.0
48329
48992
  */
48330
48993
 
48331
48994
  /**
@@ -48476,7 +49139,7 @@ class NotificationsApi {
48476
49139
  /**
48477
49140
  * Notifications service.
48478
49141
  * @module purecloud-platform-client-v2/api/NotificationsApi
48479
- * @version 245.0.0
49142
+ * @version 246.0.0
48480
49143
  */
48481
49144
 
48482
49145
  /**
@@ -48709,7 +49372,7 @@ class OAuthApi {
48709
49372
  /**
48710
49373
  * OAuth service.
48711
49374
  * @module purecloud-platform-client-v2/api/OAuthApi
48712
- * @version 245.0.0
49375
+ * @version 246.0.0
48713
49376
  */
48714
49377
 
48715
49378
  /**
@@ -49075,7 +49738,7 @@ class ObjectsApi {
49075
49738
  /**
49076
49739
  * Objects service.
49077
49740
  * @module purecloud-platform-client-v2/api/ObjectsApi
49078
- * @version 245.0.0
49741
+ * @version 246.0.0
49079
49742
  */
49080
49743
 
49081
49744
  /**
@@ -49399,7 +50062,7 @@ class OperationalEventsApi {
49399
50062
  /**
49400
50063
  * OperationalEvents service.
49401
50064
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
49402
- * @version 245.0.0
50065
+ * @version 246.0.0
49403
50066
  */
49404
50067
 
49405
50068
  /**
@@ -49516,7 +50179,7 @@ class OrganizationApi {
49516
50179
  /**
49517
50180
  * Organization service.
49518
50181
  * @module purecloud-platform-client-v2/api/OrganizationApi
49519
- * @version 245.0.0
50182
+ * @version 246.0.0
49520
50183
  */
49521
50184
 
49522
50185
  /**
@@ -49991,7 +50654,7 @@ class OrganizationAuthorizationApi {
49991
50654
  /**
49992
50655
  * OrganizationAuthorization service.
49993
50656
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
49994
- * @version 245.0.0
50657
+ * @version 246.0.0
49995
50658
  */
49996
50659
 
49997
50660
  /**
@@ -51385,7 +52048,7 @@ class OutboundApi {
51385
52048
  /**
51386
52049
  * Outbound service.
51387
52050
  * @module purecloud-platform-client-v2/api/OutboundApi
51388
- * @version 245.0.0
52051
+ * @version 246.0.0
51389
52052
  */
51390
52053
 
51391
52054
  /**
@@ -56183,7 +56846,7 @@ class PresenceApi {
56183
56846
  /**
56184
56847
  * Presence service.
56185
56848
  * @module purecloud-platform-client-v2/api/PresenceApi
56186
- * @version 245.0.0
56849
+ * @version 246.0.0
56187
56850
  */
56188
56851
 
56189
56852
  /**
@@ -56927,7 +57590,7 @@ class ProcessAutomationApi {
56927
57590
  /**
56928
57591
  * ProcessAutomation service.
56929
57592
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
56930
- * @version 245.0.0
57593
+ * @version 246.0.0
56931
57594
  */
56932
57595
 
56933
57596
  /**
@@ -57166,7 +57829,7 @@ class QualityApi {
57166
57829
  /**
57167
57830
  * Quality service.
57168
57831
  * @module purecloud-platform-client-v2/api/QualityApi
57169
- * @version 245.0.0
57832
+ * @version 246.0.0
57170
57833
  */
57171
57834
 
57172
57835
  /**
@@ -59235,7 +59898,7 @@ class RecordingApi {
59235
59898
  /**
59236
59899
  * Recording service.
59237
59900
  * @module purecloud-platform-client-v2/api/RecordingApi
59238
- * @version 245.0.0
59901
+ * @version 246.0.0
59239
59902
  */
59240
59903
 
59241
59904
  /**
@@ -60840,7 +61503,7 @@ class ResponseManagementApi {
60840
61503
  /**
60841
61504
  * ResponseManagement service.
60842
61505
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
60843
- * @version 245.0.0
61506
+ * @version 246.0.0
60844
61507
  */
60845
61508
 
60846
61509
  /**
@@ -61350,7 +62013,7 @@ class RoutingApi {
61350
62013
  /**
61351
62014
  * Routing service.
61352
62015
  * @module purecloud-platform-client-v2/api/RoutingApi
61353
- * @version 245.0.0
62016
+ * @version 246.0.0
61354
62017
  */
61355
62018
 
61356
62019
  /**
@@ -64436,6 +65099,36 @@ class RoutingApi {
64436
65099
  );
64437
65100
  }
64438
65101
 
65102
+ /**
65103
+ * Update Routing Skill Division
65104
+ *
65105
+ * @param {String} skillId Skill ID
65106
+ * @param {Object} body updateSkillDivisionRequest
65107
+ */
65108
+ patchRoutingSkill(skillId, body) {
65109
+ // verify the required parameter 'skillId' is set
65110
+ if (skillId === undefined || skillId === null || skillId === '') {
65111
+ throw 'Missing the required parameter "skillId" when calling patchRoutingSkill';
65112
+ }
65113
+ // verify the required parameter 'body' is set
65114
+ if (body === undefined || body === null) {
65115
+ throw 'Missing the required parameter "body" when calling patchRoutingSkill';
65116
+ }
65117
+
65118
+ return this.apiClient.callApi(
65119
+ '/api/v2/routing/skills/{skillId}',
65120
+ 'PATCH',
65121
+ { 'skillId': skillId },
65122
+ { },
65123
+ { },
65124
+ { },
65125
+ body,
65126
+ ['PureCloud OAuth'],
65127
+ ['application/json'],
65128
+ ['application/json']
65129
+ );
65130
+ }
65131
+
64439
65132
  /**
64440
65133
  * Update skill group definition
64441
65134
  *
@@ -66027,7 +66720,7 @@ class SCIMApi {
66027
66720
  /**
66028
66721
  * SCIM service.
66029
66722
  * @module purecloud-platform-client-v2/api/SCIMApi
66030
- * @version 245.0.0
66723
+ * @version 246.0.0
66031
66724
  */
66032
66725
 
66033
66726
  /**
@@ -66904,7 +67597,7 @@ class ScriptsApi {
66904
67597
  /**
66905
67598
  * Scripts service.
66906
67599
  * @module purecloud-platform-client-v2/api/ScriptsApi
66907
- * @version 245.0.0
67600
+ * @version 246.0.0
66908
67601
  */
66909
67602
 
66910
67603
  /**
@@ -67380,7 +68073,7 @@ class SearchApi {
67380
68073
  /**
67381
68074
  * Search service.
67382
68075
  * @module purecloud-platform-client-v2/api/SearchApi
67383
- * @version 245.0.0
68076
+ * @version 246.0.0
67384
68077
  */
67385
68078
 
67386
68079
  /**
@@ -67651,6 +68344,31 @@ class SearchApi {
67651
68344
  );
67652
68345
  }
67653
68346
 
68347
+ /**
68348
+ * Search resources.
68349
+ *
68350
+ * @param {Object} body Search request options
68351
+ */
68352
+ postConversationsCustomattributesSearch(body) {
68353
+ // verify the required parameter 'body' is set
68354
+ if (body === undefined || body === null) {
68355
+ throw 'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';
68356
+ }
68357
+
68358
+ return this.apiClient.callApi(
68359
+ '/api/v2/conversations/customattributes/search',
68360
+ 'POST',
68361
+ { },
68362
+ { },
68363
+ { },
68364
+ { },
68365
+ body,
68366
+ ['PureCloud OAuth'],
68367
+ ['application/json'],
68368
+ ['application/json']
68369
+ );
68370
+ }
68371
+
67654
68372
  /**
67655
68373
  * Search conversations
67656
68374
  *
@@ -68068,7 +68786,7 @@ class SettingsApi {
68068
68786
  /**
68069
68787
  * Settings service.
68070
68788
  * @module purecloud-platform-client-v2/api/SettingsApi
68071
- * @version 245.0.0
68789
+ * @version 246.0.0
68072
68790
  */
68073
68791
 
68074
68792
  /**
@@ -68416,7 +69134,7 @@ class SocialMediaApi {
68416
69134
  /**
68417
69135
  * SocialMedia service.
68418
69136
  * @module purecloud-platform-client-v2/api/SocialMediaApi
68419
- * @version 245.0.0
69137
+ * @version 246.0.0
68420
69138
  */
68421
69139
 
68422
69140
  /**
@@ -68545,6 +69263,41 @@ class SocialMediaApi {
68545
69263
  );
68546
69264
  }
68547
69265
 
69266
+ /**
69267
+ * Delete a Google Business Profile data ingestion rule.
69268
+ *
69269
+ * @param {String} topicId topicId
69270
+ * @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
69271
+ * @param {Object} opts Optional parameters
69272
+ * @param {Boolean} opts.hardDelete Determines whether a Google Business Profile data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
69273
+ * deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
69274
+ */
69275
+ deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
69276
+ opts = opts || {};
69277
+
69278
+ // verify the required parameter 'topicId' is set
69279
+ if (topicId === undefined || topicId === null || topicId === '') {
69280
+ throw 'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
69281
+ }
69282
+ // verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
69283
+ if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
69284
+ throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
69285
+ }
69286
+
69287
+ return this.apiClient.callApi(
69288
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
69289
+ 'DELETE',
69290
+ { 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
69291
+ { 'hardDelete': opts['hardDelete'] },
69292
+ { },
69293
+ { },
69294
+ null,
69295
+ ['PureCloud OAuth'],
69296
+ ['application/json'],
69297
+ ['application/json']
69298
+ );
69299
+ }
69300
+
68548
69301
  /**
68549
69302
  * Delete a Instagram data ingestion rule.
68550
69303
  *
@@ -68983,6 +69736,118 @@ class SocialMediaApi {
68983
69736
  );
68984
69737
  }
68985
69738
 
69739
+ /**
69740
+ * Get a single Google Business Profile data ingestion rule.
69741
+ *
69742
+ * @param {String} topicId topicId
69743
+ * @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
69744
+ * @param {Object} opts Optional parameters
69745
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
69746
+ * getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
69747
+ */
69748
+ getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
69749
+ opts = opts || {};
69750
+
69751
+ // verify the required parameter 'topicId' is set
69752
+ if (topicId === undefined || topicId === null || topicId === '') {
69753
+ throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
69754
+ }
69755
+ // verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
69756
+ if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
69757
+ throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
69758
+ }
69759
+
69760
+ return this.apiClient.callApi(
69761
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
69762
+ 'GET',
69763
+ { 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
69764
+ { 'includeDeleted': opts['includeDeleted'] },
69765
+ { },
69766
+ { },
69767
+ null,
69768
+ ['PureCloud OAuth'],
69769
+ ['application/json'],
69770
+ ['application/json']
69771
+ );
69772
+ }
69773
+
69774
+ /**
69775
+ * Get a single Google Business Profile data ingestion rule version.
69776
+ *
69777
+ * @param {String} topicId topicId
69778
+ * @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
69779
+ * @param {String} dataIngestionRuleVersion version
69780
+ * @param {Object} opts Optional parameters
69781
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
69782
+ * getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
69783
+ */
69784
+ getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion(topicId, googleBusinessProfileIngestionRuleId, dataIngestionRuleVersion, opts) {
69785
+ opts = opts || {};
69786
+
69787
+ // verify the required parameter 'topicId' is set
69788
+ if (topicId === undefined || topicId === null || topicId === '') {
69789
+ throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';
69790
+ }
69791
+ // verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
69792
+ if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
69793
+ throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';
69794
+ }
69795
+ // verify the required parameter 'dataIngestionRuleVersion' is set
69796
+ if (dataIngestionRuleVersion === undefined || dataIngestionRuleVersion === null || dataIngestionRuleVersion === '') {
69797
+ throw 'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';
69798
+ }
69799
+
69800
+ return this.apiClient.callApi(
69801
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions/{dataIngestionRuleVersion}',
69802
+ 'GET',
69803
+ { 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId,'dataIngestionRuleVersion': dataIngestionRuleVersion },
69804
+ { 'includeDeleted': opts['includeDeleted'] },
69805
+ { },
69806
+ { },
69807
+ null,
69808
+ ['PureCloud OAuth'],
69809
+ ['application/json'],
69810
+ ['application/json']
69811
+ );
69812
+ }
69813
+
69814
+ /**
69815
+ * Get the Google Business Profile data ingestion rule versions.
69816
+ *
69817
+ * @param {String} topicId topicId
69818
+ * @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
69819
+ * @param {Object} opts Optional parameters
69820
+ * @param {Number} opts.pageNumber Page number (default to 1)
69821
+ * @param {Number} opts.pageSize Page size (default to 25)
69822
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
69823
+ * getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
69824
+ */
69825
+ getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions(topicId, googleBusinessProfileIngestionRuleId, opts) {
69826
+ opts = opts || {};
69827
+
69828
+ // verify the required parameter 'topicId' is set
69829
+ if (topicId === undefined || topicId === null || topicId === '') {
69830
+ throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';
69831
+ }
69832
+ // verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
69833
+ if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
69834
+ throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';
69835
+ }
69836
+
69837
+ return this.apiClient.callApi(
69838
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions',
69839
+ 'GET',
69840
+ { 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
69841
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'includeDeleted': opts['includeDeleted'] },
69842
+ { },
69843
+ { },
69844
+ null,
69845
+ ['PureCloud OAuth'],
69846
+ ['application/json'],
69847
+ ['application/json']
69848
+ );
69849
+ }
69850
+
68986
69851
  /**
68987
69852
  * Get a single Instagram data ingestion rule.
68988
69853
  *
@@ -69402,6 +70267,41 @@ class SocialMediaApi {
69402
70267
  );
69403
70268
  }
69404
70269
 
70270
+ /**
70271
+ * Update the status of a Google Business Profile data ingestion rule.
70272
+ *
70273
+ * @param {String} topicId topicId
70274
+ * @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
70275
+ * @param {Object} opts Optional parameters
70276
+ * @param {Object} opts.body
70277
+ * patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
70278
+ */
70279
+ patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
70280
+ opts = opts || {};
70281
+
70282
+ // verify the required parameter 'topicId' is set
70283
+ if (topicId === undefined || topicId === null || topicId === '') {
70284
+ throw 'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
70285
+ }
70286
+ // verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
70287
+ if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
70288
+ throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
70289
+ }
70290
+
70291
+ return this.apiClient.callApi(
70292
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
70293
+ 'PATCH',
70294
+ { 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
70295
+ { },
70296
+ { },
70297
+ { },
70298
+ opts['body'],
70299
+ ['PureCloud OAuth'],
70300
+ ['application/json'],
70301
+ ['application/json']
70302
+ );
70303
+ }
70304
+
69405
70305
  /**
69406
70306
  * Update the status of a Instagram data ingestion rule.
69407
70307
  *
@@ -69636,6 +70536,36 @@ class SocialMediaApi {
69636
70536
  );
69637
70537
  }
69638
70538
 
70539
+ /**
70540
+ * Create a Google Business Profile data ingestion rule.
70541
+ *
70542
+ * @param {String} topicId topicId
70543
+ * @param {Object} opts Optional parameters
70544
+ * @param {Object} opts.body
70545
+ * postSocialmediaTopicDataingestionrulesGooglebusinessprofile is a preview method and is subject to both breaking and non-breaking changes at any time without notice
70546
+ */
70547
+ postSocialmediaTopicDataingestionrulesGooglebusinessprofile(topicId, opts) {
70548
+ opts = opts || {};
70549
+
70550
+ // verify the required parameter 'topicId' is set
70551
+ if (topicId === undefined || topicId === null || topicId === '') {
70552
+ throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesGooglebusinessprofile';
70553
+ }
70554
+
70555
+ return this.apiClient.callApi(
70556
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile',
70557
+ 'POST',
70558
+ { 'topicId': topicId },
70559
+ { },
70560
+ { },
70561
+ { },
70562
+ opts['body'],
70563
+ ['PureCloud OAuth'],
70564
+ ['application/json'],
70565
+ ['application/json']
70566
+ );
70567
+ }
70568
+
69639
70569
  /**
69640
70570
  * Create an Instagram data ingestion rule.
69641
70571
  *
@@ -69905,6 +70835,41 @@ class SocialMediaApi {
69905
70835
  );
69906
70836
  }
69907
70837
 
70838
+ /**
70839
+ * Update the Google Business Profile data ingestion rule.
70840
+ *
70841
+ * @param {String} topicId topicId
70842
+ * @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
70843
+ * @param {Object} opts Optional parameters
70844
+ * @param {Object} opts.body
70845
+ * putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
70846
+ */
70847
+ putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
70848
+ opts = opts || {};
70849
+
70850
+ // verify the required parameter 'topicId' is set
70851
+ if (topicId === undefined || topicId === null || topicId === '') {
70852
+ throw 'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
70853
+ }
70854
+ // verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
70855
+ if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
70856
+ throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
70857
+ }
70858
+
70859
+ return this.apiClient.callApi(
70860
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
70861
+ 'PUT',
70862
+ { 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
70863
+ { },
70864
+ { },
70865
+ { },
70866
+ opts['body'],
70867
+ ['PureCloud OAuth'],
70868
+ ['application/json'],
70869
+ ['application/json']
70870
+ );
70871
+ }
70872
+
69908
70873
  /**
69909
70874
  * Update the Instagram data ingestion rule.
69910
70875
  *
@@ -70013,7 +70978,7 @@ class SpeechTextAnalyticsApi {
70013
70978
  /**
70014
70979
  * SpeechTextAnalytics service.
70015
70980
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
70016
- * @version 245.0.0
70981
+ * @version 246.0.0
70017
70982
  */
70018
70983
 
70019
70984
  /**
@@ -71689,7 +72654,7 @@ class StationsApi {
71689
72654
  /**
71690
72655
  * Stations service.
71691
72656
  * @module purecloud-platform-client-v2/api/StationsApi
71692
- * @version 245.0.0
72657
+ * @version 246.0.0
71693
72658
  */
71694
72659
 
71695
72660
  /**
@@ -71791,7 +72756,7 @@ class SuggestApi {
71791
72756
  /**
71792
72757
  * Suggest service.
71793
72758
  * @module purecloud-platform-client-v2/api/SuggestApi
71794
- * @version 245.0.0
72759
+ * @version 246.0.0
71795
72760
  */
71796
72761
 
71797
72762
  /**
@@ -71930,7 +72895,7 @@ class TaskManagementApi {
71930
72895
  /**
71931
72896
  * TaskManagement service.
71932
72897
  * @module purecloud-platform-client-v2/api/TaskManagementApi
71933
- * @version 245.0.0
72898
+ * @version 246.0.0
71934
72899
  */
71935
72900
 
71936
72901
  /**
@@ -74092,7 +75057,7 @@ class TeamsApi {
74092
75057
  /**
74093
75058
  * Teams service.
74094
75059
  * @module purecloud-platform-client-v2/api/TeamsApi
74095
- * @version 245.0.0
75060
+ * @version 246.0.0
74096
75061
  */
74097
75062
 
74098
75063
  /**
@@ -74397,7 +75362,7 @@ class TelephonyApi {
74397
75362
  /**
74398
75363
  * Telephony service.
74399
75364
  * @module purecloud-platform-client-v2/api/TelephonyApi
74400
- * @version 245.0.0
75365
+ * @version 246.0.0
74401
75366
  */
74402
75367
 
74403
75368
  /**
@@ -74679,7 +75644,7 @@ class TelephonyProvidersEdgeApi {
74679
75644
  /**
74680
75645
  * TelephonyProvidersEdge service.
74681
75646
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
74682
- * @version 245.0.0
75647
+ * @version 246.0.0
74683
75648
  */
74684
75649
 
74685
75650
  /**
@@ -78172,7 +79137,7 @@ class TextbotsApi {
78172
79137
  /**
78173
79138
  * Textbots service.
78174
79139
  * @module purecloud-platform-client-v2/api/TextbotsApi
78175
- * @version 245.0.0
79140
+ * @version 246.0.0
78176
79141
  */
78177
79142
 
78178
79143
  /**
@@ -78301,7 +79266,7 @@ class TokensApi {
78301
79266
  /**
78302
79267
  * Tokens service.
78303
79268
  * @module purecloud-platform-client-v2/api/TokensApi
78304
- * @version 245.0.0
79269
+ * @version 246.0.0
78305
79270
  */
78306
79271
 
78307
79272
  /**
@@ -78455,7 +79420,7 @@ class UploadsApi {
78455
79420
  /**
78456
79421
  * Uploads service.
78457
79422
  * @module purecloud-platform-client-v2/api/UploadsApi
78458
- * @version 245.0.0
79423
+ * @version 246.0.0
78459
79424
  */
78460
79425
 
78461
79426
  /**
@@ -78771,7 +79736,7 @@ class UsageApi {
78771
79736
  /**
78772
79737
  * Usage service.
78773
79738
  * @module purecloud-platform-client-v2/api/UsageApi
78774
- * @version 245.0.0
79739
+ * @version 246.0.0
78775
79740
  */
78776
79741
 
78777
79742
  /**
@@ -79106,7 +80071,7 @@ class UserRecordingsApi {
79106
80071
  /**
79107
80072
  * UserRecordings service.
79108
80073
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
79109
- * @version 245.0.0
80074
+ * @version 246.0.0
79110
80075
  */
79111
80076
 
79112
80077
  /**
@@ -79290,7 +80255,7 @@ class UsersApi {
79290
80255
  /**
79291
80256
  * Users service.
79292
80257
  * @module purecloud-platform-client-v2/api/UsersApi
79293
- * @version 245.0.0
80258
+ * @version 246.0.0
79294
80259
  */
79295
80260
 
79296
80261
  /**
@@ -82740,7 +83705,7 @@ class UsersRulesApi {
82740
83705
  /**
82741
83706
  * UsersRules service.
82742
83707
  * @module purecloud-platform-client-v2/api/UsersRulesApi
82743
- * @version 245.0.0
83708
+ * @version 246.0.0
82744
83709
  */
82745
83710
 
82746
83711
  /**
@@ -82759,7 +83724,6 @@ class UsersRulesApi {
82759
83724
  * Delete an existing users rule
82760
83725
  *
82761
83726
  * @param {String} ruleId The id of the rule
82762
- * deleteUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
82763
83727
  */
82764
83728
  deleteUsersRule(ruleId) {
82765
83729
  // verify the required parameter 'ruleId' is set
@@ -82785,7 +83749,6 @@ class UsersRulesApi {
82785
83749
  * Get a users rule
82786
83750
  *
82787
83751
  * @param {String} ruleId The ID of the rule to retrieve
82788
- * getUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
82789
83752
  */
82790
83753
  getUsersRule(ruleId) {
82791
83754
  // verify the required parameter 'ruleId' is set
@@ -82813,7 +83776,6 @@ class UsersRulesApi {
82813
83776
  * @param {String} ruleId The ID of the rule for which to retrieve dependents
82814
83777
  * @param {Object} ruleType The type of the dependent
82815
83778
  * @param {String} typeId The type ID of the dependent
82816
- * getUsersRuleDependentTypeId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
82817
83779
  */
82818
83780
  getUsersRuleDependentTypeId(ruleId, ruleType, typeId) {
82819
83781
  // verify the required parameter 'ruleId' is set
@@ -82851,7 +83813,6 @@ class UsersRulesApi {
82851
83813
  * @param {Number} opts.pageSize Number of results per page (default to 25)
82852
83814
  * @param {Number} opts.pageNumber Page number (default to 1)
82853
83815
  * @param {Object} opts.sortOrder Sort order for dependents (by last run date, then created date) (default to descending)
82854
- * getUsersRuleDependents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
82855
83816
  */
82856
83817
  getUsersRuleDependents(ruleId, opts) {
82857
83818
  opts = opts || {};
@@ -82886,7 +83847,6 @@ class UsersRulesApi {
82886
83847
  * @param {Boolean} opts.enabled Whether to list enabled or disabled rules
82887
83848
  * @param {String} opts.searchTerm a search term for finding a rule by name
82888
83849
  * @param {Object} opts.sortOrder sort rules by name, ascending, descending (default to ascending)
82889
- * getUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
82890
83850
  */
82891
83851
  getUsersRules(types, opts) {
82892
83852
  opts = opts || {};
@@ -82914,7 +83874,6 @@ class UsersRulesApi {
82914
83874
  * Get the settings for a specific users rule type
82915
83875
  *
82916
83876
  * @param {Object} ruleType The type of the rule
82917
- * getUsersRulesSetting is a preview method and is subject to both breaking and non-breaking changes at any time without notice
82918
83877
  */
82919
83878
  getUsersRulesSetting(ruleType) {
82920
83879
  // verify the required parameter 'ruleType' is set
@@ -82941,7 +83900,6 @@ class UsersRulesApi {
82941
83900
  * This will update an existing users rule with the specified fields.
82942
83901
  * @param {String} ruleId The ID of the rule to update
82943
83902
  * @param {Object} body updateRuleRequest
82944
- * patchUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
82945
83903
  */
82946
83904
  patchUsersRule(ruleId, body) {
82947
83905
  // verify the required parameter 'ruleId' is set
@@ -82971,7 +83929,6 @@ class UsersRulesApi {
82971
83929
  * Create a new rule
82972
83930
  * This will create a new rule with the specified fields.
82973
83931
  * @param {Object} body usersRulesCreateRuleRequest
82974
- * postUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
82975
83932
  */
82976
83933
  postUsersRules(body) {
82977
83934
  // verify the required parameter 'body' is set
@@ -83000,7 +83957,6 @@ class UsersRulesApi {
83000
83957
  * @param {Object} opts Optional parameters
83001
83958
  * @param {Number} opts.pageNumber Page number (default to 1)
83002
83959
  * @param {Number} opts.pageSize Number of results per page (default to 25)
83003
- * postUsersRulesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
83004
83960
  */
83005
83961
  postUsersRulesQuery(body, opts) {
83006
83962
  opts = opts || {};
@@ -83030,7 +83986,7 @@ class UtilitiesApi {
83030
83986
  /**
83031
83987
  * Utilities service.
83032
83988
  * @module purecloud-platform-client-v2/api/UtilitiesApi
83033
- * @version 245.0.0
83989
+ * @version 246.0.0
83034
83990
  */
83035
83991
 
83036
83992
  /**
@@ -83141,7 +84097,7 @@ class VoicemailApi {
83141
84097
  /**
83142
84098
  * Voicemail service.
83143
84099
  * @module purecloud-platform-client-v2/api/VoicemailApi
83144
- * @version 245.0.0
84100
+ * @version 246.0.0
83145
84101
  */
83146
84102
 
83147
84103
  /**
@@ -83863,7 +84819,7 @@ class WebChatApi {
83863
84819
  /**
83864
84820
  * WebChat service.
83865
84821
  * @module purecloud-platform-client-v2/api/WebChatApi
83866
- * @version 245.0.0
84822
+ * @version 246.0.0
83867
84823
  */
83868
84824
 
83869
84825
  /**
@@ -84426,7 +85382,7 @@ class WebDeploymentsApi {
84426
85382
  /**
84427
85383
  * WebDeployments service.
84428
85384
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
84429
- * @version 245.0.0
85385
+ * @version 246.0.0
84430
85386
  */
84431
85387
 
84432
85388
  /**
@@ -84578,10 +85534,16 @@ class WebDeploymentsApi {
84578
85534
 
84579
85535
  /**
84580
85536
  * Get the versions of a configuration
84581
- * This returns the 50 most recent versions for this configuration
85537
+ *
84582
85538
  * @param {String} configurationId The configuration version ID
85539
+ * @param {Object} opts Optional parameters
85540
+ * @param {String} opts.pageSize Number of entities to return. Defaults to 300.
85541
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
85542
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
84583
85543
  */
84584
- getWebdeploymentsConfigurationVersions(configurationId) {
85544
+ getWebdeploymentsConfigurationVersions(configurationId, opts) {
85545
+ opts = opts || {};
85546
+
84585
85547
  // verify the required parameter 'configurationId' is set
84586
85548
  if (configurationId === undefined || configurationId === null || configurationId === '') {
84587
85549
  throw 'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersions';
@@ -84591,7 +85553,7 @@ class WebDeploymentsApi {
84591
85553
  '/api/v2/webdeployments/configurations/{configurationId}/versions',
84592
85554
  'GET',
84593
85555
  { 'configurationId': configurationId },
84594
- { },
85556
+ { 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'] },
84595
85557
  { },
84596
85558
  { },
84597
85559
  null,
@@ -84630,6 +85592,9 @@ class WebDeploymentsApi {
84630
85592
  * View configuration drafts
84631
85593
  *
84632
85594
  * @param {Object} opts Optional parameters
85595
+ * @param {String} opts.pageSize Number of entities to return. Defaults to 300.
85596
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
85597
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
84633
85598
  * @param {Boolean} opts.showOnlyPublished Filter by published status.
84634
85599
  */
84635
85600
  getWebdeploymentsConfigurations(opts) {
@@ -84640,7 +85605,7 @@ class WebDeploymentsApi {
84640
85605
  '/api/v2/webdeployments/configurations',
84641
85606
  'GET',
84642
85607
  { },
84643
- { 'showOnlyPublished': opts['showOnlyPublished'] },
85608
+ { 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'],'showOnlyPublished': opts['showOnlyPublished'] },
84644
85609
  { },
84645
85610
  { },
84646
85611
  null,
@@ -84768,6 +85733,9 @@ class WebDeploymentsApi {
84768
85733
  * Get deployments
84769
85734
  *
84770
85735
  * @param {Object} opts Optional parameters
85736
+ * @param {String} opts.pageSize Number of entities to return. Defaults to 300.
85737
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
85738
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
84771
85739
  * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
84772
85740
  */
84773
85741
  getWebdeploymentsDeployments(opts) {
@@ -84778,7 +85746,7 @@ class WebDeploymentsApi {
84778
85746
  '/api/v2/webdeployments/deployments',
84779
85747
  'GET',
84780
85748
  { },
84781
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
85749
+ { 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
84782
85750
  { },
84783
85751
  { },
84784
85752
  null,
@@ -85008,7 +85976,7 @@ class WebMessagingApi {
85008
85976
  /**
85009
85977
  * WebMessaging service.
85010
85978
  * @module purecloud-platform-client-v2/api/WebMessagingApi
85011
- * @version 245.0.0
85979
+ * @version 246.0.0
85012
85980
  */
85013
85981
 
85014
85982
  /**
@@ -85154,7 +86122,7 @@ class WidgetsApi {
85154
86122
  /**
85155
86123
  * Widgets service.
85156
86124
  * @module purecloud-platform-client-v2/api/WidgetsApi
85157
- * @version 245.0.0
86125
+ * @version 246.0.0
85158
86126
  */
85159
86127
 
85160
86128
  /**
@@ -85305,7 +86273,7 @@ class WorkforceManagementApi {
85305
86273
  /**
85306
86274
  * WorkforceManagement service.
85307
86275
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
85308
- * @version 245.0.0
86276
+ * @version 246.0.0
85309
86277
  */
85310
86278
 
85311
86279
  /**
@@ -93596,7 +94564,7 @@ class WorkforceManagementApi {
93596
94564
  * </pre>
93597
94565
  * </p>
93598
94566
  * @module purecloud-platform-client-v2/index
93599
- * @version 245.0.0
94567
+ * @version 246.0.0
93600
94568
  */
93601
94569
  class platformClient {
93602
94570
  constructor() {