Skip to content

Commit f68ec7e

Browse files
author
PureCloud Jenkins
committed
175.0.0
1 parent b8a5477 commit f68ec7e

File tree

93 files changed

+1508
-2136
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+1508
-2136
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For direct use in a browser script:
3131

3232
```html
3333
<!-- Include the CJS SDK -->
34-
<script src="https://sdk-cdn.mypurecloud.com/javascript/174.0.0/purecloud-platform-client-v2.min.js"></script>
34+
<script src="https://sdk-cdn.mypurecloud.com/javascript/175.0.0/purecloud-platform-client-v2.min.js"></script>
3535

3636
<script type="text/javascript">
3737
// Obtain a reference to the platformClient object
@@ -48,7 +48,7 @@ For direct use in a browser script:
4848

4949
<script type="text/javascript">
5050
// Obtain a reference to the platformClient object
51-
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/174.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
51+
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/175.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
5252
console.log(platformClient);
5353
});
5454
</script>

build/.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,9 @@ docs/getFlowHistoryHistoryId-example.txt
698698
docs/getFlowLatestconfiguration-example.txt
699699
docs/getFlowVersion-example.txt
700700
docs/getFlowVersionConfiguration-example.txt
701+
docs/getFlowVersionHealth-example.txt
702+
docs/getFlowVersionIntentHealth-example.txt
703+
docs/getFlowVersionIntentUtteranceHealth-example.txt
701704
docs/getFlowVersions-example.txt
702705
docs/getFlows-example.txt
703706
docs/getFlowsDatatable-example.txt

build/APIData.json

Lines changed: 94 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3320,6 +3320,93 @@
33203320
"return": "Object",
33213321
"example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.ArchitectApi();\n\nlet flowId = \"flowId_example\"; // String | Flow ID\nlet versionId = \"versionId_example\"; // String | Version ID\nlet opts = { \n \"deleted\": \"deleted_example\" // String | Deleted flows\n};\n\n// Create flow version configuration\napiInstance.getFlowVersionConfiguration(flowId, versionId, opts)\n .then((data) => {\n console.log(`getFlowVersionConfiguration success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getFlowVersionConfiguration\");\n console.error(err);\n });"
33223322
},
3323+
"getflowversionhealth": {
3324+
"operationId": "getflowversionhealth",
3325+
"functionName": "getFlowVersionHealth",
3326+
"signature": "getFlowVersionHealth(flowId, versionId, language)",
3327+
"parameters": [
3328+
{
3329+
"name": "flowId",
3330+
"type": "String",
3331+
"required": "true"
3332+
},
3333+
{
3334+
"name": "versionId",
3335+
"type": "String",
3336+
"required": "true"
3337+
},
3338+
{
3339+
"name": "language",
3340+
"type": "String",
3341+
"required": "false"
3342+
}
3343+
],
3344+
"return": "FlowHealth",
3345+
"example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.ArchitectApi();\n\nlet flowId = \"flowId_example\"; // String | Flow ID.\nlet versionId = \"versionId_example\"; // String | Version ID.\nlet opts = { \n \"language\": \"language_example\" // String | Language to filter for\n};\n\n// Get overall health scores for all intents present in the NLU domain version associated with the bot flow version.\napiInstance.getFlowVersionHealth(flowId, versionId, opts)\n .then((data) => {\n console.log(`getFlowVersionHealth success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getFlowVersionHealth\");\n console.error(err);\n });"
3346+
},
3347+
"getflowversionintenthealth": {
3348+
"operationId": "getflowversionintenthealth",
3349+
"functionName": "getFlowVersionIntentHealth",
3350+
"signature": "getFlowVersionIntentHealth(flowId, versionId, intentId, language)",
3351+
"parameters": [
3352+
{
3353+
"name": "flowId",
3354+
"type": "String",
3355+
"required": "true"
3356+
},
3357+
{
3358+
"name": "versionId",
3359+
"type": "String",
3360+
"required": "true"
3361+
},
3362+
{
3363+
"name": "intentId",
3364+
"type": "String",
3365+
"required": "true"
3366+
},
3367+
{
3368+
"name": "language",
3369+
"type": "String",
3370+
"required": "true"
3371+
}
3372+
],
3373+
"return": "FlowHealthIntent",
3374+
"example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.ArchitectApi();\n\nlet flowId = \"flowId_example\"; // String | Flow ID.\nlet versionId = \"versionId_example\"; // String | Version ID.\nlet intentId = \"intentId_example\"; // String | Intent ID.\nlet language = \"language_example\"; // String | Language to filter for\n\n// Get health scores and other health metrics for a specific intent. This includes the health metrics for each utterance in an intent.\napiInstance.getFlowVersionIntentHealth(flowId, versionId, intentId, language)\n .then((data) => {\n console.log(`getFlowVersionIntentHealth success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getFlowVersionIntentHealth\");\n console.error(err);\n });"
3375+
},
3376+
"getflowversionintentutterancehealth": {
3377+
"operationId": "getflowversionintentutterancehealth",
3378+
"functionName": "getFlowVersionIntentUtteranceHealth",
3379+
"signature": "getFlowVersionIntentUtteranceHealth(flowId, versionId, intentId, utteranceId, language)",
3380+
"parameters": [
3381+
{
3382+
"name": "flowId",
3383+
"type": "String",
3384+
"required": "true"
3385+
},
3386+
{
3387+
"name": "versionId",
3388+
"type": "String",
3389+
"required": "true"
3390+
},
3391+
{
3392+
"name": "intentId",
3393+
"type": "String",
3394+
"required": "true"
3395+
},
3396+
{
3397+
"name": "utteranceId",
3398+
"type": "String",
3399+
"required": "true"
3400+
},
3401+
{
3402+
"name": "language",
3403+
"type": "String",
3404+
"required": "true"
3405+
}
3406+
],
3407+
"return": "FlowHealthUtterance",
3408+
"example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.ArchitectApi();\n\nlet flowId = \"flowId_example\"; // String | Flow ID.\nlet versionId = \"versionId_example\"; // String | Version ID.\nlet intentId = \"intentId_example\"; // String | Intent ID.\nlet utteranceId = \"utteranceId_example\"; // String | Utterance ID.\nlet language = \"language_example\"; // String | Language to filter for\n\n// Get health metrics associated with a specific utterance of an intent.\napiInstance.getFlowVersionIntentUtteranceHealth(flowId, versionId, intentId, utteranceId, language)\n .then((data) => {\n console.log(`getFlowVersionIntentUtteranceHealth success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getFlowVersionIntentUtteranceHealth\");\n console.error(err);\n });"
3409+
},
33233410
"getflowversions": {
33243411
"operationId": "getflowversions",
33253412
"functionName": "getFlowVersions",
@@ -21646,16 +21733,21 @@
2164621733
"postlearningmodulepublish": {
2164721734
"operationId": "postlearningmodulepublish",
2164821735
"functionName": "postLearningModulePublish",
21649-
"signature": "postLearningModulePublish(moduleId)",
21736+
"signature": "postLearningModulePublish(moduleId, body)",
2165021737
"parameters": [
2165121738
{
2165221739
"name": "moduleId",
2165321740
"type": "String",
2165421741
"required": "true"
21742+
},
21743+
{
21744+
"name": "body",
21745+
"type": "Object",
21746+
"required": "false"
2165521747
}
2165621748
],
2165721749
"return": "LearningModulePublishResponse",
21658-
"example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.LearningApi();\n\nlet moduleId = \"moduleId_example\"; // String | The ID of the learning module\n\n// Publish a Learning module\napiInstance.postLearningModulePublish(moduleId)\n .then((data) => {\n console.log(`postLearningModulePublish success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling postLearningModulePublish\");\n console.error(err);\n });"
21750+
"example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.LearningApi();\n\nlet moduleId = \"moduleId_example\"; // String | The ID of the learning module\nlet opts = { \n \"body\": {} // Object | The request body\n};\n\n// Publish a Learning module\napiInstance.postLearningModulePublish(moduleId, opts)\n .then((data) => {\n console.log(`postLearningModulePublish success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling postLearningModulePublish\");\n console.error(err);\n });"
2165921751
},
2166021752
"postlearningmodules": {
2166121753
"operationId": "postlearningmodules",

build/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For direct use in a browser script:
3131

3232
```html
3333
<!-- Include the CJS SDK -->
34-
<script src="https://sdk-cdn.mypurecloud.com/javascript/174.0.0/purecloud-platform-client-v2.min.js"></script>
34+
<script src="https://sdk-cdn.mypurecloud.com/javascript/175.0.0/purecloud-platform-client-v2.min.js"></script>
3535

3636
<script type="text/javascript">
3737
// Obtain a reference to the platformClient object
@@ -48,7 +48,7 @@ For direct use in a browser script:
4848

4949
<script type="text/javascript">
5050
// Obtain a reference to the platformClient object
51-
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/174.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
51+
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/175.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
5252
console.log(platformClient);
5353
});
5454
</script>

0 commit comments

Comments
 (0)