Skip to content

Commit 949d09c

Browse files
author
childish-sambino
authored
fix: switch api-def object types to open-api any types (#155)
1 parent 5346e01 commit 949d09c

File tree

314 files changed

+692
-692
lines changed

Some content is hidden

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

314 files changed

+692
-692
lines changed

rest/api/v2010/accounts_calls_payments.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rest/api/v2010/docs/AccountsCallsPaymentsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Name | Type | Description
4040
**IdempotencyKey** | **string** | A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated.
4141
**Input** | **string** | A list of inputs that should be accepted. Currently only `dtmf` is supported. All digits captured during a pay session are redacted from the logs.
4242
**MinPostalCodeLength** | **int** | A positive integer that is used to validate the length of the `PostalCode` inputted by the user. User must enter this many digits.
43-
**Parameter** | [**map[string]interface{}**](map[string]interface{}.md) | A single-level JSON object used to pass custom parameters to payment processors. (Required for ACH payments). The information that has to be included here depends on the <Pay> Connector. [Read more](https://www.twilio.com/console/voice/pay-connectors).
43+
**Parameter** | [**interface{}**](interface{}.md) | A single-level JSON object used to pass custom parameters to payment processors. (Required for ACH payments). The information that has to be included here depends on the <Pay> Connector. [Read more](https://www.twilio.com/console/voice/pay-connectors).
4444
**PaymentConnector** | **string** | This is the unique name corresponding to the Payment Gateway Connector installed in the Twilio Add-ons. Learn more about [<Pay> Connectors](https://www.twilio.com/console/voice/pay-connectors). The default value is `Default`.
4545
**PaymentMethod** | **string** | Type of payment being captured. One of `credit-card` or `ach-debit`. The default value is `credit-card`.
4646
**PostalCode** | **bool** | Indicates whether the credit card postal code (zip code) is a required piece of payment information that must be provided by the caller. The default is `true`.

rest/api/v2010/docs/ApiV2010CallEvent.md

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

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**Request** | Pointer to **map[string]interface{}** | Call Request. |
8-
**Response** | Pointer to **map[string]interface{}** | Call Response with Events. |
7+
**Request** | Pointer to **interface{}** | Call Request. |
8+
**Response** | Pointer to **interface{}** | Call Response with Events. |
99

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

rest/api/v2010/docs/ApiV2010CallFeedbackSummary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**DateUpdated** | Pointer to **string** | The date this resource was last updated |
1212
**EndDate** | Pointer to **string** | The latest feedback entry date in the summary |
1313
**IncludeSubaccounts** | Pointer to **bool** | Whether the feedback summary includes subaccounts |
14-
**Issues** | Pointer to **[]map[string]interface{}** | Issues experienced during the call |
14+
**Issues** | Pointer to **[]interface{}** | Issues experienced during the call |
1515
**QualityScoreAverage** | Pointer to **float32** | The average QualityScore of the feedback entries |
1616
**QualityScoreMedian** | Pointer to **float32** | The median QualityScore of the feedback entries |
1717
**QualityScoreStandardDeviation** | Pointer to **float32** | The standard deviation of the quality scores |

rest/api/v2010/docs/ApiV2010CallRecording.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
1212
**DateCreated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was created |
1313
**DateUpdated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was last updated |
1414
**Duration** | Pointer to **string** | The length of the recording in seconds |
15-
**EncryptionDetails** | Pointer to **map[string]interface{}** | How to decrypt the recording. |
15+
**EncryptionDetails** | Pointer to **interface{}** | How to decrypt the recording. |
1616
**ErrorCode** | Pointer to **int** | More information about why the recording is missing, if status is `absent`. |
1717
**Price** | Pointer to **float32** | The one-time cost of creating the recording. |
1818
**PriceUnit** | Pointer to **string** | The currency used in the price property. |

rest/api/v2010/docs/ApiV2010ConferenceRecording.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
1212
**DateCreated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was created |
1313
**DateUpdated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was last updated |
1414
**Duration** | Pointer to **string** | The length of the recording in seconds |
15-
**EncryptionDetails** | Pointer to **map[string]interface{}** | How to decrypt the recording. |
15+
**EncryptionDetails** | Pointer to **interface{}** | How to decrypt the recording. |
1616
**ErrorCode** | Pointer to **int** | More information about why the recording is missing, if status is `absent`. |
1717
**Price** | Pointer to **string** | The one-time cost of creating the recording. |
1818
**PriceUnit** | Pointer to **string** | The currency used in the price property. |

rest/api/v2010/docs/ApiV2010DependentPhoneNumber.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**AccountSid** | Pointer to **string** | The SID of the Account that created the resource |
88
**AddressRequirements** | Pointer to **string** | Whether the phone number requires an Address registered with Twilio |
99
**ApiVersion** | Pointer to **string** | The API version used to start a new TwiML session |
10-
**Capabilities** | Pointer to **map[string]interface{}** | Indicate if a phone can receive calls or messages |
10+
**Capabilities** | Pointer to **interface{}** | Indicate if a phone can receive calls or messages |
1111
**DateCreated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was created |
1212
**DateUpdated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was last updated |
1313
**EmergencyAddressSid** | Pointer to **string** | The emergency address configuration to use for emergency calling |

rest/api/v2010/docs/ApiV2010IncomingPhoneNumberAssignedAddOn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**AccountSid** | Pointer to **string** | The SID of the Account that created the resource |
8-
**Configuration** | Pointer to **map[string]interface{}** | A JSON string that represents the current configuration |
8+
**Configuration** | Pointer to **interface{}** | A JSON string that represents the current configuration |
99
**DateCreated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was created |
1010
**DateUpdated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was last updated |
1111
**Description** | Pointer to **string** | A short description of the Add-on functionality |

rest/api/v2010/docs/ApiV2010Recording.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
1212
**DateCreated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was created |
1313
**DateUpdated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was last updated |
1414
**Duration** | Pointer to **string** | The length of the recording in seconds. |
15-
**EncryptionDetails** | Pointer to **map[string]interface{}** | How to decrypt the recording. |
15+
**EncryptionDetails** | Pointer to **interface{}** | How to decrypt the recording. |
1616
**ErrorCode** | Pointer to **int** | More information about why the recording is missing, if status is `absent`. |
1717
**Price** | Pointer to **string** | The one-time cost of creating the recording. |
1818
**PriceUnit** | Pointer to **string** | The currency used in the price property. |

rest/api/v2010/model_api_v2010_call_event.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)