Skip to content

Commit

Permalink
[Librarian] Regenerated @ 0a245f5931e0ff292c12b643839bbb9a1b3831e3 47…
Browse files Browse the repository at this point in the history
…27b4211b32329ec55ad87676be1f406d3fd9e9
  • Loading branch information
twilio-dx committed Jan 9, 2025
1 parent 49e7309 commit 94a7d05
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 52 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
twilio-go changelog
====================
[2025-01-09] Version 1.23.9
---------------------------
**Numbers**
- Change beta feature flag to use v2/BulkHostedNumberOrders


[2024-12-12] Version 1.23.8
---------------------------
**Library - Chore**
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v2010/accounts_calls_transcriptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type CreateRealtimeTranscriptionParams struct {
Hints *string `json:"Hints,omitempty"`
// The provider will add punctuation to recognition result
EnableAutomaticPunctuation *bool `json:"EnableAutomaticPunctuation,omitempty"`
// The SID or the unique name of the [IntelligentService](https://www.twilio.com/docs/voice/intelligence/api/service-resource) to process the transcription.
// 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.
IntelligenceService *string `json:"IntelligenceService,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion rest/api/v2010/docs/AccountsCallsTranscriptionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Name | Type | Description
**SpeechModel** | **string** | Recognition model used by the transcription engine, among those supported by the provider
**Hints** | **string** | A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
**EnableAutomaticPunctuation** | **bool** | The provider will add punctuation to recognition result
**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.
**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.

### Return type

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**Name** | **string** | The name of the tool. |
**Policy** | [**AssistantsV1CreatePolicyRequest**](AssistantsV1CreatePolicyRequest.md) | |[optional]
**Type** | **string** | The type of the knowledge source. |
**EmbeddingModel** | **string** | The embedding model to be used for the knowledge source. It's required for 'Database' type but disallowed for other types. |[optional]

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

Expand Down
11 changes: 6 additions & 5 deletions rest/assistants/v1/docs/AssistantsV1Knowledge.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Description** | **string** | The type of knowledge source. |[optional]
**Id** | **string** | The description of knowledge. |[optional]
**Id** | **string** | The description of knowledge. |
**AccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource. |[optional]
**KnowledgeSourceDetails** | **map[string]interface{}** | The details of the knowledge source based on the type. |[optional]
**Name** | **string** | The name of the knowledge source. |[optional]
**Name** | **string** | The name of the knowledge source. |
**Status** | **string** | The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED') |[optional]
**Type** | **string** | The type of knowledge source ('Web', 'Database', 'Text', 'File') |[optional]
**Type** | **string** | The type of knowledge source ('Web', 'Database', 'Text', 'File') |
**Url** | **string** | The url of the knowledge resource. |[optional]
**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]
**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]
**EmbeddingModel** | **string** | The embedding model to be used for the knowledge source. |[optional]
**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. |
**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. |

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**Name** | **string** | The name of the knowledge source. |[optional]
**Policy** | [**AssistantsV1CreatePolicyRequest**](AssistantsV1CreatePolicyRequest.md) | |[optional]
**Type** | **string** | The description of the knowledge source. |[optional]
**EmbeddingModel** | **string** | The embedding model to be used for the knowledge source. It's only applicable to 'Database' type. |[optional]

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ type AssistantsV1CreateKnowledgeRequest struct {
Policy AssistantsV1CreatePolicyRequest `json:"policy,omitempty"`
// The type of the knowledge source.
Type string `json:"type"`
// The embedding model to be used for the knowledge source. It's required for 'Database' type but disallowed for other types.
EmbeddingModel string `json:"embedding_model,omitempty"`
}
12 changes: 7 additions & 5 deletions rest/assistants/v1/model_assistants_v1_knowledge.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,23 @@ type AssistantsV1Knowledge struct {
// The type of knowledge source.
Description string `json:"description,omitempty"`
// The description of knowledge.
Id string `json:"id,omitempty"`
Id string `json:"id"`
// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource.
AccountSid string `json:"account_sid,omitempty"`
// The details of the knowledge source based on the type.
KnowledgeSourceDetails map[string]interface{} `json:"knowledge_source_details,omitempty"`
// The name of the knowledge source.
Name string `json:"name,omitempty"`
Name string `json:"name"`
// The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED')
Status string `json:"status,omitempty"`
// The type of knowledge source ('Web', 'Database', 'Text', 'File')
Type string `json:"type,omitempty"`
Type string `json:"type"`
// The url of the knowledge resource.
Url string `json:"url,omitempty"`
// The embedding model to be used for the knowledge source.
EmbeddingModel string `json:"embedding_model,omitempty"`
// The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
DateCreated time.Time `json:"date_created,omitempty"`
DateCreated time.Time `json:"date_created"`
// The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
DateUpdated time.Time `json:"date_updated,omitempty"`
DateUpdated time.Time `json:"date_updated"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ type AssistantsV1UpdateKnowledgeRequest struct {
Policy AssistantsV1CreatePolicyRequest `json:"policy,omitempty"`
// The description of the knowledge source.
Type string `json:"type,omitempty"`
// The embedding model to be used for the knowledge source. It's only applicable to 'Database' type.
EmbeddingModel string `json:"embedding_model,omitempty"`
}
1 change: 0 additions & 1 deletion rest/content/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ Class | Method | HTTP request | Description
- [ListItem](docs/ListItem.md)
- [TwilioMedia](docs/TwilioMedia.md)
- [Types](docs/Types.md)
- [FlowsPageComponentSelectItem](docs/FlowsPageComponentSelectItem.md)
- [TwilioFlows](docs/TwilioFlows.md)
- [CallToActionAction](docs/CallToActionAction.md)
- [TwilioQuickReply](docs/TwilioQuickReply.md)
Expand Down
2 changes: 0 additions & 2 deletions rest/content/v1/docs/FlowsPageComponent.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Label** | **string** | |
**Type** | **string** | |
**Text** | **string** | |[optional]
**Options** | [**[]FlowsPageComponentSelectItem**](FlowsPageComponentSelectItem.md) | |[optional]

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

Expand Down
12 changes: 0 additions & 12 deletions rest/content/v1/docs/FlowsPageComponentSelectItem.md

This file was deleted.

6 changes: 2 additions & 4 deletions rest/content/v1/model_flows_page_component.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ package openapi

// FlowsPageComponent struct for FlowsPageComponent
type FlowsPageComponent struct {
Label string `json:"label"`
Type string `json:"type"`
Text string `json:"text,omitempty"`
Options []FlowsPageComponentSelectItem `json:"options,omitempty"`
Label string `json:"label"`
Type string `json:"type"`
}
21 changes: 0 additions & 21 deletions rest/content/v1/model_flows_page_component_select_item.go

This file was deleted.

0 comments on commit 94a7d05

Please sign in to comment.