Skip to content

Commit

Permalink
added param to GET/LIST Campaign APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
Thumpala Vinay Kumar authored and Thumpala Vinay Kumar committed Dec 11, 2023
1 parent 018c420 commit 8f2a82d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
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.45.0](https://github.com/plivo/plivo-go/tree/v7.45.0) (2023-11-30)
**Feature - Added params for GET and LIST Campaign APIs**
- Added params 'vertical', 'campaign_alias' for GET and LIST Campaign APIs

## [7.44.0](https://github.com/plivo/plivo-go/tree/v7.44.0) (2023-11-20)
**Feature - New params for GET and LIST Campaign API**
- Added new params 'error_code', 'error_reason' for GET and LIST Campaign 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.44.0"
const sdkVersion = "7.45.0"

const lookupBaseUrl = "lookup.plivo.com"

Expand Down
2 changes: 2 additions & 0 deletions campaign.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ type Campaign struct {
CampaignSource string `json:"campaign_source,omitempty"`
ErrorCode string `json:"error_code,omitempty"`
ErrorReason string `json:"error_reason,omitempty"`
Vertical string `json:"vertical,omitempty"`
CampaignAlias string `json:"campaign_alias,omitempty"`
}

type CampaignAttributes struct {
Expand Down

0 comments on commit 8f2a82d

Please sign in to comment.