Skip to content

Commit

Permalink
Revert "feat: add computed API response fields (#71)"
Browse files Browse the repository at this point in the history
This reverts commit 7778132.
  • Loading branch information
JenniferMah committed Oct 6, 2021
1 parent 7778132 commit 254a8ab
Show file tree
Hide file tree
Showing 58 changed files with 174 additions and 2,116 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ require (
golang.org/x/net v0.0.0-20210917221730-978cfadd31cf // indirect
golang.org/x/sys v0.0.0-20210921065528-437939a70204 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/tools v0.1.7 // indirect
golang.org/x/tools v0.1.6 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20210921142501-181ce0d877f6 // indirect
)
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1142,8 +1142,6 @@ golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.6 h1:SIasE1FVIQOWz2GEAHFOmoW7xchJcqlucjSULTL0Ag4=
golang.org/x/tools v0.1.6/go.mod h1:LGqMHiF4EqQNHR1JncWGqT5BVaXmza+X+BDGol+dOxo=
golang.org/x/tools v0.1.7 h1:6j8CgantCy3yc8JGBqkDLMKWqZ0RDU2g1HVgacojGWQ=
golang.org/x/tools v0.1.7/go.mod h1:LGqMHiF4EqQNHR1JncWGqT5BVaXmza+X+BDGol+dOxo=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down
6 changes: 0 additions & 6 deletions twilio/resources/accounts/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ Name | Type | Requirement | Description
**account_sid** | string | Optional | The SID of the Subaccount that this Credential should be associated with. Must be a valid Subaccount of the account issuing the request.
**friendly_name** | string | Optional | A descriptive string that you create to describe the resource. It can be up to 64 characters long.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the AWS resource to update.
**date_created** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was created
**date_updated** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was last updated
**url** | string | *Computed* | The URI for this resource, relative to `https://accounts.twilio.com`

## twilio_accounts_credentials_public_keys_v1

Expand All @@ -23,7 +20,4 @@ Name | Type | Requirement | Description
**account_sid** | string | Optional | The SID of the Subaccount that this Credential should be associated with. Must be a valid Subaccount of the account issuing the request
**friendly_name** | string | Optional | A descriptive string that you create to describe the resource. It can be up to 64 characters long.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the PublicKey resource to update.
**date_created** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was created
**date_updated** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was last updated
**url** | string | *Computed* | The URI for this resource, relative to `https://accounts.twilio.com`

6 changes: 0 additions & 6 deletions twilio/resources/accounts/v1/api_default.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

162 changes: 0 additions & 162 deletions twilio/resources/api/v2010/README.md

Large diffs are not rendered by default.

184 changes: 11 additions & 173 deletions twilio/resources/api/v2010/api_default.go

Large diffs are not rendered by default.

48 changes: 0 additions & 48 deletions twilio/resources/autopilot/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ Name | Type | Requirement | Description
**unique_name** | string | Optional | An application-defined string that uniquely identifies the new resource. It can be used as an alternative to the `sid` in the URL path to address the resource. The first 64 characters must be unique.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the Assistant resource to update.
**development_stage** | string | Optional | A string describing the state of the assistant.
**account_sid** | string | *Computed* | The SID of the Account that created the resource
**date_created** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was created
**date_updated** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was last updated
**latest_model_build_sid** | string | *Computed* | Reserved
**links** | string | *Computed* | A list of the URLs of the Assistant's related resources
**needs_model_build** | string | *Computed* | Whether model needs to be rebuilt
**url** | string | *Computed* | The absolute URL of the Assistant resource

## twilio_autopilot_assistants_tasks_fields_v1

