Skip to content

Commit

Permalink
Added param to GET/LIST Campaign APIs (#192)
Browse files Browse the repository at this point in the history
* added param to GET/LIST Campaign APIs

* Update CHANGELOG.md

---------

Co-authored-by: Thumpala Vinay Kumar <vinay.kumar@ThumpalumarsAir.lan>
Co-authored-by: Renold Jose Thomas <renold.thomas@plivo.com>
  • Loading branch information
3 people authored Dec 14, 2023
1 parent 018c420 commit c0af993
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-12-14)
**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 c0af993

Please sign in to comment.