Skip to content

Commit

Permalink
SMS-6495 Ppk Bug Fix (#191)
Browse files Browse the repository at this point in the history
* SMS-6495 Ppk Bug Fix

* Changelog and version updated
  • Loading branch information
eshangupta-plivo authored Nov 30, 2023
1 parent 0f62845 commit e69fb01
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [7.43.0](https://github.com/plivo/plivo-go/tree/v7.43.0) (2023-11-29)
**Bug Fix - Create Powerpack and Update Powerpack**
- Create Powerpack and Update Powerpack now take boolean inputs for sticky sender and local connect.

## [7.42.0](https://github.com/plivo/plivo-go/tree/v7.42.0) (2023-11-07)
**Feature - Campaign List API Enhancements**
- registration_status field in LIST API
Expand Down
2 changes: 1 addition & 1 deletion baseclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/google/go-querystring/query"
)

const sdkVersion = "7.42.0"
const sdkVersion = "7.43.0"

const lookupBaseUrl = "lookup.plivo.com"

Expand Down
10 changes: 5 additions & 5 deletions powerpacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type NumberPriority struct {
type PowerackCreateParams struct {
Name string `json:"name,omitempty"`
// Optional parameters.
StickySender string `json:"sticky_sender,omitempty"`
LocalConnect string `json:"local_connect,omitempty"`
StickySender bool `json:"sticky_sender,omitempty"`
LocalConnect bool `json:"local_connect,omitempty"`
ApplicationType string `json:"application_type,omitempty"`
ApplicationID string `json:"application_id,omitempty"`
NumberPriorities []NumberPriority `json:"number_priority,omitempty"`
Expand All @@ -35,8 +35,8 @@ type PowerackCreateParams struct {
type PowerackUpdateParams struct {
// Optional parameters.
Name string `json:"name,omitempty"`
StickySender string `json:"sticky_sender,omitempty"`
LocalConnect string `json:"local_connect,omitempty"`
StickySender bool `json:"sticky_sender,omitempty"`
LocalConnect bool `json:"local_connect,omitempty"`
ApplicationType string `json:"application_type,omitempty"`
ApplicationID string `json:"application_id,omitempty"`
NumberPriorities []NumberPriority `json:"number_priority,omitempty"`
Expand Down Expand Up @@ -161,7 +161,7 @@ type PowerpackUpdateResponse struct {
PowerpackCreateResponseBody
}

//powerpack list
// powerpack list
type PowerpackList struct {
BaseListPPKResponse
Objects []Powerpack `json:"objects" url:"objects"`
Expand Down

0 comments on commit e69fb01

Please sign in to comment.