Skip to content

Commit

Permalink
72.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PureCloud Jenkins committed May 28, 2022
1 parent 99a813e commit 6f127e3
Show file tree
Hide file tree
Showing 223 changed files with 4,120 additions and 3,570 deletions.
3 changes: 3 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -3033,6 +3033,7 @@ platformclientv2/expirededgelisting.go
platformclientv2/exportscriptrequest.go
platformclientv2/exportscriptresponse.go
platformclientv2/exporturi.go
platformclientv2/extendedwrapup.go
platformclientv2/extension.go
platformclientv2/extensionentitylisting.go
platformclientv2/extensionpool.go
Expand Down Expand Up @@ -3392,6 +3393,7 @@ platformclientv2/learningassignmentupdate.go
platformclientv2/learningassignmentuser.go
platformclientv2/learningassignmentuserlisting.go
platformclientv2/learningassignmentuserquery.go
platformclientv2/learningcoverartthumbnail.go
platformclientv2/learningmodule.go
platformclientv2/learningmodulecoverartrequest.go
platformclientv2/learningmodulecoverartresponse.go
Expand Down Expand Up @@ -4336,6 +4338,7 @@ platformclientv2/suggestapi.go
platformclientv2/suggestsearchcriteria.go
platformclientv2/suggestsearchrequest.go
platformclientv2/supportcentercustommessage.go
platformclientv2/supportcenterfeedbacksettings.go
platformclientv2/supportcenterglobalstyle.go
platformclientv2/supportcenterherostyle.go
platformclientv2/supportcentermodulesetting.go
Expand Down
6 changes: 3 additions & 3 deletions APIData.json
Original file line number Diff line number Diff line change
Expand Up @@ -32978,7 +32978,7 @@
}
],
"return": "Buasyncagentschedulessearchresponse",
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewWorkforceManagementApiWithConfig(config)\n\nvar businessUnitId string // The ID of the business unit\nvar forceAsync bool // Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes\nvar forceDownloadService bool // Force the result of this operation to be sent via download service. For testing/app development purposes\nvar body platformclientv2.Busearchagentschedulesrequest // body\n// Search published schedules\ndata, response, err := apiInstance.PostWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, forceAsync, forceDownloadService, body)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostWorkforcemanagementBusinessunitAgentschedulesSearch: %v\\n\", err)\n}"
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewWorkforceManagementApiWithConfig(config)\n\nvar businessUnitId string // The ID of the business unit\nvar forceAsync bool // Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes\nvar forceDownloadService bool // Force the result of this operation to be sent via download service. For testing/app development purposes\nvar body platformclientv2.Busearchagentschedulesrequest // body\n// Search published schedules\ndata, response, err := apiInstance.PostWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, forceAsync, forceDownloadService, body)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostWorkforcemanagementBusinessunitAgentschedulesSearch: %v\\n\", err)\n}"
},
"postworkforcemanagementbusinessunitintraday": {
"operationId": "postworkforcemanagementbusinessunitintraday",
Expand Down Expand Up @@ -33079,7 +33079,7 @@
}
],
"return": "Buasyncagentschedulesqueryresponse",
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewWorkforceManagementApiWithConfig(config)\n\nvar businessUnitId string // The ID of the business unit\nvar weekId time.Time // First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd\nvar scheduleId string // The ID of the schedule\nvar body platformclientv2.Buqueryagentschedulesrequest // body\nvar forceAsync bool // Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes\nvar forceDownloadService bool // Force the result of this operation to be sent via download service. For testing/app development purposes\n// Loads agent schedule data from the schedule. Used in combination with the metadata route\ndata, response, err := apiInstance.PostWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery(businessUnitId, weekId, scheduleId, body, forceAsync, forceDownloadService)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery: %v\\n\", err)\n}"
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewWorkforceManagementApiWithConfig(config)\n\nvar businessUnitId string // The ID of the business unit\nvar weekId time.Time // First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd\nvar scheduleId string // The ID of the schedule\nvar body platformclientv2.Buqueryagentschedulesrequest // body\nvar forceAsync bool // Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes\nvar forceDownloadService bool // Force the result of this operation to be sent via download service. For testing/app development purposes\n// Loads agent schedule data from the schedule. Used in combination with the metadata route\ndata, response, err := apiInstance.PostWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery(businessUnitId, weekId, scheduleId, body, forceAsync, forceDownloadService)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery: %v\\n\", err)\n}"
},
"postworkforcemanagementbusinessunitweekschedulecopy": {
"operationId": "postworkforcemanagementbusinessunitweekschedulecopy",
Expand Down Expand Up @@ -33479,7 +33479,7 @@
}
],
"return": "Buasyncagentschedulessearchresponse",
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewWorkforceManagementApiWithConfig(config)\n\nvar managementUnitId string // The ID of the management unit, or 'mine' for the management unit of the logged-in user.\nvar forceAsync bool // Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes\nvar forceDownloadService bool // Force the result of this operation to be sent via download service. For testing/app development purposes\nvar body platformclientv2.Busearchagentschedulesrequest // body\n// Query published schedules for given given time range for set of users\ndata, response, err := apiInstance.PostWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, forceAsync, forceDownloadService, body)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostWorkforcemanagementManagementunitAgentschedulesSearch: %v\\n\", err)\n}"
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewWorkforceManagementApiWithConfig(config)\n\nvar managementUnitId string // The ID of the management unit, or 'mine' for the management unit of the logged-in user.\nvar forceAsync bool // Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes\nvar forceDownloadService bool // Force the result of this operation to be sent via download service. For testing/app development purposes\nvar body platformclientv2.Busearchagentschedulesrequest // body\n// Query published schedules for given given time range for set of users\ndata, response, err := apiInstance.PostWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, forceAsync, forceDownloadService, body)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostWorkforcemanagementManagementunitAgentschedulesSearch: %v\\n\", err)\n}"
},
"postworkforcemanagementmanagementunithistoricaladherencequery": {
"operationId": "postworkforcemanagementmanagementunithistoricaladherencequery",
Expand Down
6 changes: 3 additions & 3 deletions 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: 71.0.0 [![GitHub release](https://img.shields.io/github/release/mypurecloud/platform-client-sdk-go.svg)](https://github.com/MyPureCloud/platform-client-sdk-go)
Latest version: 72.0.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 All @@ -18,7 +18,7 @@ Some macOS users encounter the error "argument list too long" when building or i
Retrieve the package from https://github.com/MyPureCloud/platform-client-sdk-go using `go get`:

```go
go get github.com/mypurecloud/platform-client-sdk-go/v71/platformclientv2
go get github.com/mypurecloud/platform-client-sdk-go/v72/platformclientv2
```

## Using the SDK
Expand All @@ -27,7 +27,7 @@ go get github.com/mypurecloud/platform-client-sdk-go/v71/platformclientv2

```go
import (
"github.com/mypurecloud/platform-client-sdk-go/v71/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v72/platformclientv2"
)
```

Expand Down
6 changes: 3 additions & 3 deletions 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: 71.0.0 [![GitHub release](https://img.shields.io/github/release/mypurecloud/platform-client-sdk-go.svg)](https://github.com/MyPureCloud/platform-client-sdk-go)
Latest version: 72.0.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 All @@ -18,7 +18,7 @@ Some macOS users encounter the error "argument list too long" when building or i
Retrieve the package from https://github.com/MyPureCloud/platform-client-sdk-go using `go get`:

```go
go get github.com/mypurecloud/platform-client-sdk-go/v71/platformclientv2
go get github.com/mypurecloud/platform-client-sdk-go/v72/platformclientv2
```

## Using the SDK
Expand All @@ -27,7 +27,7 @@ go get github.com/mypurecloud/platform-client-sdk-go/v71/platformclientv2

```go
import (
"github.com/mypurecloud/platform-client-sdk-go/v71/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v72/platformclientv2"
)
```

Expand Down
116 changes: 111 additions & 5 deletions docs/releaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,118 @@
Platform API version: 5697
Platform API version: 5767


We are no longer using swagger-codegen for SDK code generation, we have switched over to using openapi-generator and due to this switch over, there may be some minor changes to the SDKs.
# Major Changes (5 changes)

# Major Changes (0 changes)
**MediaParticipantRequest** (1 change)

* Property wrapup was changed from Wrapup to ExtendedWrapup

# Minor Changes (0 changes)
**Survey** (1 change)

* Property conversation was changed from Conversation to ConversationReference

# Point Changes (0 changes)
**ScimPhoneNumber** (1 change)

* Enum value ringcentral was removed from property type

**UCIntegration** (1 change)

* Enum value RingCentral was removed from property integrationPresenceSource

**UserSearchRequest** (1 change)

* Enum value RingCentral was removed from property integrationPresenceSource


# Minor Changes (22 changes)

**ReportingTurnAction** (1 change)

* Enum value ShowKnowledgeArticleAction was added to property actionType

**ReportingExportJobResponse** (2 changes)

* Enum value DATA_ACTIONS_PERFORMANCE_SUMMARY_VIEW was added to property viewType
* Enum value DATA_ACTIONS_PERFORMANCE_DETAIL_VIEW was added to property viewType

**ReportingExportMetadataJobResponse** (2 changes)

* Enum value DATA_ACTIONS_PERFORMANCE_SUMMARY_VIEW was added to property viewType
* Enum value DATA_ACTIONS_PERFORMANCE_DETAIL_VIEW was added to property viewType

**ReportingExportJobRequest** (2 changes)

* Enum value DATA_ACTIONS_PERFORMANCE_SUMMARY_VIEW was added to property viewType
* Enum value DATA_ACTIONS_PERFORMANCE_DETAIL_VIEW was added to property viewType

**ConversationReference** (2 changes)

* id is no longer readonly
* selfUri is no longer readonly

**ExtendedWrapup** (1 change)

* Model was added

**MetricDefinition** (2 changes)

* Optional property mediaTypeFilteringAllowed was added
* Optional property queueFilteringAllowed was added

**KnowledgeImport** (1 change)

* Enum value Json was added to property fileType

**KeyPerformanceIndicator** (1 change)

* Optional property optimizationType was added

**GeneralProgramJobRequest** (1 change)

* Enum value nl-NL was added to property dialect

**Dependency** (1 change)

* Enum value IMAGE was added to property type

**DependencyObject** (1 change)

* Enum value IMAGE was added to property type

**MessengerHomeScreen** (1 change)

* Optional property logoUrl was added

**SupportCenterFeedbackSettings** (1 change)

* Model was added

**SupportCenterSettings** (1 change)

* Optional property feedback was added

**LearningCoverArtThumbnail** (1 change)

* Model was added

**LearningModuleCoverArtResponse** (1 change)

* Optional property thumbnails was added


# Point Changes (6 changes)

**POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/agentschedules/search** (2 changes)

* Description was changed for parameter forceAsync
* Description was changed for parameter forceDownloadService

**POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/agentschedules/query** (2 changes)

* Description was changed for parameter forceAsync
* Description was changed for parameter forceDownloadService

**POST /api/v2/workforcemanagement/managementunits/{managementUnitId}/agentschedules/search** (2 changes)

* Description was changed for parameter forceAsync
* Description was changed for parameter forceDownloadService
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/mypurecloud/platform-client-sdk-go/v71
module github.com/mypurecloud/platform-client-sdk-go/v72

go 1.15

Expand Down
36 changes: 18 additions & 18 deletions platformclientv2/actionentitylisting.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ type Actionentitylisting struct {
Total *int `json:"total,omitempty"`


// LastUri
LastUri *string `json:"lastUri,omitempty"`


// FirstUri
FirstUri *string `json:"firstUri,omitempty"`

Expand All @@ -36,12 +32,16 @@ type Actionentitylisting struct {
SelfUri *string `json:"selfUri,omitempty"`


// NextUri
NextUri *string `json:"nextUri,omitempty"`


// PreviousUri
PreviousUri *string `json:"previousUri,omitempty"`


// NextUri
NextUri *string `json:"nextUri,omitempty"`
// LastUri
LastUri *string `json:"lastUri,omitempty"`


// PageCount
Expand All @@ -63,15 +63,15 @@ func (o *Actionentitylisting) MarshalJSON() ([]byte, error) {

Total *int `json:"total,omitempty"`

LastUri *string `json:"lastUri,omitempty"`

FirstUri *string `json:"firstUri,omitempty"`

SelfUri *string `json:"selfUri,omitempty"`

NextUri *string `json:"nextUri,omitempty"`

PreviousUri *string `json:"previousUri,omitempty"`

NextUri *string `json:"nextUri,omitempty"`
LastUri *string `json:"lastUri,omitempty"`

PageCount *int `json:"pageCount,omitempty"`
*Alias
Expand All @@ -84,15 +84,15 @@ func (o *Actionentitylisting) MarshalJSON() ([]byte, error) {

Total: o.Total,

LastUri: o.LastUri,

FirstUri: o.FirstUri,

SelfUri: o.SelfUri,

NextUri: o.NextUri,

PreviousUri: o.PreviousUri,

NextUri: o.NextUri,
LastUri: o.LastUri,

PageCount: o.PageCount,
Alias: (*Alias)(o),
Expand Down Expand Up @@ -126,10 +126,6 @@ func (o *Actionentitylisting) UnmarshalJSON(b []byte) error {
o.Total = &TotalInt
}

if LastUri, ok := ActionentitylistingMap["lastUri"].(string); ok {
o.LastUri = &LastUri
}

if FirstUri, ok := ActionentitylistingMap["firstUri"].(string); ok {
o.FirstUri = &FirstUri
}
Expand All @@ -138,12 +134,16 @@ func (o *Actionentitylisting) UnmarshalJSON(b []byte) error {
o.SelfUri = &SelfUri
}

if NextUri, ok := ActionentitylistingMap["nextUri"].(string); ok {
o.NextUri = &NextUri
}

if PreviousUri, ok := ActionentitylistingMap["previousUri"].(string); ok {
o.PreviousUri = &PreviousUri
}

if NextUri, ok := ActionentitylistingMap["nextUri"].(string); ok {
o.NextUri = &NextUri
if LastUri, ok := ActionentitylistingMap["lastUri"].(string); ok {
o.LastUri = &LastUri
}

if PageCount, ok := ActionentitylistingMap["pageCount"].(float64); ok {
Expand Down
Loading

0 comments on commit 6f127e3

Please sign in to comment.