Skip to content

Commit

Permalink
52.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PureCloud Jenkins committed Aug 19, 2021
1 parent 632fa60 commit 3986929
Show file tree
Hide file tree
Showing 31 changed files with 1,965 additions and 29 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Platform API Client SDK - Go

A Go package to interface with the Genesys Cloud Platform API. View the documentation on the [pkg.go.dev](https://pkg.go.dev/github.com/MyPureCloud/platform-client-sdk-go). Browse the source code on [Github](https://github.com/MyPureCloud/platform-client-sdk-go).

Latest version: 52.0.1 [![GitHub release](https://img.shields.io/github/release/mypurecloud/platform-client-sdk-go.svg)](https://github.com/MyPureCloud/platform-client-sdk-go)
Latest version: 52.1.0 [![GitHub release](https://img.shields.io/github/release/mypurecloud/platform-client-sdk-go.svg)](https://github.com/MyPureCloud/platform-client-sdk-go)
[![Release Notes Badge](https://developer-content.genesys.cloud/images/sdk-release-notes.png)](https://github.com/MyPureCloud/platform-client-sdk-go/blob/master/releaseNotes.md)

## Golang Version Dependency
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Platform API Client SDK - Go

A Go package to interface with the Genesys Cloud Platform API. View the documentation on the [pkg.go.dev](https://pkg.go.dev/github.com/MyPureCloud/platform-client-sdk-go). Browse the source code on [Github](https://github.com/MyPureCloud/platform-client-sdk-go).

Latest version: 52.0.1 [![GitHub release](https://img.shields.io/github/release/mypurecloud/platform-client-sdk-go.svg)](https://github.com/MyPureCloud/platform-client-sdk-go)
Latest version: 52.1.0 [![GitHub release](https://img.shields.io/github/release/mypurecloud/platform-client-sdk-go.svg)](https://github.com/MyPureCloud/platform-client-sdk-go)
[![Release Notes Badge](https://developer-content.genesys.cloud/images/sdk-release-notes.png)](https://github.com/MyPureCloud/platform-client-sdk-go/blob/master/releaseNotes.md)

## Golang Version Dependency
Expand Down
236 changes: 231 additions & 5 deletions docs/releaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,238 @@
Platform API version: 4893
Platform API version: 4903


Fixing date and date time handling in the Go SDK

# Major Changes (0 changes)


# Minor Changes (0 changes)
# Minor Changes (67 changes)

**/api/v2/analytics/botflows/{botFlowId}/reportingturns** (2 changes)

* Path was added
* Operation GET was added

**/api/v2/gamification/profiles/users/me** (2 changes)

* Path was added
* Operation GET was added

**/api/v2/gamification/profiles/users/{userId}** (2 changes)

* Path was added
* Operation GET was added

**/api/v2/gamification/profiles/{profileId}/metrics/{metricId}** (3 changes)

* Path was added
* Operation GET was added
* Operation PUT was added

**/api/v2/gamification/profiles/{profileId}/metrics/objectivedetails** (2 changes)

* Path was added
* Operation GET was added

**/api/v2/gamification/profiles/{profileId}/metrics** (3 changes)

* Path was added
* Operation GET was added
* Operation POST was added

**PUT /api/v2/quality/forms/evaluations/{formId}** (1 change)

* Response 409 was added

**POST /api/v2/quality/forms/evaluations** (1 change)

* Response 409 was added

**PUT /api/v2/quality/forms/surveys/{formId}** (1 change)

* Response 409 was added

**POST /api/v2/quality/forms/surveys** (1 change)

* Response 409 was added

**POST /api/v2/quality/forms** (1 change)

* Response 409 was added

**/api/v2/speechandtextanalytics/topics/dialects** (2 changes)

* Path was added
* Operation GET was added

**ConversationAggregationQuery** (3 changes)

* Enum value tCoaching was added to property metrics
* Enum value tCoachingComplete was added to property metrics
* Enum value tMonitoringComplete was added to property metrics

**ConversationAggregationView** (3 changes)

* Enum value tCoaching was added to property target
* Enum value tCoachingComplete was added to property target
* Enum value tMonitoringComplete was added to property target

**AnalyticsConversationSegment** (1 change)

* Enum value coaching was added to property segmentType

**AnalyticsEvaluation** (1 change)

* Optional property released was added

**AnalyticsSession** (1 change)

* Optional property coachedParticipantId was added

**ConversationDetailQueryPredicate** (3 changes)

* Enum value tCoaching was added to property metric
* Enum value tCoachingComplete was added to property metric
* Enum value tMonitoringComplete was added to property metric

**EvaluationDetailQueryPredicate** (1 change)

* Enum value released was added to property dimension

**SegmentDetailQueryPredicate** (1 change)

* Enum value coachedParticipantId was added to property dimension

**EvaluationAggregateQueryPredicate** (3 changes)

* Enum value conversationStart was added to property dimension
* Enum value evaluationReleaseDate was added to property dimension
* Enum value released was added to property dimension

**EvaluationAggregationQuery** (5 changes)

* Enum value conversationStart was added to property groupBy
* Enum value evaluationReleaseDate was added to property groupBy
* Enum value released was added to property groupBy
* Enum value conversationStart was added to property alternateTimeDimension
* Enum value evaluationReleaseDate was added to property alternateTimeDimension

**ReportingTurn** (1 change)

* Model was added

**ReportingTurnAction** (1 change)

* Model was added

**ReportingTurnIntent** (1 change)

* Model was added

**ReportingTurnIntentSlot** (1 change)

* Model was added

**ReportingTurnKnowledge** (1 change)

* Model was added

**ReportingTurnKnowledgeDocument** (1 change)

* Model was added

**ReportingTurnKnowledgeFeedback** (1 change)

* Model was added

**ReportingTurnKnowledgeSearch** (1 change)

* Model was added

**ReportingTurnsResponse** (1 change)

* Model was added

**AuditLogMessage** (2 changes)

* Enum value Assign was added to property action
* Enum value Unassign was added to property action

**AuditQueryEntity** (2 changes)

* Enum value Assign was added to property actions
* Enum value Unassign was added to property actions

**ConversationMessageContent** (2 changes)

* Enum value GenericTemplate was added to property contentType
* Optional property generic was added

**ConversationMessagingChannelMetadata** (1 change)

* Model was added

**ChannelMetadata** (1 change)

* Model was added

**DialerContact** (1 change)

* Optional property latestSmsEvaluations was added

**MessageEvaluation** (1 change)

* Optional property messageType was added

**WritableDialerContact** (1 change)

* Optional property latestSmsEvaluations was added

**GetMetricResponse** (1 change)

* Model was added

**EntityListing** (1 change)

* Model was added

**RecordingJob** (2 changes)

* Optional property totalSkippedRecordings was added
* Optional property totalFailedRecordings was added


# Point Changes (11 changes)

**PUT /api/v2/outbound/rulesets/{ruleSetId}** (1 change)

* Summary was changed

**DELETE /api/v2/outbound/rulesets/{ruleSetId}** (1 change)

* Summary was changed

**POST /api/v2/outbound/rulesets** (1 change)

* Summary was changed

**GET /api/v2/gamification/leaderboard/bestpoints** (1 change)

* Summary was changed

**GET /api/v2/gamification/leaderboard/all** (1 change)

* Description was changed for parameter filterId

**GET /api/v2/gamification/leaderboard/all/bestpoints** (2 changes)

* Summary was changed
* Description was changed for parameter filterId

**GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts** (2 changes)

* Description was changed
* Description was changed for parameter weekDateId

**GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules** (2 changes)

# Point Changes (0 changes)
* Description was changed
* Description was changed for parameter weekId
81 changes: 81 additions & 0 deletions platformclientv2/analyticsapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,87 @@ func (a AnalyticsApi) DeleteAnalyticsUsersDetailsJob(jobId string) (*APIResponse
return response, err
}

// GetAnalyticsBotflowReportingturns invokes GET /api/v2/analytics/botflows/{botFlowId}/reportingturns
//
// Get Reporting Turns.
//
//
func (a AnalyticsApi) GetAnalyticsBotflowReportingturns(botFlowId string, after string, pageSize string, actionId string, sessionId string) (*Reportingturnsresponse, *APIResponse, error) {
var httpMethod = "GET"
// create path and map variables
path := a.Configuration.BasePath + "/api/v2/analytics/botflows/{botFlowId}/reportingturns"
path = strings.Replace(path, "{botFlowId}", fmt.Sprintf("%v", botFlowId), -1)
defaultReturn := new(Reportingturnsresponse)
if true == false {
return defaultReturn, nil, errors.New("This message brought to you by the laws of physics being broken")
}

// verify the required parameter 'botFlowId' is set
if &botFlowId == nil {
//
return defaultReturn, nil, errors.New("Missing required parameter 'botFlowId' when calling AnalyticsApi->GetAnalyticsBotflowReportingturns")
}

headerParams := make(map[string]string)
queryParams := make(map[string]string)
formParams := url.Values{}
var postBody interface{}
var postFileName string
var fileBytes []byte
// authentication (PureCloud OAuth) required

// oauth required
if a.Configuration.AccessToken != ""{
headerParams["Authorization"] = "Bearer " + a.Configuration.AccessToken
}
// add default headers if any
for key := range a.Configuration.DefaultHeader {
headerParams[key] = a.Configuration.DefaultHeader[key]
}

queryParams["after"] = a.Configuration.APIClient.ParameterToString(after, "")

queryParams["pageSize"] = a.Configuration.APIClient.ParameterToString(pageSize, "")

queryParams["actionId"] = a.Configuration.APIClient.ParameterToString(actionId, "")

queryParams["sessionId"] = a.Configuration.APIClient.ParameterToString(sessionId, "")


// to determine the Content-Type header
localVarHttpContentTypes := []string{ "application/json", }

// set Content-Type header
localVarHttpContentType := a.Configuration.APIClient.SelectHeaderContentType(localVarHttpContentTypes)
if localVarHttpContentType != "" {
headerParams["Content-Type"] = localVarHttpContentType
}
// to determine the Accept header
localVarHttpHeaderAccepts := []string{
"application/json",
}

// set Accept header
localVarHttpHeaderAccept := a.Configuration.APIClient.SelectHeaderAccept(localVarHttpHeaderAccepts)
if localVarHttpHeaderAccept != "" {
headerParams["Accept"] = localVarHttpHeaderAccept
}
var successPayload *Reportingturnsresponse
response, err := a.Configuration.APIClient.CallAPI(path, httpMethod, postBody, headerParams, queryParams, formParams, postFileName, fileBytes)
if err != nil {
// Nothing special to do here, but do avoid processing the response
} else if err == nil && response.Error != nil {
err = errors.New(response.ErrorMessage)
} else {
if "Reportingturnsresponse" == "string" {
copy(response.RawBody, &successPayload)
} else {
err = json.Unmarshal(response.RawBody, &successPayload)
}
}
return successPayload, response, err
}

// GetAnalyticsConversationDetails invokes GET /api/v2/analytics/conversations/{conversationId}/details
//
// Get a conversation by id
Expand Down
8 changes: 8 additions & 0 deletions platformclientv2/analyticsevaluation.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ type Analyticsevaluation struct {
QueueId *string `json:"queueId,omitempty"`


// Released - Whether the evaluation has been released
Released *bool `json:"released,omitempty"`


// Rescored - Whether the evaluation has been rescored at least once
Rescored *bool `json:"rescored,omitempty"`

Expand Down Expand Up @@ -96,6 +100,8 @@ func (u *Analyticsevaluation) MarshalJSON() ([]byte, error) {

QueueId *string `json:"queueId,omitempty"`

Released *bool `json:"released,omitempty"`

Rescored *bool `json:"rescored,omitempty"`

UserId *string `json:"userId,omitempty"`
Expand Down Expand Up @@ -123,6 +129,8 @@ func (u *Analyticsevaluation) MarshalJSON() ([]byte, error) {

QueueId: u.QueueId,

Released: u.Released,

Rescored: u.Rescored,

UserId: u.UserId,
Expand Down
Loading

0 comments on commit 3986929

Please sign in to comment.