Skip to content

Commit 6e2b7a9

Browse files
committed
[Librarian] Regenerated @ 46fda61a99ae466baec95ccfb33bfdd1b12de546 ac40c0ff376309c2351c6b59c7c15bbb6af6da52
1 parent cf9e4af commit 6e2b7a9

File tree

63 files changed

+629
-402
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+629
-402
lines changed

CHANGES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
twilio-go changelog
22
====================
3+
[2025-09-30] Version 1.28.3
4+
---------------------------
5+
**Library - Chore**
6+
- [PR #302](https://github.com/twilio/twilio-go/pull/302): change oauth token endpoint. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
7+
8+
**Insights**
9+
- Replace `field` with `key` in Request Filters and Response Metadata Filters and for Reports API
10+
11+
312
[2025-09-25] Version 1.28.2
413
---------------------------
514
**Api**

rest/conversations/v1/docs/ServicesBindingsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Other parameters are passed through a pointer to a ListServiceBindingParams stru
119119

120120
Name | Type | Description
121121
------------- | ------------- | -------------
122-
**BindingType** | [**[]ServiceBindingEnumBindingType**](ServiceBindingEnumBindingType.md) | The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
122+
**BindingType** | [**[]ServiceBindingEnumBindingType**](ServiceBindingEnumBindingType.md) | The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, `fcm`, or `twilsock`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
123123
**Identity** | **[]string** | The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
124124
**PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 100.
125125
**Limit** | **int** | Max number of records to return.

rest/conversations/v1/services_bindings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (c *ApiService) FetchServiceBinding(ChatServiceSid string, Sid string) (*Co
7272

7373
// Optional parameters for the method 'ListServiceBinding'
7474
type ListServiceBindingParams struct {
75-
// The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
75+
// The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, `fcm`, or `twilsock`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
7676
BindingType *[]string `json:"BindingType,omitempty"`
7777
// The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
7878
Identity *[]string `json:"Identity,omitempty"`

rest/lookups/v2/README.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ All URIs are relative to *https://lookups.twilio.com*
3232
Class | Method | HTTP request | Description
3333
------------ | ------------- | ------------- | -------------
3434
*BatchQueryApi* | [**CreateBulkLookup**](docs/BatchQueryApi.md#createbulklookup) | **Post** /v2/batch/query | In Request Bulk
35-
*PhoneNumbersApi* | [**FetchPhoneNumber**](docs/PhoneNumbersApi.md#fetchphonenumber) | **Get** /v2/PhoneNumbers/{PhoneNumber} |
35+
*PhoneNumbersApi* | [**FetchPhoneNumber**](docs/PhoneNumbersApi.md#fetchphonenumber) | **Get** /v2/PhoneNumbers/{PhoneNumber} | Full API documentation: https://www.twilio.com/docs/lookup/v2-api
3636
*PhoneNumbersOverridesApi* | [**CreateLookupPhoneNumberOverrides**](docs/PhoneNumbersOverridesApi.md#createlookupphonenumberoverrides) | **Post** /v2/PhoneNumbers/{PhoneNumber}/Overrides/{Field} | Create Override for a Phone Number for a specific field
3737
*PhoneNumbersOverridesApi* | [**DeleteLookupPhoneNumberOverrides**](docs/PhoneNumbersOverridesApi.md#deletelookupphonenumberoverrides) | **Delete** /v2/PhoneNumbers/{PhoneNumber}/Overrides/{Field} | Delete an Override for a Phone Number for a specific field
3838
*PhoneNumbersOverridesApi* | [**FetchLookupPhoneNumberOverrides**](docs/PhoneNumbersOverridesApi.md#fetchlookupphonenumberoverrides) | **Get** /v2/PhoneNumbers/{PhoneNumber}/Overrides/{Field} | Get Overrides for a Phone Number for a specific field.
@@ -46,10 +46,8 @@ Class | Method | HTTP request | Description
4646
## Documentation For Models
4747

4848
- [LineTypeIntelligence](docs/LineTypeIntelligence.md)
49-
- [ATOCarrier](docs/ATOCarrier.md)
50-
- [ReassignedNumberResponse](docs/ReassignedNumberResponse.md)
51-
- [TwilioServiceErrorResponse](docs/TwilioServiceErrorResponse.md)
5249
- [RateLimitRequest](docs/RateLimitRequest.md)
50+
- [ReassignedNumber](docs/ReassignedNumber.md)
5351
- [LastSimSwap](docs/LastSimSwap.md)
5452
- [RateLimitResponse](docs/RateLimitResponse.md)
5553
- [LineStatus](docs/LineStatus.md)
@@ -58,24 +56,21 @@ Class | Method | HTTP request | Description
5856
- [OverridesRequest](docs/OverridesRequest.md)
5957
- [Result](docs/Result.md)
6058
- [JobStatus](docs/JobStatus.md)
61-
- [LookupFileJobResponseResult](docs/LookupFileJobResponseResult.md)
59+
- [FetchLookupAccountRateLimitsResponse](docs/FetchLookupAccountRateLimitsResponse.md)
6260
- [SimSwap](docs/SimSwap.md)
63-
- [LookupRequest1](docs/LookupRequest1.md)
6461
- [SmsPumpingRisk](docs/SmsPumpingRisk.md)
65-
- [LookupRequestWithCorId](docs/LookupRequestWithCorId.md)
66-
- [Carrier](docs/Carrier.md)
62+
- [ValidationError](docs/ValidationError.md)
6763
- [CallerName](docs/CallerName.md)
6864
- [LookupResponse1](docs/LookupResponse1.md)
69-
- [LookupsV2PhoneNumber](docs/LookupsV2PhoneNumber.md)
65+
- [LookupBatchRequest](docs/LookupBatchRequest.md)
66+
- [LookupBatchResponse](docs/LookupBatchResponse.md)
7067
- [Thresholds](docs/Thresholds.md)
71-
- [LookupFileJobResponse](docs/LookupFileJobResponse.md)
7268
- [IdentityMatch](docs/IdentityMatch.md)
73-
- [ReassignedNumberRequest](docs/ReassignedNumberRequest.md)
69+
- [ReassignedNumberParameters](docs/ReassignedNumberParameters.md)
7470
- [LookupResponse](docs/LookupResponse.md)
71+
- [RiskParameters](docs/RiskParameters.md)
7572
- [LookupJobResponse](docs/LookupJobResponse.md)
76-
- [SmsPumpingRiskParameters](docs/SmsPumpingRiskParameters.md)
7773
- [LookupJobRequest](docs/LookupJobRequest.md)
78-
- [LookupResponseWithCorId](docs/LookupResponseWithCorId.md)
7974
- [IdentityMatchParameters](docs/IdentityMatchParameters.md)
8075
- [OverridesResponse](docs/OverridesResponse.md)
8176
- [CallForwarding](docs/CallForwarding.md)

rest/lookups/v2/batch_query.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import (
2222
// Optional parameters for the method 'CreateBulkLookup'
2323
type CreateBulkLookupParams struct {
2424
//
25-
LookupRequest1 *LookupRequest1 `json:"LookupRequest1,omitempty"`
25+
LookupRequest *LookupRequest `json:"LookupRequest,omitempty"`
2626
}
2727

28-
func (params *CreateBulkLookupParams) SetLookupRequest1(LookupRequest1 LookupRequest1) *CreateBulkLookupParams {
29-
params.LookupRequest1 = &LookupRequest1
28+
func (params *CreateBulkLookupParams) SetLookupRequest(LookupRequest LookupRequest) *CreateBulkLookupParams {
29+
params.LookupRequest = &LookupRequest
3030
return params
3131
}
3232

@@ -40,8 +40,8 @@ func (c *ApiService) CreateBulkLookup(params *CreateBulkLookupParams) (*LookupRe
4040
}
4141

4242
body := []byte{}
43-
if params != nil && params.LookupRequest1 != nil {
44-
b, err := json.Marshal(*params.LookupRequest1)
43+
if params != nil && params.LookupRequest != nil {
44+
b, err := json.Marshal(*params.LookupRequest)
4545
if err != nil {
4646
return nil, err
4747
}

rest/lookups/v2/docs/BatchQueryApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Other parameters are passed through a pointer to a CreateBulkLookupParams struct
2727

2828
Name | Type | Description
2929
------------- | ------------- | -------------
30-
**LookupRequest1** | [**LookupRequest1**](LookupRequest1.md) |
30+
**LookupRequest** | [**LookupRequest**](LookupRequest.md) |
3131

3232
### Return type
3333

rest/lookups/v2/docs/TwilioServiceErrorResponse.md renamed to rest/lookups/v2/docs/FetchLookupAccountRateLimitsResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TwilioServiceErrorResponse
1+
# FetchLookupAccountRateLimitsResponse
22

33
## Properties
44

rest/lookups/v2/docs/IdentityMatch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**FirstNameMatch** | **string** | |[optional]
88
**LastNameMatch** | **string** | |[optional]
9-
**AddressLineMatch** | **string** | |[optional]
9+
**AddressLinesMatch** | **string** | |[optional]
1010
**CityMatch** | **string** | |[optional]
1111
**StateMatch** | **string** | |[optional]
1212
**PostalCodeMatch** | **string** | |[optional]
13-
**CountryCodeMatch** | **string** | |[optional]
13+
**AddressCountryMatch** | **string** | |[optional]
1414
**NationalIdMatch** | **string** | |[optional]
1515
**DateOfBirthMatch** | **string** | |[optional]
1616
**SummaryScore** | **int** | |[optional]

rest/lookups/v2/docs/LineTypeIntelligence.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**Type** | **string** | |[optional]
8-
**CarrierName** | **string** | |[optional]
97
**MobileCountryCode** | **string** | |[optional]
108
**MobileNetworkCode** | **string** | |[optional]
9+
**CarrierName** | **string** | |[optional]
10+
**Type** | **string** | |[optional]
1111
**ErrorCode** | **int** | |[optional]
1212

1313
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

rest/lookups/v2/docs/LookupRequestWithCorId.md renamed to rest/lookups/v2/docs/LookupBatchRequest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LookupRequestWithCorId
1+
# LookupBatchRequest
22

33
## Properties
44

@@ -9,8 +9,8 @@ Name | Type | Description | Notes
99
**Fields** | **[]string** | |[optional]
1010
**CountryCode** | **string** | |[optional]
1111
**IdentityMatch** | [**IdentityMatchParameters**](IdentityMatchParameters.md) | |[optional]
12-
**ReassignedNumber** | [**ReassignedNumberRequest**](ReassignedNumberRequest.md) | |[optional]
13-
**SmsPumpingRisk** | [**SmsPumpingRiskParameters**](SmsPumpingRiskParameters.md) | |[optional]
12+
**ReassignedNumber** | [**ReassignedNumberParameters**](ReassignedNumberParameters.md) | |[optional]
13+
**SmsPumpingRisk** | [**RiskParameters**](RiskParameters.md) | |[optional]
1414

1515
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1616

0 commit comments

Comments
 (0)