purecloud-platform-client-v2 223.0.0 → 224.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 (93) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1046 -116
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1046 -116
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +378 -120
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +378 -120
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +730 -249
  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/AIStudioApi.js +387 -0
  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 +2 -2
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +4 -2
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +49 -4
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +292 -16
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +89 -2
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +27 -1
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +31 -1
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +2 -2
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +43 -2
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +31 -1
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +2 -2
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +16 -10
  93. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -687,7 +687,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
687
687
 
688
688
  /**
689
689
  * @module purecloud-platform-client-v2/ApiClient
690
- * @version 223.0.0
690
+ * @version 224.0.0
691
691
  */
692
692
  class ApiClient {
693
693
  /**
@@ -2227,11 +2227,393 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2227
2227
  }
2228
2228
  }
2229
2229
 
2230
+ class AIStudioApi {
2231
+ /**
2232
+ * AIStudio service.
2233
+ * @module purecloud-platform-client-v2/api/AIStudioApi
2234
+ * @version 224.0.0
2235
+ */
2236
+
2237
+ /**
2238
+ * Constructs a new AIStudioApi.
2239
+ * @alias module:purecloud-platform-client-v2/api/AIStudioApi
2240
+ * @class
2241
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
2242
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
2243
+ */
2244
+ constructor(apiClient) {
2245
+ this.apiClient = apiClient || ApiClient.instance;
2246
+ }
2247
+
2248
+
2249
+ /**
2250
+ * Start the deletion of a guide.
2251
+ *
2252
+ * @param {String} guideId Guide ID
2253
+ * deleteGuideJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2254
+ */
2255
+ deleteGuideJobs(guideId) {
2256
+ // verify the required parameter 'guideId' is set
2257
+ if (guideId === undefined || guideId === null) {
2258
+ throw 'Missing the required parameter "guideId" when calling deleteGuideJobs';
2259
+ }
2260
+
2261
+ return this.apiClient.callApi(
2262
+ '/api/v2/guides/{guideId}/jobs',
2263
+ 'DELETE',
2264
+ { 'guideId': guideId },
2265
+ { },
2266
+ { },
2267
+ { },
2268
+ null,
2269
+ ['PureCloud OAuth'],
2270
+ ['application/json'],
2271
+ ['application/json']
2272
+ );
2273
+ }
2274
+
2275
+ /**
2276
+ * Get guide.
2277
+ *
2278
+ * @param {String} guideId Guide ID
2279
+ * getGuide is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2280
+ */
2281
+ getGuide(guideId) {
2282
+ // verify the required parameter 'guideId' is set
2283
+ if (guideId === undefined || guideId === null) {
2284
+ throw 'Missing the required parameter "guideId" when calling getGuide';
2285
+ }
2286
+
2287
+ return this.apiClient.callApi(
2288
+ '/api/v2/guides/{guideId}',
2289
+ 'GET',
2290
+ { 'guideId': guideId },
2291
+ { },
2292
+ { },
2293
+ { },
2294
+ null,
2295
+ ['PureCloud OAuth'],
2296
+ ['application/json'],
2297
+ ['application/json']
2298
+ );
2299
+ }
2300
+
2301
+ /**
2302
+ * Get the specified guide deletion job.
2303
+ *
2304
+ * @param {String} guideId Guide ID
2305
+ * @param {String} jobId jobId
2306
+ * getGuideJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2307
+ */
2308
+ getGuideJob(guideId, jobId) {
2309
+ // verify the required parameter 'guideId' is set
2310
+ if (guideId === undefined || guideId === null) {
2311
+ throw 'Missing the required parameter "guideId" when calling getGuideJob';
2312
+ }
2313
+ // verify the required parameter 'jobId' is set
2314
+ if (jobId === undefined || jobId === null) {
2315
+ throw 'Missing the required parameter "jobId" when calling getGuideJob';
2316
+ }
2317
+
2318
+ return this.apiClient.callApi(
2319
+ '/api/v2/guides/{guideId}/jobs/{jobId}',
2320
+ 'GET',
2321
+ { 'guideId': guideId,'jobId': jobId },
2322
+ { },
2323
+ { },
2324
+ { },
2325
+ null,
2326
+ ['PureCloud OAuth'],
2327
+ ['application/json'],
2328
+ ['application/json']
2329
+ );
2330
+ }
2331
+
2332
+ /**
2333
+ * Get a guide version.
2334
+ *
2335
+ * @param {String} guideId Guide ID
2336
+ * @param {String} versionId Version ID
2337
+ * getGuideVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2338
+ */
2339
+ getGuideVersion(guideId, versionId) {
2340
+ // verify the required parameter 'guideId' is set
2341
+ if (guideId === undefined || guideId === null) {
2342
+ throw 'Missing the required parameter "guideId" when calling getGuideVersion';
2343
+ }
2344
+ // verify the required parameter 'versionId' is set
2345
+ if (versionId === undefined || versionId === null) {
2346
+ throw 'Missing the required parameter "versionId" when calling getGuideVersion';
2347
+ }
2348
+
2349
+ return this.apiClient.callApi(
2350
+ '/api/v2/guides/{guideId}/versions/{versionId}',
2351
+ 'GET',
2352
+ { 'guideId': guideId,'versionId': versionId },
2353
+ { },
2354
+ { },
2355
+ { },
2356
+ null,
2357
+ ['PureCloud OAuth'],
2358
+ ['application/json'],
2359
+ ['application/json']
2360
+ );
2361
+ }
2362
+
2363
+ /**
2364
+ * Get the status of the publishing job for this guide version.
2365
+ *
2366
+ * @param {String} guideId Guide ID
2367
+ * @param {String} versionId Version ID
2368
+ * @param {String} jobId jobId
2369
+ * getGuideVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2370
+ */
2371
+ getGuideVersionJob(guideId, versionId, jobId) {
2372
+ // verify the required parameter 'guideId' is set
2373
+ if (guideId === undefined || guideId === null) {
2374
+ throw 'Missing the required parameter "guideId" when calling getGuideVersionJob';
2375
+ }
2376
+ // verify the required parameter 'versionId' is set
2377
+ if (versionId === undefined || versionId === null) {
2378
+ throw 'Missing the required parameter "versionId" when calling getGuideVersionJob';
2379
+ }
2380
+ // verify the required parameter 'jobId' is set
2381
+ if (jobId === undefined || jobId === null) {
2382
+ throw 'Missing the required parameter "jobId" when calling getGuideVersionJob';
2383
+ }
2384
+
2385
+ return this.apiClient.callApi(
2386
+ '/api/v2/guides/{guideId}/versions/{versionId}/jobs/{jobId}',
2387
+ 'GET',
2388
+ { 'guideId': guideId,'versionId': versionId,'jobId': jobId },
2389
+ { },
2390
+ { },
2391
+ { },
2392
+ null,
2393
+ ['PureCloud OAuth'],
2394
+ ['application/json'],
2395
+ ['application/json']
2396
+ );
2397
+ }
2398
+
2399
+ /**
2400
+ * Get all guides.
2401
+ *
2402
+ * @param {Object} opts Optional parameters
2403
+ * @param {String} opts.name Filter by matching name - case insensitive.
2404
+ * @param {String} opts.nameContains Filter by name contains - case insensitive.
2405
+ * @param {Object} opts.status Filter by status.
2406
+ * @param {Object} opts.sortBy Sort by. Default value dateModified. (default to dateModified)
2407
+ * @param {Object} opts.sortOrder Sort Order. Default value desc. (default to desc)
2408
+ * @param {Number} opts.pageNumber Page number. (default to 1)
2409
+ * @param {Number} opts.pageSize Page size. The maximum page size is 100. (default to 25)
2410
+ * getGuides is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2411
+ */
2412
+ getGuides(opts) {
2413
+ opts = opts || {};
2414
+
2415
+
2416
+ return this.apiClient.callApi(
2417
+ '/api/v2/guides',
2418
+ 'GET',
2419
+ { },
2420
+ { 'name': opts['name'],'nameContains': opts['nameContains'],'status': opts['status'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
2421
+ { },
2422
+ { },
2423
+ null,
2424
+ ['PureCloud OAuth'],
2425
+ ['application/json'],
2426
+ ['application/json']
2427
+ );
2428
+ }
2429
+
2430
+ /**
2431
+ * Get the status of the guide content generation job.
2432
+ *
2433
+ * @param {String} jobId jobId
2434
+ * getGuidesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2435
+ */
2436
+ getGuidesJob(jobId) {
2437
+ // verify the required parameter 'jobId' is set
2438
+ if (jobId === undefined || jobId === null) {
2439
+ throw 'Missing the required parameter "jobId" when calling getGuidesJob';
2440
+ }
2441
+
2442
+ return this.apiClient.callApi(
2443
+ '/api/v2/guides/jobs/{jobId}',
2444
+ 'GET',
2445
+ { 'jobId': jobId },
2446
+ { },
2447
+ { },
2448
+ { },
2449
+ null,
2450
+ ['PureCloud OAuth'],
2451
+ ['application/json'],
2452
+ ['application/json']
2453
+ );
2454
+ }
2455
+
2456
+ /**
2457
+ * Update a guide version.
2458
+ *
2459
+ * @param {String} guideId Guide ID
2460
+ * @param {String} versionId Version ID
2461
+ * @param {Object} body
2462
+ * patchGuideVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2463
+ */
2464
+ patchGuideVersion(guideId, versionId, body) {
2465
+ // verify the required parameter 'guideId' is set
2466
+ if (guideId === undefined || guideId === null) {
2467
+ throw 'Missing the required parameter "guideId" when calling patchGuideVersion';
2468
+ }
2469
+ // verify the required parameter 'versionId' is set
2470
+ if (versionId === undefined || versionId === null) {
2471
+ throw 'Missing the required parameter "versionId" when calling patchGuideVersion';
2472
+ }
2473
+ // verify the required parameter 'body' is set
2474
+ if (body === undefined || body === null) {
2475
+ throw 'Missing the required parameter "body" when calling patchGuideVersion';
2476
+ }
2477
+
2478
+ return this.apiClient.callApi(
2479
+ '/api/v2/guides/{guideId}/versions/{versionId}',
2480
+ 'PATCH',
2481
+ { 'guideId': guideId,'versionId': versionId },
2482
+ { },
2483
+ { },
2484
+ { },
2485
+ body,
2486
+ ['PureCloud OAuth'],
2487
+ ['application/json'],
2488
+ ['application/json']
2489
+ );
2490
+ }
2491
+
2492
+ /**
2493
+ * Start the publishing of a guide version.
2494
+ *
2495
+ * @param {String} guideId Guide ID
2496
+ * @param {String} versionId Version ID
2497
+ * @param {Object} body
2498
+ * postGuideVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2499
+ */
2500
+ postGuideVersionJobs(guideId, versionId, body) {
2501
+ // verify the required parameter 'guideId' is set
2502
+ if (guideId === undefined || guideId === null) {
2503
+ throw 'Missing the required parameter "guideId" when calling postGuideVersionJobs';
2504
+ }
2505
+ // verify the required parameter 'versionId' is set
2506
+ if (versionId === undefined || versionId === null) {
2507
+ throw 'Missing the required parameter "versionId" when calling postGuideVersionJobs';
2508
+ }
2509
+ // verify the required parameter 'body' is set
2510
+ if (body === undefined || body === null) {
2511
+ throw 'Missing the required parameter "body" when calling postGuideVersionJobs';
2512
+ }
2513
+
2514
+ return this.apiClient.callApi(
2515
+ '/api/v2/guides/{guideId}/versions/{versionId}/jobs',
2516
+ 'POST',
2517
+ { 'guideId': guideId,'versionId': versionId },
2518
+ { },
2519
+ { },
2520
+ { },
2521
+ body,
2522
+ ['PureCloud OAuth'],
2523
+ ['application/json'],
2524
+ ['application/json']
2525
+ );
2526
+ }
2527
+
2528
+ /**
2529
+ * Create a guide version.
2530
+ *
2531
+ * @param {String} guideId Guide ID
2532
+ * @param {Object} opts Optional parameters
2533
+ * @param {Object} opts.body
2534
+ * postGuideVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2535
+ */
2536
+ postGuideVersions(guideId, opts) {
2537
+ opts = opts || {};
2538
+
2539
+ // verify the required parameter 'guideId' is set
2540
+ if (guideId === undefined || guideId === null) {
2541
+ throw 'Missing the required parameter "guideId" when calling postGuideVersions';
2542
+ }
2543
+
2544
+ return this.apiClient.callApi(
2545
+ '/api/v2/guides/{guideId}/versions',
2546
+ 'POST',
2547
+ { 'guideId': guideId },
2548
+ { },
2549
+ { },
2550
+ { },
2551
+ opts['body'],
2552
+ ['PureCloud OAuth'],
2553
+ ['application/json'],
2554
+ ['application/json']
2555
+ );
2556
+ }
2557
+
2558
+ /**
2559
+ * Create a guide.
2560
+ *
2561
+ * @param {Object} body
2562
+ * postGuides is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2563
+ */
2564
+ postGuides(body) {
2565
+ // verify the required parameter 'body' is set
2566
+ if (body === undefined || body === null) {
2567
+ throw 'Missing the required parameter "body" when calling postGuides';
2568
+ }
2569
+
2570
+ return this.apiClient.callApi(
2571
+ '/api/v2/guides',
2572
+ 'POST',
2573
+ { },
2574
+ { },
2575
+ { },
2576
+ { },
2577
+ body,
2578
+ ['PureCloud OAuth'],
2579
+ ['application/json'],
2580
+ ['application/json']
2581
+ );
2582
+ }
2583
+
2584
+ /**
2585
+ * Start a guide content generation job.
2586
+ *
2587
+ * @param {Object} body
2588
+ * postGuidesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2589
+ */
2590
+ postGuidesJobs(body) {
2591
+ // verify the required parameter 'body' is set
2592
+ if (body === undefined || body === null) {
2593
+ throw 'Missing the required parameter "body" when calling postGuidesJobs';
2594
+ }
2595
+
2596
+ return this.apiClient.callApi(
2597
+ '/api/v2/guides/jobs',
2598
+ 'POST',
2599
+ { },
2600
+ { },
2601
+ { },
2602
+ { },
2603
+ body,
2604
+ ['PureCloud OAuth'],
2605
+ ['application/json'],
2606
+ ['application/json']
2607
+ );
2608
+ }
2609
+
2610
+ }
2611
+
2230
2612
  class AgentAssistantsApi {
2231
2613
  /**
2232
2614
  * AgentAssistants service.
2233
2615
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
2234
- * @version 223.0.0
2616
+ * @version 224.0.0
2235
2617
  */
2236
2618
 
2237
2619
  /**
@@ -2608,7 +2990,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2608
2990
  /**
2609
2991
  * AgentCopilot service.
2610
2992
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
2611
- * @version 223.0.0
2993
+ * @version 224.0.0
2612
2994
  */
2613
2995
 
2614
2996
  /**
@@ -2684,7 +3066,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2684
3066
  /**
2685
3067
  * AgentUI service.
2686
3068
  * @module purecloud-platform-client-v2/api/AgentUIApi
2687
- * @version 223.0.0
3069
+ * @version 224.0.0
2688
3070
  */
2689
3071
 
2690
3072
  /**
@@ -2815,7 +3197,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2815
3197
  /**
2816
3198
  * Alerting service.
2817
3199
  * @module purecloud-platform-client-v2/api/AlertingApi
2818
- * @version 223.0.0
3200
+ * @version 224.0.0
2819
3201
  */
2820
3202
 
2821
3203
  /**
@@ -3216,7 +3598,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3216
3598
  /**
3217
3599
  * Analytics service.
3218
3600
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3219
- * @version 223.0.0
3601
+ * @version 224.0.0
3220
3602
  */
3221
3603
 
3222
3604
  /**
@@ -4789,7 +5171,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4789
5171
  }
4790
5172
 
4791
5173
  /**
4792
- * Count agents by segment type
5174
+ * Count agents by different groupings
4793
5175
  *
4794
5176
  * @param {Object} body query
4795
5177
  */
@@ -6037,7 +6419,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6037
6419
  /**
6038
6420
  * Architect service.
6039
6421
  * @module purecloud-platform-client-v2/api/ArchitectApi
6040
- * @version 223.0.0
6422
+ * @version 224.0.0
6041
6423
  */
6042
6424
 
6043
6425
  /**
@@ -6923,7 +7305,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6923
7305
 
6924
7306
  /**
6925
7307
  * Get a pageable list of basic emergency group objects filterable by query parameters.
6926
- * This returns emergency groups consisting of name and division. If one or more IDs are specified, the search will fetch flow outcomes that match the given ID(s) and not use any additional supplied query parameters in the search.
7308
+ * This returns emergency groups consisting of name and division. If one or more IDs are specified, the search will fetch emergency groups that match the given ID(s) and not use any additional supplied query parameters in the search.
6927
7309
  * @param {Object} opts Optional parameters
6928
7310
  * @param {Number} opts.pageNumber Page number (default to 1)
6929
7311
  * @param {Number} opts.pageSize Page size (default to 25)
@@ -9081,6 +9463,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9081
9463
  *
9082
9464
  * @param {String} promptId Prompt ID
9083
9465
  * @param {String} languageCode Language
9466
+ * postArchitectPromptResourceUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9084
9467
  */
9085
9468
  postArchitectPromptResourceUploads(promptId, languageCode) {
9086
9469
  // verify the required parameter 'promptId' is set
@@ -9241,6 +9624,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9241
9624
  *
9242
9625
  * @param {String} promptId Prompt ID
9243
9626
  * @param {String} languageCode Language
9627
+ * postArchitectSystempromptResourceUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9244
9628
  */
9245
9629
  postArchitectSystempromptResourceUploads(promptId, languageCode) {
9246
9630
  // verify the required parameter 'promptId' is set
@@ -10330,7 +10714,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10330
10714
  /**
10331
10715
  * Audit service.
10332
10716
  * @module purecloud-platform-client-v2/api/AuditApi
10333
- * @version 223.0.0
10717
+ * @version 224.0.0
10334
10718
  */
10335
10719
 
10336
10720
  /**
@@ -10531,7 +10915,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10531
10915
  /**
10532
10916
  * Authorization service.
10533
10917
  * @module purecloud-platform-client-v2/api/AuthorizationApi
10534
- * @version 223.0.0
10918
+ * @version 224.0.0
10535
10919
  */
10536
10920
 
10537
10921
  /**
@@ -12246,7 +12630,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12246
12630
  /**
12247
12631
  * Billing service.
12248
12632
  * @module purecloud-platform-client-v2/api/BillingApi
12249
- * @version 223.0.0
12633
+ * @version 224.0.0
12250
12634
  */
12251
12635
 
12252
12636
  /**
@@ -12502,7 +12886,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12502
12886
  /**
12503
12887
  * BusinessRules service.
12504
12888
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
12505
- * @version 223.0.0
12889
+ * @version 224.0.0
12506
12890
  */
12507
12891
 
12508
12892
  /**
@@ -12836,6 +13220,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12836
13220
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100.
12837
13221
  * @param {String} opts.schemaId Search for decision tables that use the schema with this ID. Cannot be combined with name search. Search results will not be paginated if used.
12838
13222
  * @param {String} opts.name Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name. Cannot be combined with schema search. Search results will not be paginated if used.
13223
+ * @param {Boolean} opts.withPublishedVersion Filters results to only decision tables that have at least one version in Published status
13224
+ * @param {Array.<String>} opts.expand Fields to expand in response
13225
+ * @param {Array.<String>} opts.ids Decision table IDs to search for
12839
13226
  * getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12840
13227
  */
12841
13228
  getBusinessrulesDecisiontablesSearch(opts) {
@@ -12846,7 +13233,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12846
13233
  '/api/v2/businessrules/decisiontables/search',
12847
13234
  'GET',
12848
13235
  { },
12849
- { 'after': opts['after'],'pageSize': opts['pageSize'],'schemaId': opts['schemaId'],'name': opts['name'] },
13236
+ { 'after': opts['after'],'pageSize': opts['pageSize'],'schemaId': opts['schemaId'],'name': opts['name'],'withPublishedVersion': opts['withPublishedVersion'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi') },
12850
13237
  { },
12851
13238
  { },
12852
13239
  null,
@@ -13018,12 +13405,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13018
13405
  }
13019
13406
 
13020
13407
  /**
13021
- * Update a decision table row
13408
+ * Partially update a decision table row. Will be deprecated, we should use PUT request.
13022
13409
  *
13023
13410
  * @param {String} tableId Table ID
13024
13411
  * @param {Number} tableVersion Table Version
13025
13412
  * @param {String} rowId Row ID
13026
- * @param {Object} body Update decision table row request
13413
+ * @param {Object} body Partially update decision table row request
13414
+ * @deprecated
13027
13415
  * patchBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13028
13416
  */
13029
13417
  patchBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body) {
@@ -13378,6 +13766,47 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13378
13766
  );
13379
13767
  }
13380
13768
 
13769
+ /**
13770
+ * Full update a decision table row
13771
+ *
13772
+ * @param {String} tableId Table ID
13773
+ * @param {Number} tableVersion Table Version
13774
+ * @param {String} rowId Row ID
13775
+ * @param {Object} body Full update decision table row request
13776
+ * putBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13777
+ */
13778
+ putBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body) {
13779
+ // verify the required parameter 'tableId' is set
13780
+ if (tableId === undefined || tableId === null) {
13781
+ throw 'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionRow';
13782
+ }
13783
+ // verify the required parameter 'tableVersion' is set
13784
+ if (tableVersion === undefined || tableVersion === null) {
13785
+ throw 'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionRow';
13786
+ }
13787
+ // verify the required parameter 'rowId' is set
13788
+ if (rowId === undefined || rowId === null) {
13789
+ throw 'Missing the required parameter "rowId" when calling putBusinessrulesDecisiontableVersionRow';
13790
+ }
13791
+ // verify the required parameter 'body' is set
13792
+ if (body === undefined || body === null) {
13793
+ throw 'Missing the required parameter "body" when calling putBusinessrulesDecisiontableVersionRow';
13794
+ }
13795
+
13796
+ return this.apiClient.callApi(
13797
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}',
13798
+ 'PUT',
13799
+ { 'tableId': tableId,'tableVersion': tableVersion,'rowId': rowId },
13800
+ { },
13801
+ { },
13802
+ { },
13803
+ body,
13804
+ ['PureCloud OAuth'],
13805
+ ['application/json'],
13806
+ ['application/json']
13807
+ );
13808
+ }
13809
+
13381
13810
  /**
13382
13811
  * Update a schema
13383
13812
  *
@@ -13415,7 +13844,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13415
13844
  /**
13416
13845
  * CarrierServices service.
13417
13846
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
13418
- * @version 223.0.0
13847
+ * @version 224.0.0
13419
13848
  */
13420
13849
 
13421
13850
  /**
@@ -13485,7 +13914,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13485
13914
  /**
13486
13915
  * Chat service.
13487
13916
  * @module purecloud-platform-client-v2/api/ChatApi
13488
- * @version 223.0.0
13917
+ * @version 224.0.0
13489
13918
  */
13490
13919
 
13491
13920
  /**
@@ -14418,7 +14847,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14418
14847
  /**
14419
14848
  * Coaching service.
14420
14849
  * @module purecloud-platform-client-v2/api/CoachingApi
14421
- * @version 223.0.0
14850
+ * @version 224.0.0
14422
14851
  */
14423
14852
 
14424
14853
  /**
@@ -14995,7 +15424,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14995
15424
  /**
14996
15425
  * ContentManagement service.
14997
15426
  * @module purecloud-platform-client-v2/api/ContentManagementApi
14998
- * @version 223.0.0
15427
+ * @version 224.0.0
14999
15428
  */
15000
15429
 
15001
15430
  /**
@@ -16076,7 +16505,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16076
16505
  /**
16077
16506
  * Conversations service.
16078
16507
  * @module purecloud-platform-client-v2/api/ConversationsApi
16079
- * @version 223.0.0
16508
+ * @version 224.0.0
16080
16509
  */
16081
16510
 
16082
16511
  /**
@@ -16666,6 +17095,78 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16666
17095
  );
16667
17096
  }
16668
17097
 
17098
+ /**
17099
+ * Get message
17100
+ *
17101
+ * @param {String} conversationId conversationId
17102
+ * @param {String} communicationId communicationId
17103
+ * @param {String} messageId messageId
17104
+ * getConversationCommunicationInternalmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17105
+ */
17106
+ getConversationCommunicationInternalmessage(conversationId, communicationId, messageId) {
17107
+ // verify the required parameter 'conversationId' is set
17108
+ if (conversationId === undefined || conversationId === null) {
17109
+ throw 'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessage';
17110
+ }
17111
+ // verify the required parameter 'communicationId' is set
17112
+ if (communicationId === undefined || communicationId === null) {
17113
+ throw 'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessage';
17114
+ }
17115
+ // verify the required parameter 'messageId' is set
17116
+ if (messageId === undefined || messageId === null) {
17117
+ throw 'Missing the required parameter "messageId" when calling getConversationCommunicationInternalmessage';
17118
+ }
17119
+
17120
+ return this.apiClient.callApi(
17121
+ '/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages/{messageId}',
17122
+ 'GET',
17123
+ { 'conversationId': conversationId,'communicationId': communicationId,'messageId': messageId },
17124
+ { },
17125
+ { },
17126
+ { },
17127
+ null,
17128
+ ['PureCloud OAuth'],
17129
+ ['application/json'],
17130
+ ['application/json']
17131
+ );
17132
+ }
17133
+
17134
+ /**
17135
+ * Get messages for communication
17136
+ *
17137
+ * @param {String} conversationId conversationId
17138
+ * @param {String} communicationId communicationId
17139
+ * @param {Object} opts Optional parameters
17140
+ * @param {Number} opts.pageSize Indicates maximum number of results in response. Default page size is 25 results. The maximum page size is 200. (default to 25)
17141
+ * @param {Number} opts.pageNumber Page number (default to 1)
17142
+ * getConversationCommunicationInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17143
+ */
17144
+ getConversationCommunicationInternalmessages(conversationId, communicationId, opts) {
17145
+ opts = opts || {};
17146
+
17147
+ // verify the required parameter 'conversationId' is set
17148
+ if (conversationId === undefined || conversationId === null) {
17149
+ throw 'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessages';
17150
+ }
17151
+ // verify the required parameter 'communicationId' is set
17152
+ if (communicationId === undefined || communicationId === null) {
17153
+ throw 'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessages';
17154
+ }
17155
+
17156
+ return this.apiClient.callApi(
17157
+ '/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages',
17158
+ 'GET',
17159
+ { 'conversationId': conversationId,'communicationId': communicationId },
17160
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
17161
+ { },
17162
+ { },
17163
+ null,
17164
+ ['PureCloud OAuth'],
17165
+ ['application/json'],
17166
+ ['application/json']
17167
+ );
17168
+ }
17169
+
16669
17170
  /**
16670
17171
  * Fetch info on a secure session
16671
17172
  *
@@ -16964,7 +17465,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16964
17465
  * @param {String} participantId participantId
16965
17466
  * @param {String} communicationId communicationId
16966
17467
  * @param {Object} opts Optional parameters
16967
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
17468
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
16968
17469
  */
16969
17470
  getConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
16970
17471
  opts = opts || {};
@@ -17002,7 +17503,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17002
17503
  * @param {String} conversationId conversationId
17003
17504
  * @param {String} participantId participantId
17004
17505
  * @param {Object} opts Optional parameters
17005
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
17506
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
17006
17507
  */
17007
17508
  getConversationsCallParticipantWrapup(conversationId, participantId, opts) {
17008
17509
  opts = opts || {};
@@ -17092,7 +17593,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17092
17593
  * @param {String} participantId participantId
17093
17594
  * @param {String} communicationId communicationId
17094
17595
  * @param {Object} opts Optional parameters
17095
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
17596
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
17096
17597
  */
17097
17598
  getConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
17098
17599
  opts = opts || {};
@@ -17130,7 +17631,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17130
17631
  * @param {String} conversationId conversationId
17131
17632
  * @param {String} participantId participantId
17132
17633
  * @param {Object} opts Optional parameters
17133
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
17634
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
17134
17635
  */
17135
17636
  getConversationsCallbackParticipantWrapup(conversationId, participantId, opts) {
17136
17637
  opts = opts || {};
@@ -17372,7 +17873,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17372
17873
  * @param {String} participantId participantId
17373
17874
  * @param {String} communicationId communicationId
17374
17875
  * @param {Object} opts Optional parameters
17375
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
17876
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
17376
17877
  * @deprecated
17377
17878
  */
17378
17879
  getConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
@@ -17411,7 +17912,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17411
17912
  * @param {String} conversationId conversationId
17412
17913
  * @param {String} participantId participantId
17413
17914
  * @param {Object} opts Optional parameters
17414
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
17915
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
17415
17916
  * @deprecated
17416
17917
  */
17417
17918
  getConversationsChatParticipantWrapup(conversationId, participantId, opts) {
@@ -17524,7 +18025,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17524
18025
  * @param {String} participantId participantId
17525
18026
  * @param {String} communicationId communicationId
17526
18027
  * @param {Object} opts Optional parameters
17527
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
18028
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
17528
18029
  * @deprecated
17529
18030
  */
17530
18031
  getConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
@@ -17563,7 +18064,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17563
18064
  * @param {String} conversationId conversationId
17564
18065
  * @param {String} participantId participantId
17565
18066
  * @param {Object} opts Optional parameters
17566
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
18067
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
17567
18068
  * @deprecated
17568
18069
  */
17569
18070
  getConversationsCobrowsesessionParticipantWrapup(conversationId, participantId, opts) {
@@ -17755,7 +18256,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17755
18256
  * @param {String} participantId participantId
17756
18257
  * @param {String} communicationId communicationId
17757
18258
  * @param {Object} opts Optional parameters
17758
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
18259
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
17759
18260
  */
17760
18261
  getConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
17761
18262
  opts = opts || {};
@@ -17793,7 +18294,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17793
18294
  * @param {String} conversationId conversationId
17794
18295
  * @param {String} participantId participantId
17795
18296
  * @param {Object} opts Optional parameters
17796
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
18297
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
17797
18298
  */
17798
18299
  getConversationsEmailParticipantWrapup(conversationId, participantId, opts) {
17799
18300
  opts = opts || {};
@@ -17896,6 +18397,53 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17896
18397
  );
17897
18398
  }
17898
18399
 
18400
+ /**
18401
+ * Get internal message conversation
18402
+ *
18403
+ * @param {String} conversationId conversationId
18404
+ * getConversationsInternalmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18405
+ */
18406
+ getConversationsInternalmessage(conversationId) {
18407
+ // verify the required parameter 'conversationId' is set
18408
+ if (conversationId === undefined || conversationId === null) {
18409
+ throw 'Missing the required parameter "conversationId" when calling getConversationsInternalmessage';
18410
+ }
18411
+
18412
+ return this.apiClient.callApi(
18413
+ '/api/v2/conversations/internalmessages/{conversationId}',
18414
+ 'GET',
18415
+ { 'conversationId': conversationId },
18416
+ { },
18417
+ { },
18418
+ { },
18419
+ null,
18420
+ ['PureCloud OAuth'],
18421
+ ['application/json'],
18422
+ ['application/json']
18423
+ );
18424
+ }
18425
+
18426
+ /**
18427
+ * Get active internal message conversations for the logged in user
18428
+ *
18429
+ * getConversationsInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18430
+ */
18431
+ getConversationsInternalmessages() {
18432
+
18433
+ return this.apiClient.callApi(
18434
+ '/api/v2/conversations/internalmessages',
18435
+ 'GET',
18436
+ { },
18437
+ { },
18438
+ { },
18439
+ { },
18440
+ null,
18441
+ ['PureCloud OAuth'],
18442
+ ['application/json'],
18443
+ ['application/json']
18444
+ );
18445
+ }
18446
+
17899
18447
  /**
17900
18448
  * Get the encryption key configurations
17901
18449
  *
@@ -18071,7 +18619,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18071
18619
  * @param {String} participantId participantId
18072
18620
  * @param {String} communicationId communicationId
18073
18621
  * @param {Object} opts Optional parameters
18074
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
18622
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
18075
18623
  */
18076
18624
  getConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
18077
18625
  opts = opts || {};
@@ -18109,7 +18657,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18109
18657
  * @param {String} conversationId conversationId
18110
18658
  * @param {String} participantId participantId
18111
18659
  * @param {Object} opts Optional parameters
18112
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
18660
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
18113
18661
  */
18114
18662
  getConversationsMessageParticipantWrapup(conversationId, participantId, opts) {
18115
18663
  opts = opts || {};
@@ -18379,6 +18927,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18379
18927
  );
18380
18928
  }
18381
18929
 
18930
+ /**
18931
+ * Get X (Formally Twitter) messaging integration identity resolution settings
18932
+ *
18933
+ * @param {String} integrationId Integration Id
18934
+ */
18935
+ getConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId(integrationId) {
18936
+ // verify the required parameter 'integrationId' is set
18937
+ if (integrationId === undefined || integrationId === null) {
18938
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';
18939
+ }
18940
+
18941
+ return this.apiClient.callApi(
18942
+ '/api/v2/conversations/messaging/identityresolution/integrations/twitter/{integrationId}',
18943
+ 'GET',
18944
+ { 'integrationId': integrationId },
18945
+ { },
18946
+ { },
18947
+ { },
18948
+ null,
18949
+ ['PureCloud OAuth'],
18950
+ ['application/json'],
18951
+ ['application/json']
18952
+ );
18953
+ }
18954
+
18382
18955
  /**
18383
18956
  * Get a whatsApp integration Identity Resolution settings
18384
18957
  *
@@ -18929,7 +19502,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18929
19502
  * @param {String} participantId participantId
18930
19503
  * @param {String} communicationId communicationId
18931
19504
  * @param {Object} opts Optional parameters
18932
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
19505
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
18933
19506
  * @deprecated
18934
19507
  */
18935
19508
  getConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
@@ -18989,7 +19562,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18989
19562
  * @param {String} participantId participantId
18990
19563
  * @param {String} communicationId communicationId
18991
19564
  * @param {Object} opts Optional parameters
18992
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
19565
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
18993
19566
  */
18994
19567
  getConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
18995
19568
  opts = opts || {};
@@ -19054,7 +19627,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19054
19627
  * @param {String} participantId participantId
19055
19628
  * @param {String} communicationId communicationId
19056
19629
  * @param {Object} opts Optional parameters
19057
- * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
19630
+ * @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
19058
19631
  */
19059
19632
  getConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
19060
19633
  opts = opts || {};
@@ -20826,6 +21399,42 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20826
21399
  );
20827
21400
  }
20828
21401
 
21402
+ /**
21403
+ * Send internal message
21404
+ * Send a new internal message for an existing communication.
21405
+ * @param {String} conversationId conversationId
21406
+ * @param {String} communicationId communicationId
21407
+ * @param {Object} body Message
21408
+ * postConversationCommunicationInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21409
+ */
21410
+ postConversationCommunicationInternalmessages(conversationId, communicationId, body) {
21411
+ // verify the required parameter 'conversationId' is set
21412
+ if (conversationId === undefined || conversationId === null) {
21413
+ throw 'Missing the required parameter "conversationId" when calling postConversationCommunicationInternalmessages';
21414
+ }
21415
+ // verify the required parameter 'communicationId' is set
21416
+ if (communicationId === undefined || communicationId === null) {
21417
+ throw 'Missing the required parameter "communicationId" when calling postConversationCommunicationInternalmessages';
21418
+ }
21419
+ // verify the required parameter 'body' is set
21420
+ if (body === undefined || body === null) {
21421
+ throw 'Missing the required parameter "body" when calling postConversationCommunicationInternalmessages';
21422
+ }
21423
+
21424
+ return this.apiClient.callApi(
21425
+ '/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages',
21426
+ 'POST',
21427
+ { 'conversationId': conversationId,'communicationId': communicationId },
21428
+ { },
21429
+ { },
21430
+ { },
21431
+ body,
21432
+ ['PureCloud OAuth'],
21433
+ ['application/json'],
21434
+ ['application/json']
21435
+ );
21436
+ }
21437
+
20829
21438
  /**
20830
21439
  * Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a resynchronization of state across all components. It is recommended that users submit a support case if they are relying on this endpoint systematically as there is likely something that needs investigation.
20831
21440
  *
@@ -20919,6 +21528,42 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20919
21528
  );
20920
21529
  }
20921
21530
 
21531
+ /**
21532
+ * Setup internal message communication with user
21533
+ * The target user of the digital consultation must have the `conversation:internalMessaging:accept` permission.
21534
+ * @param {String} conversationId conversation ID
21535
+ * @param {String} participantId participant ID
21536
+ * @param {Object} body Confer request
21537
+ * postConversationParticipantInternalmessagesUsersCommunications is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21538
+ */
21539
+ postConversationParticipantInternalmessagesUsersCommunications(conversationId, participantId, body) {
21540
+ // verify the required parameter 'conversationId' is set
21541
+ if (conversationId === undefined || conversationId === null) {
21542
+ throw 'Missing the required parameter "conversationId" when calling postConversationParticipantInternalmessagesUsersCommunications';
21543
+ }
21544
+ // verify the required parameter 'participantId' is set
21545
+ if (participantId === undefined || participantId === null) {
21546
+ throw 'Missing the required parameter "participantId" when calling postConversationParticipantInternalmessagesUsersCommunications';
21547
+ }
21548
+ // verify the required parameter 'body' is set
21549
+ if (body === undefined || body === null) {
21550
+ throw 'Missing the required parameter "body" when calling postConversationParticipantInternalmessagesUsersCommunications';
21551
+ }
21552
+
21553
+ return this.apiClient.callApi(
21554
+ '/api/v2/conversations/{conversationId}/participants/{participantId}/internalmessages/users/communications',
21555
+ 'POST',
21556
+ { 'conversationId': conversationId,'participantId': participantId },
21557
+ { },
21558
+ { },
21559
+ { },
21560
+ body,
21561
+ ['PureCloud OAuth'],
21562
+ ['application/json'],
21563
+ ['application/json']
21564
+ );
21565
+ }
21566
+
20922
21567
  /**
20923
21568
  * Replace this participant with the specified user and/or address
20924
21569
  *
@@ -22558,6 +23203,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22558
23203
  );
22559
23204
  }
22560
23205
 
23206
+ /**
23207
+ * Send inbound Open Response
23208
+ * Send an inbound response for a structured message to an Open Messaging integration. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will be a part of an existing conversation. See https://developer.genesys.cloud/api/digital/openmessaging/ for example usage.
23209
+ * @param {String} integrationId integrationId
23210
+ * @param {Object} body OpenInboundStructuredResponseMessage
23211
+ */
23212
+ postConversationsMessageInboundOpenStructuredResponse(integrationId, body) {
23213
+ // verify the required parameter 'integrationId' is set
23214
+ if (integrationId === undefined || integrationId === null) {
23215
+ throw 'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenStructuredResponse';
23216
+ }
23217
+ // verify the required parameter 'body' is set
23218
+ if (body === undefined || body === null) {
23219
+ throw 'Missing the required parameter "body" when calling postConversationsMessageInboundOpenStructuredResponse';
23220
+ }
23221
+
23222
+ return this.apiClient.callApi(
23223
+ '/api/v2/conversations/messages/{integrationId}/inbound/open/structured/response',
23224
+ 'POST',
23225
+ { 'integrationId': integrationId },
23226
+ { },
23227
+ { },
23228
+ { },
23229
+ body,
23230
+ ['PureCloud OAuth'],
23231
+ ['application/json'],
23232
+ ['application/json']
23233
+ );
23234
+ }
23235
+
22561
23236
  /**
22562
23237
  * Get messages in batch
22563
23238
  * The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: ["a3069a33b-bbb1-4703-9d68-061d9e9db96e", "55bc6be3-078c-4a49-a4e6-1e05776ed7e8"]
@@ -23666,6 +24341,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23666
24341
  );
23667
24342
  }
23668
24343
 
24344
+ /**
24345
+ * Create an identity resolution settings for an X (Formally Twitter) messaging integration
24346
+ *
24347
+ * @param {String} integrationId Integration Id
24348
+ * @param {Object} body IdentityResolutionConfig
24349
+ */
24350
+ putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId(integrationId, body) {
24351
+ // verify the required parameter 'integrationId' is set
24352
+ if (integrationId === undefined || integrationId === null) {
24353
+ throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';
24354
+ }
24355
+ // verify the required parameter 'body' is set
24356
+ if (body === undefined || body === null) {
24357
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';
24358
+ }
24359
+
24360
+ return this.apiClient.callApi(
24361
+ '/api/v2/conversations/messaging/identityresolution/integrations/twitter/{integrationId}',
24362
+ 'PUT',
24363
+ { 'integrationId': integrationId },
24364
+ { },
24365
+ { },
24366
+ { },
24367
+ body,
24368
+ ['PureCloud OAuth'],
24369
+ ['application/json'],
24370
+ ['application/json']
24371
+ );
24372
+ }
24373
+
23669
24374
  /**
23670
24375
  * Update a whatsApp integration Identity Resolution settings
23671
24376
  *
@@ -23868,7 +24573,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23868
24573
  /**
23869
24574
  * DataExtensions service.
23870
24575
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
23871
- * @version 223.0.0
24576
+ * @version 224.0.0
23872
24577
  */
23873
24578
 
23874
24579
  /**
@@ -23954,7 +24659,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23954
24659
  /**
23955
24660
  * DataPrivacy service.
23956
24661
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
23957
- * @version 223.0.0
24662
+ * @version 224.0.0
23958
24663
  */
23959
24664
 
23960
24665
  /**
@@ -24124,7 +24829,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24124
24829
  /**
24125
24830
  * Downloads service.
24126
24831
  * @module purecloud-platform-client-v2/api/DownloadsApi
24127
- * @version 223.0.0
24832
+ * @version 224.0.0
24128
24833
  */
24129
24834
 
24130
24835
  /**
@@ -24176,7 +24881,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24176
24881
  /**
24177
24882
  * Emails service.
24178
24883
  * @module purecloud-platform-client-v2/api/EmailsApi
24179
- * @version 223.0.0
24884
+ * @version 224.0.0
24180
24885
  */
24181
24886
 
24182
24887
  /**
@@ -24305,7 +25010,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24305
25010
  /**
24306
25011
  * EmployeeEngagement service.
24307
25012
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
24308
- * @version 223.0.0
25013
+ * @version 224.0.0
24309
25014
  */
24310
25015
 
24311
25016
  /**
@@ -24456,7 +25161,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24456
25161
  /**
24457
25162
  * Events service.
24458
25163
  * @module purecloud-platform-client-v2/api/EventsApi
24459
- * @version 223.0.0
25164
+ * @version 224.0.0
24460
25165
  */
24461
25166
 
24462
25167
  /**
@@ -24552,7 +25257,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24552
25257
  /**
24553
25258
  * ExternalContacts service.
24554
25259
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
24555
- * @version 223.0.0
25260
+ * @version 224.0.0
24556
25261
  */
24557
25262
 
24558
25263
  /**
@@ -27740,7 +28445,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27740
28445
  /**
27741
28446
  * Fax service.
27742
28447
  * @module purecloud-platform-client-v2/api/FaxApi
27743
- * @version 223.0.0
28448
+ * @version 224.0.0
27744
28449
  */
27745
28450
 
27746
28451
  /**
@@ -27955,7 +28660,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27955
28660
  /**
27956
28661
  * Flows service.
27957
28662
  * @module purecloud-platform-client-v2/api/FlowsApi
27958
- * @version 223.0.0
28663
+ * @version 224.0.0
27959
28664
  */
27960
28665
 
27961
28666
  /**
@@ -28138,7 +28843,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28138
28843
  /**
28139
28844
  * Gamification service.
28140
28845
  * @module purecloud-platform-client-v2/api/GamificationApi
28141
- * @version 223.0.0
28846
+ * @version 224.0.0
28142
28847
  */
28143
28848
 
28144
28849
  /**
@@ -30645,7 +31350,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30645
31350
  /**
30646
31351
  * GeneralDataProtectionRegulation service.
30647
31352
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
30648
- * @version 223.0.0
31353
+ * @version 224.0.0
30649
31354
  */
30650
31355
 
30651
31356
  /**
@@ -30775,7 +31480,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30775
31480
  /**
30776
31481
  * Geolocation service.
30777
31482
  * @module purecloud-platform-client-v2/api/GeolocationApi
30778
- * @version 223.0.0
31483
+ * @version 224.0.0
30779
31484
  */
30780
31485
 
30781
31486
  /**
@@ -30906,7 +31611,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30906
31611
  /**
30907
31612
  * Greetings service.
30908
31613
  * @module purecloud-platform-client-v2/api/GreetingsApi
30909
- * @version 223.0.0
31614
+ * @version 224.0.0
30910
31615
  */
30911
31616
 
30912
31617
  /**
@@ -30972,12 +31677,70 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30972
31677
  }
30973
31678
 
30974
31679
  /**
30975
- * Get media playback URI for this greeting
31680
+ * Download a organization greeting recording
30976
31681
  *
30977
31682
  * @param {String} greetingId Greeting ID
30978
31683
  * @param {Object} opts Optional parameters
30979
31684
  * @param {Object} opts.formatId The desired media format. (default to WAV)
30980
31685
  */
31686
+ getGreetingDownloads(greetingId, opts) {
31687
+ opts = opts || {};
31688
+
31689
+ // verify the required parameter 'greetingId' is set
31690
+ if (greetingId === undefined || greetingId === null) {
31691
+ throw 'Missing the required parameter "greetingId" when calling getGreetingDownloads';
31692
+ }
31693
+
31694
+ return this.apiClient.callApi(
31695
+ '/api/v2/greetings/{greetingId}/downloads',
31696
+ 'GET',
31697
+ { 'greetingId': greetingId },
31698
+ { 'formatId': opts['formatId'] },
31699
+ { },
31700
+ { },
31701
+ null,
31702
+ ['PureCloud OAuth'],
31703
+ ['application/json'],
31704
+ ['application/json']
31705
+ );
31706
+ }
31707
+
31708
+ /**
31709
+ * Download a group greeting recording
31710
+ *
31711
+ * @param {String} greetingId Greeting ID
31712
+ * @param {Object} opts Optional parameters
31713
+ * @param {Object} opts.formatId The desired media format. (default to WAV)
31714
+ */
31715
+ getGreetingGroupsDownloads(greetingId, opts) {
31716
+ opts = opts || {};
31717
+
31718
+ // verify the required parameter 'greetingId' is set
31719
+ if (greetingId === undefined || greetingId === null) {
31720
+ throw 'Missing the required parameter "greetingId" when calling getGreetingGroupsDownloads';
31721
+ }
31722
+
31723
+ return this.apiClient.callApi(
31724
+ '/api/v2/greetings/{greetingId}/groups/downloads',
31725
+ 'GET',
31726
+ { 'greetingId': greetingId },
31727
+ { 'formatId': opts['formatId'] },
31728
+ { },
31729
+ { },
31730
+ null,
31731
+ ['PureCloud OAuth'],
31732
+ ['application/json'],
31733
+ ['application/json']
31734
+ );
31735
+ }
31736
+
31737
+ /**
31738
+ * Get media playback URI for this greeting
31739
+ * API should migrate to use GET api/v2/greetings/{greetingId}/downloads
31740
+ * @param {String} greetingId Greeting ID
31741
+ * @param {Object} opts Optional parameters
31742
+ * @param {Object} opts.formatId The desired media format. (default to WAV)
31743
+ */
30981
31744
  getGreetingMedia(greetingId, opts) {
30982
31745
  opts = opts || {};
30983
31746
 
@@ -31000,6 +31763,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31000
31763
  );
31001
31764
  }
31002
31765
 
31766
+ /**
31767
+ * Download a user greeting recording
31768
+ *
31769
+ * @param {String} greetingId Greeting ID
31770
+ * @param {Object} opts Optional parameters
31771
+ * @param {Object} opts.formatId The desired media format. (default to WAV)
31772
+ */
31773
+ getGreetingUsersDownloads(greetingId, opts) {
31774
+ opts = opts || {};
31775
+
31776
+ // verify the required parameter 'greetingId' is set
31777
+ if (greetingId === undefined || greetingId === null) {
31778
+ throw 'Missing the required parameter "greetingId" when calling getGreetingUsersDownloads';
31779
+ }
31780
+
31781
+ return this.apiClient.callApi(
31782
+ '/api/v2/greetings/{greetingId}/users/downloads',
31783
+ 'GET',
31784
+ { 'greetingId': greetingId },
31785
+ { 'formatId': opts['formatId'] },
31786
+ { },
31787
+ { },
31788
+ null,
31789
+ ['PureCloud OAuth'],
31790
+ ['application/json'],
31791
+ ['application/json']
31792
+ );
31793
+ }
31794
+
31003
31795
  /**
31004
31796
  * Gets an Organization's Greetings
31005
31797
  *
@@ -31361,7 +32153,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31361
32153
  /**
31362
32154
  * Groups service.
31363
32155
  * @module purecloud-platform-client-v2/api/GroupsApi
31364
- * @version 223.0.0
32156
+ * @version 224.0.0
31365
32157
  */
31366
32158
 
31367
32159
  /**
@@ -31880,7 +32672,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31880
32672
  /**
31881
32673
  * IdentityProvider service.
31882
32674
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
31883
- * @version 223.0.0
32675
+ * @version 224.0.0
31884
32676
  */
31885
32677
 
31886
32678
  /**
@@ -32741,7 +33533,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32741
33533
  /**
32742
33534
  * InfrastructureAsCode service.
32743
33535
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
32744
- * @version 223.0.0
33536
+ * @version 224.0.0
32745
33537
  */
32746
33538
 
32747
33539
  /**
@@ -32908,7 +33700,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32908
33700
  /**
32909
33701
  * Integrations service.
32910
33702
  * @module purecloud-platform-client-v2/api/IntegrationsApi
32911
- * @version 223.0.0
33703
+ * @version 224.0.0
32912
33704
  */
32913
33705
 
32914
33706
  /**
@@ -33869,6 +34661,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33869
34661
  );
33870
34662
  }
33871
34663
 
34664
+ /**
34665
+ * List multiple sets of credentials using cursor-based paging
34666
+ *
34667
+ * @param {Object} opts Optional parameters
34668
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
34669
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
34670
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
34671
+ */
34672
+ getIntegrationsCredentialsListing(opts) {
34673
+ opts = opts || {};
34674
+
34675
+
34676
+ return this.apiClient.callApi(
34677
+ '/api/v2/integrations/credentials/listing',
34678
+ 'GET',
34679
+ { },
34680
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
34681
+ { },
34682
+ { },
34683
+ null,
34684
+ ['PureCloud OAuth'],
34685
+ ['application/json'],
34686
+ ['application/json']
34687
+ );
34688
+ }
34689
+
33872
34690
  /**
33873
34691
  * List all credential types
33874
34692
  *
@@ -35526,7 +36344,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35526
36344
  /**
35527
36345
  * Journey service.
35528
36346
  * @module purecloud-platform-client-v2/api/JourneyApi
35529
- * @version 223.0.0
36347
+ * @version 224.0.0
35530
36348
  */
35531
36349
 
35532
36350
  /**
@@ -37511,7 +38329,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37511
38329
  /**
37512
38330
  * Knowledge service.
37513
38331
  * @module purecloud-platform-client-v2/api/KnowledgeApi
37514
- * @version 223.0.0
38332
+ * @version 224.0.0
37515
38333
  */
37516
38334
 
37517
38335
  /**
@@ -41384,7 +42202,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41384
42202
  /**
41385
42203
  * LanguageUnderstanding service.
41386
42204
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
41387
- * @version 223.0.0
42205
+ * @version 224.0.0
41388
42206
  */
41389
42207
 
41390
42208
  /**
@@ -42417,7 +43235,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42417
43235
  /**
42418
43236
  * Languages service.
42419
43237
  * @module purecloud-platform-client-v2/api/LanguagesApi
42420
- * @version 223.0.0
43238
+ * @version 224.0.0
42421
43239
  */
42422
43240
 
42423
43241
  /**
@@ -42639,7 +43457,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42639
43457
  /**
42640
43458
  * Learning service.
42641
43459
  * @module purecloud-platform-client-v2/api/LearningApi
42642
- * @version 223.0.0
43460
+ * @version 224.0.0
42643
43461
  */
42644
43462
 
42645
43463
  /**
@@ -43668,7 +44486,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43668
44486
  /**
43669
44487
  * License service.
43670
44488
  * @module purecloud-platform-client-v2/api/LicenseApi
43671
- * @version 223.0.0
44489
+ * @version 224.0.0
43672
44490
  */
43673
44491
 
43674
44492
  /**
@@ -43906,7 +44724,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43906
44724
  /**
43907
44725
  * Locations service.
43908
44726
  * @module purecloud-platform-client-v2/api/LocationsApi
43909
- * @version 223.0.0
44727
+ * @version 224.0.0
43910
44728
  */
43911
44729
 
43912
44730
  /**
@@ -44142,7 +44960,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44142
44960
  /**
44143
44961
  * LogCapture service.
44144
44962
  * @module purecloud-platform-client-v2/api/LogCaptureApi
44145
- * @version 223.0.0
44963
+ * @version 224.0.0
44146
44964
  */
44147
44965
 
44148
44966
  /**
@@ -44341,7 +45159,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44341
45159
  /**
44342
45160
  * Messaging service.
44343
45161
  * @module purecloud-platform-client-v2/api/MessagingApi
44344
- * @version 223.0.0
45162
+ * @version 224.0.0
44345
45163
  */
44346
45164
 
44347
45165
  /**
@@ -44700,7 +45518,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44700
45518
  /**
44701
45519
  * MobileDevices service.
44702
45520
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
44703
- * @version 223.0.0
45521
+ * @version 224.0.0
44704
45522
  */
44705
45523
 
44706
45524
  /**
@@ -44851,7 +45669,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44851
45669
  /**
44852
45670
  * Notifications service.
44853
45671
  * @module purecloud-platform-client-v2/api/NotificationsApi
44854
- * @version 223.0.0
45672
+ * @version 224.0.0
44855
45673
  */
44856
45674
 
44857
45675
  /**
@@ -45084,7 +45902,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45084
45902
  /**
45085
45903
  * OAuth service.
45086
45904
  * @module purecloud-platform-client-v2/api/OAuthApi
45087
- * @version 223.0.0
45905
+ * @version 224.0.0
45088
45906
  */
45089
45907
 
45090
45908
  /**
@@ -45450,7 +46268,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45450
46268
  /**
45451
46269
  * Objects service.
45452
46270
  * @module purecloud-platform-client-v2/api/ObjectsApi
45453
- * @version 223.0.0
46271
+ * @version 224.0.0
45454
46272
  */
45455
46273
 
45456
46274
  /**
@@ -45774,7 +46592,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45774
46592
  /**
45775
46593
  * OperationalEvents service.
45776
46594
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
45777
- * @version 223.0.0
46595
+ * @version 224.0.0
45778
46596
  */
45779
46597
 
45780
46598
  /**
@@ -45891,7 +46709,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45891
46709
  /**
45892
46710
  * Organization service.
45893
46711
  * @module purecloud-platform-client-v2/api/OrganizationApi
45894
- * @version 223.0.0
46712
+ * @version 224.0.0
45895
46713
  */
45896
46714
 
45897
46715
  /**
@@ -46366,7 +47184,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46366
47184
  /**
46367
47185
  * OrganizationAuthorization service.
46368
47186
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
46369
- * @version 223.0.0
47187
+ * @version 224.0.0
46370
47188
  */
46371
47189
 
46372
47190
  /**
@@ -47760,7 +48578,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47760
48578
  /**
47761
48579
  * Outbound service.
47762
48580
  * @module purecloud-platform-client-v2/api/OutboundApi
47763
- * @version 223.0.0
48581
+ * @version 224.0.0
47764
48582
  */
47765
48583
 
47766
48584
  /**
@@ -52382,7 +53200,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52382
53200
  /**
52383
53201
  * Presence service.
52384
53202
  * @module purecloud-platform-client-v2/api/PresenceApi
52385
- * @version 223.0.0
53203
+ * @version 224.0.0
52386
53204
  */
52387
53205
 
52388
53206
  /**
@@ -53126,7 +53944,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53126
53944
  /**
53127
53945
  * ProcessAutomation service.
53128
53946
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
53129
- * @version 223.0.0
53947
+ * @version 224.0.0
53130
53948
  */
53131
53949
 
53132
53950
  /**
@@ -53365,7 +54183,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53365
54183
  /**
53366
54184
  * Quality service.
53367
54185
  * @module purecloud-platform-client-v2/api/QualityApi
53368
- * @version 223.0.0
54186
+ * @version 224.0.0
53369
54187
  */
53370
54188
 
53371
54189
  /**
@@ -55152,7 +55970,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55152
55970
  /**
55153
55971
  * Recording service.
55154
55972
  * @module purecloud-platform-client-v2/api/RecordingApi
55155
- * @version 223.0.0
55973
+ * @version 224.0.0
55156
55974
  */
55157
55975
 
55158
55976
  /**
@@ -56757,7 +57575,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56757
57575
  /**
56758
57576
  * ResponseManagement service.
56759
57577
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
56760
- * @version 223.0.0
57578
+ * @version 224.0.0
56761
57579
  */
56762
57580
 
56763
57581
  /**
@@ -57267,7 +58085,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57267
58085
  /**
57268
58086
  * Routing service.
57269
58087
  * @module purecloud-platform-client-v2/api/RoutingApi
57270
- * @version 223.0.0
58088
+ * @version 224.0.0
57271
58089
  */
57272
58090
 
57273
58091
  /**
@@ -60181,6 +60999,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60181
60999
  );
60182
61000
  }
60183
61001
 
61002
+ /**
61003
+ * Update a phone number provisioned for SMS.
61004
+ *
61005
+ * @param {String} phoneNumberId phone number
61006
+ * @param {Object} body SmsPhoneNumberPatchRequest
61007
+ */
61008
+ patchRoutingSmsPhonenumber(phoneNumberId, body) {
61009
+ // verify the required parameter 'phoneNumberId' is set
61010
+ if (phoneNumberId === undefined || phoneNumberId === null) {
61011
+ throw 'Missing the required parameter "phoneNumberId" when calling patchRoutingSmsPhonenumber';
61012
+ }
61013
+ // verify the required parameter 'body' is set
61014
+ if (body === undefined || body === null) {
61015
+ throw 'Missing the required parameter "body" when calling patchRoutingSmsPhonenumber';
61016
+ }
61017
+
61018
+ return this.apiClient.callApi(
61019
+ '/api/v2/routing/sms/phonenumbers/{phoneNumberId}',
61020
+ 'PATCH',
61021
+ { 'phoneNumberId': phoneNumberId },
61022
+ { },
61023
+ { },
61024
+ { },
61025
+ body,
61026
+ ['PureCloud OAuth'],
61027
+ ['application/json'],
61028
+ ['application/json']
61029
+ );
61030
+ }
61031
+
60184
61032
  /**
60185
61033
  * Join or unjoin a queue for a user
60186
61034
  *
@@ -61577,7 +62425,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61577
62425
  /**
61578
62426
  * SCIM service.
61579
62427
  * @module purecloud-platform-client-v2/api/SCIMApi
61580
- * @version 223.0.0
62428
+ * @version 224.0.0
61581
62429
  */
61582
62430
 
61583
62431
  /**
@@ -62454,7 +63302,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62454
63302
  /**
62455
63303
  * ScreenRecording service.
62456
63304
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
62457
- * @version 223.0.0
63305
+ * @version 224.0.0
62458
63306
  */
62459
63307
 
62460
63308
  /**
@@ -62499,7 +63347,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62499
63347
  /**
62500
63348
  * Scripts service.
62501
63349
  * @module purecloud-platform-client-v2/api/ScriptsApi
62502
- * @version 223.0.0
63350
+ * @version 224.0.0
62503
63351
  */
62504
63352
 
62505
63353
  /**
@@ -62975,7 +63823,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62975
63823
  /**
62976
63824
  * Search service.
62977
63825
  * @module purecloud-platform-client-v2/api/SearchApi
62978
- * @version 223.0.0
63826
+ * @version 224.0.0
62979
63827
  */
62980
63828
 
62981
63829
  /**
@@ -63718,7 +64566,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63718
64566
  /**
63719
64567
  * Settings service.
63720
64568
  * @module purecloud-platform-client-v2/api/SettingsApi
63721
- * @version 223.0.0
64569
+ * @version 224.0.0
63722
64570
  */
63723
64571
 
63724
64572
  /**
@@ -64066,7 +64914,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64066
64914
  /**
64067
64915
  * SocialMedia service.
64068
64916
  * @module purecloud-platform-client-v2/api/SocialMediaApi
64069
- * @version 223.0.0
64917
+ * @version 224.0.0
64070
64918
  */
64071
64919
 
64072
64920
  /**
@@ -65417,7 +66265,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65417
66265
  /**
65418
66266
  * SpeechTextAnalytics service.
65419
66267
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
65420
- * @version 223.0.0
66268
+ * @version 224.0.0
65421
66269
  */
65422
66270
 
65423
66271
  /**
@@ -66906,7 +67754,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66906
67754
  /**
66907
67755
  * Stations service.
66908
67756
  * @module purecloud-platform-client-v2/api/StationsApi
66909
- * @version 223.0.0
67757
+ * @version 224.0.0
66910
67758
  */
66911
67759
 
66912
67760
  /**
@@ -67008,7 +67856,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67008
67856
  /**
67009
67857
  * Suggest service.
67010
67858
  * @module purecloud-platform-client-v2/api/SuggestApi
67011
- * @version 223.0.0
67859
+ * @version 224.0.0
67012
67860
  */
67013
67861
 
67014
67862
  /**
@@ -67147,7 +67995,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67147
67995
  /**
67148
67996
  * TaskManagement service.
67149
67997
  * @module purecloud-platform-client-v2/api/TaskManagementApi
67150
- * @version 223.0.0
67998
+ * @version 224.0.0
67151
67999
  */
67152
68000
 
67153
68001
  /**
@@ -69309,7 +70157,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69309
70157
  /**
69310
70158
  * Teams service.
69311
70159
  * @module purecloud-platform-client-v2/api/TeamsApi
69312
- * @version 223.0.0
70160
+ * @version 224.0.0
69313
70161
  */
69314
70162
 
69315
70163
  /**
@@ -69448,7 +70296,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69448
70296
  * @param {String} opts.name Return only teams whose names start with this value (case-insensitive matching)
69449
70297
  * @param {String} opts.after The cursor that points to the next item in the complete list of teams
69450
70298
  * @param {String} opts.before The cursor that points to the previous item in the complete list of teams
69451
- * @param {Object} opts.expand Expand the name on each user
70299
+ * @param {Object} opts.expand Expand the division on each team
69452
70300
  */
69453
70301
  getTeams(opts) {
69454
70302
  opts = opts || {};
@@ -69614,7 +70462,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69614
70462
  /**
69615
70463
  * Telephony service.
69616
70464
  * @module purecloud-platform-client-v2/api/TelephonyApi
69617
- * @version 223.0.0
70465
+ * @version 224.0.0
69618
70466
  */
69619
70467
 
69620
70468
  /**
@@ -69796,7 +70644,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69796
70644
  /**
69797
70645
  * TelephonyProvidersEdge service.
69798
70646
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
69799
- * @version 223.0.0
70647
+ * @version 224.0.0
69800
70648
  */
69801
70649
 
69802
70650
  /**
@@ -71000,7 +71848,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71000
71848
 
71001
71849
  /**
71002
71850
  * Get a pageable list of basic extension pool objects filterable by query parameters.
71003
- * This returns extension pools consisting of name and division. If one or more IDs are specified, the search will fetch flow outcomes that match the given ID(s) and not use any additional supplied query parameters in the search.
71851
+ * This returns extension pools consisting of name and division. If one or more IDs are specified, the search will fetch extension pools that match the given ID(s) and not use any additional supplied query parameters in the search.
71004
71852
  * @param {Object} opts Optional parameters
71005
71853
  * @param {Number} opts.pageNumber Page number (default to 1)
71006
71854
  * @param {Number} opts.pageSize Page size (default to 25)
@@ -72577,6 +73425,47 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72577
73425
  );
72578
73426
  }
72579
73427
 
73428
+ /**
73429
+ * Post media endpoint statistics event.
73430
+ *
73431
+ * @param {String} conversationId Identifier of the conversation
73432
+ * @param {String} communicationId Identifier of the media session
73433
+ * @param {String} mediaResourceId Identifier of the media resource of the endpoint
73434
+ * @param {Object} body MediaStatisticsPostRequest
73435
+ * postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
73436
+ */
73437
+ postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource(conversationId, communicationId, mediaResourceId, body) {
73438
+ // verify the required parameter 'conversationId' is set
73439
+ if (conversationId === undefined || conversationId === null) {
73440
+ throw 'Missing the required parameter "conversationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
73441
+ }
73442
+ // verify the required parameter 'communicationId' is set
73443
+ if (communicationId === undefined || communicationId === null) {
73444
+ throw 'Missing the required parameter "communicationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
73445
+ }
73446
+ // verify the required parameter 'mediaResourceId' is set
73447
+ if (mediaResourceId === undefined || mediaResourceId === null) {
73448
+ throw 'Missing the required parameter "mediaResourceId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
73449
+ }
73450
+ // verify the required parameter 'body' is set
73451
+ if (body === undefined || body === null) {
73452
+ throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
73453
+ }
73454
+
73455
+ return this.apiClient.callApi(
73456
+ '/api/v2/telephony/providers/edges/mediastatistics/conversations/{conversationId}/communications/{communicationId}/mediaresources/{mediaResourceId}',
73457
+ 'POST',
73458
+ { 'conversationId': conversationId,'communicationId': communicationId,'mediaResourceId': mediaResourceId },
73459
+ { },
73460
+ { },
73461
+ { },
73462
+ body,
73463
+ ['PureCloud OAuth'],
73464
+ ['application/json'],
73465
+ ['application/json']
73466
+ );
73467
+ }
73468
+
72580
73469
  /**
72581
73470
  * Reboot a Phone
72582
73471
  *
@@ -73248,7 +74137,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73248
74137
  /**
73249
74138
  * Textbots service.
73250
74139
  * @module purecloud-platform-client-v2/api/TextbotsApi
73251
- * @version 223.0.0
74140
+ * @version 224.0.0
73252
74141
  */
73253
74142
 
73254
74143
  /**
@@ -73377,7 +74266,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73377
74266
  /**
73378
74267
  * Tokens service.
73379
74268
  * @module purecloud-platform-client-v2/api/TokensApi
73380
- * @version 223.0.0
74269
+ * @version 224.0.0
73381
74270
  */
73382
74271
 
73383
74272
  /**
@@ -73531,7 +74420,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73531
74420
  /**
73532
74421
  * Uploads service.
73533
74422
  * @module purecloud-platform-client-v2/api/UploadsApi
73534
- * @version 223.0.0
74423
+ * @version 224.0.0
73535
74424
  */
73536
74425
 
73537
74426
  /**
@@ -73822,7 +74711,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73822
74711
  /**
73823
74712
  * Usage service.
73824
74713
  * @module purecloud-platform-client-v2/api/UsageApi
73825
- * @version 223.0.0
74714
+ * @version 224.0.0
73826
74715
  */
73827
74716
 
73828
74717
  /**
@@ -74037,7 +74926,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74037
74926
  /**
74038
74927
  * UserRecordings service.
74039
74928
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
74040
- * @version 223.0.0
74929
+ * @version 224.0.0
74041
74930
  */
74042
74931
 
74043
74932
  /**
@@ -74252,7 +75141,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74252
75141
  /**
74253
75142
  * Users service.
74254
75143
  * @module purecloud-platform-client-v2/api/UsersApi
74255
- * @version 223.0.0
75144
+ * @version 224.0.0
74256
75145
  */
74257
75146
 
74258
75147
  /**
@@ -75841,6 +76730,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75841
76730
  );
75842
76731
  }
75843
76732
 
76733
+ /**
76734
+ * Get list of available users, paged by cursor token, No division filtering available so directory:user:view permission for all divisions is required
76735
+ *
76736
+ * @param {Object} opts Optional parameters
76737
+ * @param {String} opts.cursor Cursor token to retrieve next page
76738
+ * @param {Number} opts.pageSize Page size (default to 25)
76739
+ * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
76740
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand. Note, expand parameters are resolved with a best effort approach and not guaranteed to be returned. If requested expand information is absolutely required, it's recommended to use specific API requests instead.
76741
+ * @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an expand. When using this parameter the maximum number of users that can be returned is 100.
76742
+ * @param {Object} opts.state Only list users of this state (default to active)
76743
+ * getUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
76744
+ */
76745
+ getUsersQuery(opts) {
76746
+ opts = opts || {};
76747
+
76748
+
76749
+ return this.apiClient.callApi(
76750
+ '/api/v2/users/query',
76751
+ 'GET',
76752
+ { },
76753
+ { 'cursor': opts['cursor'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'],'state': opts['state'] },
76754
+ { },
76755
+ { },
76756
+ null,
76757
+ ['PureCloud OAuth'],
76758
+ ['application/json'],
76759
+ ['application/json']
76760
+ );
76761
+ }
76762
+
75844
76763
  /**
75845
76764
  * Search users using the q64 value returned from a previous search
75846
76765
  *
@@ -77205,7 +78124,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77205
78124
  /**
77206
78125
  * Utilities service.
77207
78126
  * @module purecloud-platform-client-v2/api/UtilitiesApi
77208
- * @version 223.0.0
78127
+ * @version 224.0.0
77209
78128
  */
77210
78129
 
77211
78130
  /**
@@ -77316,7 +78235,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77316
78235
  /**
77317
78236
  * Voicemail service.
77318
78237
  * @module purecloud-platform-client-v2/api/VoicemailApi
77319
- * @version 223.0.0
78238
+ * @version 224.0.0
77320
78239
  */
77321
78240
 
77322
78241
  /**
@@ -77572,7 +78491,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77572
78491
 
77573
78492
  /**
77574
78493
  * Get media playback URI for this voicemail message
77575
- *
78494
+ * API should migrate to use GET api/v2/voicemail/messages/{messageId}/downloads
77576
78495
  * @param {String} messageId Message ID
77577
78496
  * @param {Object} opts Optional parameters
77578
78497
  * @param {Object} opts.formatId The desired media format. (default to WEBM)
@@ -78038,7 +78957,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
78038
78957
  /**
78039
78958
  * WebChat service.
78040
78959
  * @module purecloud-platform-client-v2/api/WebChatApi
78041
- * @version 223.0.0
78960
+ * @version 224.0.0
78042
78961
  */
78043
78962
 
78044
78963
  /**
@@ -78598,7 +79517,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
78598
79517
  /**
78599
79518
  * WebDeployments service.
78600
79519
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
78601
- * @version 223.0.0
79520
+ * @version 224.0.0
78602
79521
  */
78603
79522
 
78604
79523
  /**
@@ -79180,7 +80099,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
79180
80099
  /**
79181
80100
  * WebMessaging service.
79182
80101
  * @module purecloud-platform-client-v2/api/WebMessagingApi
79183
- * @version 223.0.0
80102
+ * @version 224.0.0
79184
80103
  */
79185
80104
 
79186
80105
  /**
@@ -79226,7 +80145,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
79226
80145
  /**
79227
80146
  * Widgets service.
79228
80147
  * @module purecloud-platform-client-v2/api/WidgetsApi
79229
- * @version 223.0.0
80148
+ * @version 224.0.0
79230
80149
  */
79231
80150
 
79232
80151
  /**
@@ -79377,7 +80296,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
79377
80296
  /**
79378
80297
  * WorkforceManagement service.
79379
80298
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
79380
- * @version 223.0.0
80299
+ * @version 224.0.0
79381
80300
  */
79382
80301
 
79383
80302
  /**
@@ -80990,6 +81909,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
80990
81909
  * @param {String} businessUnitId The ID of the business unit
80991
81910
  * @param {Object} opts Optional parameters
80992
81911
  * @param {String} opts.managementUnitId The ID of the management unit to get management unit specific staffing groups
81912
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
80993
81913
  */
80994
81914
  getWorkforcemanagementBusinessunitStaffinggroups(businessUnitId, opts) {
80995
81915
  opts = opts || {};
@@ -81003,7 +81923,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
81003
81923
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups',
81004
81924
  'GET',
81005
81925
  { 'businessUnitId': businessUnitId },
81006
- { 'managementUnitId': opts['managementUnitId'] },
81926
+ { 'managementUnitId': opts['managementUnitId'],'forceDownloadService': opts['forceDownloadService'] },
81007
81927
  { },
81008
81928
  { },
81009
81929
  null,
@@ -84707,8 +85627,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84707
85627
  *
84708
85628
  * @param {String} businessUnitId The ID of the business unit
84709
85629
  * @param {Object} body body
85630
+ * @param {Object} opts Optional parameters
85631
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service
84710
85632
  */
84711
- postWorkforcemanagementBusinessunitStaffinggroupsQuery(businessUnitId, body) {
85633
+ postWorkforcemanagementBusinessunitStaffinggroupsQuery(businessUnitId, body, opts) {
85634
+ opts = opts || {};
85635
+
84712
85636
  // verify the required parameter 'businessUnitId' is set
84713
85637
  if (businessUnitId === undefined || businessUnitId === null) {
84714
85638
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';
@@ -84722,7 +85646,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84722
85646
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/query',
84723
85647
  'POST',
84724
85648
  { 'businessUnitId': businessUnitId },
84725
- { },
85649
+ { 'forceDownloadService': opts['forceDownloadService'] },
84726
85650
  { },
84727
85651
  { },
84728
85652
  body,
@@ -85405,12 +86329,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85405
86329
  *
85406
86330
  * @param {String} businessUnitId The ID of the business unit
85407
86331
  * @param {String} bidId The ID of the work plan bid to copy
85408
- * @param {Object} opts Optional parameters
85409
- * @param {Object} opts.body body
86332
+ * @param {Object} body body
85410
86333
  */
85411
- postWorkforcemanagementBusinessunitWorkplanbidCopy(businessUnitId, bidId, opts) {
85412
- opts = opts || {};
85413
-
86334
+ postWorkforcemanagementBusinessunitWorkplanbidCopy(businessUnitId, bidId, body) {
85414
86335
  // verify the required parameter 'businessUnitId' is set
85415
86336
  if (businessUnitId === undefined || businessUnitId === null) {
85416
86337
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
@@ -85419,6 +86340,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85419
86340
  if (bidId === undefined || bidId === null) {
85420
86341
  throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
85421
86342
  }
86343
+ // verify the required parameter 'body' is set
86344
+ if (body === undefined || body === null) {
86345
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
86346
+ }
85422
86347
 
85423
86348
  return this.apiClient.callApi(
85424
86349
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/copy',
@@ -85427,7 +86352,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85427
86352
  { },
85428
86353
  { },
85429
86354
  { },
85430
- opts['body'],
86355
+ body,
85431
86356
  ['PureCloud OAuth'],
85432
86357
  ['application/json'],
85433
86358
  ['application/json']
@@ -86870,7 +87795,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86870
87795
  * </pre>
86871
87796
  * </p>
86872
87797
  * @module purecloud-platform-client-v2/index
86873
- * @version 223.0.0
87798
+ * @version 224.0.0
86874
87799
  */
86875
87800
  class platformClient {
86876
87801
  constructor() {
@@ -86884,6 +87809,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86884
87809
  * @property {module:purecloud-platform-client-v2/ApiClient}
86885
87810
  */
86886
87811
  this.ApiClientClass = ApiClient;
87812
+ /**
87813
+ * The AIStudioApi service constructor.
87814
+ * @property {module:purecloud-platform-client-v2/api/AIStudioApi}
87815
+ */
87816
+ this.AIStudioApi = AIStudioApi;
86887
87817
  /**
86888
87818
  * The AgentAssistantsApi service constructor.
86889
87819
  * @property {module:purecloud-platform-client-v2/api/AgentAssistantsApi}