Skip to content

Commit c176260

Browse files
author
PureCloud Jenkins
committed
157.0.0
1 parent ffcf917 commit c176260

File tree

89 files changed

+1549
-592
lines changed

Some content is hidden

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

89 files changed

+1549
-592
lines changed

README.md

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

2828
```html
2929
<!-- Include the CJS SDK -->
30-
<script src="https://sdk-cdn.mypurecloud.com/javascript/156.0.0/purecloud-platform-client-v2.min.js"></script>
30+
<script src="https://sdk-cdn.mypurecloud.com/javascript/157.0.0/purecloud-platform-client-v2.min.js"></script>
3131

3232
<script type="text/javascript">
3333
// Obtain a reference to the platformClient object
@@ -44,7 +44,7 @@ For direct use in a browser script:
4444

4545
<script type="text/javascript">
4646
// Obtain a reference to the platformClient object
47-
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/156.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
47+
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/157.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
4848
console.log(platformClient);
4949
});
5050
</script>

build/.openapi-generator/FILES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ docs/deleteWebchatGuestConversationMember-example.txt
336336
docs/deleteWebchatSettings-example.txt
337337
docs/deleteWebdeploymentsConfiguration-example.txt
338338
docs/deleteWebdeploymentsDeployment-example.txt
339+
docs/deleteWebdeploymentsTokenRevoke-example.txt
339340
docs/deleteWidgetsDeployment-example.txt
340341
docs/deleteWorkforcemanagementBusinessunit-example.txt
341342
docs/deleteWorkforcemanagementBusinessunitActivitycode-example.txt
@@ -1230,6 +1231,7 @@ docs/getWidgetsDeployments-example.txt
12301231
docs/getWorkforcemanagementAdherence-example.txt
12311232
docs/getWorkforcemanagementAdherenceExplanation-example.txt
12321233
docs/getWorkforcemanagementAdherenceExplanationsJob-example.txt
1234+
docs/getWorkforcemanagementAdherenceHistoricalBulkJob-example.txt
12331235
docs/getWorkforcemanagementAdherenceHistoricalJob-example.txt
12341236
docs/getWorkforcemanagementAdhocmodelingjob-example.txt
12351237
docs/getWorkforcemanagementAgentAdherenceExplanation-example.txt
@@ -1859,10 +1861,13 @@ docs/postWebchatGuestConversations-example.txt
18591861
docs/postWebdeploymentsConfigurationVersionsDraftPublish-example.txt
18601862
docs/postWebdeploymentsConfigurations-example.txt
18611863
docs/postWebdeploymentsDeployments-example.txt
1864+
docs/postWebdeploymentsTokenOauthcodegrantjwtexchange-example.txt
1865+
docs/postWebdeploymentsTokenRefresh-example.txt
18621866
docs/postWidgetsDeployments-example.txt
18631867
docs/postWorkforcemanagementAdherenceExplanations-example.txt
18641868
docs/postWorkforcemanagementAdherenceExplanationsQuery-example.txt
18651869
docs/postWorkforcemanagementAdherenceHistorical-example.txt
1870+
docs/postWorkforcemanagementAdherenceHistoricalBulk-example.txt
18661871
docs/postWorkforcemanagementAgentAdherenceExplanations-example.txt
18671872
docs/postWorkforcemanagementAgentAdherenceExplanationsQuery-example.txt
18681873
docs/postWorkforcemanagementAgentschedulesMine-example.txt

build/APIData.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34222,6 +34222,24 @@
3422234222
],
3422334223
"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.WebDeploymentsApi();\n\nlet deploymentId = \"deploymentId_example\"; // String | The deployment ID\n\n// Delete a deployment\napiInstance.deleteWebdeploymentsDeployment(deploymentId)\n .then(() => {\n console.log(\"deleteWebdeploymentsDeployment returned successfully.\");\n })\n .catch((err) => {\n console.log(\"There was a failure calling deleteWebdeploymentsDeployment\");\n console.error(err);\n });"
3422434224
},
34225+
"deletewebdeploymentstokenrevoke": {
34226+
"operationId": "deletewebdeploymentstokenrevoke",
34227+
"functionName": "deleteWebdeploymentsTokenRevoke",
34228+
"signature": "deleteWebdeploymentsTokenRevoke(xJourneySessionId, xJourneySessionType)",
34229+
"parameters": [
34230+
{
34231+
"name": "xJourneySessionId",
34232+
"type": "String",
34233+
"required": "false"
34234+
},
34235+
{
34236+
"name": "xJourneySessionType",
34237+
"type": "String",
34238+
"required": "false"
34239+
}
34240+
],
34241+
"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\nlet apiInstance = new platformClient.WebDeploymentsApi();\n\nlet opts = { \n \"xJourneySessionId\": \"xJourneySessionId_example\", // String | The Customer's journey sessionId.\n \"xJourneySessionType\": \"xJourneySessionType_example\" // String | The Customer's journey session type.\n};\n\n// Invalidate JWT\napiInstance.deleteWebdeploymentsTokenRevoke(opts)\n .then(() => {\n console.log(\"deleteWebdeploymentsTokenRevoke returned successfully.\");\n })\n .catch((err) => {\n console.log(\"There was a failure calling deleteWebdeploymentsTokenRevoke\");\n console.error(err);\n });"
34242+
},
3422534243
"getwebdeploymentsconfigurationversion": {
3422634244
"operationId": "getwebdeploymentsconfigurationversion",
3422734245
"functionName": "getWebdeploymentsConfigurationVersion",
@@ -34372,6 +34390,34 @@
3437234390
"return": "WebDeployment",
3437334391
"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.WebDeploymentsApi();\n\nlet deployment = {}; // Object | \n\n// Create a deployment\napiInstance.postWebdeploymentsDeployments(deployment)\n .then((data) => {\n console.log(`postWebdeploymentsDeployments success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling postWebdeploymentsDeployments\");\n console.error(err);\n });"
3437434392
},
34393+
"postwebdeploymentstokenoauthcodegrantjwtexchange": {
34394+
"operationId": "postwebdeploymentstokenoauthcodegrantjwtexchange",
34395+
"functionName": "postWebdeploymentsTokenOauthcodegrantjwtexchange",
34396+
"signature": "postWebdeploymentsTokenOauthcodegrantjwtexchange(body)",
34397+
"parameters": [
34398+
{
34399+
"name": "body",
34400+
"type": "Object",
34401+
"required": "true"
34402+
}
34403+
],
34404+
"return": "WebDeploymentsAuthorizationResponse",
34405+
"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\nlet apiInstance = new platformClient.WebDeploymentsApi();\n\nlet body = {}; // Object | webDeploymentsOAuthExchangeRequest\n\n// Exchange an oAuth code (obtained using the Authorization Code Flow) for a JWT that can be used by webdeployments.\napiInstance.postWebdeploymentsTokenOauthcodegrantjwtexchange(body)\n .then((data) => {\n console.log(`postWebdeploymentsTokenOauthcodegrantjwtexchange success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling postWebdeploymentsTokenOauthcodegrantjwtexchange\");\n console.error(err);\n });"
34406+
},
34407+
"postwebdeploymentstokenrefresh": {
34408+
"operationId": "postwebdeploymentstokenrefresh",
34409+
"functionName": "postWebdeploymentsTokenRefresh",
34410+
"signature": "postWebdeploymentsTokenRefresh(body)",
34411+
"parameters": [
34412+
{
34413+
"name": "body",
34414+
"type": "Object",
34415+
"required": "false"
34416+
}
34417+
],
34418+
"return": "SignedData",
34419+
"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\nlet apiInstance = new platformClient.WebDeploymentsApi();\n\nlet opts = { \n \"body\": {} // Object | \n};\n\n// Refresh a JWT.\napiInstance.postWebdeploymentsTokenRefresh(opts)\n .then((data) => {\n console.log(`postWebdeploymentsTokenRefresh success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling postWebdeploymentsTokenRefresh\");\n console.error(err);\n });"
34420+
},
3437534421
"putwebdeploymentsconfigurationversionsdraft": {
3437634422
"operationId": "putwebdeploymentsconfigurationversionsdraft",
3437734423
"functionName": "putWebdeploymentsConfigurationVersionsDraft",
@@ -34761,6 +34807,20 @@
3476134807
"return": "AdherenceExplanationJob",
3476234808
"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.WorkforceManagementApi();\n\nlet jobId = \"jobId_example\"; // String | The ID of the job\n\n// Query the status of an adherence explanation operation. Only the user who started the operation can query the status\napiInstance.getWorkforcemanagementAdherenceExplanationsJob(jobId)\n .then((data) => {\n console.log(`getWorkforcemanagementAdherenceExplanationsJob success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getWorkforcemanagementAdherenceExplanationsJob\");\n console.error(err);\n });"
3476334809
},
34810+
"getworkforcemanagementadherencehistoricalbulkjob": {
34811+
"operationId": "getworkforcemanagementadherencehistoricalbulkjob",
34812+
"functionName": "getWorkforcemanagementAdherenceHistoricalBulkJob",
34813+
"signature": "getWorkforcemanagementAdherenceHistoricalBulkJob(jobId)",
34814+
"parameters": [
34815+
{
34816+
"name": "jobId",
34817+
"type": "String",
34818+
"required": "true"
34819+
}
34820+
],
34821+
"return": "WfmHistoricalAdherenceBulkResponse",
34822+
"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.WorkforceManagementApi();\n\nlet jobId = \"jobId_example\"; // String | ID of the job to get\n\n// Request to fetch the status of the historical adherence bulk job. Only the user who started the operation can query the status\napiInstance.getWorkforcemanagementAdherenceHistoricalBulkJob(jobId)\n .then((data) => {\n console.log(`getWorkforcemanagementAdherenceHistoricalBulkJob success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getWorkforcemanagementAdherenceHistoricalBulkJob\");\n console.error(err);\n });"
34823+
},
3476434824
"getworkforcemanagementadherencehistoricaljob": {
3476534825
"operationId": "getworkforcemanagementadherencehistoricaljob",
3476634826
"functionName": "getWorkforcemanagementAdherenceHistoricalJob",
@@ -36386,6 +36446,20 @@
3638636446
"return": "WfmHistoricalAdherenceResponse",
3638736447
"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.WorkforceManagementApi();\n\nlet opts = { \n \"body\": {} // Object | body\n};\n\n// Request a historical adherence report for users across management units\napiInstance.postWorkforcemanagementAdherenceHistorical(opts)\n .then((data) => {\n console.log(`postWorkforcemanagementAdherenceHistorical success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling postWorkforcemanagementAdherenceHistorical\");\n console.error(err);\n });"
3638836448
},
36449+
"postworkforcemanagementadherencehistoricalbulk": {
36450+
"operationId": "postworkforcemanagementadherencehistoricalbulk",
36451+
"functionName": "postWorkforcemanagementAdherenceHistoricalBulk",
36452+
"signature": "postWorkforcemanagementAdherenceHistoricalBulk(body)",
36453+
"parameters": [
36454+
{
36455+
"name": "body",
36456+
"type": "Object",
36457+
"required": "false"
36458+
}
36459+
],
36460+
"return": "WfmHistoricalAdherenceBulkResponse",
36461+
"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.WorkforceManagementApi();\n\nlet opts = { \n \"body\": {} // Object | body\n};\n\n// Request a historical adherence report in bulk\napiInstance.postWorkforcemanagementAdherenceHistoricalBulk(opts)\n .then((data) => {\n console.log(`postWorkforcemanagementAdherenceHistoricalBulk success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling postWorkforcemanagementAdherenceHistoricalBulk\");\n console.error(err);\n });"
36462+
},
3638936463
"postworkforcemanagementagentadherenceexplanations": {
3639036464
"operationId": "postworkforcemanagementagentadherenceexplanations",
3639136465
"functionName": "postWorkforcemanagementAgentAdherenceExplanations",

build/README.md

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

2828
```html
2929
<!-- Include the CJS SDK -->
30-
<script src="https://sdk-cdn.mypurecloud.com/javascript/156.0.0/purecloud-platform-client-v2.min.js"></script>
30+
<script src="https://sdk-cdn.mypurecloud.com/javascript/157.0.0/purecloud-platform-client-v2.min.js"></script>
3131

3232
<script type="text/javascript">
3333
// Obtain a reference to the platformClient object
@@ -44,7 +44,7 @@ For direct use in a browser script:
4444

4545
<script type="text/javascript">
4646
// Obtain a reference to the platformClient object
47-
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/156.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
47+
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/157.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
4848
console.log(platformClient);
4949
});
5050
</script>

0 commit comments

Comments
 (0)