purecloud-platform-client-v2 188.0.1 → 189.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 (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1059 -113
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1059 -113
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +340 -115
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +359 -122
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +727 -7
  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/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -2
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +298 -6
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +13 -9
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +5 -5
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +240 -11
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +187 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +161 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +7 -3
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +4 -4
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SettingsApi.js +48 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +27 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -3
  74. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +4 -3
  85. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -402,7 +402,7 @@ class Configuration {
402
402
 
403
403
  /**
404
404
  * @module purecloud-platform-client-v2/ApiClient
405
- * @version 188.0.1
405
+ * @version 189.0.0
406
406
  */
407
407
  class ApiClient {
408
408
  /**
@@ -1821,7 +1821,7 @@ class AlertingApi {
1821
1821
  /**
1822
1822
  * Alerting service.
1823
1823
  * @module purecloud-platform-client-v2/api/AlertingApi
1824
- * @version 188.0.1
1824
+ * @version 189.0.0
1825
1825
  */
1826
1826
 
1827
1827
  /**
@@ -2482,7 +2482,7 @@ class AnalyticsApi {
2482
2482
  /**
2483
2483
  * Analytics service.
2484
2484
  * @module purecloud-platform-client-v2/api/AnalyticsApi
2485
- * @version 188.0.1
2485
+ * @version 189.0.0
2486
2486
  */
2487
2487
 
2488
2488
  /**
@@ -4486,7 +4486,6 @@ class AnalyticsApi {
4486
4486
  * Query for knowledge aggregates
4487
4487
  *
4488
4488
  * @param {Object} body query
4489
- * postAnalyticsKnowledgeAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4490
4489
  */
4491
4490
  postAnalyticsKnowledgeAggregatesQuery(body) {
4492
4491
  // verify the required parameter 'body' is set
@@ -5096,7 +5095,7 @@ class ArchitectApi {
5096
5095
  /**
5097
5096
  * Architect service.
5098
5097
  * @module purecloud-platform-client-v2/api/ArchitectApi
5099
- * @version 188.0.1
5098
+ * @version 189.0.0
5100
5099
  */
5101
5100
 
5102
5101
  /**
@@ -5499,6 +5498,32 @@ class ArchitectApi {
5499
5498
  );
5500
5499
  }
5501
5500
 
5501
+ /**
5502
+ * Deletes a log level for a flow by flow id.
5503
+ * Deletes the associated log level for a flow by flow id
5504
+ * @param {String} flowId The flow id to delete the loglevel for
5505
+ * deleteFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5506
+ */
5507
+ deleteFlowInstancesSettingsLoglevels(flowId) {
5508
+ // verify the required parameter 'flowId' is set
5509
+ if (flowId === undefined || flowId === null) {
5510
+ throw 'Missing the required parameter "flowId" when calling deleteFlowInstancesSettingsLoglevels';
5511
+ }
5512
+
5513
+ return this.apiClient.callApi(
5514
+ '/api/v2/flows/{flowId}/instances/settings/loglevels',
5515
+ 'DELETE',
5516
+ { 'flowId': flowId },
5517
+ { },
5518
+ { },
5519
+ { },
5520
+ null,
5521
+ ['PureCloud OAuth'],
5522
+ ['application/json'],
5523
+ ['application/json']
5524
+ );
5525
+ }
5526
+
5502
5527
  /**
5503
5528
  * Batch-delete a list of flows
5504
5529
  * Multiple IDs can be specified, in which case all specified flows will be deleted. Asynchronous. Notification topic: v2.flows.{flowId}
@@ -5583,6 +5608,27 @@ class ArchitectApi {
5583
5608
  );
5584
5609
  }
5585
5610
 
5611
+ /**
5612
+ * Resets the org log level to default, base
5613
+ * Resets the org log level to default, base
5614
+ * deleteFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5615
+ */
5616
+ deleteFlowsInstancesSettingsLoglevelsDefault() {
5617
+
5618
+ return this.apiClient.callApi(
5619
+ '/api/v2/flows/instances/settings/loglevels/default',
5620
+ 'DELETE',
5621
+ { },
5622
+ { },
5623
+ { },
5624
+ { },
5625
+ null,
5626
+ ['PureCloud OAuth'],
5627
+ ['application/json'],
5628
+ ['application/json']
5629
+ );
5630
+ }
5631
+
5586
5632
  /**
5587
5633
  * Delete a flow milestone.
5588
5634
  *
@@ -6710,6 +6756,36 @@ class ArchitectApi {
6710
6756
  );
6711
6757
  }
6712
6758
 
6759
+ /**
6760
+ * Retrieves the log level for a flow by flow id.
6761
+ * Retrieves the log level for a flow by flow id.
6762
+ * @param {String} flowId The flow id to get the loglevel for
6763
+ * @param {Object} opts Optional parameters
6764
+ * @param {Array.<String>} opts.expand Expand instructions for the result
6765
+ * getFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6766
+ */
6767
+ getFlowInstancesSettingsLoglevels(flowId, opts) {
6768
+ opts = opts || {};
6769
+
6770
+ // verify the required parameter 'flowId' is set
6771
+ if (flowId === undefined || flowId === null) {
6772
+ throw 'Missing the required parameter "flowId" when calling getFlowInstancesSettingsLoglevels';
6773
+ }
6774
+
6775
+ return this.apiClient.callApi(
6776
+ '/api/v2/flows/{flowId}/instances/settings/loglevels',
6777
+ 'GET',
6778
+ { 'flowId': flowId },
6779
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
6780
+ { },
6781
+ { },
6782
+ null,
6783
+ ['PureCloud OAuth'],
6784
+ ['application/json'],
6785
+ ['application/json']
6786
+ );
6787
+ }
6788
+
6713
6789
  /**
6714
6790
  * Get the latest configuration for flow
6715
6791
  *
@@ -7339,7 +7415,6 @@ class ArchitectApi {
7339
7415
  * @param {String} instanceId Instance ID
7340
7416
  * @param {Object} opts Optional parameters
7341
7417
  * @param {Object} opts.expand Expand various details.
7342
- * getFlowsInstance is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7343
7418
  */
7344
7419
  getFlowsInstance(instanceId, opts) {
7345
7420
  opts = opts || {};
@@ -7367,7 +7442,6 @@ class ArchitectApi {
7367
7442
  * Get the status and/or results of an asynchronous flow execution data retrieval job
7368
7443
  *
7369
7444
  * @param {String} jobId The asynchronous job ID
7370
- * getFlowsInstancesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7371
7445
  */
7372
7446
  getFlowsInstancesJob(jobId) {
7373
7447
  // verify the required parameter 'jobId' is set
@@ -7394,7 +7468,6 @@ class ArchitectApi {
7394
7468
  * Returns the queryable parameters that can be used to build a query for execution data.
7395
7469
  * @param {Object} opts Optional parameters
7396
7470
  * @param {Object} opts.expand Expand various query types.
7397
- * getFlowsInstancesQuerycapabilities is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7398
7471
  */
7399
7472
  getFlowsInstancesQuerycapabilities(opts) {
7400
7473
  opts = opts || {};
@@ -7414,6 +7487,100 @@ class ArchitectApi {
7414
7487
  );
7415
7488
  }
7416
7489
 
7490
+ /**
7491
+ * Get the execution history enabled setting.
7492
+ * Get the execution history enabled setting.
7493
+ * getFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7494
+ */
7495
+ getFlowsInstancesSettingsExecutiondata() {
7496
+
7497
+ return this.apiClient.callApi(
7498
+ '/api/v2/flows/instances/settings/executiondata',
7499
+ 'GET',
7500
+ { },
7501
+ { },
7502
+ { },
7503
+ { },
7504
+ null,
7505
+ ['PureCloud OAuth'],
7506
+ ['application/json'],
7507
+ ['application/json']
7508
+ );
7509
+ }
7510
+
7511
+ /**
7512
+ * Retrieve a list of LogLevels for the organization.
7513
+ * Returns a paged set of LogLevels per flow id
7514
+ * @param {Object} opts Optional parameters
7515
+ * @param {Array.<String>} opts.expand Expand instructions for the result
7516
+ * @param {Number} opts.pageNumber Page number (default to 1)
7517
+ * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
7518
+ * getFlowsInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7519
+ */
7520
+ getFlowsInstancesSettingsLoglevels(opts) {
7521
+ opts = opts || {};
7522
+
7523
+
7524
+ return this.apiClient.callApi(
7525
+ '/api/v2/flows/instances/settings/loglevels',
7526
+ 'GET',
7527
+ { },
7528
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
7529
+ { },
7530
+ { },
7531
+ null,
7532
+ ['PureCloud OAuth'],
7533
+ ['application/json'],
7534
+ ['application/json']
7535
+ );
7536
+ }
7537
+
7538
+ /**
7539
+ * Gets the available flow log level characteristics for this organization.
7540
+ * Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
7541
+ * getFlowsInstancesSettingsLoglevelsCharacteristics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7542
+ */
7543
+ getFlowsInstancesSettingsLoglevelsCharacteristics() {
7544
+
7545
+ return this.apiClient.callApi(
7546
+ '/api/v2/flows/instances/settings/loglevels/characteristics',
7547
+ 'GET',
7548
+ { },
7549
+ { },
7550
+ { },
7551
+ { },
7552
+ null,
7553
+ ['PureCloud OAuth'],
7554
+ ['application/json'],
7555
+ ['application/json']
7556
+ );
7557
+ }
7558
+
7559
+ /**
7560
+ * Returns the flow default log level.
7561
+ * Returns the flow default log level which will be used if no specific flow id log level is found.
7562
+ * @param {Object} opts Optional parameters
7563
+ * @param {Array.<String>} opts.expand Expand instructions for the result
7564
+ * getFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7565
+ */
7566
+ getFlowsInstancesSettingsLoglevelsDefault(opts) {
7567
+ opts = opts || {};
7568
+
7569
+
7570
+ return this.apiClient.callApi(
7571
+ '/api/v2/flows/instances/settings/loglevels/default',
7572
+ 'GET',
7573
+ { },
7574
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
7575
+ { },
7576
+ { },
7577
+ null,
7578
+ ['PureCloud OAuth'],
7579
+ ['application/json'],
7580
+ ['application/json']
7581
+ );
7582
+ }
7583
+
7417
7584
  /**
7418
7585
  * Fetch Architect Job Status
7419
7586
  *
@@ -7682,6 +7849,32 @@ class ArchitectApi {
7682
7849
  );
7683
7850
  }
7684
7851
 
7852
+ /**
7853
+ * Edit the execution history enabled setting.
7854
+ * Edit the execution history enabled setting.
7855
+ * @param {Object} body New Execution Data Setting
7856
+ * patchFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7857
+ */
7858
+ patchFlowsInstancesSettingsExecutiondata(body) {
7859
+ // verify the required parameter 'body' is set
7860
+ if (body === undefined || body === null) {
7861
+ throw 'Missing the required parameter "body" when calling patchFlowsInstancesSettingsExecutiondata';
7862
+ }
7863
+
7864
+ return this.apiClient.callApi(
7865
+ '/api/v2/flows/instances/settings/executiondata',
7866
+ 'PATCH',
7867
+ { },
7868
+ { },
7869
+ { },
7870
+ { },
7871
+ body,
7872
+ ['PureCloud OAuth'],
7873
+ ['application/json'],
7874
+ ['application/json']
7875
+ );
7876
+ }
7877
+
7685
7878
  /**
7686
7879
  * Rebuild Dependency Tracking data for an organization
7687
7880
  * Asynchronous. Notification topic: v2.architect.dependencytracking.build
@@ -8091,6 +8284,41 @@ class ArchitectApi {
8091
8284
  );
8092
8285
  }
8093
8286
 
8287
+ /**
8288
+ * Set the logLevel for a particular flow id
8289
+ * Assigns a new loglevel to a flow id
8290
+ * @param {String} flowId The flow id to set the loglevel for
8291
+ * @param {Object} body New LogLevel settings
8292
+ * @param {Object} opts Optional parameters
8293
+ * @param {Array.<String>} opts.expand Expand instructions for the result
8294
+ * postFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8295
+ */
8296
+ postFlowInstancesSettingsLoglevels(flowId, body, opts) {
8297
+ opts = opts || {};
8298
+
8299
+ // verify the required parameter 'flowId' is set
8300
+ if (flowId === undefined || flowId === null) {
8301
+ throw 'Missing the required parameter "flowId" when calling postFlowInstancesSettingsLoglevels';
8302
+ }
8303
+ // verify the required parameter 'body' is set
8304
+ if (body === undefined || body === null) {
8305
+ throw 'Missing the required parameter "body" when calling postFlowInstancesSettingsLoglevels';
8306
+ }
8307
+
8308
+ return this.apiClient.callApi(
8309
+ '/api/v2/flows/{flowId}/instances/settings/loglevels',
8310
+ 'POST',
8311
+ { 'flowId': flowId },
8312
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
8313
+ { },
8314
+ { },
8315
+ body,
8316
+ ['PureCloud OAuth'],
8317
+ ['application/json'],
8318
+ ['application/json']
8319
+ );
8320
+ }
8321
+
8094
8322
  /**
8095
8323
  * Create flow version
8096
8324
  *
@@ -8445,7 +8673,6 @@ class ArchitectApi {
8445
8673
  * @param {Object} body Requested Flow Ids
8446
8674
  * @param {Object} opts Optional parameters
8447
8675
  * @param {Object} opts.expand Expand various query types.
8448
- * postFlowsInstancesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8449
8676
  */
8450
8677
  postFlowsInstancesJobs(body, opts) {
8451
8678
  opts = opts || {};
@@ -8476,7 +8703,6 @@ class ArchitectApi {
8476
8703
  * @param {Object} opts Optional parameters
8477
8704
  * @param {Boolean} opts.indexOnly indexes only
8478
8705
  * @param {Number} opts.pageSize number of results to return (default to 50)
8479
- * postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8480
8706
  */
8481
8707
  postFlowsInstancesQuery(body, opts) {
8482
8708
  opts = opts || {};
@@ -8818,6 +9044,41 @@ class ArchitectApi {
8818
9044
  );
8819
9045
  }
8820
9046
 
9047
+ /**
9048
+ * Edit the logLevel for a particular flow id
9049
+ * Updates the loglevel for a flow id
9050
+ * @param {String} flowId The flow id to edit the loglevel for
9051
+ * @param {Object} body New LogLevel settings
9052
+ * @param {Object} opts Optional parameters
9053
+ * @param {Array.<String>} opts.expand Expand instructions for the result
9054
+ * putFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9055
+ */
9056
+ putFlowInstancesSettingsLoglevels(flowId, body, opts) {
9057
+ opts = opts || {};
9058
+
9059
+ // verify the required parameter 'flowId' is set
9060
+ if (flowId === undefined || flowId === null) {
9061
+ throw 'Missing the required parameter "flowId" when calling putFlowInstancesSettingsLoglevels';
9062
+ }
9063
+ // verify the required parameter 'body' is set
9064
+ if (body === undefined || body === null) {
9065
+ throw 'Missing the required parameter "body" when calling putFlowInstancesSettingsLoglevels';
9066
+ }
9067
+
9068
+ return this.apiClient.callApi(
9069
+ '/api/v2/flows/{flowId}/instances/settings/loglevels',
9070
+ 'PUT',
9071
+ { 'flowId': flowId },
9072
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
9073
+ { },
9074
+ { },
9075
+ body,
9076
+ ['PureCloud OAuth'],
9077
+ ['application/json'],
9078
+ ['application/json']
9079
+ );
9080
+ }
9081
+
8821
9082
  /**
8822
9083
  * Updates a specific datatable by id
8823
9084
  * Updates a schema for a datatable with the given datatableId -updates allow only new fields to be added in the schema, no changes or removals of existing fields.
@@ -8886,6 +9147,36 @@ class ArchitectApi {
8886
9147
  );
8887
9148
  }
8888
9149
 
9150
+ /**
9151
+ * Edit the flow default log level.
9152
+ * Edit the flow default log level.
9153
+ * @param {Object} body New LogLevel settings
9154
+ * @param {Object} opts Optional parameters
9155
+ * @param {Array.<String>} opts.expand Expand instructions for the result
9156
+ * putFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9157
+ */
9158
+ putFlowsInstancesSettingsLoglevelsDefault(body, opts) {
9159
+ opts = opts || {};
9160
+
9161
+ // verify the required parameter 'body' is set
9162
+ if (body === undefined || body === null) {
9163
+ throw 'Missing the required parameter "body" when calling putFlowsInstancesSettingsLoglevelsDefault';
9164
+ }
9165
+
9166
+ return this.apiClient.callApi(
9167
+ '/api/v2/flows/instances/settings/loglevels/default',
9168
+ 'PUT',
9169
+ { },
9170
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
9171
+ { },
9172
+ { },
9173
+ body,
9174
+ ['PureCloud OAuth'],
9175
+ ['application/json'],
9176
+ ['application/json']
9177
+ );
9178
+ }
9179
+
8889
9180
  /**
8890
9181
  * Updates a flow milestone
8891
9182
  *
@@ -8950,7 +9241,7 @@ class AuditApi {
8950
9241
  /**
8951
9242
  * Audit service.
8952
9243
  * @module purecloud-platform-client-v2/api/AuditApi
8953
- * @version 188.0.1
9244
+ * @version 189.0.0
8954
9245
  */
8955
9246
 
8956
9247
  /**
@@ -9121,7 +9412,7 @@ class AuthorizationApi {
9121
9412
  /**
9122
9413
  * Authorization service.
9123
9414
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9124
- * @version 188.0.1
9415
+ * @version 189.0.0
9125
9416
  */
9126
9417
 
9127
9418
  /**
@@ -10351,7 +10642,7 @@ class BillingApi {
10351
10642
  /**
10352
10643
  * Billing service.
10353
10644
  * @module purecloud-platform-client-v2/api/BillingApi
10354
- * @version 188.0.1
10645
+ * @version 189.0.0
10355
10646
  */
10356
10647
 
10357
10648
  /**
@@ -10431,7 +10722,7 @@ class CarrierServicesApi {
10431
10722
  /**
10432
10723
  * CarrierServices service.
10433
10724
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
10434
- * @version 188.0.1
10725
+ * @version 189.0.0
10435
10726
  */
10436
10727
 
10437
10728
  /**
@@ -10501,7 +10792,7 @@ class ChatApi {
10501
10792
  /**
10502
10793
  * Chat service.
10503
10794
  * @module purecloud-platform-client-v2/api/ChatApi
10504
- * @version 188.0.1
10795
+ * @version 189.0.0
10505
10796
  */
10506
10797
 
10507
10798
  /**
@@ -11236,7 +11527,7 @@ class CoachingApi {
11236
11527
  /**
11237
11528
  * Coaching service.
11238
11529
  * @module purecloud-platform-client-v2/api/CoachingApi
11239
- * @version 188.0.1
11530
+ * @version 189.0.0
11240
11531
  */
11241
11532
 
11242
11533
  /**
@@ -11813,7 +12104,7 @@ class ContentManagementApi {
11813
12104
  /**
11814
12105
  * ContentManagement service.
11815
12106
  * @module purecloud-platform-client-v2/api/ContentManagementApi
11816
- * @version 188.0.1
12107
+ * @version 189.0.0
11817
12108
  */
11818
12109
 
11819
12110
  /**
@@ -12895,7 +13186,7 @@ class ConversationsApi {
12895
13186
  /**
12896
13187
  * Conversations service.
12897
13188
  * @module purecloud-platform-client-v2/api/ConversationsApi
12898
- * @version 188.0.1
13189
+ * @version 189.0.0
12899
13190
  */
12900
13191
 
12901
13192
  /**
@@ -13136,9 +13427,10 @@ class ConversationsApi {
13136
13427
  }
13137
13428
 
13138
13429
  /**
13139
- * Delete a LINE messenger integration
13140
- *
13430
+ * Delete a LINE messenger integration (Deprecated)
13431
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
13141
13432
  * @param {String} integrationId Integration ID
13433
+ * @deprecated
13142
13434
  */
13143
13435
  deleteConversationsMessagingIntegrationsLineIntegrationId(integrationId) {
13144
13436
  // verify the required parameter 'integrationId' is set
@@ -15147,14 +15439,15 @@ class ConversationsApi {
15147
15439
  }
15148
15440
 
15149
15441
  /**
15150
- * Get a list of LINE messenger Integrations
15151
- *
15442
+ * Get a list of LINE messenger Integrations (Deprecated)
15443
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
15152
15444
  * @param {Object} opts Optional parameters
15153
15445
  * @param {Number} opts.pageSize Page size (default to 25)
15154
15446
  * @param {Number} opts.pageNumber Page number (default to 1)
15155
15447
  * @param {Object} opts.expand Expand instructions for the return value.
15156
15448
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
15157
15449
  * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
15450
+ * @deprecated
15158
15451
  */
15159
15452
  getConversationsMessagingIntegrationsLine(opts) {
15160
15453
  opts = opts || {};
@@ -15175,11 +15468,12 @@ class ConversationsApi {
15175
15468
  }
15176
15469
 
15177
15470
  /**
15178
- * Get a LINE messenger integration
15179
- *
15471
+ * Get a LINE messenger integration (Deprecated)
15472
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
15180
15473
  * @param {String} integrationId Integration ID
15181
15474
  * @param {Object} opts Optional parameters
15182
15475
  * @param {Object} opts.expand Expand instructions for the return value.
15476
+ * @deprecated
15183
15477
  */
15184
15478
  getConversationsMessagingIntegrationsLineIntegrationId(integrationId, opts) {
15185
15479
  opts = opts || {};
@@ -19863,10 +20157,11 @@ class ConversationsApi {
19863
20157
  }
19864
20158
 
19865
20159
  /**
19866
- * Update a LINE messenger integration
19867
- *
20160
+ * Update a LINE messenger integration (Deprecated)
20161
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
19868
20162
  * @param {String} integrationId Integration ID
19869
20163
  * @param {Object} body LineIntegrationRequest
20164
+ * @deprecated
19870
20165
  */
19871
20166
  putConversationsMessagingIntegrationsLineIntegrationId(integrationId, body) {
19872
20167
  // verify the required parameter 'integrationId' is set
@@ -20063,7 +20358,7 @@ class DataExtensionsApi {
20063
20358
  /**
20064
20359
  * DataExtensions service.
20065
20360
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
20066
- * @version 188.0.1
20361
+ * @version 189.0.0
20067
20362
  */
20068
20363
 
20069
20364
  /**
@@ -20149,7 +20444,7 @@ class DownloadsApi {
20149
20444
  /**
20150
20445
  * Downloads service.
20151
20446
  * @module purecloud-platform-client-v2/api/DownloadsApi
20152
- * @version 188.0.1
20447
+ * @version 189.0.0
20153
20448
  */
20154
20449
 
20155
20450
  /**
@@ -20201,7 +20496,7 @@ class EmailsApi {
20201
20496
  /**
20202
20497
  * Emails service.
20203
20498
  * @module purecloud-platform-client-v2/api/EmailsApi
20204
- * @version 188.0.1
20499
+ * @version 189.0.0
20205
20500
  */
20206
20501
 
20207
20502
  /**
@@ -20266,7 +20561,7 @@ class EventsApi {
20266
20561
  /**
20267
20562
  * Events service.
20268
20563
  * @module purecloud-platform-client-v2/api/EventsApi
20269
- * @version 188.0.1
20564
+ * @version 189.0.0
20270
20565
  */
20271
20566
 
20272
20567
  /**
@@ -20362,7 +20657,7 @@ class ExternalContactsApi {
20362
20657
  /**
20363
20658
  * ExternalContacts service.
20364
20659
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
20365
- * @version 188.0.1
20660
+ * @version 189.0.0
20366
20661
  */
20367
20662
 
20368
20663
  /**
@@ -21223,7 +21518,7 @@ class ExternalContactsApi {
21223
21518
  * Scan for external contacts using paging
21224
21519
  *
21225
21520
  * @param {Object} opts Optional parameters
21226
- * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100)
21521
+ * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
21227
21522
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
21228
21523
  */
21229
21524
  getExternalcontactsScanContacts(opts) {
@@ -21248,7 +21543,7 @@ class ExternalContactsApi {
21248
21543
  * Scan for notes using paging
21249
21544
  *
21250
21545
  * @param {Object} opts Optional parameters
21251
- * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100)
21546
+ * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
21252
21547
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
21253
21548
  */
21254
21549
  getExternalcontactsScanNotes(opts) {
@@ -21273,7 +21568,7 @@ class ExternalContactsApi {
21273
21568
  * Scan for external organizations using paging
21274
21569
  *
21275
21570
  * @param {Object} opts Optional parameters
21276
- * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100)
21571
+ * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
21277
21572
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
21278
21573
  */
21279
21574
  getExternalcontactsScanOrganizations(opts) {
@@ -21298,7 +21593,7 @@ class ExternalContactsApi {
21298
21593
  * Scan for relationships
21299
21594
  *
21300
21595
  * @param {Object} opts Optional parameters
21301
- * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100)
21596
+ * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
21302
21597
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
21303
21598
  */
21304
21599
  getExternalcontactsScanRelationships(opts) {
@@ -22320,7 +22615,7 @@ class FaxApi {
22320
22615
  /**
22321
22616
  * Fax service.
22322
22617
  * @module purecloud-platform-client-v2/api/FaxApi
22323
- * @version 188.0.1
22618
+ * @version 189.0.0
22324
22619
  */
22325
22620
 
22326
22621
  /**
@@ -22491,7 +22786,7 @@ class FlowsApi {
22491
22786
  /**
22492
22787
  * Flows service.
22493
22788
  * @module purecloud-platform-client-v2/api/FlowsApi
22494
- * @version 188.0.1
22789
+ * @version 189.0.0
22495
22790
  */
22496
22791
 
22497
22792
  /**
@@ -22675,7 +22970,7 @@ class GamificationApi {
22675
22970
  /**
22676
22971
  * Gamification service.
22677
22972
  * @module purecloud-platform-client-v2/api/GamificationApi
22678
- * @version 188.0.1
22973
+ * @version 189.0.0
22679
22974
  */
22680
22975
 
22681
22976
  /**
@@ -24761,7 +25056,7 @@ class GeneralDataProtectionRegulationApi {
24761
25056
  /**
24762
25057
  * GeneralDataProtectionRegulation service.
24763
25058
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
24764
- * @version 188.0.1
25059
+ * @version 189.0.0
24765
25060
  */
24766
25061
 
24767
25062
  /**
@@ -24891,7 +25186,7 @@ class GeolocationApi {
24891
25186
  /**
24892
25187
  * Geolocation service.
24893
25188
  * @module purecloud-platform-client-v2/api/GeolocationApi
24894
- * @version 188.0.1
25189
+ * @version 189.0.0
24895
25190
  */
24896
25191
 
24897
25192
  /**
@@ -25022,7 +25317,7 @@ class GreetingsApi {
25022
25317
  /**
25023
25318
  * Greetings service.
25024
25319
  * @module purecloud-platform-client-v2/api/GreetingsApi
25025
- * @version 188.0.1
25320
+ * @version 189.0.0
25026
25321
  */
25027
25322
 
25028
25323
  /**
@@ -25477,7 +25772,7 @@ class GroupsApi {
25477
25772
  /**
25478
25773
  * Groups service.
25479
25774
  * @module purecloud-platform-client-v2/api/GroupsApi
25480
- * @version 188.0.1
25775
+ * @version 189.0.0
25481
25776
  */
25482
25777
 
25483
25778
  /**
@@ -25996,7 +26291,7 @@ class IdentityProviderApi {
25996
26291
  /**
25997
26292
  * IdentityProvider service.
25998
26293
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
25999
- * @version 188.0.1
26294
+ * @version 189.0.0
26000
26295
  */
26001
26296
 
26002
26297
  /**
@@ -26857,7 +27152,7 @@ class InfrastructureAsCodeApi {
26857
27152
  /**
26858
27153
  * InfrastructureAsCode service.
26859
27154
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
26860
- * @version 188.0.1
27155
+ * @version 189.0.0
26861
27156
  */
26862
27157
 
26863
27158
  /**
@@ -27024,7 +27319,7 @@ class IntegrationsApi {
27024
27319
  /**
27025
27320
  * Integrations service.
27026
27321
  * @module purecloud-platform-client-v2/api/IntegrationsApi
27027
- * @version 188.0.1
27322
+ * @version 189.0.0
27028
27323
  */
27029
27324
 
27030
27325
  /**
@@ -27931,6 +28226,57 @@ class IntegrationsApi {
27931
28226
  );
27932
28227
  }
27933
28228
 
28229
+ /**
28230
+ * Get details about a Dialogflow CX agent
28231
+ *
28232
+ * @param {String} agentId The agent ID
28233
+ */
28234
+ getIntegrationsSpeechDialogflowcxAgent(agentId) {
28235
+ // verify the required parameter 'agentId' is set
28236
+ if (agentId === undefined || agentId === null) {
28237
+ throw 'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowcxAgent';
28238
+ }
28239
+
28240
+ return this.apiClient.callApi(
28241
+ '/api/v2/integrations/speech/dialogflowcx/agents/{agentId}',
28242
+ 'GET',
28243
+ { 'agentId': agentId },
28244
+ { },
28245
+ { },
28246
+ { },
28247
+ null,
28248
+ ['PureCloud OAuth'],
28249
+ ['application/json'],
28250
+ ['application/json']
28251
+ );
28252
+ }
28253
+
28254
+ /**
28255
+ * Get a list of Dialogflow CX agents in the customers' Google accounts
28256
+ *
28257
+ * @param {Object} opts Optional parameters
28258
+ * @param {Number} opts.pageNumber Page number (default to 1)
28259
+ * @param {Number} opts.pageSize Page size (default to 25)
28260
+ * @param {String} opts.name Filter on agent name
28261
+ */
28262
+ getIntegrationsSpeechDialogflowcxAgents(opts) {
28263
+ opts = opts || {};
28264
+
28265
+
28266
+ return this.apiClient.callApi(
28267
+ '/api/v2/integrations/speech/dialogflowcx/agents',
28268
+ 'GET',
28269
+ { },
28270
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
28271
+ { },
28272
+ { },
28273
+ null,
28274
+ ['PureCloud OAuth'],
28275
+ ['application/json'],
28276
+ ['application/json']
28277
+ );
28278
+ }
28279
+
27934
28280
  /**
27935
28281
  * Get details about a Lex bot alias
27936
28282
  *
@@ -28014,6 +28360,89 @@ class IntegrationsApi {
28014
28360
  );
28015
28361
  }
28016
28362
 
28363
+ /**
28364
+ * Get details about a Lex V2 bot alias
28365
+ *
28366
+ * @param {String} aliasId The Alias ID
28367
+ */
28368
+ getIntegrationsSpeechLexv2BotAlias(aliasId) {
28369
+ // verify the required parameter 'aliasId' is set
28370
+ if (aliasId === undefined || aliasId === null) {
28371
+ throw 'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexv2BotAlias';
28372
+ }
28373
+
28374
+ return this.apiClient.callApi(
28375
+ '/api/v2/integrations/speech/lexv2/bot/alias/{aliasId}',
28376
+ 'GET',
28377
+ { 'aliasId': aliasId },
28378
+ { },
28379
+ { },
28380
+ { },
28381
+ null,
28382
+ ['PureCloud OAuth'],
28383
+ ['application/json'],
28384
+ ['application/json']
28385
+ );
28386
+ }
28387
+
28388
+ /**
28389
+ * Get a list of aliases for a Lex V2 bot
28390
+ *
28391
+ * @param {String} botId The Bot ID
28392
+ * @param {Object} opts Optional parameters
28393
+ * @param {Number} opts.pageNumber Page number (default to 1)
28394
+ * @param {Number} opts.pageSize Page size (default to 25)
28395
+ * @param {Object} opts.status Filter on alias status
28396
+ * @param {String} opts.name Filter on alias name
28397
+ */
28398
+ getIntegrationsSpeechLexv2BotBotIdAliases(botId, opts) {
28399
+ opts = opts || {};
28400
+
28401
+ // verify the required parameter 'botId' is set
28402
+ if (botId === undefined || botId === null) {
28403
+ throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechLexv2BotBotIdAliases';
28404
+ }
28405
+
28406
+ return this.apiClient.callApi(
28407
+ '/api/v2/integrations/speech/lexv2/bot/{botId}/aliases',
28408
+ 'GET',
28409
+ { 'botId': botId },
28410
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'status': opts['status'],'name': opts['name'] },
28411
+ { },
28412
+ { },
28413
+ null,
28414
+ ['PureCloud OAuth'],
28415
+ ['application/json'],
28416
+ ['application/json']
28417
+ );
28418
+ }
28419
+
28420
+ /**
28421
+ * Get a list of Lex V2 bots
28422
+ *
28423
+ * @param {Object} opts Optional parameters
28424
+ * @param {Number} opts.pageNumber Page number (default to 1)
28425
+ * @param {Number} opts.pageSize Page size (default to 25)
28426
+ * @param {String} opts.name Filter on bot name
28427
+ */
28428
+ getIntegrationsSpeechLexv2Bots(opts) {
28429
+ opts = opts || {};
28430
+
28431
+
28432
+ return this.apiClient.callApi(
28433
+ '/api/v2/integrations/speech/lexv2/bots',
28434
+ 'GET',
28435
+ { },
28436
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
28437
+ { },
28438
+ { },
28439
+ null,
28440
+ ['PureCloud OAuth'],
28441
+ ['application/json'],
28442
+ ['application/json']
28443
+ );
28444
+ }
28445
+
28017
28446
  /**
28018
28447
  * Get a Nuance bot in the specified Integration
28019
28448
  *
@@ -28022,7 +28451,6 @@ class IntegrationsApi {
28022
28451
  * @param {Object} opts Optional parameters
28023
28452
  * @param {Array.<String>} opts.expand expand
28024
28453
  * @param {Object} opts.targetChannel targetChannel
28025
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBot is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28026
28454
  */
28027
28455
  getIntegrationsSpeechNuanceNuanceIntegrationIdBot(nuanceIntegrationId, botId, opts) {
28028
28456
  opts = opts || {};
@@ -28056,7 +28484,6 @@ class IntegrationsApi {
28056
28484
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
28057
28485
  * @param {String} botId The Nuance bot ID
28058
28486
  * @param {String} jobId The asynchronous job ID
28059
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28060
28487
  */
28061
28488
  getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(nuanceIntegrationId, botId, jobId) {
28062
28489
  // verify the required parameter 'nuanceIntegrationId' is set
@@ -28092,7 +28519,6 @@ class IntegrationsApi {
28092
28519
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
28093
28520
  * @param {String} botId The Nuance bot ID
28094
28521
  * @param {String} jobId The asynchronous job ID
28095
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28096
28522
  */
28097
28523
  getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(nuanceIntegrationId, botId, jobId) {
28098
28524
  // verify the required parameter 'nuanceIntegrationId' is set
@@ -28130,7 +28556,6 @@ class IntegrationsApi {
28130
28556
  * @param {Number} opts.pageNumber Page number (default to 1)
28131
28557
  * @param {Number} opts.pageSize Page size (default to 25)
28132
28558
  * @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
28133
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBots is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28134
28559
  */
28135
28560
  getIntegrationsSpeechNuanceNuanceIntegrationIdBots(nuanceIntegrationId, opts) {
28136
28561
  opts = opts || {};
@@ -28159,7 +28584,6 @@ class IntegrationsApi {
28159
28584
  *
28160
28585
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
28161
28586
  * @param {String} jobId The asynchronous job ID
28162
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28163
28587
  */
28164
28588
  getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(nuanceIntegrationId, jobId) {
28165
28589
  // verify the required parameter 'nuanceIntegrationId' is set
@@ -28190,7 +28614,6 @@ class IntegrationsApi {
28190
28614
  *
28191
28615
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
28192
28616
  * @param {String} jobId The asynchronous job ID
28193
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28194
28617
  */
28195
28618
  getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(nuanceIntegrationId, jobId) {
28196
28619
  // verify the required parameter 'nuanceIntegrationId' is set
@@ -28216,6 +28639,57 @@ class IntegrationsApi {
28216
28639
  );
28217
28640
  }
28218
28641
 
28642
+ /**
28643
+ * Get details about a STT engine
28644
+ *
28645
+ * @param {String} engineId The engine ID
28646
+ */
28647
+ getIntegrationsSpeechSttEngine(engineId) {
28648
+ // verify the required parameter 'engineId' is set
28649
+ if (engineId === undefined || engineId === null) {
28650
+ throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechSttEngine';
28651
+ }
28652
+
28653
+ return this.apiClient.callApi(
28654
+ '/api/v2/integrations/speech/stt/engines/{engineId}',
28655
+ 'GET',
28656
+ { 'engineId': engineId },
28657
+ { },
28658
+ { },
28659
+ { },
28660
+ null,
28661
+ ['PureCloud OAuth'],
28662
+ ['application/json'],
28663
+ ['application/json']
28664
+ );
28665
+ }
28666
+
28667
+ /**
28668
+ * Get a list of STT engines enabled for org
28669
+ *
28670
+ * @param {Object} opts Optional parameters
28671
+ * @param {Number} opts.pageNumber Page number (default to 1)
28672
+ * @param {Number} opts.pageSize Page size (default to 25)
28673
+ * @param {String} opts.name Filter on engine name
28674
+ */
28675
+ getIntegrationsSpeechSttEngines(opts) {
28676
+ opts = opts || {};
28677
+
28678
+
28679
+ return this.apiClient.callApi(
28680
+ '/api/v2/integrations/speech/stt/engines',
28681
+ 'GET',
28682
+ { },
28683
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
28684
+ { },
28685
+ { },
28686
+ null,
28687
+ ['PureCloud OAuth'],
28688
+ ['application/json'],
28689
+ ['application/json']
28690
+ );
28691
+ }
28692
+
28219
28693
  /**
28220
28694
  * Get details about a TTS engine
28221
28695
  *
@@ -28437,6 +28911,60 @@ class IntegrationsApi {
28437
28911
  );
28438
28912
  }
28439
28913
 
28914
+ /**
28915
+ * UC integration client application configuration.
28916
+ * This endpoint returns basic UI configuration data for the specified Unified Communications integration client application.
28917
+ * @param {String} ucIntegrationId 3rd Party Service Type
28918
+ */
28919
+ getIntegrationsUnifiedcommunicationsClientapp(ucIntegrationId) {
28920
+ // verify the required parameter 'ucIntegrationId' is set
28921
+ if (ucIntegrationId === undefined || ucIntegrationId === null) {
28922
+ throw 'Missing the required parameter "ucIntegrationId" when calling getIntegrationsUnifiedcommunicationsClientapp';
28923
+ }
28924
+
28925
+ return this.apiClient.callApi(
28926
+ '/api/v2/integrations/unifiedcommunications/clientapps/{ucIntegrationId}',
28927
+ 'GET',
28928
+ { 'ucIntegrationId': ucIntegrationId },
28929
+ { },
28930
+ { },
28931
+ { },
28932
+ null,
28933
+ ['PureCloud OAuth'],
28934
+ ['application/json'],
28935
+ ['application/json']
28936
+ );
28937
+ }
28938
+
28939
+ /**
28940
+ * List UC integration client application configurations.
28941
+ * This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled.
28942
+ * @param {Object} opts Optional parameters
28943
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
28944
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
28945
+ * @param {String} opts.sortBy variable name requested to sort by
28946
+ * @param {Array.<String>} opts.expand variable name requested by expand list
28947
+ * @param {String} opts.nextPage next page token
28948
+ * @param {String} opts.previousPage Previous page token
28949
+ */
28950
+ getIntegrationsUnifiedcommunicationsClientapps(opts) {
28951
+ opts = opts || {};
28952
+
28953
+
28954
+ return this.apiClient.callApi(
28955
+ '/api/v2/integrations/unifiedcommunications/clientapps',
28956
+ 'GET',
28957
+ { },
28958
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
28959
+ { },
28960
+ { },
28961
+ null,
28962
+ ['PureCloud OAuth'],
28963
+ ['application/json'],
28964
+ ['application/json']
28965
+ );
28966
+ }
28967
+
28440
28968
  /**
28441
28969
  * List permitted user app integrations for the logged in user
28442
28970
  *
@@ -28844,7 +29372,6 @@ class IntegrationsApi {
28844
29372
  * @param {Object} opts Optional parameters
28845
29373
  * @param {Array.<String>} opts.expand expand
28846
29374
  * @param {String} opts.body targetChannel
28847
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28848
29375
  */
28849
29376
  postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs(nuanceIntegrationId, botId, opts) {
28850
29377
  opts = opts || {};
@@ -28880,7 +29407,6 @@ class IntegrationsApi {
28880
29407
  * @param {Number} opts.pageNumber Page number (default to 1)
28881
29408
  * @param {Number} opts.pageSize Page size (default to 25)
28882
29409
  * @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
28883
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28884
29410
  */
28885
29411
  postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs(nuanceIntegrationId, opts) {
28886
29412
  opts = opts || {};
@@ -28909,7 +29435,6 @@ class IntegrationsApi {
28909
29435
  *
28910
29436
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
28911
29437
  * @param {Object} settings
28912
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28913
29438
  */
28914
29439
  postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId, settings) {
28915
29440
  // verify the required parameter 'nuanceIntegrationId' is set
@@ -29059,7 +29584,6 @@ class IntegrationsApi {
29059
29584
  *
29060
29585
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
29061
29586
  * @param {Object} settings
29062
- * putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
29063
29587
  */
29064
29588
  putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(nuanceIntegrationId, settings) {
29065
29589
  // verify the required parameter 'nuanceIntegrationId' is set
@@ -29146,7 +29670,7 @@ class JourneyApi {
29146
29670
  /**
29147
29671
  * Journey service.
29148
29672
  * @module purecloud-platform-client-v2/api/JourneyApi
29149
- * @version 188.0.1
29673
+ * @version 189.0.0
29150
29674
  */
29151
29675
 
29152
29676
  /**
@@ -29290,6 +29814,32 @@ class JourneyApi {
29290
29814
  );
29291
29815
  }
29292
29816
 
29817
+ /**
29818
+ * Delete a Journey View by ID
29819
+ * deletes all versions
29820
+ * @param {String} viewId viewId
29821
+ * deleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
29822
+ */
29823
+ deleteJourneyView(viewId) {
29824
+ // verify the required parameter 'viewId' is set
29825
+ if (viewId === undefined || viewId === null) {
29826
+ throw 'Missing the required parameter "viewId" when calling deleteJourneyView';
29827
+ }
29828
+
29829
+ return this.apiClient.callApi(
29830
+ '/api/v2/journey/views/{viewId}',
29831
+ 'DELETE',
29832
+ { 'viewId': viewId },
29833
+ { },
29834
+ { },
29835
+ { },
29836
+ null,
29837
+ ['PureCloud OAuth'],
29838
+ ['application/json'],
29839
+ ['application/json']
29840
+ );
29841
+ }
29842
+
29293
29843
  /**
29294
29844
  * Get status for async query for journey aggregates
29295
29845
  *
@@ -29913,6 +30463,84 @@ class JourneyApi {
29913
30463
  );
29914
30464
  }
29915
30465
 
30466
+ /**
30467
+ * Get a Journey View by ID
30468
+ * returns the latest version
30469
+ * @param {String} viewId viewId
30470
+ * getJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
30471
+ */
30472
+ getJourneyView(viewId) {
30473
+ // verify the required parameter 'viewId' is set
30474
+ if (viewId === undefined || viewId === null) {
30475
+ throw 'Missing the required parameter "viewId" when calling getJourneyView';
30476
+ }
30477
+
30478
+ return this.apiClient.callApi(
30479
+ '/api/v2/journey/views/{viewId}',
30480
+ 'GET',
30481
+ { 'viewId': viewId },
30482
+ { },
30483
+ { },
30484
+ { },
30485
+ null,
30486
+ ['PureCloud OAuth'],
30487
+ ['application/json'],
30488
+ ['application/json']
30489
+ );
30490
+ }
30491
+
30492
+ /**
30493
+ * Get a Journey View by ID and version
30494
+ *
30495
+ * @param {String} viewId viewId
30496
+ * @param {String} versionId versionId
30497
+ * getJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
30498
+ */
30499
+ getJourneyViewVersion(viewId, versionId) {
30500
+ // verify the required parameter 'viewId' is set
30501
+ if (viewId === undefined || viewId === null) {
30502
+ throw 'Missing the required parameter "viewId" when calling getJourneyViewVersion';
30503
+ }
30504
+ // verify the required parameter 'versionId' is set
30505
+ if (versionId === undefined || versionId === null) {
30506
+ throw 'Missing the required parameter "versionId" when calling getJourneyViewVersion';
30507
+ }
30508
+
30509
+ return this.apiClient.callApi(
30510
+ '/api/v2/journey/views/{viewId}/versions/{versionId}',
30511
+ 'GET',
30512
+ { 'viewId': viewId,'versionId': versionId },
30513
+ { },
30514
+ { },
30515
+ { },
30516
+ null,
30517
+ ['PureCloud OAuth'],
30518
+ ['application/json'],
30519
+ ['application/json']
30520
+ );
30521
+ }
30522
+
30523
+ /**
30524
+ * Get a list of Journey Views
30525
+ *
30526
+ * getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
30527
+ */
30528
+ getJourneyViews() {
30529
+
30530
+ return this.apiClient.callApi(
30531
+ '/api/v2/journey/views',
30532
+ 'GET',
30533
+ { },
30534
+ { },
30535
+ { },
30536
+ { },
30537
+ null,
30538
+ ['PureCloud OAuth'],
30539
+ ['application/json'],
30540
+ ['application/json']
30541
+ );
30542
+ }
30543
+
29916
30544
  /**
29917
30545
  * Update single action map.
29918
30546
  *
@@ -30241,6 +30869,31 @@ class JourneyApi {
30241
30869
  );
30242
30870
  }
30243
30871
 
30872
+ /**
30873
+ * Query for flow paths.
30874
+ *
30875
+ * @param {Object} opts Optional parameters
30876
+ * @param {Object} opts.body
30877
+ * postJourneyFlowsPathsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
30878
+ */
30879
+ postJourneyFlowsPathsQuery(opts) {
30880
+ opts = opts || {};
30881
+
30882
+
30883
+ return this.apiClient.callApi(
30884
+ '/api/v2/journey/flows/paths/query',
30885
+ 'POST',
30886
+ { },
30887
+ { },
30888
+ { },
30889
+ { },
30890
+ opts['body'],
30891
+ ['PureCloud OAuth'],
30892
+ ['application/json'],
30893
+ ['application/json']
30894
+ );
30895
+ }
30896
+
30244
30897
  /**
30245
30898
  * Create an outcome.
30246
30899
  *
@@ -30338,13 +30991,70 @@ class JourneyApi {
30338
30991
  );
30339
30992
  }
30340
30993
 
30994
+ /**
30995
+ * Update a Journey View by ID
30996
+ * creates a new version
30997
+ * @param {String} viewId viewId
30998
+ * @param {Object} body JourneyView
30999
+ * postJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31000
+ */
31001
+ postJourneyViewVersions(viewId, body) {
31002
+ // verify the required parameter 'viewId' is set
31003
+ if (viewId === undefined || viewId === null) {
31004
+ throw 'Missing the required parameter "viewId" when calling postJourneyViewVersions';
31005
+ }
31006
+ // verify the required parameter 'body' is set
31007
+ if (body === undefined || body === null) {
31008
+ throw 'Missing the required parameter "body" when calling postJourneyViewVersions';
31009
+ }
31010
+
31011
+ return this.apiClient.callApi(
31012
+ '/api/v2/journey/views/{viewId}/versions',
31013
+ 'POST',
31014
+ { 'viewId': viewId },
31015
+ { },
31016
+ { },
31017
+ { },
31018
+ body,
31019
+ ['PureCloud OAuth'],
31020
+ ['application/json'],
31021
+ ['application/json']
31022
+ );
31023
+ }
31024
+
31025
+ /**
31026
+ * Create a new Journey View
31027
+ *
31028
+ * @param {Object} body JourneyView
31029
+ * postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31030
+ */
31031
+ postJourneyViews(body) {
31032
+ // verify the required parameter 'body' is set
31033
+ if (body === undefined || body === null) {
31034
+ throw 'Missing the required parameter "body" when calling postJourneyViews';
31035
+ }
31036
+
31037
+ return this.apiClient.callApi(
31038
+ '/api/v2/journey/views',
31039
+ 'POST',
31040
+ { },
31041
+ { },
31042
+ { },
31043
+ { },
31044
+ body,
31045
+ ['PureCloud OAuth'],
31046
+ ['application/json'],
31047
+ ['application/json']
31048
+ );
31049
+ }
31050
+
30341
31051
  }
30342
31052
 
30343
31053
  class KnowledgeApi {
30344
31054
  /**
30345
31055
  * Knowledge service.
30346
31056
  * @module purecloud-platform-client-v2/api/KnowledgeApi
30347
- * @version 188.0.1
31057
+ * @version 189.0.0
30348
31058
  */
30349
31059
 
30350
31060
  /**
@@ -32493,6 +33203,40 @@ class KnowledgeApi {
32493
33203
  );
32494
33204
  }
32495
33205
 
33206
+ /**
33207
+ * Indicate that the document was copied by the user.
33208
+ *
33209
+ * @param {String} sessionId Knowledge guest session ID.
33210
+ * @param {String} documentId Document ID
33211
+ * @param {Object} opts Optional parameters
33212
+ * @param {Object} opts.body
33213
+ */
33214
+ postKnowledgeGuestSessionDocumentCopies(sessionId, documentId, opts) {
33215
+ opts = opts || {};
33216
+
33217
+ // verify the required parameter 'sessionId' is set
33218
+ if (sessionId === undefined || sessionId === null) {
33219
+ throw 'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentCopies';
33220
+ }
33221
+ // verify the required parameter 'documentId' is set
33222
+ if (documentId === undefined || documentId === null) {
33223
+ throw 'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentCopies';
33224
+ }
33225
+
33226
+ return this.apiClient.callApi(
33227
+ '/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/copies',
33228
+ 'POST',
33229
+ { 'sessionId': sessionId,'documentId': documentId },
33230
+ { },
33231
+ { },
33232
+ { },
33233
+ opts['body'],
33234
+ ['PureCloud OAuth'],
33235
+ ['application/json'],
33236
+ ['application/json']
33237
+ );
33238
+ }
33239
+
32496
33240
  /**
32497
33241
  * Give feedback on a document
32498
33242
  *
@@ -32527,6 +33271,69 @@ class KnowledgeApi {
32527
33271
  );
32528
33272
  }
32529
33273
 
33274
+ /**
33275
+ * Create view event for a document.
33276
+ *
33277
+ * @param {String} sessionId Knowledge guest session ID.
33278
+ * @param {String} documentId Document ID
33279
+ * @param {Object} opts Optional parameters
33280
+ * @param {Object} opts.body
33281
+ */
33282
+ postKnowledgeGuestSessionDocumentViews(sessionId, documentId, opts) {
33283
+ opts = opts || {};
33284
+
33285
+ // verify the required parameter 'sessionId' is set
33286
+ if (sessionId === undefined || sessionId === null) {
33287
+ throw 'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentViews';
33288
+ }
33289
+ // verify the required parameter 'documentId' is set
33290
+ if (documentId === undefined || documentId === null) {
33291
+ throw 'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentViews';
33292
+ }
33293
+
33294
+ return this.apiClient.callApi(
33295
+ '/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views',
33296
+ 'POST',
33297
+ { 'sessionId': sessionId,'documentId': documentId },
33298
+ { },
33299
+ { },
33300
+ { },
33301
+ opts['body'],
33302
+ ['PureCloud OAuth'],
33303
+ ['application/json'],
33304
+ ['application/json']
33305
+ );
33306
+ }
33307
+
33308
+ /**
33309
+ * Indicate that documents were presented to the user.
33310
+ *
33311
+ * @param {String} sessionId Knowledge guest session ID.
33312
+ * @param {Object} opts Optional parameters
33313
+ * @param {Object} opts.body
33314
+ */
33315
+ postKnowledgeGuestSessionDocumentsPresentations(sessionId, opts) {
33316
+ opts = opts || {};
33317
+
33318
+ // verify the required parameter 'sessionId' is set
33319
+ if (sessionId === undefined || sessionId === null) {
33320
+ throw 'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsPresentations';
33321
+ }
33322
+
33323
+ return this.apiClient.callApi(
33324
+ '/api/v2/knowledge/guest/sessions/{sessionId}/documents/presentations',
33325
+ 'POST',
33326
+ { 'sessionId': sessionId },
33327
+ { },
33328
+ { },
33329
+ { },
33330
+ opts['body'],
33331
+ ['PureCloud OAuth'],
33332
+ ['application/json'],
33333
+ ['application/json']
33334
+ );
33335
+ }
33336
+
32530
33337
  /**
32531
33338
  * Search the documents in a guest session.
32532
33339
  *
@@ -32641,6 +33448,40 @@ class KnowledgeApi {
32641
33448
  );
32642
33449
  }
32643
33450
 
33451
+ /**
33452
+ * Indicate that the document was copied by the user.
33453
+ *
33454
+ * @param {String} knowledgeBaseId Knowledge base ID.
33455
+ * @param {String} documentId Document ID.
33456
+ * @param {Object} opts Optional parameters
33457
+ * @param {Object} opts.body
33458
+ */
33459
+ postKnowledgeKnowledgebaseDocumentCopies(knowledgeBaseId, documentId, opts) {
33460
+ opts = opts || {};
33461
+
33462
+ // verify the required parameter 'knowledgeBaseId' is set
33463
+ if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
33464
+ throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentCopies';
33465
+ }
33466
+ // verify the required parameter 'documentId' is set
33467
+ if (documentId === undefined || documentId === null) {
33468
+ throw 'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentCopies';
33469
+ }
33470
+
33471
+ return this.apiClient.callApi(
33472
+ '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/copies',
33473
+ 'POST',
33474
+ { 'knowledgeBaseId': knowledgeBaseId,'documentId': documentId },
33475
+ { },
33476
+ { },
33477
+ { },
33478
+ opts['body'],
33479
+ ['PureCloud OAuth'],
33480
+ ['application/json'],
33481
+ ['application/json']
33482
+ );
33483
+ }
33484
+
32644
33485
  /**
32645
33486
  * Give feedback on a document
32646
33487
  *
@@ -32871,6 +33712,35 @@ class KnowledgeApi {
32871
33712
  );
32872
33713
  }
32873
33714
 
33715
+ /**
33716
+ * Indicate that documents were presented to the user.
33717
+ *
33718
+ * @param {String} knowledgeBaseId Knowledge base ID.
33719
+ * @param {Object} opts Optional parameters
33720
+ * @param {Object} opts.body
33721
+ */
33722
+ postKnowledgeKnowledgebaseDocumentsPresentations(knowledgeBaseId, opts) {
33723
+ opts = opts || {};
33724
+
33725
+ // verify the required parameter 'knowledgeBaseId' is set
33726
+ if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
33727
+ throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsPresentations';
33728
+ }
33729
+
33730
+ return this.apiClient.callApi(
33731
+ '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/presentations',
33732
+ 'POST',
33733
+ { 'knowledgeBaseId': knowledgeBaseId },
33734
+ { },
33735
+ { },
33736
+ { },
33737
+ opts['body'],
33738
+ ['PureCloud OAuth'],
33739
+ ['application/json'],
33740
+ ['application/json']
33741
+ );
33742
+ }
33743
+
32874
33744
  /**
32875
33745
  * Search the documents in a knowledge base.
32876
33746
  *
@@ -33427,7 +34297,7 @@ class LanguageUnderstandingApi {
33427
34297
  /**
33428
34298
  * LanguageUnderstanding service.
33429
34299
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
33430
- * @version 188.0.1
34300
+ * @version 189.0.0
33431
34301
  */
33432
34302
 
33433
34303
  /**
@@ -34440,7 +35310,7 @@ class LanguagesApi {
34440
35310
  /**
34441
35311
  * Languages service.
34442
35312
  * @module purecloud-platform-client-v2/api/LanguagesApi
34443
- * @version 188.0.1
35313
+ * @version 189.0.0
34444
35314
  */
34445
35315
 
34446
35316
  /**
@@ -34662,7 +35532,7 @@ class LearningApi {
34662
35532
  /**
34663
35533
  * Learning service.
34664
35534
  * @module purecloud-platform-client-v2/api/LearningApi
34665
- * @version 188.0.1
35535
+ * @version 189.0.0
34666
35536
  */
34667
35537
 
34668
35538
  /**
@@ -35518,7 +36388,7 @@ class LicenseApi {
35518
36388
  /**
35519
36389
  * License service.
35520
36390
  * @module purecloud-platform-client-v2/api/LicenseApi
35521
- * @version 188.0.1
36391
+ * @version 189.0.0
35522
36392
  */
35523
36393
 
35524
36394
  /**
@@ -35756,7 +36626,7 @@ class LocationsApi {
35756
36626
  /**
35757
36627
  * Locations service.
35758
36628
  * @module purecloud-platform-client-v2/api/LocationsApi
35759
- * @version 188.0.1
36629
+ * @version 189.0.0
35760
36630
  */
35761
36631
 
35762
36632
  /**
@@ -35992,7 +36862,7 @@ class LogCaptureApi {
35992
36862
  /**
35993
36863
  * LogCapture service.
35994
36864
  * @module purecloud-platform-client-v2/api/LogCaptureApi
35995
- * @version 188.0.1
36865
+ * @version 189.0.0
35996
36866
  */
35997
36867
 
35998
36868
  /**
@@ -36192,7 +37062,7 @@ class MessagingApi {
36192
37062
  /**
36193
37063
  * Messaging service.
36194
37064
  * @module purecloud-platform-client-v2/api/MessagingApi
36195
- * @version 188.0.1
37065
+ * @version 189.0.0
36196
37066
  */
36197
37067
 
36198
37068
  /**
@@ -36551,7 +37421,7 @@ class MobileDevicesApi {
36551
37421
  /**
36552
37422
  * MobileDevices service.
36553
37423
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
36554
- * @version 188.0.1
37424
+ * @version 189.0.0
36555
37425
  */
36556
37426
 
36557
37427
  /**
@@ -36702,7 +37572,7 @@ class NotificationsApi {
36702
37572
  /**
36703
37573
  * Notifications service.
36704
37574
  * @module purecloud-platform-client-v2/api/NotificationsApi
36705
- * @version 188.0.1
37575
+ * @version 189.0.0
36706
37576
  */
36707
37577
 
36708
37578
  /**
@@ -36935,7 +37805,7 @@ class OAuthApi {
36935
37805
  /**
36936
37806
  * OAuth service.
36937
37807
  * @module purecloud-platform-client-v2/api/OAuthApi
36938
- * @version 188.0.1
37808
+ * @version 189.0.0
36939
37809
  */
36940
37810
 
36941
37811
  /**
@@ -37301,7 +38171,7 @@ class ObjectsApi {
37301
38171
  /**
37302
38172
  * Objects service.
37303
38173
  * @module purecloud-platform-client-v2/api/ObjectsApi
37304
- * @version 188.0.1
38174
+ * @version 189.0.0
37305
38175
  */
37306
38176
 
37307
38177
  /**
@@ -37571,7 +38441,7 @@ class OperationalEventsApi {
37571
38441
  /**
37572
38442
  * OperationalEvents service.
37573
38443
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
37574
- * @version 188.0.1
38444
+ * @version 189.0.0
37575
38445
  */
37576
38446
 
37577
38447
  /**
@@ -37637,7 +38507,7 @@ class OrganizationApi {
37637
38507
  /**
37638
38508
  * Organization service.
37639
38509
  * @module purecloud-platform-client-v2/api/OrganizationApi
37640
- * @version 188.0.1
38510
+ * @version 189.0.0
37641
38511
  */
37642
38512
 
37643
38513
  /**
@@ -38092,7 +38962,7 @@ class OrganizationAuthorizationApi {
38092
38962
  /**
38093
38963
  * OrganizationAuthorization service.
38094
38964
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
38095
- * @version 188.0.1
38965
+ * @version 189.0.0
38096
38966
  */
38097
38967
 
38098
38968
  /**
@@ -39439,7 +40309,7 @@ class OutboundApi {
39439
40309
  /**
39440
40310
  * Outbound service.
39441
40311
  * @module purecloud-platform-client-v2/api/OutboundApi
39442
- * @version 188.0.1
40312
+ * @version 189.0.0
39443
40313
  */
39444
40314
 
39445
40315
  /**
@@ -42470,8 +43340,12 @@ class OutboundApi {
42470
43340
  * Initiate the export of a contact list.
42471
43341
  * Returns 200 if received OK.
42472
43342
  * @param {String} contactListId ContactList ID
43343
+ * @param {Object} opts Optional parameters
43344
+ * @param {Object} opts.body Export information to get
42473
43345
  */
42474
- postOutboundContactlistExport(contactListId) {
43346
+ postOutboundContactlistExport(contactListId, opts) {
43347
+ opts = opts || {};
43348
+
42475
43349
  // verify the required parameter 'contactListId' is set
42476
43350
  if (contactListId === undefined || contactListId === null) {
42477
43351
  throw 'Missing the required parameter "contactListId" when calling postOutboundContactlistExport';
@@ -42484,7 +43358,7 @@ class OutboundApi {
42484
43358
  { },
42485
43359
  { },
42486
43360
  { },
42487
- null,
43361
+ opts['body'],
42488
43362
  ['PureCloud OAuth'],
42489
43363
  ['application/json'],
42490
43364
  ['application/json']
@@ -43676,7 +44550,7 @@ class PresenceApi {
43676
44550
  /**
43677
44551
  * Presence service.
43678
44552
  * @module purecloud-platform-client-v2/api/PresenceApi
43679
- * @version 188.0.1
44553
+ * @version 189.0.0
43680
44554
  */
43681
44555
 
43682
44556
  /**
@@ -44420,7 +45294,7 @@ class ProcessAutomationApi {
44420
45294
  /**
44421
45295
  * ProcessAutomation service.
44422
45296
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
44423
- * @version 188.0.1
45297
+ * @version 189.0.0
44424
45298
  */
44425
45299
 
44426
45300
  /**
@@ -44659,7 +45533,7 @@ class QualityApi {
44659
45533
  /**
44660
45534
  * Quality service.
44661
45535
  * @module purecloud-platform-client-v2/api/QualityApi
44662
- * @version 188.0.1
45536
+ * @version 189.0.0
44663
45537
  */
44664
45538
 
44665
45539
  /**
@@ -45282,7 +46156,7 @@ class QualityApi {
45282
46156
  }
45283
46157
 
45284
46158
  /**
45285
- * Get the list of evaluation forms
46159
+ * Get the list of evaluation forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding evaluation form.
45286
46160
  *
45287
46161
  * @param {Object} opts Optional parameters
45288
46162
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -45371,7 +46245,7 @@ class QualityApi {
45371
46245
 
45372
46246
  /**
45373
46247
  * Get the list of evaluation forms
45374
- * By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned by default. We will enhance this field in the future release.
46248
+ * By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned. We will enhance this field in a future release.
45375
46249
  * @param {Object} opts Optional parameters
45376
46250
  * @param {Number} opts.pageSize The total page size requested (default to 25)
45377
46251
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -45481,7 +46355,7 @@ class QualityApi {
45481
46355
  }
45482
46356
 
45483
46357
  /**
45484
- * Get the list of survey forms
46358
+ * Get the list of survey forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding survey form.
45485
46359
  *
45486
46360
  * @param {Object} opts Optional parameters
45487
46361
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -46416,7 +47290,7 @@ class RecordingApi {
46416
47290
  /**
46417
47291
  * Recording service.
46418
47292
  * @module purecloud-platform-client-v2/api/RecordingApi
46419
- * @version 188.0.1
47293
+ * @version 189.0.0
46420
47294
  */
46421
47295
 
46422
47296
  /**
@@ -48053,7 +48927,7 @@ class ResponseManagementApi {
48053
48927
  /**
48054
48928
  * ResponseManagement service.
48055
48929
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
48056
- * @version 188.0.1
48930
+ * @version 189.0.0
48057
48931
  */
48058
48932
 
48059
48933
  /**
@@ -48538,7 +49412,7 @@ class RoutingApi {
48538
49412
  /**
48539
49413
  * Routing service.
48540
49414
  * @module purecloud-platform-client-v2/api/RoutingApi
48541
- * @version 188.0.1
49415
+ * @version 189.0.0
48542
49416
  */
48543
49417
 
48544
49418
  /**
@@ -52491,7 +53365,7 @@ class SCIMApi {
52491
53365
  /**
52492
53366
  * SCIM service.
52493
53367
  * @module purecloud-platform-client-v2/api/SCIMApi
52494
- * @version 188.0.1
53368
+ * @version 189.0.0
52495
53369
  */
52496
53370
 
52497
53371
  /**
@@ -53368,7 +54242,7 @@ class ScreenRecordingApi {
53368
54242
  /**
53369
54243
  * ScreenRecording service.
53370
54244
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
53371
- * @version 188.0.1
54245
+ * @version 189.0.0
53372
54246
  */
53373
54247
 
53374
54248
  /**
@@ -53413,7 +54287,7 @@ class ScriptsApi {
53413
54287
  /**
53414
54288
  * Scripts service.
53415
54289
  * @module purecloud-platform-client-v2/api/ScriptsApi
53416
- * @version 188.0.1
54290
+ * @version 189.0.0
53417
54291
  */
53418
54292
 
53419
54293
  /**
@@ -53857,7 +54731,7 @@ class SearchApi {
53857
54731
  /**
53858
54732
  * Search service.
53859
54733
  * @module purecloud-platform-client-v2/api/SearchApi
53860
- * @version 188.0.1
54734
+ * @version 189.0.0
53861
54735
  */
53862
54736
 
53863
54737
  /**
@@ -54546,7 +55420,7 @@ class SettingsApi {
54546
55420
  /**
54547
55421
  * Settings service.
54548
55422
  * @module purecloud-platform-client-v2/api/SettingsApi
54549
- * @version 188.0.1
55423
+ * @version 189.0.0
54550
55424
  */
54551
55425
 
54552
55426
  /**
@@ -54581,6 +55455,27 @@ class SettingsApi {
54581
55455
  );
54582
55456
  }
54583
55457
 
55458
+ /**
55459
+ * Get the execution history enabled setting.
55460
+ * Get the execution history enabled setting.
55461
+ * getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
55462
+ */
55463
+ getSettingsExecutiondata() {
55464
+
55465
+ return this.apiClient.callApi(
55466
+ '/api/v2/settings/executiondata',
55467
+ 'GET',
55468
+ { },
55469
+ { },
55470
+ { },
55471
+ { },
55472
+ null,
55473
+ ['PureCloud OAuth'],
55474
+ ['application/json'],
55475
+ ['application/json']
55476
+ );
55477
+ }
55478
+
54584
55479
  /**
54585
55480
  * Patch email Contact Center settings
54586
55481
  *
@@ -54605,13 +55500,39 @@ class SettingsApi {
54605
55500
  );
54606
55501
  }
54607
55502
 
55503
+ /**
55504
+ * Edit the execution history on off setting.
55505
+ * Edit the execution history on off setting.
55506
+ * @param {Object} body New Execution Data Setting
55507
+ * patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
55508
+ */
55509
+ patchSettingsExecutiondata(body) {
55510
+ // verify the required parameter 'body' is set
55511
+ if (body === undefined || body === null) {
55512
+ throw 'Missing the required parameter "body" when calling patchSettingsExecutiondata';
55513
+ }
55514
+
55515
+ return this.apiClient.callApi(
55516
+ '/api/v2/settings/executiondata',
55517
+ 'PATCH',
55518
+ { },
55519
+ { },
55520
+ { },
55521
+ { },
55522
+ body,
55523
+ ['PureCloud OAuth'],
55524
+ ['application/json'],
55525
+ ['application/json']
55526
+ );
55527
+ }
55528
+
54608
55529
  }
54609
55530
 
54610
55531
  class SpeechTextAnalyticsApi {
54611
55532
  /**
54612
55533
  * SpeechTextAnalytics service.
54613
55534
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
54614
- * @version 188.0.1
55535
+ * @version 189.0.0
54615
55536
  */
54616
55537
 
54617
55538
  /**
@@ -55725,7 +56646,7 @@ class StationsApi {
55725
56646
  /**
55726
56647
  * Stations service.
55727
56648
  * @module purecloud-platform-client-v2/api/StationsApi
55728
- * @version 188.0.1
56649
+ * @version 189.0.0
55729
56650
  */
55730
56651
 
55731
56652
  /**
@@ -55827,7 +56748,7 @@ class SuggestApi {
55827
56748
  /**
55828
56749
  * Suggest service.
55829
56750
  * @module purecloud-platform-client-v2/api/SuggestApi
55830
- * @version 188.0.1
56751
+ * @version 189.0.0
55831
56752
  */
55832
56753
 
55833
56754
  /**
@@ -55966,7 +56887,7 @@ class TaskManagementApi {
55966
56887
  /**
55967
56888
  * TaskManagement service.
55968
56889
  * @module purecloud-platform-client-v2/api/TaskManagementApi
55969
- * @version 188.0.1
56890
+ * @version 189.0.0
55970
56891
  */
55971
56892
 
55972
56893
  /**
@@ -56630,6 +57551,32 @@ class TaskManagementApi {
56630
57551
  );
56631
57552
  }
56632
57553
 
57554
+ /**
57555
+ * Get list of statuses for this worktype.
57556
+ *
57557
+ * @param {String} worktypeId Worktype id
57558
+ * getTaskmanagementWorktypeStatuses is a preview method and is subject to both breaking and non-breaking changes at any time without notice
57559
+ */
57560
+ getTaskmanagementWorktypeStatuses(worktypeId) {
57561
+ // verify the required parameter 'worktypeId' is set
57562
+ if (worktypeId === undefined || worktypeId === null) {
57563
+ throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatuses';
57564
+ }
57565
+
57566
+ return this.apiClient.callApi(
57567
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/statuses',
57568
+ 'GET',
57569
+ { 'worktypeId': worktypeId },
57570
+ { },
57571
+ { },
57572
+ { },
57573
+ null,
57574
+ ['PureCloud OAuth'],
57575
+ ['application/json'],
57576
+ ['application/json']
57577
+ );
57578
+ }
57579
+
56633
57580
  /**
56634
57581
  * Get a version of a worktype
56635
57582
  *
@@ -57247,7 +58194,7 @@ class TeamsApi {
57247
58194
  /**
57248
58195
  * Teams service.
57249
58196
  * @module purecloud-platform-client-v2/api/TeamsApi
57250
- * @version 188.0.1
58197
+ * @version 189.0.0
57251
58198
  */
57252
58199
 
57253
58200
  /**
@@ -57549,7 +58496,7 @@ class TelephonyApi {
57549
58496
  /**
57550
58497
  * Telephony service.
57551
58498
  * @module purecloud-platform-client-v2/api/TelephonyApi
57552
- * @version 188.0.1
58499
+ * @version 189.0.0
57553
58500
  */
57554
58501
 
57555
58502
  /**
@@ -57731,7 +58678,7 @@ class TelephonyProvidersEdgeApi {
57731
58678
  /**
57732
58679
  * TelephonyProvidersEdge service.
57733
58680
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
57734
- * @version 188.0.1
58681
+ * @version 189.0.0
57735
58682
  */
57736
58683
 
57737
58684
  /**
@@ -61080,7 +62027,7 @@ class TextbotsApi {
61080
62027
  /**
61081
62028
  * Textbots service.
61082
62029
  * @module purecloud-platform-client-v2/api/TextbotsApi
61083
- * @version 188.0.1
62030
+ * @version 189.0.0
61084
62031
  */
61085
62032
 
61086
62033
  /**
@@ -61208,7 +62155,7 @@ class TokensApi {
61208
62155
  /**
61209
62156
  * Tokens service.
61210
62157
  * @module purecloud-platform-client-v2/api/TokensApi
61211
- * @version 188.0.1
62158
+ * @version 189.0.0
61212
62159
  */
61213
62160
 
61214
62161
  /**
@@ -61295,7 +62242,6 @@ class TokensApi {
61295
62242
  /**
61296
62243
  * Get the current Idle Token Timeout Value
61297
62244
  *
61298
- * getTokensTimeout is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61299
62245
  */
61300
62246
  getTokensTimeout() {
61301
62247
 
@@ -61338,7 +62284,6 @@ class TokensApi {
61338
62284
  *
61339
62285
  * @param {Object} opts Optional parameters
61340
62286
  * @param {Object} opts.body
61341
- * putTokensTimeout is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61342
62287
  */
61343
62288
  putTokensTimeout(opts) {
61344
62289
  opts = opts || {};
@@ -61364,7 +62309,7 @@ class UploadsApi {
61364
62309
  /**
61365
62310
  * Uploads service.
61366
62311
  * @module purecloud-platform-client-v2/api/UploadsApi
61367
- * @version 188.0.1
62312
+ * @version 189.0.0
61368
62313
  */
61369
62314
 
61370
62315
  /**
@@ -61633,7 +62578,7 @@ class UsageApi {
61633
62578
  /**
61634
62579
  * Usage service.
61635
62580
  * @module purecloud-platform-client-v2/api/UsageApi
61636
- * @version 188.0.1
62581
+ * @version 189.0.0
61637
62582
  */
61638
62583
 
61639
62584
  /**
@@ -61843,7 +62788,7 @@ class UserRecordingsApi {
61843
62788
  /**
61844
62789
  * UserRecordings service.
61845
62790
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
61846
- * @version 188.0.1
62791
+ * @version 189.0.0
61847
62792
  */
61848
62793
 
61849
62794
  /**
@@ -62028,7 +62973,7 @@ class UsersApi {
62028
62973
  /**
62029
62974
  * Users service.
62030
62975
  * @module purecloud-platform-client-v2/api/UsersApi
62031
- * @version 188.0.1
62976
+ * @version 189.0.0
62032
62977
  */
62033
62978
 
62034
62979
  /**
@@ -64679,7 +65624,7 @@ class UtilitiesApi {
64679
65624
  /**
64680
65625
  * Utilities service.
64681
65626
  * @module purecloud-platform-client-v2/api/UtilitiesApi
64682
- * @version 188.0.1
65627
+ * @version 189.0.0
64683
65628
  */
64684
65629
 
64685
65630
  /**
@@ -64790,7 +65735,7 @@ class VoicemailApi {
64790
65735
  /**
64791
65736
  * Voicemail service.
64792
65737
  * @module purecloud-platform-client-v2/api/VoicemailApi
64793
- * @version 188.0.1
65738
+ * @version 189.0.0
64794
65739
  */
64795
65740
 
64796
65741
  /**
@@ -65457,7 +66402,7 @@ class WebChatApi {
65457
66402
  /**
65458
66403
  * WebChat service.
65459
66404
  * @module purecloud-platform-client-v2/api/WebChatApi
65460
- * @version 188.0.1
66405
+ * @version 189.0.0
65461
66406
  */
65462
66407
 
65463
66408
  /**
@@ -66006,7 +66951,7 @@ class WebDeploymentsApi {
66006
66951
  /**
66007
66952
  * WebDeployments service.
66008
66953
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
66009
- * @version 188.0.1
66954
+ * @version 189.0.0
66010
66955
  */
66011
66956
 
66012
66957
  /**
@@ -66533,7 +67478,7 @@ class WebMessagingApi {
66533
67478
  /**
66534
67479
  * WebMessaging service.
66535
67480
  * @module purecloud-platform-client-v2/api/WebMessagingApi
66536
- * @version 188.0.1
67481
+ * @version 189.0.0
66537
67482
  */
66538
67483
 
66539
67484
  /**
@@ -66579,7 +67524,7 @@ class WidgetsApi {
66579
67524
  /**
66580
67525
  * Widgets service.
66581
67526
  * @module purecloud-platform-client-v2/api/WidgetsApi
66582
- * @version 188.0.1
67527
+ * @version 189.0.0
66583
67528
  */
66584
67529
 
66585
67530
  /**
@@ -66725,7 +67670,7 @@ class WorkforceManagementApi {
66725
67670
  /**
66726
67671
  * WorkforceManagement service.
66727
67672
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
66728
- * @version 188.0.1
67673
+ * @version 189.0.0
66729
67674
  */
66730
67675
 
66731
67676
  /**
@@ -67246,9 +68191,10 @@ class WorkforceManagementApi {
67246
68191
  }
67247
68192
 
67248
68193
  /**
67249
- * Get status of the modeling job
67250
- *
68194
+ * To get status of the modeling job.
68195
+ * This Endpoint is Deprecated, and not recommended to be used.
67251
68196
  * @param {String} jobId The id of the modeling job
68197
+ * @deprecated
67252
68198
  */
67253
68199
  getWorkforcemanagementAdhocmodelingjob(jobId) {
67254
68200
  // verify the required parameter 'jobId' is set
@@ -72120,7 +73066,7 @@ class WorkforceManagementApi {
72120
73066
  * </pre>
72121
73067
  * </p>
72122
73068
  * @module purecloud-platform-client-v2/index
72123
- * @version 188.0.1
73069
+ * @version 189.0.0
72124
73070
  */
72125
73071
  class platformClient {
72126
73072
  constructor() {