Expand All @@ -33,10 +26,6 @@ Name | Type | Requirement | Description
**field_type** | string | **Required** | The Field Type of the new field. Can be: a [Built-in Field Type](https://www.twilio.com/docs/autopilot/built-in-field-types), the `unique_name`, or the `sid` of a custom Field Type.
**unique_name** | string | **Required** | An application-defined string that uniquely identifies the new resource. This value must be a unique string of no more than 64 characters. It can be used as an alternative to the `sid` in the URL path to address the resource.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the Field resource to fetch.
**account_sid** | string | *Computed* | The SID of the Account that created the resource
**date_created** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was created
**date_updated** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was last updated
**url** | string | *Computed* | The absolute URL of the Field resource

## twilio_autopilot_assistants_field_types_v1

Expand All @@ -48,11 +37,6 @@ Name | Type | Requirement | Description
**unique_name** | string | **Required** | An application-defined string that uniquely identifies the new resource. It can be used as an alternative to the `sid` in the URL path to address the resource. The first 64 characters must be unique.
**friendly_name** | string | Optional | A descriptive string that you create to describe the new resource. It is not unique and can be up to 255 characters long.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the FieldType resource to update.
**account_sid** | string | *Computed* | The SID of the Account that created the resource
**date_created** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was created
**date_updated** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was last updated
**links** | string | *Computed* | A list of the URLs of related resources
**url** | string | *Computed* | The absolute URL of the FieldType resource

## twilio_autopilot_assistants_field_types_field_values_v1

Expand All @@ -66,10 +50,6 @@ Name | Type | Requirement | Description
**value** | string | **Required** | The Field Value data.
**synonym_of** | string | Optional | The string value that indicates which word the field value is a synonym of.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the FieldValue resource to fetch.
**account_sid** | string | *Computed* | The SID of the Account that created the resource
**date_created** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was created
**date_updated** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was last updated
**url** | string | *Computed* | The absolute URL of the FieldValue resource

## twilio_autopilot_assistants_model_builds_v1

Expand All @@ -81,13 +61,6 @@ Name | Type | Requirement | Description
**status_callback** | string | Optional | The URL we should call using a POST method to send status information to your application.
**unique_name** | string | Optional | An application-defined string that uniquely identifies the new resource. This value must be a unique string of no more than 64 characters. It can be used as an alternative to the `sid` in the URL path to address the resource.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the ModelBuild resource to update.
**account_sid** | string | *Computed* | The SID of the Account that created the resource
**build_duration** | string | *Computed* | The time in seconds it took to build the model
**date_created** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was created
**date_updated** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was last updated
**error_code** | string | *Computed* | More information about why the model build failed, if `status` is `failed`
**status** | string | *Computed* | The status of the model build process
**url** | string | *Computed* | The absolute URL of the ModelBuild resource

## twilio_autopilot_assistants_queries_v1

Expand All @@ -103,14 +76,6 @@ Name | Type | Requirement | Description
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the Query resource to update.
**sample_sid** | string | Optional | The SID of an optional reference to the [Sample](https://www.twilio.com/docs/autopilot/api/task-sample) created from the query.
**status** | string | Optional | The new status of the resource. Can be: `pending-review`, `reviewed`, or `discarded`
**account_sid** | string | *Computed* | The SID of the Account that created the resource
**date_created** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was created
**date_updated** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was last updated
**dialogue_sid** | string | *Computed* | The SID of the [Dialogue](https://www.twilio.com/docs/autopilot/api/dialogue).
**model_build_sid** | string | *Computed* | The SID of the [Model Build](https://www.twilio.com/docs/autopilot/api/model-build) queried
**results** | string | *Computed* | The natural language analysis results that include the Task recognized and a list of identified Fields
**source_channel** | string | *Computed* | The communication channel from where the end-user input came
**url** | string | *Computed* | The absolute URL of the Query resource

## twilio_autopilot_assistants_tasks_samples_v1

Expand All @@ -124,10 +89,6 @@ Name | Type | Requirement | Description
**tagged_text** | string | **Required** | The text example of how end users might express the task. The sample can contain [Field tag blocks](https://www.twilio.com/docs/autopilot/api/task-sample#field-tagging).
**source_channel** | string | Optional | The communication channel from which the new sample was captured. Can be: `voice`, `sms`, `chat`, `alexa`, `google-assistant`, `slack`, or null if not included.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the Sample resource to update.
**account_sid** | string | *Computed* | The SID of the Account that created the resource
**date_created** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was created
**date_updated** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was last updated
**url** | string | *Computed* | The absolute URL of the Sample resource

## twilio_autopilot_assistants_tasks_v1

Expand All @@ -141,11 +102,6 @@ Name | Type | Requirement | Description
**actions_url** | string | Optional | The URL from which the Assistant can fetch actions.
**friendly_name** | string | Optional | A descriptive string that you create to describe the new resource. It is not unique and can be up to 255 characters long.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the Task resource to update.
**account_sid** | string | *Computed* | The SID of the Account that created the resource
**date_created** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was created
**date_updated** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was last updated
**links** | string | *Computed* | A list of the URLs of related resources
**url** | string | *Computed* | The absolute URL of the Task resource

## twilio_autopilot_assistants_webhooks_v1

Expand All @@ -159,8 +115,4 @@ Name | Type | Requirement | Description
**webhook_url** | string | **Required** | The URL associated with this Webhook.
**webhook_method** | string | Optional | The method to be used when calling the webhook's URL.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the Webhook resource to update.
**account_sid** | string | *Computed* | The SID of the Account that created the resource
**date_created** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was created
**date_updated** | string | *Computed* | The RFC 2822 date and time in GMT when the resource was last updated
**url** | string | *Computed* | The absolute URL of the Webhook resource

0 comments on commit 254a8ab

Please sign in to comment.