Skip to content

Commit 1d831c1

Browse files
author
PureCloud Jenkins
committed
171.0.0
1 parent e2e69a9 commit 1d831c1

File tree

93 files changed

+1380
-814
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

+1380
-814
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/170.0.0/purecloud-platform-client-v2.min.js"></script>
34+
<script src="https://sdk-cdn.mypurecloud.com/javascript/171.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/170.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
51+
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/171.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
@@ -1252,6 +1252,8 @@ docs/getTelephonyProvidersEdgesLinebasesettings-example.txt
12521252
docs/getTelephonyProvidersEdgesLines-example.txt
12531253
docs/getTelephonyProvidersEdgesLinesTemplate-example.txt
12541254
docs/getTelephonyProvidersEdgesLogicalinterfaces-example.txt
1255+
docs/getTelephonyProvidersEdgesMediastatisticsConversation-example.txt
1256+
docs/getTelephonyProvidersEdgesMediastatisticsConversationCommunication-example.txt
12551257
docs/getTelephonyProvidersEdgesMetrics-example.txt
12561258
docs/getTelephonyProvidersEdgesOutboundroute-example.txt
12571259
docs/getTelephonyProvidersEdgesOutboundroutes-example.txt
@@ -2008,6 +2010,7 @@ docs/postRoutingWrapupcodes-example.txt
20082010
docs/postScimUsers-example.txt
20092011
docs/postScimV2Users-example.txt
20102012
docs/postScriptExport-example.txt
2013+
docs/postScriptsPublished-example.txt
20112014
docs/postSearch-example.txt
20122015
docs/postSearch-example.txt
20132016
docs/postSearchSuggest-example.txt

build/APIData.json

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7419,7 +7419,7 @@
74197419
"required": "true"
74207420
}
74217421
],
7422-
"return": "EmailMessageListing",
7422+
"return": "EmailMessagePreviewListing",
74237423
"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.ConversationsApi();\n\nlet conversationId = \"conversationId_example\"; // String | conversationId\n\n// Get conversation messages\napiInstance.getConversationsEmailMessages(conversationId)\n .then((data) => {\n console.log(`getConversationsEmailMessages success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getConversationsEmailMessages\");\n console.error(err);\n });"
74247424
},
74257425
"getconversationsemailmessagesdraft": {
@@ -32161,6 +32161,25 @@
3216132161
"return": "ExportScriptResponse",
3216232162
"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.ScriptsApi();\n\nlet scriptId = \"scriptId_example\"; // String | Script ID\nlet opts = { \n \"body\": {} // Object | \n};\n\n// Export a script via download service.\napiInstance.postScriptExport(scriptId, opts)\n .then((data) => {\n console.log(`postScriptExport success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling postScriptExport\");\n console.error(err);\n });"
3216332163
},
32164+
"postscriptspublished": {
32165+
"operationId": "postscriptspublished",
32166+
"functionName": "postScriptsPublished",
32167+
"signature": "postScriptsPublished(scriptDataVersion, body)",
32168+
"parameters": [
32169+
{
32170+
"name": "scriptDataVersion",
32171+
"type": "String",
32172+
"required": "false"
32173+
},
32174+
{
32175+
"name": "body",
32176+
"type": "Object",
32177+
"required": "false"
32178+
}
32179+
],
32180+
"return": "Script",
32181+
"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.ScriptsApi();\n\nlet opts = { \n \"scriptDataVersion\": \"scriptDataVersion_example\", // String | Advanced usage - controls the data version of the script\n \"body\": {} // Object | body\n};\n\n// Publish a script.\napiInstance.postScriptsPublished(opts)\n .then((data) => {\n console.log(`postScriptsPublished success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling postScriptsPublished\");\n console.error(err);\n });"
32182+
},
3216432183
"getdocumentationgknsearch": {
3216532184
"operationId": "getdocumentationgknsearch",
3216632185
"functionName": "getDocumentationGknSearch",
@@ -35150,6 +35169,39 @@
3515035169
"return": "LogicalInterfaceEntityListing",
3515135170
"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.TelephonyProvidersEdgeApi();\n\nlet edgeIds = \"edgeIds_example\"; // String | Comma separated list of Edge Id's\nlet opts = { \n \"expand\": [\"expand_example\"] // [String] | Field to expand in the response\n};\n\n// Get edge logical interfaces.\napiInstance.getTelephonyProvidersEdgesLogicalinterfaces(edgeIds, opts)\n .then((data) => {\n console.log(`getTelephonyProvidersEdgesLogicalinterfaces success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getTelephonyProvidersEdgesLogicalinterfaces\");\n console.error(err);\n });"
3515235171
},
35172+
"gettelephonyprovidersedgesmediastatisticsconversation": {
35173+
"operationId": "gettelephonyprovidersedgesmediastatisticsconversation",
35174+
"functionName": "getTelephonyProvidersEdgesMediastatisticsConversation",
35175+
"signature": "getTelephonyProvidersEdgesMediastatisticsConversation(conversationId)",
35176+
"parameters": [
35177+
{
35178+
"name": "conversationId",
35179+
"type": "String",
35180+
"required": "true"
35181+
}
35182+
],
35183+
"return": "MediaStatisticsListing",
35184+
"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.TelephonyProvidersEdgeApi();\n\nlet conversationId = \"conversationId_example\"; // String | Identifier of the conversation\n\n// Get media endpoint statistics events.\napiInstance.getTelephonyProvidersEdgesMediastatisticsConversation(conversationId)\n .then((data) => {\n console.log(`getTelephonyProvidersEdgesMediastatisticsConversation success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getTelephonyProvidersEdgesMediastatisticsConversation\");\n console.error(err);\n });"
35185+
},
35186+
"gettelephonyprovidersedgesmediastatisticsconversationcommunication": {
35187+
"operationId": "gettelephonyprovidersedgesmediastatisticsconversationcommunication",
35188+
"functionName": "getTelephonyProvidersEdgesMediastatisticsConversationCommunication",
35189+
"signature": "getTelephonyProvidersEdgesMediastatisticsConversationCommunication(conversationId, communicationId)",
35190+
"parameters": [
35191+
{
35192+
"name": "conversationId",
35193+
"type": "String",
35194+
"required": "true"
35195+
},
35196+
{
35197+
"name": "communicationId",
35198+
"type": "String",
35199+
"required": "true"
35200+
}
35201+
],
35202+
"return": "MediaStatistics",
35203+
"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.TelephonyProvidersEdgeApi();\n\nlet conversationId = \"conversationId_example\"; // String | Identifier of the conversation\nlet communicationId = \"communicationId_example\"; // String | Identifier of the media session\n\n// Get media endpoint statistics event.\napiInstance.getTelephonyProvidersEdgesMediastatisticsConversationCommunication(conversationId, communicationId)\n .then((data) => {\n console.log(`getTelephonyProvidersEdgesMediastatisticsConversationCommunication success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getTelephonyProvidersEdgesMediastatisticsConversationCommunication\");\n console.error(err);\n });"
35204+
},
3515335205
"gettelephonyprovidersedgesmetrics": {
3515435206
"operationId": "gettelephonyprovidersedgesmetrics",
3515535207
"functionName": "getTelephonyProvidersEdgesMetrics",

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/170.0.0/purecloud-platform-client-v2.min.js"></script>
34+
<script src="https://sdk-cdn.mypurecloud.com/javascript/171.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/170.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
51+
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/171.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
5252
console.log(platformClient);
5353
});
5454
</script>

0 commit comments

Comments
 (0)