Skip to content

Commit 94a7d05

Browse files
committed
[Librarian] Regenerated @ 0a245f5931e0ff292c12b643839bbb9a1b3831e3 4727b4211b32329ec55ad87676be1f406d3fd9e9
1 parent 49e7309 commit 94a7d05

14 files changed

+29
-52
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
twilio-go changelog
22
====================
3+
[2025-01-09] Version 1.23.9
4+
---------------------------
5+
**Numbers**
6+
- Change beta feature flag to use v2/BulkHostedNumberOrders
7+
8+
39
[2024-12-12] Version 1.23.8
410
---------------------------
511
**Library - Chore**

rest/api/v2010/accounts_calls_transcriptions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type CreateRealtimeTranscriptionParams struct {
5151
Hints *string `json:"Hints,omitempty"`
5252
// The provider will add punctuation to recognition result
5353
EnableAutomaticPunctuation *bool `json:"EnableAutomaticPunctuation,omitempty"`
54-
// The SID or the unique name of the [IntelligentService](https://www.twilio.com/docs/voice/intelligence/api/service-resource) to process the transcription.
54+
// The SID or the unique name of the [Voice Intelligence Service](https://www.twilio.com/docs/voice/intelligence/api/service-resource) to process the transcription.
5555
IntelligenceService *string `json:"IntelligenceService,omitempty"`
5656
}
5757

rest/api/v2010/docs/AccountsCallsTranscriptionsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Name | Type | Description
4646
**SpeechModel** | **string** | Recognition model used by the transcription engine, among those supported by the provider
4747
**Hints** | **string** | A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
4848
**EnableAutomaticPunctuation** | **bool** | The provider will add punctuation to recognition result
49-
**IntelligenceService** | **string** | The SID or the unique name of the [IntelligentService](https://www.twilio.com/docs/voice/intelligence/api/service-resource) to process the transcription.
49+
**IntelligenceService** | **string** | The SID or the unique name of the [Voice Intelligence Service](https://www.twilio.com/docs/voice/intelligence/api/service-resource) to process the transcription.
5050

5151
### Return type
5252

rest/assistants/v1/docs/AssistantsV1CreateKnowledgeRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**Name** | **string** | The name of the tool. |
1111
**Policy** | [**AssistantsV1CreatePolicyRequest**](AssistantsV1CreatePolicyRequest.md) | |[optional]
1212
**Type** | **string** | The type of the knowledge source. |
13+
**EmbeddingModel** | **string** | The embedding model to be used for the knowledge source. It's required for 'Database' type but disallowed for other types. |[optional]
1314

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

rest/assistants/v1/docs/AssistantsV1Knowledge.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**Description** | **string** | The type of knowledge source. |[optional]
8-
**Id** | **string** | The description of knowledge. |[optional]
8+
**Id** | **string** | The description of knowledge. |
99
**AccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource. |[optional]
1010
**KnowledgeSourceDetails** | **map[string]interface{}** | The details of the knowledge source based on the type. |[optional]
11-
**Name** | **string** | The name of the knowledge source. |[optional]
11+
**Name** | **string** | The name of the knowledge source. |
1212
**Status** | **string** | The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED') |[optional]
13-
**Type** | **string** | The type of knowledge source ('Web', 'Database', 'Text', 'File') |[optional]
13+
**Type** | **string** | The type of knowledge source ('Web', 'Database', 'Text', 'File') |
1414
**Url** | **string** | The url of the knowledge resource. |[optional]
15-
**DateCreated** | [**time.Time**](time.Time.md) | The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. |[optional]
16-
**DateUpdated** | [**time.Time**](time.Time.md) | The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. |[optional]
15+
**EmbeddingModel** | **string** | The embedding model to be used for the knowledge source. |[optional]
16+
**DateCreated** | [**time.Time**](time.Time.md) | The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. |
17+
**DateUpdated** | [**time.Time**](time.Time.md) | The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. |
1718

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

rest/assistants/v1/docs/AssistantsV1UpdateKnowledgeRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**Name** | **string** | The name of the knowledge source. |[optional]
1010
**Policy** | [**AssistantsV1CreatePolicyRequest**](AssistantsV1CreatePolicyRequest.md) | |[optional]
1111
**Type** | **string** | The description of the knowledge source. |[optional]
12+
**EmbeddingModel** | **string** | The embedding model to be used for the knowledge source. It's only applicable to 'Database' type. |[optional]
1213

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

rest/assistants/v1/model_assistants_v1_create_knowledge_request.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ type AssistantsV1CreateKnowledgeRequest struct {
2727
Policy AssistantsV1CreatePolicyRequest `json:"policy,omitempty"`
2828
// The type of the knowledge source.
2929
Type string `json:"type"`
30+
// The embedding model to be used for the knowledge source. It's required for 'Database' type but disallowed for other types.
31+
EmbeddingModel string `json:"embedding_model,omitempty"`
3032
}

rest/assistants/v1/model_assistants_v1_knowledge.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,23 @@ type AssistantsV1Knowledge struct {
2323
// The type of knowledge source.
2424
Description string `json:"description,omitempty"`
2525
// The description of knowledge.
26-
Id string `json:"id,omitempty"`
26+
Id string `json:"id"`
2727
// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource.
2828
AccountSid string `json:"account_sid,omitempty"`
2929
// The details of the knowledge source based on the type.
3030
KnowledgeSourceDetails map[string]interface{} `json:"knowledge_source_details,omitempty"`
3131
// The name of the knowledge source.
32-
Name string `json:"name,omitempty"`
32+
Name string `json:"name"`
3333
// The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED')
3434
Status string `json:"status,omitempty"`
3535
// The type of knowledge source ('Web', 'Database', 'Text', 'File')
36-
Type string `json:"type,omitempty"`
36+
Type string `json:"type"`
3737
// The url of the knowledge resource.
3838
Url string `json:"url,omitempty"`
39+
// The embedding model to be used for the knowledge source.
40+
EmbeddingModel string `json:"embedding_model,omitempty"`
3941
// The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
40-
DateCreated time.Time `json:"date_created,omitempty"`
42+
DateCreated time.Time `json:"date_created"`
4143
// The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
42-
DateUpdated time.Time `json:"date_updated,omitempty"`
44+
DateUpdated time.Time `json:"date_updated"`
4345
}

rest/assistants/v1/model_assistants_v1_update_knowledge_request.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ type AssistantsV1UpdateKnowledgeRequest struct {
2525
Policy AssistantsV1CreatePolicyRequest `json:"policy,omitempty"`
2626
// The description of the knowledge source.
2727
Type string `json:"type,omitempty"`
28+
// The embedding model to be used for the knowledge source. It's only applicable to 'Database' type.
29+
EmbeddingModel string `json:"embedding_model,omitempty"`
2830
}

rest/content/v1/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ Class | Method | HTTP request | Description
6666
- [ListItem](docs/ListItem.md)
6767
- [TwilioMedia](docs/TwilioMedia.md)
6868
- [Types](docs/Types.md)
69-
- [FlowsPageComponentSelectItem](docs/FlowsPageComponentSelectItem.md)
7069
- [TwilioFlows](docs/TwilioFlows.md)
7170
- [CallToActionAction](docs/CallToActionAction.md)
7271
- [TwilioQuickReply](docs/TwilioQuickReply.md)

0 commit comments

Comments
 (0)