Skip to content

Commit

Permalink
Added registration_status filter to Go SDK (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajneeshkatkam-plivo authored Nov 22, 2023
1 parent d7a1d30 commit 0f62845
Show file tree
Hide file tree
Showing 3 changed files with 11 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.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

## [7.41.0](https://github.com/plivo/plivo-go/tree/v7.41.0) (2023-10-31)
**Feature - TollFree Verification API Support**
- API support for Create, Update, Get, Delete and List Tollfree Verification.
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.41.0"
const sdkVersion = "7.42.0"

const lookupBaseUrl = "lookup.plivo.com"

Expand Down
11 changes: 6 additions & 5 deletions campaign.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,12 @@ type OperatorDetail struct {
TPM int `json:"tpm,omitempty"`
}
type CampaignListParams struct {
BrandID *string `json:"brand_id,omitempty"`
Usecase *string `json:"usecase,omitempty"`
CampaignSource *string `json:"campaign_source,omitempty"`
Limit int `url:"limit,omitempty"`
Offset int `url:"offset,omitempty"`
BrandID *string `url:"brand_id,omitempty"`
Usecase *string `url:"usecase,omitempty"`
RegistrationStatus *string `url:"registration_status,omitempty"`
CampaignSource *string `url:"campaign_source,omitempty"`
Limit int `url:"limit,omitempty"`
Offset int `url:"offset,omitempty"`
}

type CampaignNumberLinkParams struct {
Expand Down

0 comments on commit 0f62845

Please sign in to comment.